diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..aee095193 --- /dev/null +++ b/404.html @@ -0,0 +1,14 @@ + + + + + +Page Not Found | sigma.js + + + + + +
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/CNAME b/CNAME new file mode 100644 index 000000000..e9ef559d0 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.sigmajs.org \ No newline at end of file diff --git a/assets/css/styles.62c127b9.css b/assets/css/styles.62c127b9.css new file mode 100644 index 000000000..4be87542e --- /dev/null +++ b/assets/css/styles.62c127b9.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))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_wYmb,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList__YnT,.details_B4FW>summary,.dropdown__menu,.menu__list,footer ul{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:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.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: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 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: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: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)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#e22653;--ifm-color-primary-dark:#c92249;--ifm-color-primary-darker:#a31c3b;--ifm-color-primary-darkest:#631124;--ifm-color-primary-light:#f02957;--ifm-color-primary-lighter:#fc2b5c;--ifm-color-primary-lightest:#ff5b7e;--ifm-code-font-size:95%;--ifm-font-family-base:"Public Sans",Lato,Arial,sans-serif;--ifm-heading-font-family:Hauora,Roboto,Arial,sans-serif;--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.1);--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1);--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:transparent}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_iQEt article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_xK2O,.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 rgba(0,0,0,.1);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:transparent;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)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_uVvU,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight: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);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,.hash-link:focus,:hover>.hash-link{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: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:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:transparent;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_YxQB:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor transparent;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)}.codeBlockStandalone_K9VJ,[type=checkbox],footer ul{padding:0}.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_Rv5Z article>:first-child,.docItemContainer_Rv5Z header+*,.footer__item{margin-top:0}.admonitionContent_bl22>:last-child,.cardContainer_Shn5 :last-child,.collapsibleContent_VYua p:last-child,.details_B4FW>summary>p:last-child,.footer__items{margin-bottom: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_B4FW[data-collapsed=false].isBrowser_Cof9>summary:before,.details_B4FW[open]:not(.isBrowser_Cof9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent__57G,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:hsla(0,0%,100%,.1);--ifm-navbar-search-input-placeholder-color:hsla(0,0%,100%,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:hsla(0,0%,100%,.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{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);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:rgba(0,0,0,.6);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__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList__YnT>li)>.containsTaskList__YnT{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid transparent;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:hsla(0,0%,100%,.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:hsla(0,0%,100%,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:hsla(0,0%,100%,.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}#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}@font-face{font-family:Hauora;src:local("Hauora"),url(/assets/fonts/Hauora-Medium-8bc91ca2cd23967033cfbff75743a7f3.woff),url(/assets/fonts/Hauora-Medium-099d02a576b0c948f01b3d5febd087da.woff2)}@font-face{font-family:Hauora;font-weight:700;src:local("Hauora"),url(/assets/fonts/Hauora-Bold-0759b43c164d7a0e4995e6d8645b8794.woff),url(/assets/fonts/Hauora-Bold-6d0a2fb0293024e04c95c0c5995d6efc.woff2)}@font-face{font-family:Public Sans;src:local("Public Sans"),url(/assets/fonts/PublicSans-Regular-f32753567f64c1ddeec804fc0528edde.woff),url(/assets/fonts/PublicSans-Regular-e86d2642f412b9493b1472b4a44a8729.woff2)}@font-face{font-family:Public Sans;font-style:italic;src:local("Public Sans"),url(/assets/fonts/PublicSans-LightItalic-4c86a8eb158c949923dd5f5d7fe91177.woff),url(/assets/fonts/PublicSans-LightItalic-475db532b9392ec581c5d0a983ca083d.woff2)}@font-face{font-family:Public Sans;font-weight:700;src:local("Public Sans"),url(/assets/fonts/PublicSans-SemiBold-04c1d5b2470ec33498832da83a64cd3e.woff),url(/assets/fonts/PublicSans-SemiBold-1cb825ff043ef752157486fcce643c88.woff2)}@font-face{font-family:Public Sans;font-style:italic;font-weight:700;src:local("Public Sans"),url(/assets/fonts/PublicSans-SemiBoldItalic-9f969eb84047e6184d7db2780fb610f0.woff),url(/assets/fonts/PublicSans-SemiBoldItalic-a6e72a5531b23eb4421196da497f1b7a.woff2)}[data-theme=dark]{--docusaurus-highlighted-code-line-bg:rgba(0,0,0,.3)}.text-ruby,.wordWrapButtonEnabled_vR9E .wordWrapButtonIcon_SMj9{color:var(--ifm-color-primary)}.text-grey{color:#999}.with-logo{position:relative;text-decoration:none}.with-logo img{bottom:-.15em;height:110%;margin-right:.2em;position:absolute;right:100%}footer{padding-left:1rem;padding-right:1rem}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus-base-url-issue-banner-container,.docSidebarContainer_e5ai,.sidebarLogo_nlll,.themedComponent_DHUr,[data-theme=dark] .lightToggleIcon_Sxwe,[data-theme=light] .darkToggleIcon_Yem1,html[data-announcement-bar-initially-dismissed=true] .announcementBar_ncOr{display:none}.skipToContent_G6ar{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_G6ar:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_rfix{line-height:0;padding:0}.content_L1uV{font-size:85%;padding:5px 0;text-align:center}.content_L1uV a{color:inherit;text-decoration:underline}.announcementBar_ncOr{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_ajMw{flex:0 0 10px}.announcementBarClose_c9u4{align-self:stretch;flex:0 0 30px}.toggle_OLSw{height:2rem;width:2rem}.toggleButton_wYmb{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_wYmb:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_vaDU{cursor:not-allowed}.darkNavbarColorModeToggle_wZ1H:hover{background:var(--ifm-color-gray-800)}.iconEdit_UohW{margin-right:.3em;vertical-align:sub}.tag_qE9H{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_qE9H:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_aHXt{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_UC8q{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_UC8q:after,.tagWithCount_UC8q:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_UC8q:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_UC8q:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_UC8q 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_q74f{display:inline}.tag_lSC7{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_T23F{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_htYj{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_htYj: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_pAh7:after,.tocCollapsibleExpanded_klrc{transform:none}.tocCollapsible_O_Qc{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_SlnY>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_SlnY ul li{margin:.4rem .8rem}.tocCollapsibleContent_SlnY a{display:block}.tableOfContents_TN1Q{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.backToTopButton_z1FD{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_z1FD: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_w1wE{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark] .themedComponent--dark_Bv2M,[data-theme=light] .themedComponent--light_DIHH,html:not([data-theme]) .themedComponent--light_DIHH{display:initial}[data-theme=dark]:root{--docusaurus-collapse-button-bg:hsla(0,0%,100%,.05);--docusaurus-collapse-button-bg-hover:hsla(0,0%,100%,.1)}.collapseSidebarButton_Ftvb{display:none;margin:0}.iconExternalLink_awgD{margin-left:.3rem}.dropdownNavbarItemMobile_yXZl{cursor:pointer}.iconLanguage_xrmG{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_bmvg:not(:has(>*)){display:none}}.navbarHideable_bChn{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_zsXl{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_FiLL{color:red;white-space:pre-wrap}.errorBoundaryFallback_lv4I{color:red;padding:.55rem}.buttonGroup_TNwR button,.codeBlockContainer_ZGJx{background:var(--prism-background-color);color:var(--prism-color)}.docMainContainer_namt,.docRoot_HciC{display:flex;width:100%}.docsWrapper_XLvK{display:flex;flex:1 0 auto}.anchorWithStickyNavbar_fF9Z{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_Yh18{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:"#"}.mainWrapper_UyTV{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.cardContainer_Shn5{--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 rgba(0,0,0,.15);transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_Shn5:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 rgba(0,0,0,.2)}.cardTitle_h48N{font-size:1.2rem}.cardDescription_CytT{font-size:.8rem}.codeBlockContainer_ZGJx{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_qZBB{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_zAEH{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_TAPP{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_zAEH+.codeBlockContent_qZBB .codeBlock_TAPP{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_AdAo{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_p5De{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup_TNwR{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_TNwR 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_TNwR button:focus-visible,.buttonGroup_TNwR button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_TNwR button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_DPDv{counter-increment:a;display:table-row}.codeLineNumber_YxQB{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_YxQB:before{content:counter(a);opacity:.4}.codeLineContent_SOIp{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_Mzdr{opacity:1!important}.copyButtonIcons_MVhB{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_yxgH,.copyButtonSuccessIcon_QJLJ{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_QJLJ{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_Mzdr .copyButtonIcon_yxgH{opacity:0;transform:scale(.33)}.copyButtonCopied_Mzdr .copyButtonSuccessIcon_QJLJ{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_SMj9{height:1.2rem;width:1.2rem}.details_B4FW{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_B4FW>summary{cursor:pointer;padding-left:1rem;position:relative}.details_B4FW>summary::-webkit-details-marker{display:none}.details_B4FW>summary:before{border-color:transparent transparent transparent 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_VYua{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_SZgV{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img__Ss2{height:auto}.admonition_IZjC{margin-bottom:1em}.admonitionHeading_uVvU{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_uVvU:not(:last-child){margin-bottom:.3rem}.admonitionHeading_uVvU code{text-transform:none}.admonitionIcon_HiR3{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_HiR3 svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_JFrk{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_zCmv{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_AulG{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media (min-width:997px){.collapseSidebarButton_Ftvb,.expandButton_SZY_{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_c9u4,.announcementBarPlaceholder_ajMw{flex-basis:50px}.lastUpdated_T23F{text-align:right}.tocMobile_tjDr{display:none}.collapseSidebarButton_Ftvb{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_c4WT{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_CMLm,[dir=rtl] .collapseSidebarButtonIcon_c4WT{transform:rotate(0)}.collapseSidebarButton_Ftvb:focus,.collapseSidebarButton_Ftvb:hover,.expandButton_SZY_:focus,.expandButton_SZY_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.navbarSearchContainer_bmvg{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.menuHtmlItem_anEq{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_qiME{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_qiME{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_hRfJ{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_vJCc{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_Fo4g{padding-top:0}.sidebarHidden_vBKa{opacity:0;visibility:hidden}.sidebarLogo_nlll{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_nlll img{height:2rem;margin-right:.5rem}.expandButton_SZY_{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_CMLm{transform:rotate(180deg)}.docSidebarContainer_e5ai{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_vqQo{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_N8x0{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_namt{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_sRjM{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_TX_6{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_YAwJ,.generatedIndexPage_ak01{max-width:75%!important}.list_iQEt 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_Hg9V,.footer__link-separator,.navbar__item,.tableOfContents_TN1Q{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.docItemContainer_JtJJ{padding:0 .3rem}.navbarSearchContainer_bmvg{position:absolute;right:var(--ifm-navbar-padding-horizontal)}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_z1FD: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_ncOr,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_tjDr{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_AdAo{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/fonts/CascadiaCode-6a498fcac1bb0af7f36b5ae178935ad0.ttf b/assets/fonts/CascadiaCode-6a498fcac1bb0af7f36b5ae178935ad0.ttf new file mode 100644 index 000000000..ddd6fc6f8 Binary files /dev/null and b/assets/fonts/CascadiaCode-6a498fcac1bb0af7f36b5ae178935ad0.ttf differ diff --git a/assets/fonts/CascadiaCode-Regular-fac568be363aedb8a86ea5525c62cf0e.otf b/assets/fonts/CascadiaCode-Regular-fac568be363aedb8a86ea5525c62cf0e.otf new file mode 100644 index 000000000..f3a388637 Binary files /dev/null and b/assets/fonts/CascadiaCode-Regular-fac568be363aedb8a86ea5525c62cf0e.otf differ diff --git a/assets/fonts/CascadiaCode-cf770923e8ab86cc665fb5c161d704a3.woff2 b/assets/fonts/CascadiaCode-cf770923e8ab86cc665fb5c161d704a3.woff2 new file mode 100644 index 000000000..9224d6819 Binary files /dev/null and b/assets/fonts/CascadiaCode-cf770923e8ab86cc665fb5c161d704a3.woff2 differ diff --git a/assets/fonts/Hauora-Bold-0759b43c164d7a0e4995e6d8645b8794.woff b/assets/fonts/Hauora-Bold-0759b43c164d7a0e4995e6d8645b8794.woff new file mode 100644 index 000000000..e787d5ba0 Binary files /dev/null and b/assets/fonts/Hauora-Bold-0759b43c164d7a0e4995e6d8645b8794.woff differ diff --git a/assets/fonts/Hauora-Bold-6d0a2fb0293024e04c95c0c5995d6efc.woff2 b/assets/fonts/Hauora-Bold-6d0a2fb0293024e04c95c0c5995d6efc.woff2 new file mode 100644 index 000000000..38622a8aa Binary files /dev/null and b/assets/fonts/Hauora-Bold-6d0a2fb0293024e04c95c0c5995d6efc.woff2 differ diff --git a/assets/fonts/Hauora-Medium-099d02a576b0c948f01b3d5febd087da.woff2 b/assets/fonts/Hauora-Medium-099d02a576b0c948f01b3d5febd087da.woff2 new file mode 100644 index 000000000..c0ffe2d59 Binary files /dev/null and b/assets/fonts/Hauora-Medium-099d02a576b0c948f01b3d5febd087da.woff2 differ diff --git a/assets/fonts/Hauora-Medium-8bc91ca2cd23967033cfbff75743a7f3.woff b/assets/fonts/Hauora-Medium-8bc91ca2cd23967033cfbff75743a7f3.woff new file mode 100644 index 000000000..e1c6adf94 Binary files /dev/null and b/assets/fonts/Hauora-Medium-8bc91ca2cd23967033cfbff75743a7f3.woff differ diff --git a/assets/fonts/PublicSans-LightItalic-475db532b9392ec581c5d0a983ca083d.woff2 b/assets/fonts/PublicSans-LightItalic-475db532b9392ec581c5d0a983ca083d.woff2 new file mode 100644 index 000000000..f1645fef3 Binary files /dev/null and b/assets/fonts/PublicSans-LightItalic-475db532b9392ec581c5d0a983ca083d.woff2 differ diff --git a/assets/fonts/PublicSans-LightItalic-4c86a8eb158c949923dd5f5d7fe91177.woff b/assets/fonts/PublicSans-LightItalic-4c86a8eb158c949923dd5f5d7fe91177.woff new file mode 100644 index 000000000..6cca8467b Binary files /dev/null and b/assets/fonts/PublicSans-LightItalic-4c86a8eb158c949923dd5f5d7fe91177.woff differ diff --git a/assets/fonts/PublicSans-Regular-e86d2642f412b9493b1472b4a44a8729.woff2 b/assets/fonts/PublicSans-Regular-e86d2642f412b9493b1472b4a44a8729.woff2 new file mode 100644 index 000000000..8895a8ec1 Binary files /dev/null and b/assets/fonts/PublicSans-Regular-e86d2642f412b9493b1472b4a44a8729.woff2 differ diff --git a/assets/fonts/PublicSans-Regular-f32753567f64c1ddeec804fc0528edde.woff b/assets/fonts/PublicSans-Regular-f32753567f64c1ddeec804fc0528edde.woff new file mode 100644 index 000000000..fbe27e2cc Binary files /dev/null and b/assets/fonts/PublicSans-Regular-f32753567f64c1ddeec804fc0528edde.woff differ diff --git a/assets/fonts/PublicSans-SemiBold-04c1d5b2470ec33498832da83a64cd3e.woff b/assets/fonts/PublicSans-SemiBold-04c1d5b2470ec33498832da83a64cd3e.woff new file mode 100644 index 000000000..6aceff4ea Binary files /dev/null and b/assets/fonts/PublicSans-SemiBold-04c1d5b2470ec33498832da83a64cd3e.woff differ diff --git a/assets/fonts/PublicSans-SemiBold-1cb825ff043ef752157486fcce643c88.woff2 b/assets/fonts/PublicSans-SemiBold-1cb825ff043ef752157486fcce643c88.woff2 new file mode 100644 index 000000000..c5ed203ad Binary files /dev/null and b/assets/fonts/PublicSans-SemiBold-1cb825ff043ef752157486fcce643c88.woff2 differ diff --git a/assets/fonts/PublicSans-SemiBoldItalic-9f969eb84047e6184d7db2780fb610f0.woff b/assets/fonts/PublicSans-SemiBoldItalic-9f969eb84047e6184d7db2780fb610f0.woff new file mode 100644 index 000000000..701bd8201 Binary files /dev/null and b/assets/fonts/PublicSans-SemiBoldItalic-9f969eb84047e6184d7db2780fb610f0.woff differ diff --git a/assets/fonts/PublicSans-SemiBoldItalic-a6e72a5531b23eb4421196da497f1b7a.woff2 b/assets/fonts/PublicSans-SemiBoldItalic-a6e72a5531b23eb4421196da497f1b7a.woff2 new file mode 100644 index 000000000..154698160 Binary files /dev/null and b/assets/fonts/PublicSans-SemiBoldItalic-a6e72a5531b23eb4421196da497f1b7a.woff2 differ diff --git a/assets/js/05d66ddd.d5165d71.js b/assets/js/05d66ddd.d5165d71.js new file mode 100644 index 000000000..75104bee3 --- /dev/null +++ b/assets/js/05d66ddd.d5165d71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4702],{1404:e=>{e.exports=JSON.parse('{"title":"Advanced topics","slug":"/category/advanced-topics","permalink":"/docs/category/advanced-topics","navigation":{"previous":{"title":"Resources","permalink":"/docs/resources"},"next":{"title":"Lifecycle","permalink":"/docs/advanced/lifecycle"}}}')}}]); \ No newline at end of file diff --git a/assets/js/062e14f1.860dc74e.js b/assets/js/062e14f1.860dc74e.js new file mode 100644 index 000000000..6727ce170 --- /dev/null +++ b/assets/js/062e14f1.860dc74e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7962],{1923:(e,s,l)=>{l.r(s),l.d(s,{assets:()=>c,contentTitle:()=>r,default:()=>a,frontMatter:()=>t,metadata:()=>d,toc:()=>h});var i=l(1085),n=l(1184);const t={id:"sigma_src_utils",title:"Module: sigma/src/utils",sidebar_label:"sigma/src/utils",sidebar_position:0,custom_edit_url:null},r="Sigma.js Utils",d={id:"typedoc/modules/sigma_src_utils",title:"Module: sigma/src/utils",description:"Various helper functions & classes used throughout the library.",source:"@site/docs/typedoc/modules/sigma_src_utils.md",sourceDirName:"typedoc/modules",slug:"/typedoc/modules/sigma_src_utils",permalink:"/docs/typedoc/modules/sigma_src_utils",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"sigma_src_utils",title:"Module: sigma/src/utils",sidebar_label:"sigma/src/utils",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/settings",permalink:"/docs/typedoc/modules/sigma_src_settings"},next:{title:"edge-curve/src.default",permalink:"/docs/typedoc/classes/edge_curve_src.default"}},c={},h=[{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"Easing",id:"easing",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Variables",id:"variables",level:2},{value:"ANIMATE_DEFAULTS",id:"animate_defaults",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"HTML_COLORS",id:"html_colors",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"easings",id:"easings",level:3},{value:"Index signature",id:"index-signature",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"Functions",id:"functions",level:2},{value:"animateNodes",id:"animatenodes",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"assign",id:"assign",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"assignDeep",id:"assigndeep",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"colorToArray",id:"colortoarray",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"colorToIndex",id:"colortoindex",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"createElement",id:"createelement",level:3},{value:"Type parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"createNormalizationFunction",id:"createnormalizationfunction",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"cubicIn",id:"cubicin",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"cubicInOut",id:"cubicinout",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"cubicOut",id:"cubicout",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"extend",id:"extend",level:3},{value:"Type parameters",id:"type-parameters-3",level:4},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"extractPixel",id:"extractpixel",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"floatColor",id:"floatcolor",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"getCorrectionRatio",id:"getcorrectionratio",level:3},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"getMatrixImpact",id:"getmatriximpact",level:3},{value:"Parameters",id:"parameters-14",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"getPixelColor",id:"getpixelcolor",level:3},{value:"Parameters",id:"parameters-15",level:4},{value:"Returns",id:"returns-16",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"getPixelRatio",id:"getpixelratio",level:3},{value:"Returns",id:"returns-17",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"graphExtent",id:"graphextent",level:3},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-18",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"identity",id:"identity",level:3},{value:"Returns",id:"returns-19",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"indexToColor",id:"indextocolor",level:3},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"isPlainObject",id:"isplainobject",level:3},{value:"Parameters",id:"parameters-18",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"linear",id:"linear",level:3},{value:"Parameters",id:"parameters-19",level:4},{value:"Returns",id:"returns-22",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"matrixFromCamera",id:"matrixfromcamera",level:3},{value:"Parameters",id:"parameters-20",level:4},{value:"Returns",id:"returns-23",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"multiply",id:"multiply",level:3},{value:"Type parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-21",level:4},{value:"Returns",id:"returns-24",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"multiplyVec2",id:"multiplyvec2",level:3},{value:"Parameters",id:"parameters-22",level:4},{value:"Returns",id:"returns-25",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"parseColor",id:"parsecolor",level:3},{value:"Parameters",id:"parameters-23",level:4},{value:"Returns",id:"returns-26",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"quadraticIn",id:"quadraticin",level:3},{value:"Parameters",id:"parameters-24",level:4},{value:"Returns",id:"returns-27",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"quadraticInOut",id:"quadraticinout",level:3},{value:"Parameters",id:"parameters-25",level:4},{value:"Returns",id:"returns-28",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"quadraticOut",id:"quadraticout",level:3},{value:"Parameters",id:"parameters-26",level:4},{value:"Returns",id:"returns-29",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"rgbaToFloat",id:"rgbatofloat",level:3},{value:"Parameters",id:"parameters-27",level:4},{value:"Returns",id:"returns-30",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"rotate",id:"rotate",level:3},{value:"Parameters",id:"parameters-28",level:4},{value:"Returns",id:"returns-31",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"scale",id:"scale",level:3},{value:"Parameters",id:"parameters-29",level:4},{value:"Returns",id:"returns-32",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"translate",id:"translate",level:3},{value:"Parameters",id:"parameters-30",level:4},{value:"Returns",id:"returns-33",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"validateGraph",id:"validategraph",level:3},{value:"Parameters",id:"parameters-31",level:4},{value:"Returns",id:"returns-34",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"zIndexOrdering",id:"zindexordering",level:3},{value:"Type parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-32",level:4},{value:"Returns",id:"returns-35",level:4},{value:"Defined in",id:"defined-in-38",level:4}];function x(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"sigmajs-utils",children:"Sigma.js Utils"}),"\n",(0,i.jsx)(s.p,{children:"Various helper functions & classes used throughout the library."}),"\n",(0,i.jsx)(s.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions",children:"AnimateOptions"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction",children:"NormalizationFunction"})}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,i.jsx)(s.h3,{id:"easing",children:"Easing"}),"\n",(0,i.jsxs)(s.p,{children:["\u01ac ",(0,i.jsx)(s.strong,{children:"Easing"}),": keyof typeof ",(0,i.jsx)(s.a,{href:"/docs/typedoc/modules/sigma_src_utils#easings",children:(0,i.jsx)(s.code,{children:"easings"})})," | (",(0,i.jsx)(s.code,{children:"k"}),": ",(0,i.jsx)(s.code,{children:"number"}),") => ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.p,{children:"Defaults."}),"\n",(0,i.jsx)(s.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/animate.ts#L9",children:"sigma/src/utils/animate.ts:9"})}),"\n",(0,i.jsx)(s.h2,{id:"variables",children:"Variables"}),"\n",(0,i.jsx)(s.h3,{id:"animate_defaults",children:"ANIMATE_DEFAULTS"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"ANIMATE_DEFAULTS"}),": ",(0,i.jsx)(s.code,{children:"Object"})]}),"\n",(0,i.jsx)(s.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"duration"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"easing"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"string"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/animate.ts#L15",children:"sigma/src/utils/animate.ts:15"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"html_colors",children:"HTML_COLORS"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"HTML_COLORS"}),": ",(0,i.jsx)(s.code,{children:"Record"}),"<",(0,i.jsx)(s.code,{children:"string"}),", ",(0,i.jsx)(s.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L1",children:"sigma/src/utils/colors.ts:1"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"easings",children:"easings"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"easings"}),": ",(0,i.jsx)(s.code,{children:"Object"})]}),"\n",(0,i.jsx)(s.h4,{id:"index-signature",children:"Index signature"}),"\n",(0,i.jsxs)(s.p,{children:["\u25aa [key: ",(0,i.jsx)(s.code,{children:"string"}),"]: (",(0,i.jsx)(s.code,{children:"k"}),": ",(0,i.jsx)(s.code,{children:"number"}),") => ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L21",children:"sigma/src/utils/easings.ts:21"})}),"\n",(0,i.jsx)(s.h2,{id:"functions",children:"Functions"}),"\n",(0,i.jsx)(s.h3,{id:"animatenodes",children:"animateNodes"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"animateNodes"}),"(",(0,i.jsx)(s.code,{children:"graph"}),", ",(0,i.jsx)(s.code,{children:"targets"}),", ",(0,i.jsx)(s.code,{children:"opts"}),", ",(0,i.jsx)(s.code,{children:"callback?"}),"): () => ",(0,i.jsx)(s.code,{children:"void"})]}),"\n",(0,i.jsx)(s.p,{children:"Function used to animate the nodes."}),"\n",(0,i.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graph"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"AbstractGraph"}),"<",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),">"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"targets"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"PlainObject"}),"<",(0,i.jsx)(s.code,{children:"PlainObject"}),"<",(0,i.jsx)(s.code,{children:"number"}),">>"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"opts"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions",children:(0,i.jsx)(s.code,{children:"AnimateOptions"})}),">"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"callback?"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["() => ",(0,i.jsx)(s.code,{children:"void"})]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"fn"})}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 (): ",(0,i.jsx)(s.code,{children:"void"})]}),"\n",(0,i.jsx)(s.h5,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"void"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/animate.ts#L23",children:"sigma/src/utils/animate.ts:23"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"assign",children:"assign"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"assign"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"target"}),", ",(0,i.jsx)(s.code,{children:"...objects"}),"): ",(0,i.jsx)(s.code,{children:"T"})]}),"\n",(0,i.jsxs)(s.p,{children:["Helper to use ",(0,i.jsx)(s.code,{children:"Object.assign"})," with more than two objects."]}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"})})}),(0,i.jsx)(s.tbody,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})})})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"target"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"undefined"})," | ",(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.code,{children:"T"}),">"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"...objects"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.code,{children:"undefined"})," | ",(0,i.jsx)(s.code,{children:"T"}),">[]"]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"T"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/data.ts#L30",children:"sigma/src/utils/data.ts:30"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"assigndeep",children:"assignDeep"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"assignDeep"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"target"}),", ",(0,i.jsx)(s.code,{children:"...objects"}),"): ",(0,i.jsx)(s.code,{children:"T"})]}),"\n",(0,i.jsxs)(s.p,{children:["Very simple recursive ",(0,i.jsx)(s.code,{children:"Object.assign"})," like function."]}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"})})}),(0,i.jsx)(s.tbody,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})})})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"target"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"undefined"})," | ",(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.code,{children:"T"}),">"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"...objects"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.code,{children:"undefined"})," | ",(0,i.jsx)(s.code,{children:"T"}),">[]"]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"T"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/data.ts#L47",children:"sigma/src/utils/data.ts:47"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"colortoarray",children:"colorToArray"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"colorToArray"}),"(",(0,i.jsx)(s.code,{children:"val"}),", ",(0,i.jsx)(s.code,{children:"masking?"}),"): [",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),"]"]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"val"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"string"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"masking?"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"boolean"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsxs)(s.p,{children:["[",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),"]"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L243",children:"sigma/src/utils/colors.ts:243"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"colortoindex",children:"colorToIndex"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"colorToIndex"}),"(",(0,i.jsx)(s.code,{children:"r"}),", ",(0,i.jsx)(s.code,{children:"g"}),", ",(0,i.jsx)(s.code,{children:"b"}),", ",(0,i.jsx)(s.code,{children:"_a"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"r"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"g"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"b"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"_a"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L283",children:"sigma/src/utils/colors.ts:283"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"createelement",children:"createElement"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"createElement"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"tag"}),", ",(0,i.jsx)(s.code,{children:"style?"}),", ",(0,i.jsx)(s.code,{children:"attributes?"}),"): ",(0,i.jsx)(s.code,{children:"T"})]}),"\n",(0,i.jsx)(s.p,{children:"Function used to create DOM elements easily."}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-2",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"HTMLElement"})]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"tag"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"string"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"style?"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.code,{children:"CSSStyleDeclaration"}),">"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"attributes?"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"PlainObject"}),"<",(0,i.jsx)(s.code,{children:"string"}),">"]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"T"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/misc.ts#L6",children:"sigma/src/utils/misc.ts:6"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"createnormalizationfunction",children:"createNormalizationFunction"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"createNormalizationFunction"}),"(",(0,i.jsx)(s.code,{children:"extent"}),"): ",(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction",children:(0,i.jsx)(s.code,{children:"NormalizationFunction"})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"extent"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Object"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"extent.x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Extent"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"extent.y"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Extent"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction",children:(0,i.jsx)(s.code,{children:"NormalizationFunction"})})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/normalization.ts#L12",children:"sigma/src/utils/normalization.ts:12"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"cubicin",children:"cubicIn"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"cubicIn"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L12",children:"sigma/src/utils/easings.ts:12"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"cubicinout",children:"cubicInOut"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"cubicInOut"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L16",children:"sigma/src/utils/easings.ts:16"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"cubicout",children:"cubicOut"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"cubicOut"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L14",children:"sigma/src/utils/easings.ts:14"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"extend",children:"extend"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"extend"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"array"}),", ",(0,i.jsx)(s.code,{children:"values"}),"): ",(0,i.jsx)(s.code,{children:"void"})]}),"\n",(0,i.jsx)(s.p,{children:"Extends the target array with the given values."}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-3",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"})})}),(0,i.jsx)(s.tbody,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})})})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"array"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"T"}),"[]"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"values"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Set"}),"<",(0,i.jsx)(s.code,{children:"T"}),">"]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"void"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/data.ts#L4",children:"sigma/src/utils/data.ts:4"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"extractpixel",children:"extractPixel"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"extractPixel"}),"(",(0,i.jsx)(s.code,{children:"gl"}),", ",(0,i.jsx)(s.code,{children:"x"}),", ",(0,i.jsx)(s.code,{children:"y"}),", ",(0,i.jsx)(s.code,{children:"array"}),"): ",(0,i.jsx)(s.code,{children:"Uint8Array"})]}),"\n",(0,i.jsx)(s.p,{children:"Function extracting the color at the given pixel."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"gl"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"WebGLRenderingContext"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"y"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"array"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Uint8Array"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Uint8Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L155",children:"sigma/src/utils/colors.ts:155"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"floatcolor",children:"floatColor"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"floatColor"}),"(",(0,i.jsx)(s.code,{children:"val"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"val"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L225",children:"sigma/src/utils/colors.ts:225"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"getcorrectionratio",children:"getCorrectionRatio"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"getCorrectionRatio"}),"(",(0,i.jsx)(s.code,{children:"viewportDimensions"}),", ",(0,i.jsx)(s.code,{children:"graphDimensions"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.p,{children:'In sigma, the graph is normalized into a [0, 1], [0, 1] square, before being given to the various renderers. This\nhelps to deal with quadtree in particular.\nBut at some point, we need to rescale it so that it takes the best place in the screen, i.e. we always want to see two\nnodes "touching" opposite sides of the graph, with the camera being at its default state.'}),"\n",(0,i.jsx)(s.p,{children:"This function determines this ratio."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Object"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions.height"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions.width"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Object"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions.height"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions.width"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-14",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/coordinates.ts#L12",children:"sigma/src/utils/coordinates.ts:12"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"getmatriximpact",children:"getMatrixImpact"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"getMatrixImpact"}),"(",(0,i.jsx)(s.code,{children:"matrix"}),", ",(0,i.jsx)(s.code,{children:"cameraState"}),", ",(0,i.jsx)(s.code,{children:"viewportDimensions"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.p,{children:"All these transformations we apply on the matrix to get it rescale the graph\nas we want make it very hard to get pixel-perfect distances in WebGL. This\nfunction returns a factor that properly cancels the matrix effect on lengths."}),"\n",(0,i.jsx)(s.p,{children:"[jacomyal]\nTo be fully honest, I can't really explain happens here... I notice that the\nfollowing ratio works (i.e. it correctly compensates the matrix impact on all\ncamera states I could try):"}),"\n",(0,i.jsxs)(s.blockquote,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.code,{children:"R = size(V) / size(M * V) / W"}),"\nas long as ",(0,i.jsx)(s.code,{children:"M * V"})," is in the direction of W (ie. parallel to (Ox)). It works\nas well with H and a vector that transforms into something parallel to (Oy)."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Also, note that we use ",(0,i.jsx)(s.code,{children:"angle"})," and not ",(0,i.jsx)(s.code,{children:"-angle"})," (that would seem logical,\nsince we want to anticipate the rotation), because the image is vertically\nswapped in WebGL."]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"matrix"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Float32Array"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"cameraState"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"CameraState"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Dimensions"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-15",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/coordinates.ts#L98",children:"sigma/src/utils/coordinates.ts:98"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"getpixelcolor",children:"getPixelColor"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"getPixelColor"}),"(",(0,i.jsx)(s.code,{children:"gl"}),", ",(0,i.jsx)(s.code,{children:"frameBuffer"}),", ",(0,i.jsx)(s.code,{children:"x"}),", ",(0,i.jsx)(s.code,{children:"y"}),", ",(0,i.jsx)(s.code,{children:"pixelRatio"}),", ",(0,i.jsx)(s.code,{children:"downSizingRatio"}),"): [",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),"]"]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"gl"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"WebGLRenderingContext"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"frameBuffer"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"null"})," | ",(0,i.jsx)(s.code,{children:"WebGLBuffer"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"y"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"pixelRatio"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"downSizingRatio"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-16",children:"Returns"}),"\n",(0,i.jsxs)(s.p,{children:["[",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),", ",(0,i.jsx)(s.code,{children:"number"}),"]"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L292",children:"sigma/src/utils/colors.ts:292"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"getpixelratio",children:"getPixelRatio"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"getPixelRatio"}),"(): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.p,{children:"Function returning the browser's pixel ratio."}),"\n",(0,i.jsx)(s.h4,{id:"returns-17",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/misc.ts#L31",children:"sigma/src/utils/misc.ts:31"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"graphextent",children:"graphExtent"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"graphExtent"}),"(",(0,i.jsx)(s.code,{children:"graph"}),"): ",(0,i.jsx)(s.code,{children:"Object"})]}),"\n",(0,i.jsx)(s.p,{children:"Function returning the graph's node extent in x & y."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graph"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"AbstractGraph"}),"<",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),">"]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-18",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Object"})}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Extent"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"y"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Extent"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/graph.ts#L9",children:"sigma/src/utils/graph.ts:9"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"identity",children:"identity"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"identity"}),"(): ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-19",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L3",children:"sigma/src/utils/matrices.ts:3"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"indextocolor",children:"indexToColor"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"indexToColor"}),"(",(0,i.jsx)(s.code,{children:"index"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"index"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-20",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L260",children:"sigma/src/utils/colors.ts:260"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"isplainobject",children:"isPlainObject"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"isPlainObject"}),"(",(0,i.jsx)(s.code,{children:"value"}),"): ",(0,i.jsx)(s.code,{children:"boolean"})]}),"\n",(0,i.jsx)(s.p,{children:"Checks whether the given value is a plain object."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-18",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"value"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"unknown"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-21",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"boolean"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/data.ts#L23",children:"sigma/src/utils/data.ts:23"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"linear",children:"linear"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"linear"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-19",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-22",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L1",children:"sigma/src/utils/easings.ts:1"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"matrixfromcamera",children:"matrixFromCamera"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"matrixFromCamera"}),"(",(0,i.jsx)(s.code,{children:"state"}),", ",(0,i.jsx)(s.code,{children:"viewportDimensions"}),", ",(0,i.jsx)(s.code,{children:"graphDimensions"}),", ",(0,i.jsx)(s.code,{children:"padding"}),", ",(0,i.jsx)(s.code,{children:"inverse?"}),"): ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,i.jsx)(s.p,{children:"Function returning a matrix from the current state of the camera."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-20",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"state"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"CameraState"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Object"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions.height"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"viewportDimensions.width"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Object"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions.height"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graphDimensions.width"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"padding"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"inverse?"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"boolean"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-23",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/coordinates.ts#L34",children:"sigma/src/utils/coordinates.ts:34"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"multiply",children:"multiply"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"multiply"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"a"}),", ",(0,i.jsx)(s.code,{children:"b"}),"): ",(0,i.jsx)(s.code,{children:"T"})]}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-4",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"number"}),"[] | ",(0,i.jsx)(s.code,{children:"Float32Array"})]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-21",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"a"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"b"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"number"}),"[] | ",(0,i.jsx)(s.code,{children:"Float32Array"})]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-24",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"T"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L34",children:"sigma/src/utils/matrices.ts:34"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"multiplyvec2",children:"multiplyVec2"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"multiplyVec2"}),"(",(0,i.jsx)(s.code,{children:"a"}),", ",(0,i.jsx)(s.code,{children:"b"}),", ",(0,i.jsx)(s.code,{children:"z?"}),"): ",(0,i.jsx)(s.code,{children:"Coordinates"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-22",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Default value"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"a"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"number"}),"[] | ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"undefined"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"b"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Coordinates"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"undefined"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"z"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"1"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-25",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Coordinates"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L70",children:"sigma/src/utils/matrices.ts:70"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"parsecolor",children:"parseColor"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"parseColor"}),"(",(0,i.jsx)(s.code,{children:"val"}),"): ",(0,i.jsx)(s.code,{children:"RGBAColor"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-23",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"val"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"string"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-26",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"RGBAColor"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L176",children:"sigma/src/utils/colors.ts:176"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"quadraticin",children:"quadraticIn"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"quadraticIn"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-24",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-27",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L3",children:"sigma/src/utils/easings.ts:3"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"quadraticinout",children:"quadraticInOut"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"quadraticInOut"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-25",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-28",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L7",children:"sigma/src/utils/easings.ts:7"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"quadraticout",children:"quadraticOut"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"quadraticOut"}),"(",(0,i.jsx)(s.code,{children:"k"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-26",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"k"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-29",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/easings.ts#L5",children:"sigma/src/utils/easings.ts:5"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"rgbatofloat",children:"rgbaToFloat"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"rgbaToFloat"}),"(",(0,i.jsx)(s.code,{children:"r"}),", ",(0,i.jsx)(s.code,{children:"g"}),", ",(0,i.jsx)(s.code,{children:"b"}),", ",(0,i.jsx)(s.code,{children:"a"}),", ",(0,i.jsx)(s.code,{children:"masking?"}),"): ",(0,i.jsx)(s.code,{children:"number"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-27",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"r"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"g"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"b"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"a"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"masking?"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"boolean"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-30",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"number"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/colors.ts#L220",children:"sigma/src/utils/colors.ts:220"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"rotate",children:"rotate"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"rotate"}),"(",(0,i.jsx)(s.code,{children:"m"}),", ",(0,i.jsx)(s.code,{children:"r"}),"): ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-28",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"m"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Float32Array"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"r"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-31",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L15",children:"sigma/src/utils/matrices.ts:15"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"scale",children:"scale"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"scale"}),"(",(0,i.jsx)(s.code,{children:"m"}),", ",(0,i.jsx)(s.code,{children:"x"}),", ",(0,i.jsx)(s.code,{children:"y?"}),"): ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-29",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"m"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Float32Array"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"y?"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-32",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L8",children:"sigma/src/utils/matrices.ts:8"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"translate",children:"translate"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"translate"}),"(",(0,i.jsx)(s.code,{children:"m"}),", ",(0,i.jsx)(s.code,{children:"x"}),", ",(0,i.jsx)(s.code,{children:"y"}),"): ",(0,i.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-30",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"m"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Float32Array"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"x"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"y"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"number"})})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-33",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/matrices.ts#L27",children:"sigma/src/utils/matrices.ts:27"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"validategraph",children:"validateGraph"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"validateGraph"}),"(",(0,i.jsx)(s.code,{children:"graph"}),"): ",(0,i.jsx)(s.code,{children:"void"})]}),"\n",(0,i.jsx)(s.p,{children:"Check if the graph variable is a valid graph, and if sigma can render it."}),"\n",(0,i.jsx)(s.h4,{id:"parameters-31",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"graph"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"AbstractGraph"}),"<",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),">"]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-34",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"void"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/graph.ts#L33",children:"sigma/src/utils/graph.ts:33"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"zindexordering",children:"zIndexOrdering"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"zIndexOrdering"}),"<",(0,i.jsx)(s.code,{children:"T"}),">(",(0,i.jsx)(s.code,{children:"_extent"}),", ",(0,i.jsx)(s.code,{children:"getter"}),", ",(0,i.jsx)(s.code,{children:"elements"}),"): ",(0,i.jsx)(s.code,{children:"T"}),"[]"]}),"\n",(0,i.jsx)(s.p,{children:"Function ordering the given elements in reverse z-order so they drawn\nthe correct way."}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-5",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"})})}),(0,i.jsx)(s.tbody,{children:(0,i.jsx)(s.tr,{children:(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"T"})})})})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-32",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"_extent"})}),(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"Extent"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"getter"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["(",(0,i.jsx)(s.code,{children:"e"}),": ",(0,i.jsx)(s.code,{children:"T"}),") => ",(0,i.jsx)(s.code,{children:"number"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"elements"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"T"}),"[]"]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-35",children:"Returns"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.code,{children:"T"}),"[]"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/misc.ts#L41",children:"sigma/src/utils/misc.ts:41"})})]})}function a(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},1184:(e,s,l)=>{l.d(s,{R:()=>r,x:()=>d});var i=l(4041);const n={},t=i.createContext(n);function r(e){const s=i.useContext(t);return i.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(n):e.components||n:r(e.components),i.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/08f883e0.092470ce.js b/assets/js/08f883e0.092470ce.js new file mode 100644 index 000000000..f3e782d19 --- /dev/null +++ b/assets/js/08f883e0.092470ce.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9409],{3669:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>o,frontMatter:()=>d,metadata:()=>c,toc:()=>a});var s=n(1085),i=n(1184);const d={id:"sigma_src_rendering.NodeProgram",title:"Class: NodeProgram",sidebar_label:"sigma/src/rendering.NodeProgram",custom_edit_url:null},l=void 0,c={id:"typedoc/classes/sigma_src_rendering.NodeProgram",title:"Class: NodeProgram",description:"sigma/src/rendering.NodeProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.NodeProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.NodeProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.NodeProgram",title:"Class: NodeProgram",sidebar_label:"sigma/src/rendering.NodeProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.NodePointProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram"},next:{title:"sigma/src/rendering.Program",permalink:"/docs/typedoc/classes/sigma_src_rendering.Program"}},t={},a=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"drawHover",id:"drawhover",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"Methods",id:"methods",level:2},{value:"bindAttribute",id:"bindattribute",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"bindProgram",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"drawWebGL",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"getDefinition",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"getProgramInfo",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"hasNothingToRender",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"processVisibleItem",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Implementation of",id:"implementation-of-4",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Implementation of",id:"implementation-of-5",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"renderProgram",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"setUniforms",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"unbindAttribute",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"unbindProgram",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-35",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".NodeProgram"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"Uniform"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"string"})," = ",(0,s.jsx)(r.code,{children:"string"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"N"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"E"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"G"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,s.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:(0,s.jsx)(r.code,{children:"Program"})}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),", ",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3 ",(0,s.jsx)(r.strong,{children:(0,s.jsx)(r.code,{children:"NodeProgram"})})]}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram",children:(0,s.jsx)(r.code,{children:"NodeCircleProgram"})})]}),"\n",(0,s.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram",children:(0,s.jsx)(r.code,{children:"NodePointProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"implements",children:"Implements"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:(0,s.jsx)(r.code,{children:"AbstractNodeProgram"})}),"<",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,s.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"new NodeProgram"}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),", ",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">(",(0,s.jsx)(r.code,{children:"gl"}),", ",(0,s.jsx)(r.code,{children:"pickingBuffer"}),", ",(0,s.jsx)(r.code,{children:"renderer"}),"): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:(0,s.jsx)(r.code,{children:"NodeProgram"})}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),", ",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"Uniform"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"string"})," = ",(0,s.jsx)(r.code,{children:"string"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"N"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"E"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"G"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"gl"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,s.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"pickingBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"null"})," | ",(0,s.jsx)(r.code,{children:"WebGLFramebuffer"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"renderer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,s.jsx)(r.code,{children:"Sigma"})}),"<",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:(0,s.jsx)(r.code,{children:"NodeProgram"})}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),", ",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#constructor",children:"constructor"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L114",children:"sigma/src/rendering/program.ts:114"})}),"\n",(0,s.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,s.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#attributes",children:"ATTRIBUTES"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L93",children:"sigma/src/rendering/program.ts:93"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L98",children:"sigma/src/rendering/program.ts:98"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,s.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#constant_attributes",children:"CONSTANT_ATTRIBUTES"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L95",children:"sigma/src/rendering/program.ts:95"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,s.jsx)(r.code,{children:"number"}),"[][]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#constant_data",children:"CONSTANT_DATA"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L96",children:"sigma/src/rendering/program.ts:96"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L91",children:"sigma/src/rendering/program.ts:91"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"METHOD"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#method",children:"METHOD"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L94",children:"sigma/src/rendering/program.ts:94"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"STRIDE"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#stride",children:"STRIDE"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L99",children:"sigma/src/rendering/program.ts:99"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"UNIFORMS"}),": readonly ",(0,s.jsx)(r.code,{children:"Uniform"}),"[]"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#uniforms",children:"UNIFORMS"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L92",children:"sigma/src/rendering/program.ts:92"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#vertex_shader_source",children:"VERTEX_SHADER_SOURCE"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L90",children:"sigma/src/rendering/program.ts:90"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"VERTICES"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#vertices",children:"VERTICES"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L89",children:"sigma/src/rendering/program.ts:89"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"array"}),": ",(0,s.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#array",children:"array"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L102",children:"sigma/src/rendering/program.ts:102"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"capacity"}),": ",(0,s.jsx)(r.code,{children:"number"})," = ",(0,s.jsx)(r.code,{children:"0"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#capacity",children:"capacity"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L104",children:"sigma/src/rendering/program.ts:104"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"constantArray"}),": ",(0,s.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#constantarray",children:"constantArray"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L103",children:"sigma/src/rendering/program.ts:103"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"drawhover",children:"drawHover"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"drawHover"}),": ",(0,s.jsx)(r.code,{children:"undefined"})," | ",(0,s.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodehoverdrawingfunction",children:(0,s.jsx)(r.code,{children:"NodeHoverDrawingFunction"})}),"<",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#drawhover",children:"drawHover"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L36",children:"sigma/src/rendering/node.ts:36"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"drawLabel"}),": ",(0,s.jsx)(r.code,{children:"undefined"})," | ",(0,s.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodelabeldrawingfunction",children:(0,s.jsx)(r.code,{children:"NodeLabelDrawingFunction"})}),"<",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#drawlabel",children:"drawLabel"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L35",children:"sigma/src/rendering/node.ts:35"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"isInstanced"}),": ",(0,s.jsx)(r.code,{children:"boolean"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#isinstanced",children:"isInstanced"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L110",children:"sigma/src/rendering/program.ts:110"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"normalProgram"}),": ",(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#normalprogram",children:"normalProgram"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L107",children:"sigma/src/rendering/program.ts:107"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"pickProgram"}),": ",(0,s.jsx)(r.code,{children:"null"})," | ",(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#pickprogram",children:"pickProgram"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L108",children:"sigma/src/rendering/program.ts:108"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"renderer"}),": ",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,s.jsx)(r.code,{children:"Sigma"})}),"<",(0,s.jsx)(r.code,{children:"N"}),", ",(0,s.jsx)(r.code,{children:"E"}),", ",(0,s.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#renderer",children:"renderer"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L101",children:"sigma/src/rendering/program.ts:101"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"verticesCount"}),": ",(0,s.jsx)(r.code,{children:"number"})," = ",(0,s.jsx)(r.code,{children:"0"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#verticescount",children:"verticesCount"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L105",children:"sigma/src/rendering/program.ts:105"})}),"\n",(0,s.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(r.h3,{id:"bindattribute",children:"bindAttribute"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"bindAttribute"}),"(",(0,s.jsx)(r.code,{children:"attr"}),", ",(0,s.jsx)(r.code,{children:"program"}),", ",(0,s.jsx)(r.code,{children:"offset"}),", ",(0,s.jsx)(r.code,{children:"setDivisor?"}),"): ",(0,s.jsx)(r.code,{children:"number"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"attr"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"program"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"offset"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"setDivisor?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"number"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#bindattribute",children:"bindAttribute"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L268",children:"sigma/src/rendering/program.ts:268"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"bindprogram",children:"bindProgram"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"bindProgram"}),"(",(0,s.jsx)(r.code,{children:"program"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"program"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#bindprogram",children:"bindProgram"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L230",children:"sigma/src/rendering/program.ts:230"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,s.jsx)(r.code,{children:"method"}),", ",(0,s.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"method"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#drawwebgl",children:"drawWebGL"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L379",children:"sigma/src/rendering/program.ts:379"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"getdefinition",children:"getDefinition"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition",children:(0,s.jsx)(r.code,{children:"ProgramDefinition"})}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),"> | ",(0,s.jsx)(r.code,{children:"InstancedProgramDefinition"}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition",children:(0,s.jsx)(r.code,{children:"ProgramDefinition"})}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),"> | ",(0,s.jsx)(r.code,{children:"InstancedProgramDefinition"}),"<",(0,s.jsx)(r.code,{children:"Uniform"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#getdefinition",children:"getDefinition"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L112",children:"sigma/src/rendering/program.ts:112"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"getProgramInfo"}),"(",(0,s.jsx)(r.code,{children:"name"}),", ",(0,s.jsx)(r.code,{children:"gl"}),", ",(0,s.jsx)(r.code,{children:"vertexShaderSource"}),", ",(0,s.jsx)(r.code,{children:"fragmentShaderSource"}),", ",(0,s.jsx)(r.code,{children:"frameBuffer"}),"): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"name"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:'"normal"'})," | ",(0,s.jsx)(r.code,{children:'"pick"'})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"gl"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,s.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"vertexShaderSource"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"string"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"fragmentShaderSource"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"string"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"frameBuffer"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.code,{children:"null"})," | ",(0,s.jsx)(r.code,{children:"WebGLFramebuffer"})]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#getprograminfo",children:"getProgramInfo"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L176",children:"sigma/src/rendering/program.ts:176"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,s.jsx)(r.code,{children:"boolean"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"boolean"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#hasnothingtorender",children:"hasNothingToRender"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L336",children:"sigma/src/rendering/program.ts:336"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"kill"}),"(): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#kill",children:"kill"})]}),"\n",(0,s.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#kill",children:"kill"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L38",children:"sigma/src/rendering/node.ts:38"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"process"}),"(",(0,s.jsx)(r.code,{children:"nodeIndex"}),", ",(0,s.jsx)(r.code,{children:"offset"}),", ",(0,s.jsx)(r.code,{children:"data"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"nodeIndex"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"offset"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"data"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#process",children:"process"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L42",children:"sigma/src/rendering/node.ts:42"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"processvisibleitem",children:"processVisibleItem"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"processVisibleItem"}),"(",(0,s.jsx)(r.code,{children:"nodeIndex"}),", ",(0,s.jsx)(r.code,{children:"i"}),", ",(0,s.jsx)(r.code,{children:"data"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"nodeIndex"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"i"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"data"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L55",children:"sigma/src/rendering/node.ts:55"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"reallocate"}),"(",(0,s.jsx)(r.code,{children:"capacity"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"capacity"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of-4",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#reallocate",children:"reallocate"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#reallocate",children:"reallocate"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L321",children:"sigma/src/rendering/program.ts:321"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"render"}),"(",(0,s.jsx)(r.code,{children:"params"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"params"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"implementation-of-5",children:"Implementation of"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:"AbstractNodeProgram"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram#render",children:"render"})]}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#render",children:"render"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L358",children:"sigma/src/rendering/program.ts:358"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"renderprogram",children:"renderProgram"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"renderProgram"}),"(",(0,s.jsx)(r.code,{children:"params"}),", ",(0,s.jsx)(r.code,{children:"programInfo"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"params"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"RenderParams"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"programInfo"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#renderprogram",children:"renderProgram"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L342",children:"sigma/src/rendering/program.ts:342"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"setuniforms",children:"setUniforms"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"setUniforms"}),"(",(0,s.jsx)(r.code,{children:"params"}),", ",(0,s.jsx)(r.code,{children:"programInfo"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"params"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"RenderParams"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"programInfo"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#setuniforms",children:"setUniforms"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L340",children:"sigma/src/rendering/program.ts:340"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"unbindAttribute"}),"(",(0,s.jsx)(r.code,{children:"attr"}),", ",(0,s.jsx)(r.code,{children:"program"}),", ",(0,s.jsx)(r.code,{children:"unsetDivisor?"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"attr"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"program"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"unsetDivisor?"})}),(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#unbindattribute",children:"unbindAttribute"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L303",children:"sigma/src/rendering/program.ts:303"})}),"\n",(0,s.jsx)(r.hr,{}),"\n",(0,s.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram"}),"\n",(0,s.jsxs)(r.p,{children:["\u25b8 ",(0,s.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,s.jsx)(r.code,{children:"program"}),"): ",(0,s.jsx)(r.code,{children:"void"})]}),"\n",(0,s.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,s.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,s.jsx)(r.tbody,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{style:{textAlign:"left"},children:(0,s.jsx)(r.code,{children:"program"})}),(0,s.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,s.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,s.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,s.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"void"})}),"\n",(0,s.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program",children:"Program"}),".",(0,s.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.Program#unbindprogram",children:"unbindProgram"})]}),"\n",(0,s.jsx)(r.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L259",children:"sigma/src/rendering/program.ts:259"})})]})}function o(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>l,x:()=>c});var s=n(4041);const i={},d=s.createContext(i);function l(e){const r=s.useContext(d);return s.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(i):e.components||i:l(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0a086622.e9e4c705.js b/assets/js/0a086622.e9e4c705.js new file mode 100644 index 000000000..26d31b0c4 --- /dev/null +++ b/assets/js/0a086622.e9e4c705.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5414],{7515:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>l});var t=s(1085),i=s(1184);const r={title:"Graph data",sidebar_position:1},d="Graph data",a={id:"advanced/data",title:"Graph data",description:"Sigma.js utilizes a specific data model to represent and display graphs. This section provides an overview of the core attributes and functionalities related to nodes and edges in sigma.js.",source:"@site/docs/advanced/data.md",sourceDirName:"advanced",slug:"/advanced/data",permalink:"/docs/advanced/data",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/advanced/data.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Graph data",sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Lifecycle",permalink:"/docs/advanced/lifecycle"},next:{title:"Customizing appearance",permalink:"/docs/advanced/customization"}},o={},l=[{value:"Graph model: Graphology",id:"graph-model-graphology",level:2},{value:"Node attributes",id:"node-attributes",level:2},{value:"Additional node attributes",id:"additional-node-attributes",level:3},{value:"Edge attributes",id:"edge-attributes",level:2},{value:"Additional edge attributes",id:"additional-edge-attributes",level:3},{value:"Dynamic attribute transformation: reducers",id:"dynamic-attribute-transformation-reducers",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"graph-data",children:"Graph data"}),"\n",(0,t.jsx)(n.p,{children:"Sigma.js utilizes a specific data model to represent and display graphs. This section provides an overview of the core attributes and functionalities related to nodes and edges in sigma.js."}),"\n",(0,t.jsx)(n.h2,{id:"graph-model-graphology",children:"Graph model: Graphology"}),"\n",(0,t.jsxs)(n.p,{children:["Sigma.js uses ",(0,t.jsx)(n.a,{href:"https://graphology.github.io/",children:"graphology"})," as its underlying graph model. Graphology offers a very large ",(0,t.jsx)(n.a,{href:"https://graphology.github.io/standard-library/",children:"standard library"})," of graph algorithms and data structures. It also provides a powerful API for developers to interact with graphs."]}),"\n",(0,t.jsx)(n.h2,{id:"node-attributes",children:"Node attributes"}),"\n",(0,t.jsx)(n.p,{children:"Nodes in sigma.js have several recognized attributes that determine their appearance and behavior:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsxs)(n.strong,{children:[(0,t.jsx)(n.code,{children:"x"}),", ",(0,t.jsx)(n.code,{children:"y"})]}),": These attributes determine the position of the node on the canvas. They are typically set using layout algorithms but can also be manually specified."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"type"})}),": This attribute is linked to a renderer. It defines the visual representation of the node, such as 'circle', 'square', etc."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"size"})}),": Represents the radius of the node. A larger value will render a bigger node."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"color"})}),": Represents the color of the node, as a string. It handles hexadecimal values (",(0,t.jsx)(n.code,{children:'"#e22653"'})," for instance) and ",(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/named-color",children:"CSS named colors"})," (",(0,t.jsx)(n.code,{children:'"deeppink"'})," for instance)."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"label"})}),": The text displayed near the node, typically representing its name or identifier."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"additional-node-attributes",children:"Additional node attributes"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"hidden"})}),": A boolean attribute. If set to ",(0,t.jsx)(n.code,{children:"true"}),", the node will not be displayed."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"forceLabel"})}),": When set to ",(0,t.jsx)(n.code,{children:"true"}),", the node's label will always be displayed, regardless of zoom level or other conditions."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"zIndex"})}),": Determines the display order of nodes. Nodes with higher zIndex values will be drawn on top of nodes with lower zIndex values. Note: The ",(0,t.jsx)(n.code,{children:"zIndex"})," attribute only works when the setting ",(0,t.jsx)(n.code,{children:"zIndex"})," is set to ",(0,t.jsx)(n.code,{children:"true"}),"."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"edge-attributes",children:"Edge attributes"}),"\n",(0,t.jsx)(n.p,{children:"Edges have their own set of attributes:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"size"})}),": Represents the thickness of the edge. A larger value will render a thicker edge."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"color"})}),": Represents the color of the node, as a string."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"label"})}),": The text displayed near the edge, typically representing its weight or type."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"additional-edge-attributes",children:"Additional edge attributes"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"hidden"})}),": A boolean attribute. If set to ",(0,t.jsx)(n.code,{children:"true"}),", the edge will not be displayed."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"forceLabel"})}),": When set to ",(0,t.jsx)(n.code,{children:"true"}),", the edge's label will always be displayed, regardless of zoom level or other conditions."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:"zIndex"})}),": Determines the display order of edges. Edges with higher zIndex values will be drawn on top of edges with lower zIndex values. Note: The ",(0,t.jsx)(n.code,{children:"zIndex"})," attribute only works when the setting ",(0,t.jsx)(n.code,{children:"zIndex"})," is set to ",(0,t.jsx)(n.code,{children:"true"}),", and also edges can never be drawn on top of nodes, regardless of their ",(0,t.jsx)(n.code,{children:"zIndex"})," values."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"dynamic-attribute-transformation-reducers",children:"Dynamic attribute transformation: reducers"}),"\n",(0,t.jsxs)(n.p,{children:["Sigma.js offers a powerful feature that allows developers to dynamically transform node and edge attributes right before rendering. This is achieved using ",(0,t.jsx)(n.code,{children:"nodeReducer"})," and ",(0,t.jsx)(n.code,{children:"edgeReducer"}),"."]}),"\n",(0,t.jsx)(n.p,{children:"These are functions provided in the settings. They take a node or edge as input and return a new set of attributes for that node or edge. This allows for dynamic visual transformations without modifying the underlying graphology instance."}),"\n",(0,t.jsx)(n.p,{children:"For instance, if developers want to highlight a specific part of the graph, they can use reducers to change the size or color of specific nodes and edges without altering the original graph data."}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:'sigma.setSetting("nodeReducer", (node) => {\n if (node.id === "specialNode") {\n return {\n ...node,\n size: 10,\n color: "#ff0000",\n };\n }\n return node;\n});\n'})}),"\n",(0,t.jsxs)(n.p,{children:["In the example above, the ",(0,t.jsx)(n.code,{children:"nodeReducer"})," checks if a node has an id of 'specialNode'. If it does, it changes its size and color. This transformation will be applied right before rendering, ensuring that the 'specialNode' stands out in the visualization."]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>d,x:()=>a});var t=s(4041);const i={},r=t.createContext(i);function d(e){const n=t.useContext(r);return t.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(i):e.components||i:d(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0e622558.93b785fa.js b/assets/js/0e622558.93b785fa.js new file mode 100644 index 000000000..dd1598660 --- /dev/null +++ b/assets/js/0e622558.93b785fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7050],{7738:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>t,default:()=>h,frontMatter:()=>d,metadata:()=>a,toc:()=>l});var r=s(1085),i=s(1184);const d={title:"Migrating from v2 to v3",sidebar_position:7},t=void 0,a={id:"advanced/migration-v2-v3",title:"Migrating from v2 to v3",description:"This guide will help users migrating their applications from sigma v2.\\ to v3.\\.",source:"@site/docs/advanced/migration-v2-v3.md",sourceDirName:"advanced",slug:"/advanced/migration-v2-v3",permalink:"/docs/advanced/migration-v2-v3",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/advanced/migration-v2-v3.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{title:"Migrating from v2 to v3",sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Publishing new versions",permalink:"/docs/advanced/publish"},next:{title:"Table of Contents",permalink:"/docs/typedoc/"}},o={},l=[{value:"Exports endpoints",id:"exports-endpoints",level:2},{value:"Programs",id:"programs",level:2},{value:"Existing programs",id:"existing-programs",level:3},{value:"New API",id:"new-api",level:3},{value:"Picking",id:"picking",level:3},{value:"Instanced rendering",id:"instanced-rendering",level:3},{value:"Canvas labels and hovered nodes rendering",id:"canvas-labels-and-hovered-nodes-rendering",level:3},{value:"Other breaking changes",id:"other-breaking-changes",level:2},{value:"TypeScript generics",id:"typescript-generics",level:3},{value:"Settings",id:"settings",level:3}];function c(e){const n={a:"a",code:"code",em:"em",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.p,{children:"This guide will help users migrating their applications from sigma v2.* to v3.*."}),"\n",(0,r.jsx)(n.h2,{id:"exports-endpoints",children:"Exports endpoints"}),"\n",(0,r.jsxs)(n.p,{children:["Sigma v3 is built using ",(0,r.jsx)(n.a,{href:"https://preconstruct.tools/",children:"Preconstruct"}),", and there are only 5 endpoints now:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"sigma"'})," exports the main ",(0,r.jsx)(n.code,{children:"Sigma"})," class, and the other utility classes ",(0,r.jsx)(n.code,{children:"Camera"}),", ",(0,r.jsx)(n.code,{children:"MouseCaptor"})," and ",(0,r.jsx)(n.code,{children:"TouchCaptor"}),";"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"sigma/rendering"'})," exports everything rendering related, from the programs to the related classes and types;"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"sigma/settings"'})," exports the ",(0,r.jsx)(n.code,{children:"Settings"})," interface, the ",(0,r.jsx)(n.code,{children:"DEFAULT_SETTINGS"})," collection and the ",(0,r.jsx)(n.code,{children:"validateSettings"})," and ",(0,r.jsx)(n.code,{children:"resolveSettings"})," utility functions;"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"sigma/types"'})," exports all remaining sigma specific types (for TypeScript only);"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"sigma/utils"'})," exports all kind of various utility functions."]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Also, the ",(0,r.jsx)(n.code,{children:"node.image"})," program is no more exported from sigma, but must be imported from another dedicated package: ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/package/@sigma/node-image",children:(0,r.jsx)(n.code,{children:"@sigma/node-image"})}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"programs",children:"Programs"}),"\n",(0,r.jsxs)(n.p,{children:["Sigma v3 has been developed to handle various limitations of sigma v2's nodes and edges ",(0,r.jsx)(n.strong,{children:"programs"}),". Basically:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Programs were very hard to maintain and to develop, with ",(0,r.jsx)(n.em,{children:"a lot"})," of boilerplate"]}),"\n",(0,r.jsxs)(n.li,{children:["There were various optimizations we wanted to implement, such as ",(0,r.jsx)(n.a,{href:"https://webglfundamentals.org/webgl/lessons/webgl-picking.html",children:(0,r.jsx)(n.em,{children:"picking"})})," and ",(0,r.jsx)(n.a,{href:"https://webglfundamentals.org/webgl/lessons/webgl-instanced-drawing.html",children:(0,r.jsx)(n.em,{children:"instanced rendering"})}),", that would require breaking changes, at the time"]}),"\n",(0,r.jsx)(n.li,{children:"Coordinate systems translations where messy and poorly documented, and becoming harder and harder to maintain"}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"So, we refined it completely from scratch, to handle all those issues."}),"\n",(0,r.jsx)(n.h3,{id:"existing-programs",children:"Existing programs"}),"\n",(0,r.jsx)(n.p,{children:"Breaking everything in the programs was the opportunity to rename existing program, to better fit what they do:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"edge-fast"})," becomes ",(0,r.jsx)(n.code,{children:"edge.line"})," (since it uses the ",(0,r.jsx)(n.code,{children:"WebGLRenderingContext.LINES"})," drawing method)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"edge"})," becomes ",(0,r.jsx)(n.code,{children:"edge.rectangle"})," (as edges are rendered as rectangles, using two ",(0,r.jsx)(n.code,{children:"WebGLRenderingContext.TRIANGLES"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"node-fast"})," becomes ",(0,r.jsx)(n.code,{children:"node.point"})," (since it uses ",(0,r.jsx)(n.code,{children:"WebGLRenderingContext.POINTS"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"node"})," becomes ",(0,r.jsx)(n.code,{children:"node.circle"})," (as nodes are rendered as circles, carved inside ",(0,r.jsx)(n.code,{children:"WebGLRenderingContext.TRIANGLES"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"node-image"})," becomes ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/package/@sigma/node-image",children:(0,r.jsx)(n.code,{children:"@sigma/node-image"})}),", a new satellite package"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"new-api",children:"New API"}),"\n",(0,r.jsxs)(n.p,{children:["A ",(0,r.jsx)(n.strong,{children:"node program"})," must extend the ",(0,r.jsxs)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/main/packages/sigma/src/rendering/node.ts",children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"NodeProgram"})})," classe"]}),", and an ",(0,r.jsx)(n.strong,{children:"edge program"})," must extend the ",(0,r.jsxs)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/main/packages/sigma/src/rendering/edge.ts",children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"EdgeProgram"})})," classe"]}),". Those two classes are designed so that only specific code remains in the programs, without all the boilerplate."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"The best to do to understand how to write programs for sigma v3 is to read the existing programs."})," The simplest ones are ",(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/packages/sigma/src/rendering/programs/edge-line",children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"edge.line"})})})," and ",(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/packages/sigma/src/rendering/programs/node-point",children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"node.point"})})}),"."]}),"\n",(0,r.jsx)(n.p,{children:"Some insights, though:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["To help with TypeScript inference, ",(0,r.jsx)(n.strong,{children:"uniforms"})," are generally defined outside the program, and given as generics;"]}),"\n",(0,r.jsxs)(n.li,{children:["Every programs now have a ",(0,r.jsx)(n.code,{children:"getDefinition"})," method, that returns various data that help sigma properly initializing the related WebGL program;"]}),"\n",(0,r.jsxs)(n.li,{children:["Programs also must have a ",(0,r.jsx)(n.code,{children:"processVisibleItem"}),", that feeds the ",(0,r.jsx)(n.code,{children:"Float32Array"})," with the data related to a given item;"]}),"\n",(0,r.jsxs)(n.li,{children:["Finally, programs also provide a ",(0,r.jsx)(n.code,{children:"setUniforms"})," method, that sets the proper uniform values."]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"picking",children:"Picking"}),"\n",(0,r.jsx)(n.p,{children:"In sigma v3, the collision detection is no more handle with CPU-based computation. The two main issues were:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"The quad-tree index for nodes was hard to maintain, and only handled disc nodes;"}),"\n",(0,r.jsx)(n.li,{children:"The ad-hoc code that handled edges collisions was slow, and only handled linear edges."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The picking work as following:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"In addition to the visible layers, two more layers are rendered, where each node and edge is drawn with a unique color, that represents its ID;"}),"\n",(0,r.jsx)(n.li,{children:"To know what is at a given pixel, we look at the related picking layer, and if it is a colored pixel, then we instantly know what item it belongs to."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"There are two main costs, though:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Everything is rendered twice;"}),"\n",(0,r.jsxs)(n.li,{children:["Every program must handle rendering for ",(0,r.jsx)(n.strong,{children:"both modes"}),' ("normal" and "picking").']}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"To handle picking within a program, here are the things that must be taken into account:"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["In addition to the color, the ID must also be stored into the data transferred to the CPU. The ",(0,r.jsx)(n.code,{children:"processVisibleItem"})," receives the ID, properly encoded as a 4 bytes value (as the color), as its first argument."]}),"\n",(0,r.jsxs)(n.li,{children:["In the ",(0,r.jsx)(n.em,{children:"vertex shader"}),", the color given to the ",(0,r.jsx)(n.em,{children:"fragment shader"})," must be the item color for the normal layer, and the ID for the picking layer. This is done using the ",(0,r.jsx)(n.code,{children:"PICKING_MODE"})," macro defined constant:"]}),"\n"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-glsl",children:"#ifdef PICKING_MODE\n// For picking mode, we use the ID as the color:\nv_color = a_id;\n#else\n// For normal mode, we use the color:\nv_color = a_color;\n#endif\n"})}),"\n",(0,r.jsxs)(n.ol,{start:"3",children:["\n",(0,r.jsxs)(n.li,{children:["In the ",(0,r.jsx)(n.em,{children:"fragment shader"}),", in the picking layer, pixels should either remain uncolored or colored with the given color. There should be no antialiasing. Indeed, if the color is changed, it might become the ID of another item."]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"instanced-rendering",children:"Instanced rendering"}),"\n",(0,r.jsxs)(n.p,{children:["In sigma v2, there were a lot of repeated data transmitted to the GPU. For instance, to render an edge as a rectangle, all the required data were written ",(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/7b3a5ead355f7c54449002e6909a9af2eecae6db/src/rendering/webgl/programs/edge.ts#L166-L193",children:"four times"}),". To fixe this issue, sigma v3 uses ",(0,r.jsx)(n.em,{children:"instanced rendering"}),". Basically, there are now two different buffers: one that carries data related to each item (node or edge), and another that carries data related to each vertex. Then, the program will handle those buffers to send to the ",(0,r.jsx)(n.em,{children:"vertex shader"})," both the item related data and the vertex related data."]}),"\n",(0,r.jsxs)(n.p,{children:["All programs do not use instanced rendering. For instance, ",(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/packages/sigma/src/rendering/programs/node-point",children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"node.point"})})})," does need it, since there is only one vertex per node. Basically, every program that use the ",(0,r.jsx)(n.code,{children:"WebGLRenderingContext.TRIANGLES"})," method should probably use instanced rendering."]}),"\n",(0,r.jsxs)(n.p,{children:["So, to use instanced rendering, the ",(0,r.jsx)(n.code,{children:"getDefinition"})," method of a program must provide a ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"CONSTANT_ATTRIBUTES"})})," array, shaped as the ",(0,r.jsx)(n.code,{children:"ATTRIBUTES"})," array, but with attributes that are related to each vertex, and a ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"CONSTANT_DATA"})})," that stores an array of data for each vertex. The simplest program that uses instanced rendering might be ",(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/packages/sigma/src/rendering/programs/node-circle",children:(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"node.circle"})})}),". ",(0,r.jsx)(n.strong,{children:"It is certainly a good program to read to better understand how to write a program using instanced rendering"}),"."]}),"\n",(0,r.jsx)(n.h3,{id:"canvas-labels-and-hovered-nodes-rendering",children:"Canvas labels and hovered nodes rendering"}),"\n",(0,r.jsx)(n.p,{children:"Finally, the way sigma handles canvas renderers for nodes and edges labels and hovered nodes have been updated:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Each program class can provide its own canvas renderers (an optional ",(0,r.jsx)(n.code,{children:"drawLabel"})," method, and an additional optional ",(0,r.jsx)(n.code,{children:"drawHover"})," only for node renderers). This allows programs that render different shapes to have custom labels rendering (such as ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/package/@sigma/edge-curve",children:(0,r.jsx)(n.code,{children:"@sigma/edge-curve"})})," for instance)."]}),"\n",(0,r.jsxs)(n.li,{children:["Programs that do not provide their own ",(0,r.jsx)(n.code,{children:"drawLabel"})," or ",(0,r.jsx)(n.code,{children:"drawHover"})," methods rely on the ",(0,r.jsx)(n.code,{children:"defaultDrawEdgeLabel"}),", ",(0,r.jsx)(n.code,{children:"defaultDrawNodeLabel"})," and ",(0,r.jsx)(n.code,{children:"defaultDrawNodeHover"}),' settings. This allows overriding canvas renderers for all "classic" programs (ie. circle nodes and straight edges) all at once.']}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"other-breaking-changes",children:"Other breaking changes"}),"\n",(0,r.jsx)(n.h3,{id:"typescript-generics",children:"TypeScript generics"}),"\n",(0,r.jsxs)(n.p,{children:["In sigma v3, the ",(0,r.jsx)(n.code,{children:"Sigma"})," class accepts the same generics as its carried ",(0,r.jsx)(n.code,{children:"Graph"})," instance. This helps to have reducers or other helpers written with the proper node and/or edge attributes."]}),"\n",(0,r.jsx)(n.h3,{id:"settings",children:"Settings"}),"\n",(0,r.jsx)(n.p,{children:"Some settings have been updated:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"enableEdgeClickEvents"}),", ",(0,r.jsx)(n.code,{children:"enableEdgeWheelEvents"})," and ",(0,r.jsx)(n.code,{children:"enableEdgeHoverEvents"})," disappear and are all replaced by the single ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"enableEdgeEvents"})})," setting;"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"labelRenderer"}),", ",(0,r.jsx)(n.code,{children:"hoverRenderer"})," and ",(0,r.jsx)(n.code,{children:"edgeLabelRenderer"})," disappear and are respectively replaced by ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"defaultDrawNodeLabel"})}),", ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"defaultDrawNodeHover"})})," and ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"defaultDrawEdgeLabel"})}),";"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"zoomToSizeRatioFunction"})})," and ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"itemSizesReference"})})," are added to handle cases where nodes grow linearly with the zoom and all items sizes and positions are in the same coordinates system."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>t,x:()=>a});var r=s(4041);const i={},d=r.createContext(i);function t(e){const n=r.useContext(d);return r.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(i):e.components||i:t(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1124e1de.0cd919b4.js b/assets/js/1124e1de.0cd919b4.js new file mode 100644 index 000000000..240ae77bb --- /dev/null +++ b/assets/js/1124e1de.0cd919b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4172],{2312:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>g,frontMatter:()=>t,metadata:()=>a,toc:()=>l});var i=n(1085),s=n(1184);const t={id:"sigma_src_rendering.ProgramDefinition",title:"Interface: ProgramDefinition",sidebar_label:"sigma/src/rendering.ProgramDefinition",custom_edit_url:null},d=void 0,a={id:"typedoc/interfaces/sigma_src_rendering.ProgramDefinition",title:"Interface: ProgramDefinition",description:"sigma/src/rendering.ProgramDefinition",source:"@site/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition.md",sourceDirName:"typedoc/interfaces",slug:"/typedoc/interfaces/sigma_src_rendering.ProgramDefinition",permalink:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.ProgramDefinition",title:"Interface: ProgramDefinition",sidebar_label:"sigma/src/rendering.ProgramDefinition",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.Program",permalink:"/docs/typedoc/classes/sigma_src_rendering.Program"},next:{title:"sigma/src/rendering.ProgramInfo",permalink:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo"}},c={},l=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"METHOD",id:"method",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Defined in",id:"defined-in-5",level:4}];function o(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".ProgramDefinition"]}),"\n",(0,i.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(r.tbody,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{style:{textAlign:"left"},children:(0,i.jsx)(r.code,{children:"Uniform"})}),(0,i.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(r.code,{children:"string"})," = ",(0,i.jsx)(r.code,{children:"string"})]})]})})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,i.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L60",children:"sigma/src/rendering/program.ts:60"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L58",children:"sigma/src/rendering/program.ts:58"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"METHOD"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L61",children:"sigma/src/rendering/program.ts:61"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"UNIFORMS"}),": readonly ",(0,i.jsx)(r.code,{children:"Uniform"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L59",children:"sigma/src/rendering/program.ts:59"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L57",children:"sigma/src/rendering/program.ts:57"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"VERTICES"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L56",children:"sigma/src/rendering/program.ts:56"})})]})}function g(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>d,x:()=>a});var i=n(4041);const s={},t=i.createContext(s);function d(e){const r=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/139c4e6d.1ab142a1.js b/assets/js/139c4e6d.1ab142a1.js new file mode 100644 index 000000000..a3390b258 --- /dev/null +++ b/assets/js/139c4e6d.1ab142a1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2240],{2276:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>l,default:()=>x,frontMatter:()=>r,metadata:()=>d,toc:()=>h});var t=n(1085),i=n(1184);const r={id:"sigma_src.TouchCaptor",title:"Class: TouchCaptor",sidebar_label:"sigma/src.TouchCaptor",custom_edit_url:null},l=void 0,d={id:"typedoc/classes/sigma_src.TouchCaptor",title:"Class: TouchCaptor",description:"sigma/src.TouchCaptor",source:"@site/docs/typedoc/classes/sigma_src.TouchCaptor.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src.TouchCaptor",permalink:"/docs/typedoc/classes/sigma_src.TouchCaptor",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src.TouchCaptor",title:"Class: TouchCaptor",sidebar_label:"sigma/src.TouchCaptor",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src.Sigma",permalink:"/docs/typedoc/classes/sigma_src.Sigma"},next:{title:"sigma/src/rendering.AbstractEdgeProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram"}},c={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"container",id:"container",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"enabled",id:"enabled",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"hasMoved",id:"hasmoved",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isMoving",id:"ismoving",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"lastTouches",id:"lasttouches",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"lastTouchesPositions",id:"lasttouchespositions",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"movingTimeout",id:"movingtimeout",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"rawEmitter",id:"rawemitter",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"startCameraState",id:"startcamerastate",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"startTouchesAngle",id:"starttouchesangle",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"startTouchesDistance",id:"starttouchesdistance",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"startTouchesPositions",id:"starttouchespositions",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"touchMode",id:"touchmode",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"Methods",id:"methods",level:2},{value:"addListener",id:"addlistener",level:3},{value:"Type parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"dispatchRelatedMouseEvent",id:"dispatchrelatedmouseevent",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"emit",id:"emit",level:3},{value:"Type parameters",id:"type-parameters-3",level:4},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"eventNames",id:"eventnames",level:3},{value:"Type parameters",id:"type-parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"getDimensions",id:"getdimensions",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"getMaxListeners",id:"getmaxlisteners",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"handleLeave",id:"handleleave",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"handleMove",id:"handlemove",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"handleStart",id:"handlestart",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-10",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"listenerCount",id:"listenercount",level:3},{value:"Type parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"listeners",id:"listeners",level:3},{value:"Type parameters",id:"type-parameters-6",level:4},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"off",id:"off",level:3},{value:"Type parameters",id:"type-parameters-7",level:4},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"on",id:"on",level:3},{value:"Type parameters",id:"type-parameters-8",level:4},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"once",id:"once",level:3},{value:"Type parameters",id:"type-parameters-9",level:4},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"prependListener",id:"prependlistener",level:3},{value:"Type parameters",id:"type-parameters-10",level:4},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-16",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"prependOnceListener",id:"prependoncelistener",level:3},{value:"Type parameters",id:"type-parameters-11",level:4},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-17",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"rawListeners",id:"rawlisteners",level:3},{value:"Type parameters",id:"type-parameters-12",level:4},{value:"Parameters",id:"parameters-14",level:4},{value:"Returns",id:"returns-18",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"removeAllListeners",id:"removealllisteners",level:3},{value:"Type parameters",id:"type-parameters-13",level:4},{value:"Parameters",id:"parameters-15",level:4},{value:"Returns",id:"returns-19",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"removeListener",id:"removelistener",level:3},{value:"Type parameters",id:"type-parameters-14",level:4},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"setMaxListeners",id:"setmaxlisteners",level:3},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-35",level:4}];function a(e){const s={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.a,{href:"/docs/typedoc/modules/sigma_src",children:"sigma/src"}),".TouchCaptor"]}),"\n",(0,t.jsx)(s.p,{children:"Touch captor class."}),"\n",(0,t.jsx)(s.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"N"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"E"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"G"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.code,{children:"default"}),"<",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),", ",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,t.jsxs)(s.p,{children:["\u21b3 ",(0,t.jsx)(s.strong,{children:(0,t.jsx)(s.code,{children:"TouchCaptor"})})]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,t.jsx)(s.h3,{id:"constructor",children:"constructor"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"new TouchCaptor"}),"<",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">(",(0,t.jsx)(s.code,{children:"container"}),", ",(0,t.jsx)(s.code,{children:"renderer"}),"): ",(0,t.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:(0,t.jsx)(s.code,{children:"TouchCaptor"})}),"<",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"N"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"E"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"G"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(s.code,{children:"Attributes"})," = ",(0,t.jsx)(s.code,{children:"Attributes"})]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"container"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"HTMLElement"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"renderer"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,t.jsx)(s.code,{children:"Sigma"})}),"<",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:(0,t.jsx)(s.code,{children:"TouchCaptor"})}),"<",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,t.jsx)(s.p,{children:"Captor<TouchCaptorEvents, N, E, G>.constructor"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L52",children:"sigma/src/core/captors/touch.ts:52"})}),"\n",(0,t.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(s.h3,{id:"container",children:"container"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"container"}),": ",(0,t.jsx)(s.code,{children:"HTMLElement"})]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.container"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/captor.ts#L114",children:"sigma/src/core/captors/captor.ts:114"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"enabled",children:"enabled"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"enabled"}),": ",(0,t.jsx)(s.code,{children:"boolean"})," = ",(0,t.jsx)(s.code,{children:"true"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L39",children:"sigma/src/core/captors/touch.ts:39"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"hasmoved",children:"hasMoved"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"hasMoved"}),": ",(0,t.jsx)(s.code,{children:"boolean"})," = ",(0,t.jsx)(s.code,{children:"false"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L41",children:"sigma/src/core/captors/touch.ts:41"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"ismoving",children:"isMoving"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"isMoving"}),": ",(0,t.jsx)(s.code,{children:"boolean"})," = ",(0,t.jsx)(s.code,{children:"false"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L40",children:"sigma/src/core/captors/touch.ts:40"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"lasttouches",children:"lastTouches"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"lastTouches"}),": ",(0,t.jsx)(s.code,{children:"Touch"}),"[]"]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L50",children:"sigma/src/core/captors/touch.ts:50"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"lasttouchespositions",children:"lastTouchesPositions"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"lastTouchesPositions"}),": ",(0,t.jsx)(s.code,{children:"Coordinates"}),"[]"]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L49",children:"sigma/src/core/captors/touch.ts:49"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"movingtimeout",children:"movingTimeout"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"movingTimeout"}),": ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L44",children:"sigma/src/core/captors/touch.ts:44"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"rawemitter",children:"rawEmitter"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"rawEmitter"}),": ",(0,t.jsx)(s.code,{children:"EventEmitter"}),"<",(0,t.jsx)(s.code,{children:"DefaultEventMap"}),">"]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.rawEmitter"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L103",children:"sigma/src/types.ts:103"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"renderer",children:"renderer"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"renderer"}),": ",(0,t.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,t.jsx)(s.code,{children:"Sigma"})}),"<",(0,t.jsx)(s.code,{children:"N"}),", ",(0,t.jsx)(s.code,{children:"E"}),", ",(0,t.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.renderer"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/captor.ts#L115",children:"sigma/src/core/captors/captor.ts:115"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"startcamerastate",children:"startCameraState"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"startCameraState"}),": ",(0,t.jsx)(s.code,{children:"CameraState"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L42",children:"sigma/src/core/captors/touch.ts:42"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"starttouchesangle",children:"startTouchesAngle"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"startTouchesAngle"}),": ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L46",children:"sigma/src/core/captors/touch.ts:46"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"starttouchesdistance",children:"startTouchesDistance"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.code,{children:"Optional"})," ",(0,t.jsx)(s.strong,{children:"startTouchesDistance"}),": ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L47",children:"sigma/src/core/captors/touch.ts:47"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"starttouchespositions",children:"startTouchesPositions"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"startTouchesPositions"}),": ",(0,t.jsx)(s.code,{children:"Coordinates"}),"[] = ",(0,t.jsx)(s.code,{children:"[]"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L48",children:"sigma/src/core/captors/touch.ts:48"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"touchmode",children:"touchMode"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"touchMode"}),": ",(0,t.jsx)(s.code,{children:"number"})," = ",(0,t.jsx)(s.code,{children:"0"})]}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L43",children:"sigma/src/core/captors/touch.ts:43"})}),"\n",(0,t.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsx)(s.h3,{id:"addlistener",children:"addListener"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"addListener"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-2",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.addListener"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L109",children:"sigma/src/types.ts:109"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"dispatchrelatedmouseevent",children:"dispatchRelatedMouseEvent"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"dispatchRelatedMouseEvent"}),"(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"e"}),", ",(0,t.jsx)(s.code,{children:"touch?"}),", ",(0,t.jsx)(s.code,{children:"emitter?"}),"): ",(0,t.jsx)(s.code,{children:"void"})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"string"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"e"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"TouchEvent"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"touch?"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Touch"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"emitter?"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"EventTarget"})})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L83",children:"sigma/src/core/captors/touch.ts:83"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"emit",children:"emit"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"emit"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"...args"}),"): ",(0,t.jsx)(s.code,{children:"boolean"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-3",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"...args"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"Parameters"}),"<",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]>"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"boolean"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.emit"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L108",children:"sigma/src/types.ts:108"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"eventnames",children:"eventNames"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"eventNames"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(): ",(0,t.jsx)(s.code,{children:"Event"}),"[]"]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-4",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.code,{children:"Event"}),"[]"]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.eventNames"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L105",children:"sigma/src/types.ts:105"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"getdimensions",children:"getDimensions"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"getDimensions"}),"(): ",(0,t.jsx)(s.code,{children:"Dimensions"})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"Dimensions"})}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L76",children:"sigma/src/core/captors/touch.ts:76"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"getmaxlisteners",children:"getMaxListeners"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"getMaxListeners"}),"(): ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"number"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.getMaxListeners"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L107",children:"sigma/src/types.ts:107"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"handleleave",children:"handleLeave"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"handleLeave"}),"(",(0,t.jsx)(s.code,{children:"e"}),"): ",(0,t.jsx)(s.code,{children:"void"})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"e"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"TouchEvent"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L123",children:"sigma/src/core/captors/touch.ts:123"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"handlemove",children:"handleMove"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"handleMove"}),"(",(0,t.jsx)(s.code,{children:"e"}),"): ",(0,t.jsx)(s.code,{children:"void"})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"e"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"TouchEvent"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L183",children:"sigma/src/core/captors/touch.ts:183"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"handlestart",children:"handleStart"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"handleStart"}),"(",(0,t.jsx)(s.code,{children:"e"}),"): ",(0,t.jsx)(s.code,{children:"void"})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"e"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"TouchEvent"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L97",children:"sigma/src/core/captors/touch.ts:97"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"kill",children:"kill"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"kill"}),"(): ",(0,t.jsx)(s.code,{children:"void"})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-10",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,t.jsx)(s.p,{children:"Captor.kill"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/core/captors/touch.ts#L67",children:"sigma/src/core/captors/touch.ts:67"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"listenercount",children:"listenerCount"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"listenerCount"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),"): ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-5",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-11",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"number"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.listenerCount"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L118",children:"sigma/src/types.ts:118"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"listeners",children:"listeners"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"listeners"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),"): ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-6",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-12",children:"Returns"}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.listeners"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L117",children:"sigma/src/types.ts:117"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"off",children:"off"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"off"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-7",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-13",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.off"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L115",children:"sigma/src/types.ts:115"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"on",children:"on"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"on"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-8",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-14",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.on"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L110",children:"sigma/src/types.ts:110"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"once",children:"once"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"once"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-9",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-15",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.once"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L111",children:"sigma/src/types.ts:111"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"prependlistener",children:"prependListener"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"prependListener"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-10",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-16",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.prependListener"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L112",children:"sigma/src/types.ts:112"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"prependoncelistener",children:"prependOnceListener"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"prependOnceListener"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-11",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-17",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.prependOnceListener"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L113",children:"sigma/src/types.ts:113"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"rawlisteners",children:"rawListeners"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"rawListeners"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),"): ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-12",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-18",children:"Returns"}),"\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.rawListeners"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L119",children:"sigma/src/types.ts:119"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"removealllisteners",children:"removeAllListeners"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"removeAllListeners"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type?"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-13",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type?"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-19",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.removeAllListeners"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L116",children:"sigma/src/types.ts:116"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"removelistener",children:"removeListener"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"removeListener"}),"<",(0,t.jsx)(s.code,{children:"Event"}),">(",(0,t.jsx)(s.code,{children:"type"}),", ",(0,t.jsx)(s.code,{children:"listener"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"type-parameters-14",children:"Type parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:["extends keyof ",(0,t.jsx)(s.code,{children:"TouchCaptorEvents"})]})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"type"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"Event"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"listener"})}),(0,t.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,t.jsx)(s.code,{children:"TouchCaptorEvents"}),"[",(0,t.jsx)(s.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-20",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.removeListener"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L114",children:"sigma/src/types.ts:114"})}),"\n",(0,t.jsx)(s.hr,{}),"\n",(0,t.jsx)(s.h3,{id:"setmaxlisteners",children:"setMaxListeners"}),"\n",(0,t.jsxs)(s.p,{children:["\u25b8 ",(0,t.jsx)(s.strong,{children:"setMaxListeners"}),"(",(0,t.jsx)(s.code,{children:"n"}),"): ",(0,t.jsx)(s.code,{children:"this"})]}),"\n",(0,t.jsx)(s.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(s.tbody,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"n"})}),(0,t.jsx)(s.td,{style:{textAlign:"left"},children:(0,t.jsx)(s.code,{children:"number"})})]})})]}),"\n",(0,t.jsx)(s.h4,{id:"returns-21",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"this"})}),"\n",(0,t.jsx)(s.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,t.jsx)(s.p,{children:"Captor.setMaxListeners"}),"\n",(0,t.jsx)(s.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L106",children:"sigma/src/types.ts:106"})})]})}function x(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>l,x:()=>d});var t=n(4041);const i={},r=t.createContext(i);function l(e){const s=t.useContext(r);return t.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(i):e.components||i:l(e.components),t.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/13bd2db1.35ebd7d4.js b/assets/js/13bd2db1.35ebd7d4.js new file mode 100644 index 000000000..b680add13 --- /dev/null +++ b/assets/js/13bd2db1.35ebd7d4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8828],{5320:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var t=s(1085),i=s(1184);const a={title:"Publishing new versions",sidebar_position:6},o=void 0,r={id:"advanced/publish",title:"Publishing new versions",description:"As the code is structured as a monorepo, we use Lerna to help version and publish the different packages handled in the repository.",source:"@site/docs/advanced/publish.md",sourceDirName:"advanced",slug:"/advanced/publish",permalink:"/docs/advanced/publish",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/advanced/publish.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{title:"Publishing new versions",sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Events",permalink:"/docs/advanced/events"},next:{title:"Migrating from v2 to v3",permalink:"/docs/advanced/migration-v2-v3"}},c={},d=[];function l(e){const n={a:"a",code:"code",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.p,{children:["As the code is structured as a monorepo, we use ",(0,t.jsx)(n.a,{href:"https://github.com/lerna/lerna",children:"Lerna"})," to help version and publish the different packages handled in the repository."]}),"\n",(0,t.jsx)(n.p,{children:"To check packages that require a new version, you can run:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"lerna version\n"})}),"\n",(0,t.jsx)(n.p,{children:"This will ask you, for each package that has been edited since its last release, to specify a new version. Once it's done, a new commit has been added locally, with new tags, matching each package new version. It does not push by default."}),"\n",(0,t.jsxs)(n.p,{children:["To publish these new versions on ",(0,t.jsx)(n.a,{href:"https://www.npmjs.com/",children:"NPM"}),", you can run:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"lerna publish from-package\n"})}),"\n",(0,t.jsx)(n.p,{children:"Once you validate the new versions to publish, it will publish each of these versions to NPM."}),"\n",(0,t.jsxs)(n.p,{children:["If you name your remote differently than ",(0,t.jsx)(n.code,{children:"origin"}),", you need to add the option ",(0,t.jsx)(n.code,{children:"--git-remote="})," to both commands;"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>r});var t=s(4041);const i={},a=t.createContext(i);function o(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/13c32312.a86a8caf.js b/assets/js/13c32312.a86a8caf.js new file mode 100644 index 000000000..a3d213bdf --- /dev/null +++ b/assets/js/13c32312.a86a8caf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9601],{1966:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.452aaf9a.js b/assets/js/14eb3368.452aaf9a.js new file mode 100644 index 000000000..a587e9fc4 --- /dev/null +++ b/assets/js/14eb3368.452aaf9a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6969],{3021:(e,t,s)=>{s.d(t,{A:()=>p});s(4041);var n=s(4357),i=s(7473),a=s(5096),r=s(4271),c=s(2436),l=s(9082),o=s(5215),d=s(1085);function m(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 u={breadcrumbHomeIcon:"breadcrumbHomeIcon_JFrk"};function h(){const e=(0,o.A)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(c.A,{"aria-label":(0,l.T)({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)(m,{className:u.breadcrumbHomeIcon})})})}const b={breadcrumbsContainer:"breadcrumbsContainer_zCmv"};function x(e){let{children:t,href:s,isLast:n}=e;const i="breadcrumbs__link";return n?(0,d.jsx)("span",{className:i,itemProp:"name",children:t}):s?(0,d.jsx)(c.A,{className:i,href:s,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:i,children:t})}function v(e){let{children:t,active:s,index:i,addMicrodata:a}=e;return(0,d.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,n.A)("breadcrumbs__item",{"breadcrumbs__item--active":s}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(i+1)})]})}function p(){const e=(0,a.OF)(),t=(0,r.Dt)();return e?(0,d.jsx)("nav",{className:(0,n.A)(i.G.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,l.T)({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,s)=>{const n=s===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(v,{active:n,index:s,addMicrodata:!!i,children:(0,d.jsx)(x,{href:i,isLast:n,children:t.label})},s)}))]})}):null}},6146:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});s(4041);var n=s(145),i=s(5096),a=s(5215),r=s(4357),c=s(2436),l=s(5436),o=s(9082),d=s(4441);const m={cardContainer:"cardContainer_Shn5",cardTitle:"cardTitle_h48N",cardDescription:"cardDescription_CytT"};var u=s(1085);function h(e){let{href:t,children:s}=e;return(0,u.jsx)(c.A,{href:t,className:(0,r.A)("card padding--lg",m.cardContainer),children:s})}function b(e){let{href:t,icon:s,title:n,description:i}=e;return(0,u.jsxs)(h,{href:t,children:[(0,u.jsxs)(d.A,{as:"h2",className:(0,r.A)("text--truncate",m.cardTitle),title:n,children:[s," ",n]}),i&&(0,u.jsx)("p",{className:(0,r.A)("text--truncate",m.cardDescription),title:i,children:i})]})}function x(e){let{item:t}=e;const s=(0,i.Nr)(t);return s?(0,u.jsx)(b,{href:s,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??(0,o.T)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){let{item:t}=e;const s=(0,l.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",n=(0,i.cC)(t.docId??void 0);return(0,u.jsx)(b,{href:t.href,icon:s,title:t.label,description:t.description??n?.description})}function p(e){let{item:t}=e;switch(t.type){case"link":return(0,u.jsx)(v,{item:t});case"category":return(0,u.jsx)(x,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e;const s=(0,i.$S)();return(0,u.jsx)(j,{items:s.items,className:t})}function j(e){const{items:t,className:s}=e;if(!t)return(0,u.jsx)(g,{...e});const n=(0,i.d1)(t);return(0,u.jsx)("section",{className:(0,r.A)("row",s),children:n.map(((e,t)=>(0,u.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,u.jsx)(p,{item:e})},t)))})}var f=s(5119),A=s(1524),N=s(2101),_=s(3021);const T={generatedIndexPage:"generatedIndexPage_ak01",list:"list_iQEt",title:"title_AulG"};function L(e){let{categoryGeneratedIndex:t}=e;return(0,u.jsx)(n.be,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.A)(t.image)})}function k(e){let{categoryGeneratedIndex:t}=e;const s=(0,i.$S)();return(0,u.jsxs)("div",{className:T.generatedIndexPage,children:[(0,u.jsx)(A.A,{}),(0,u.jsx)(_.A,{}),(0,u.jsx)(N.A,{}),(0,u.jsxs)("header",{children:[(0,u.jsx)(d.A,{as:"h1",className:T.title,children:t.title}),t.description&&(0,u.jsx)("p",{children:t.description})]}),(0,u.jsx)("article",{className:"margin-top--lg",children:(0,u.jsx)(j,{items:s.items,className:T.list})}),(0,u.jsx)("footer",{className:"margin-top--lg",children:(0,u.jsx)(f.A,{previous:t.navigation.previous,next:t.navigation.next})})]})}function y(e){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(L,{...e}),(0,u.jsx)(k,{...e})]})}},5119:(e,t,s)=>{s.d(t,{A:()=>l});s(4041);var n=s(9082),i=s(4357),a=s(2436),r=s(1085);function c(e){const{permalink:t,title:s,subLabel:n,isNext:c}=e;return(0,r.jsxs)(a.A,{className:(0,i.A)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[n&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:n}),(0,r.jsx)("div",{className:"pagination-nav__label",children:s})]})}function l(e){const{previous:t,next:s}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,n.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(c,{...t,subLabel:(0,r.jsx)(n.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),s&&(0,r.jsx)(c,{...s,subLabel:(0,r.jsx)(n.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},2101:(e,t,s)=>{s.d(t,{A:()=>l});s(4041);var n=s(4357),i=s(9082),a=s(7473),r=s(6738),c=s(1085);function l(e){let{className:t}=e;const s=(0,r.r)();return s.badge?(0,c.jsx)("span",{className:(0,n.A)(t,a.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.jsx)(i.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:s.label},children:"Version: {versionLabel}"})}):null}},1524:(e,t,s)=>{s.d(t,{A:()=>v});s(4041);var n=s(4357),i=s(396),a=s(2436),r=s(9082),c=s(8016),l=s(7473),o=s(9599),d=s(6738),m=s(1085);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:s}=e;return(0,m.jsx)(r.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,m.jsx)("b",{children:s.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:s}=e;return(0,m.jsx)(r.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,m.jsx)("b",{children:s.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=u[e.versionMetadata.banner];return(0,m.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:s,onClick:n}=e;return(0,m.jsx)(r.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,m.jsx)("b",{children:(0,m.jsx)(a.A,{to:s,onClick:n,children:(0,m.jsx)(r.A,{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:s}=e;const{siteConfig:{title:a}}=(0,i.A)(),{pluginId:r}=(0,c.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,o.g1)(r),{latestDocSuggestion:u,latestVersionSuggestion:x}=(0,c.HW)(r),v=u??(p=x).docs.find((e=>e.id===p.mainDocId));var p;return(0,m.jsxs)("div",{className:(0,n.A)(t,l.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,m.jsx)("div",{children:(0,m.jsx)(h,{siteTitle:a,versionMetadata:s})}),(0,m.jsx)("div",{className:"margin-top--md",children:(0,m.jsx)(b,{versionLabel:x.label,to:v.path,onClick:()=>d(x.name)})})]})}function v(e){let{className:t}=e;const s=(0,d.r)();return s.banner?(0,m.jsx)(x,{className:t,versionMetadata:s}):null}}}]); \ No newline at end of file diff --git a/assets/js/17896441.706d4c18.js b/assets/js/17896441.706d4c18.js new file mode 100644 index 000000000..dc62ac38e --- /dev/null +++ b/assets/js/17896441.706d4c18.js @@ -0,0 +1 @@ +(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8401],{3021:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});n(4041);var s=n(4357),a=n(7473),o=n(5096),i=n(4271),l=n(2436),c=n(9082),r=n(5215),d=n(1085);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_JFrk"};function h(){const e=(0,r.A)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(l.A,{"aria-label":(0,c.T)({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 p={breadcrumbsContainer:"breadcrumbsContainer_zCmv"};function f(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)(l.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 x(e){let{children:t,active:n,index:a,addMicrodata:o}=e;return(0,d.jsxs)("li",{...o&&{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 b(){const e=(0,o.OF)(),t=(0,i.Dt)();return e?(0,d.jsx)("nav",{className:(0,s.A)(a.G.docs.docBreadcrumbs,p.breadcrumbsContainer),"aria-label":(0,c.T)({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)(x,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(f,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},2790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>wt});var s=n(4041),a=n(145),o=n(1786),i=n(1085);const l=s.createContext(null);function c(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,i.jsx)(l.Provider,{value:a,children:t})}function r(){const e=(0,s.useContext)(l);if(null===e)throw new o.dV("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=r();return(0,i.jsx)(a.be,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(4357),m=n(1187),h=n(5119);function p(){const{metadata:e}=r();return(0,i.jsx)(h.A,{previous:e.previous,next:e.next})}var f=n(1524),x=n(2101),b=n(7473),g=n(9082);function v(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,i.jsx)(g.A,{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:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function j(e){let{lastUpdatedBy:t}=e;return(0,i.jsx)(g.A,{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:t})},children:" by {user}"})}function N(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,i.jsxs)("span",{className:b.G.common.lastUpdated,children:[(0,i.jsx)(g.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,i.jsx)(v,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,i.jsx)(j,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var A=n(2436);const C={iconEdit:"iconEdit_UohW"};function k(e){let{className:t,...n}=e;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.A)(C.iconEdit,t),"aria-hidden":"true",...n,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 L(e){let{editUrl:t}=e;return(0,i.jsxs)(A.A,{to:t,className:b.G.common.editThisPage,children:[(0,i.jsx)(k,{}),(0,i.jsx)(g.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}const y={tag:"tag_qE9H",tagRegular:"tagRegular_aHXt",tagWithCount:"tagWithCount_UC8q"};function _(e){let{permalink:t,label:n,count:s}=e;return(0,i.jsxs)(A.A,{href:t,className:(0,u.A)(y.tag,s?y.tagWithCount:y.tagRegular),children:[n,s&&(0,i.jsx)("span",{children:s})]})}const B={tags:"tags_q74f",tag:"tag_lSC7"};function w(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(g.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,u.A)(B.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:B.tag,children:(0,i.jsx)(_,{label:t,permalink:n})},n)}))})]})}const T={lastUpdated:"lastUpdated_T23F"};function E(e){return(0,i.jsx)("div",{className:(0,u.A)(b.G.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(w,{...e})})})}function H(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,i.jsxs)("div",{className:(0,u.A)(b.G.docs.docFooterEditMetaRow,"row"),children:[(0,i.jsx)("div",{className:"col",children:t&&(0,i.jsx)(L,{editUrl:t})}),(0,i.jsx)("div",{className:(0,u.A)("col",T.lastUpdated),children:(n||s)&&(0,i.jsx)(N,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function M(){const{metadata:e}=r(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:o}=e,l=o.length>0,c=!!(t||n||a);return l||c?(0,i.jsxs)("footer",{className:(0,u.A)(b.G.docs.docFooter,"docusaurus-mt-lg"),children:[l&&(0,i.jsx)(E,{tags:o}),c&&(0,i.jsx)(H,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var I=n(6476),S=n(2520);function U(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function R(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=R({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function z(e){const t=e.getBoundingClientRect();return t.top===t.bottom?z(e.parentNode):t}function V(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>z(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function D(e){const t=(0,s.useRef)(void 0),n=O();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:i}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),l=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:o,maxHeadingLevel:i}),c=V(l,{anchorTopOffset:n.current}),r=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===r)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,n])}function P(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,i.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(A.A,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(P,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const W=s.memo(P);function G(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:l,maxHeadingLevel:c,...r}=e;const d=(0,S.p)(),u=l??d.tableOfContents.minHeadingLevel,m=c??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>R({toc:U(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return D((0,s.useMemo)((()=>{if(a&&o)return{linkClassName:a,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:m}}),[a,o,u,m])),(0,i.jsx)(W,{toc:h,className:n,linkClassName:a,...r})}const $={tocCollapsibleButton:"tocCollapsibleButton_htYj",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_pAh7"};function F(e){let{collapsed:t,...n}=e;return(0,i.jsx)("button",{type:"button",...n,className:(0,u.A)("clean-btn",$.tocCollapsibleButton,!t&&$.tocCollapsibleButtonExpanded,n.className),children:(0,i.jsx)(g.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const q={tocCollapsible:"tocCollapsible_O_Qc",tocCollapsibleContent:"tocCollapsibleContent_SlnY",tocCollapsibleExpanded:"tocCollapsibleExpanded_klrc"};function J(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:o,toggleCollapsed:l}=(0,I.u)({initialState:!0});return(0,i.jsxs)("div",{className:(0,u.A)(q.tocCollapsible,!o&&q.tocCollapsibleExpanded,n),children:[(0,i.jsx)(F,{collapsed:o,onClick:l}),(0,i.jsx)(I.N,{lazy:!0,className:q.tocCollapsibleContent,collapsed:o,children:(0,i.jsx)(G,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const Y={tocMobile:"tocMobile_tjDr"};function Z(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(J,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.A)(b.G.docs.docTocMobile,Y.tocMobile)})}const Q={tableOfContents:"tableOfContents_TN1Q",docItemContainer:"docItemContainer_JtJJ"},K="table-of-contents__link toc-highlight",X="table-of-contents__link--active";function ee(e){let{className:t,...n}=e;return(0,i.jsx)("div",{className:(0,u.A)(Q.tableOfContents,"thin-scrollbar",t),children:(0,i.jsx)(G,{...n,linkClassName:K,linkActiveClassName:X})})}function te(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(ee,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:b.G.docs.docTocDesktop})}var ne=n(4441),se=n(1184),ae=n(9058),oe=n(213),ie=n(2727);function le(){const{prism:e}=(0,S.p)(),{colorMode:t}=(0,ie.G)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var ce=n(1431),re=n.n(ce);const de=/title=(?["'])(?.*?)\1/,ue=/\{(?<range>[\d,-]+)\}/,me={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},he={...me,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:""}},pe=Object.keys(me);function fe(e,t){const n=e.map((e=>{const{start:n,end:s}=he[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 xe(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:a,metastring:o}=t;if(o&&ue.test(o)){const e=o.match(ue).groups.range;if(0===a.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=a[0].className,s=re()(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 i=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return fe(["js","jsBlock"],t);case"jsx":case"tsx":return fe(["js","jsBlock","jsx"],t);case"html":return fe(["js","jsBlock","html"],t);case"python":case"py":case"bash":return fe(["bash"],t);case"markdown":case"md":return fe(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return fe(["tex"],t);case"lua":case"haskell":case"sql":return fe(["lua"],t);case"wasm":return fe(["wasm"],t);case"vb":case"vba":case"visual-basic":return fe(["vb","rem"],t);case"vbnet":return fe(["vbnet","rem"],t);case"batch":return fe(["rem"],t);case"basic":return fe(["rem","f90"],t);case"fsharp":return fe(["js","ml"],t);case"ocaml":case"sml":return fe(["ml"],t);case"fortran":return fe(["f90"],t);case"cobol":return fe(["cobol"],t);default:return fe(pe,t)}}(s,a),l=n.split("\n"),c=Object.fromEntries(a.map((e=>[e.className,{start:0,range:""}]))),r=Object.fromEntries(a.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<l.length;){const e=l[h].match(i);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));r[t]?c[r[t]].range+=`${h},`:d[t]?c[d[t]].start=h:u[t]&&(c[u[t]].range+=`${c[u[t]].start}-${h-1},`),l.splice(h,1)}n=l.join("\n");const m={};return Object.entries(c).forEach((e=>{let[t,{range:n}]=e;re()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const be={codeBlockContainer:"codeBlockContainer_ZGJx"};function ge(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,a]=e;const o=t[s];o&&"string"==typeof a&&(n[o]=a)})),n}(le());return(0,i.jsx)(t,{...n,style:s,className:(0,u.A)(n.className,be.codeBlockContainer,b.G.common.codeBlock)})}const ve={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function je(e){let{children:t,className:n}=e;return(0,i.jsx)(ge,{as:"pre",tabIndex:0,className:(0,u.A)(ve.codeBlockStandalone,"thin-scrollbar",n),children:(0,i.jsx)("code",{className:ve.codeBlockLines,children:t})})}const Ne={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ae(e,t){const[n,a]=(0,s.useState)(),i=(0,s.useCallback)((()=>{a(e.current?.closest("[role=tabpanel][hidden]"))}),[e,a]);(0,s.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=Ne);const a=(0,o._q)(t),i=(0,o.Be)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(a);return e&&t.observe(e,i),()=>t.disconnect()}),[e,a,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Ce=n(4370);const ke={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function Le(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:a,getTokenProps:o}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const l=a({line:t,className:(0,u.A)(n,s&&ke.codeLine)}),c=t.map(((e,t)=>(0,i.jsx)("span",{...o({token:e,key:t})},t)));return(0,i.jsxs)("span",{...l,children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:ke.codeLineNumber}),(0,i.jsx)("span",{className:ke.codeLineContent,children:c})]}):c,(0,i.jsx)("br",{})]})}function ye(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.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(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const Be={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function we(e){let{code:t,className:n}=e;const[a,o]=(0,s.useState)(!1),l=(0,s.useRef)(void 0),c=(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"),a=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 o=document.getSelection(),i=o.rangeCount>0&&o.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}s.remove(),i&&(o.removeAllRanges(),o.addRange(i)),a&&a.focus()}(t),o(!0),l.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),(0,i.jsx)("button",{type:"button","aria-label":a?(0,g.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,g.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,g.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.A)("clean-btn",n,Be.copyButton,a&&Be.copyButtonCopied),onClick:c,children:(0,i.jsxs)("span",{className:Be.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(ye,{className:Be.copyButtonIcon}),(0,i.jsx)(_e,{className:Be.copyButtonSuccessIcon})]})})}function Te(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.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 Ee={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function He(e){let{className:t,onClick:n,isEnabled:s}=e;const a=(0,g.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)("button",{type:"button",onClick:n,className:(0,u.A)("clean-btn",t,s&&Ee.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(Te,{className:Ee.wordWrapButtonIcon,"aria-hidden":"true"})})}function Me(e){let{children:t,className:n="",metastring:a,title:o,showLineNumbers:l,language:c}=e;const{prism:{defaultLanguage:r,magicComments:d}}=(0,S.p)(),m=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??r),h=le(),p=function(){const[e,t]=(0,s.useState)(!1),[n,a]=(0,s.useState)(!1),o=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const n=o.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[o,e]),l=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");a(n)}),[o]);return Ae(o,l),(0,s.useEffect)((()=>{l()}),[e,l]),(0,s.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:i}}(),f=function(e){return e?.match(de)?.groups.title??""}(a)||o,{lineClassNames:x,code:b}=xe(t,{metastring:a,language:m,magicComments:d}),g=l??function(e){return Boolean(e?.includes("showLineNumbers"))}(a);return(0,i.jsxs)(ge,{as:"div",className:(0,u.A)(n,m&&!n.includes(`language-${m}`)&&`language-${m}`),children:[f&&(0,i.jsx)("div",{className:ve.codeBlockTitle,children:f}),(0,i.jsxs)("div",{className:ve.codeBlockContent,children:[(0,i.jsx)(Ce.f4,{theme:h,code:b,language:m??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:a,getTokenProps:o}=e;return(0,i.jsx)("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,u.A)(t,ve.codeBlock,"thin-scrollbar"),style:n,children:(0,i.jsx)("code",{className:(0,u.A)(ve.codeBlockLines,g&&ve.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,i.jsx)(Le,{line:e,getLineProps:a,getTokenProps:o,classNames:x[t],showLineNumbers:g},t)))})})}}),(0,i.jsxs)("div",{className:ve.buttonGroup,children:[(p.isEnabled||p.isCodeScrollable)&&(0,i.jsx)(He,{className:ve.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),(0,i.jsx)(we,{className:ve.codeButton,code:b})]})]})]})}function Ie(e){let{children:t,...n}=e;const a=(0,oe.A)(),o=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),l="string"==typeof o?Me:je;return(0,i.jsx)(l,{...n,children:o},String(a))}function Se(e){return(0,i.jsx)("code",{...e})}var Ue=n(6357);const Re={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};function ze(e){return!!e&&("SUMMARY"===e.tagName||ze(e.parentElement))}function Ve(e,t){return!!e&&(e===t||Ve(e.parentElement,t))}function Oe(e){let{summary:t,children:n,...a}=e;(0,Ue.A)().collectAnchor(a.id);const o=(0,oe.A)(),l=(0,s.useRef)(null),{collapsed:c,setCollapsed:r}=(0,I.u)({initialState:!a.open}),[d,m]=(0,s.useState)(a.open),h=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...a,ref:l,open:d,"data-collapsed":c,className:(0,u.A)(Re.details,o&&Re.isBrowser,a.className),onMouseDown:e=>{ze(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;ze(t)&&Ve(t,l.current)&&(e.preventDefault(),c?(r(!1),m(!0)):r(!0))},children:[h,(0,i.jsx)(I.N,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{r(e),m(!e)},children:(0,i.jsx)("div",{className:Re.collapsibleContent,children:n})})]})}const De={details:"details_SZgV"},Pe="alert alert--info";function We(e){let{...t}=e;return(0,i.jsx)(Oe,{...t,className:(0,u.A)(Pe,De.details,t.className)})}function Ge(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),a=(0,i.jsx)(i.Fragment,{children:t.filter((e=>e!==n))});return(0,i.jsx)(We,{...e,summary:n,children:a})}function $e(e){return(0,i.jsx)(ne.A,{...e})}const Fe={containsTaskList:"containsTaskList__YnT"};function qe(e){if(void 0!==e)return(0,u.A)(e,e?.includes("contains-task-list")&&Fe.containsTaskList)}const Je={img:"img__Ss2"};function Ye(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}const Ze={admonition:"admonition_IZjC",admonitionHeading:"admonitionHeading_uVvU",admonitionIcon:"admonitionIcon_HiR3",admonitionContent:"admonitionContent_bl22"};function Qe(e){let{type:t,className:n,children:s}=e;return(0,i.jsx)("div",{className:(0,u.A)(b.G.common.admonition,b.G.common.admonitionType(t),Ze.admonition,n),children:s})}function Ke(e){let{icon:t,title:n}=e;return(0,i.jsxs)("div",{className:Ze.admonitionHeading,children:[(0,i.jsx)("span",{className:Ze.admonitionIcon,children:t}),n]})}function Xe(e){let{children:t}=e;return t?(0,i.jsx)("div",{className:Ze.admonitionContent,children:t}):null}function et(e){const{type:t,icon:n,title:s,children:a,className:o}=e;return(0,i.jsxs)(Qe,{type:t,className:o,children:[(0,i.jsx)(Ke,{title:s,icon:n}),(0,i.jsx)(Xe,{children:a})]})}function tt(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"})})}const nt={icon:(0,i.jsx)(tt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function st(e){return(0,i.jsx)(et,{...nt,...e,className:(0,u.A)("alert alert--secondary",e.className),children:e.children})}function at(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"})})}const ot={icon:(0,i.jsx)(at,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function it(e){return(0,i.jsx)(et,{...ot,...e,className:(0,u.A)("alert alert--success",e.className),children:e.children})}function lt(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"})})}const ct={icon:(0,i.jsx)(lt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function rt(e){return(0,i.jsx)(et,{...ct,...e,className:(0,u.A)("alert alert--info",e.className),children:e.children})}function dt(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"})})}const ut={icon:(0,i.jsx)(dt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function mt(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"})})}const ht={icon:(0,i.jsx)(mt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const pt={icon:(0,i.jsx)(dt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const ft={...{note:st,tip:it,info:rt,warning:function(e){return(0,i.jsx)(et,{...ut,...e,className:(0,u.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(et,{...ht,...e,className:(0,u.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,i.jsx)(st,{title:"secondary",...e}),important:e=>(0,i.jsx)(rt,{title:"important",...e}),success:e=>(0,i.jsx)(it,{title:"success",...e}),caution:function(e){return(0,i.jsx)(et,{...pt,...e,className:(0,u.A)("alert alert--warning",e.className),children:e.children})}}};function xt(e){const t=Ye(e),n=(s=t.type,ft[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),ft.info));var s;return(0,i.jsx)(n,{...t})}var bt=n(1540);const gt={Head:ae.A,details:Ge,Details:Ge,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,i.jsx)(Se,{...e}):(0,i.jsx)(Ie,{...e})},a:function(e){return(0,i.jsx)(A.A,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:qe(e.className)})},li:function(e){return(0,Ue.A)().collectAnchor(e.id),(0,i.jsx)("li",{...e})},img:function(e){return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,u.A)(t,Je.img))});var t},h1:e=>(0,i.jsx)($e,{as:"h1",...e}),h2:e=>(0,i.jsx)($e,{as:"h2",...e}),h3:e=>(0,i.jsx)($e,{as:"h3",...e}),h4:e=>(0,i.jsx)($e,{as:"h4",...e}),h5:e=>(0,i.jsx)($e,{as:"h5",...e}),h6:e=>(0,i.jsx)($e,{as:"h6",...e}),admonition:xt,mermaid:bt.A};function vt(e){let{children:t}=e;return(0,i.jsx)(se.x,{components:gt,children:t})}function jt(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=r();return t.hide_title||void 0!==n?null:e.title}();return(0,i.jsxs)("div",{className:(0,u.A)(b.G.docs.docMarkdown,"markdown"),children:[n&&(0,i.jsx)("header",{children:(0,i.jsx)(ne.A,{as:"h1",children:n})}),(0,i.jsx)(vt,{children:t})]})}var Nt=n(3021);function At(){return(0,i.jsx)(g.A,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function Ct(){return(0,i.jsx)(g.A,{id:"theme.unlistedContent.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 kt(){return(0,i.jsx)(ae.A,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function Lt(e){let{className:t}=e;return(0,i.jsx)(xt,{type:"caution",title:(0,i.jsx)(At,{}),className:(0,u.A)(t,b.G.common.unlistedBanner),children:(0,i.jsx)(Ct,{})})}function yt(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(kt,{}),(0,i.jsx)(Lt,{...e})]})}const _t={docItemContainer:"docItemContainer_Rv5Z",docItemCol:"docItemCol_YAwJ"};function Bt(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=r(),n=(0,m.l)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,i.jsx)(Z,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,i.jsx)(te,{})}}(),{metadata:{unlisted:s}}=r();return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:(0,u.A)("col",!n.hidden&&_t.docItemCol),children:[s&&(0,i.jsx)(yt,{}),(0,i.jsx)(f.A,{}),(0,i.jsxs)("div",{className:_t.docItemContainer,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(Nt.A,{}),(0,i.jsx)(x.A,{}),n.mobile,(0,i.jsx)(jt,{children:t}),(0,i.jsx)(M,{})]}),(0,i.jsx)(p,{})]})]}),n.desktop&&(0,i.jsx)("div",{className:"col col--3",children:n.desktop})]})}function wt(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,i.jsx)(c,{content:e.content,children:(0,i.jsxs)(a.e3,{className:t,children:[(0,i.jsx)(d,{}),(0,i.jsx)(Bt,{children:(0,i.jsx)(n,{})})]})})}},5119:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(4041);var s=n(9082),a=n(4357),o=n(2436),i=n(1085);function l(e){const{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,i.jsxs)(o.A,{className:(0,a.A)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,i.jsx)("div",{className:"pagination-nav__label",children:n})]})}function c(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(l,{...t,subLabel:(0,i.jsx)(s.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(l,{...n,subLabel:(0,i.jsx)(s.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},2101:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(4041);var s=n(4357),a=n(9082),o=n(7473),i=n(6738),l=n(1085);function c(e){let{className:t}=e;const n=(0,i.r)();return n.badge?(0,l.jsx)("span",{className:(0,s.A)(t,o.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(a.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},1524:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});n(4041);var s=n(4357),a=n(396),o=n(2436),i=n(9082),l=n(8016),c=n(7473),r=n(9599),d=n(6738),u=n(1085);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(i.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(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)(i.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(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 p(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(i.A,{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)(o.A,{to:n,onClick:s,children:(0,u.jsx)(i.A,{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 f(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:o}}=(0,a.A)(),{pluginId:i}=(0,l.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,r.g1)(i),{latestDocSuggestion:m,latestVersionSuggestion:f}=(0,l.HW)(i),x=m??(b=f).docs.find((e=>e.id===b.mainDocId));var b;return(0,u.jsxs)("div",{className:(0,s.A)(t,c.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:o,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(p,{versionLabel:f.label,to:x.path,onClick:()=>d(f.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.r)();return n.banner?(0,u.jsx)(f,{className:t,versionMetadata:n}):null}},1431:(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,a,o]=t;if(s&&o){s=parseInt(s),o=parseInt(o);const e=s<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=s;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},1184:(e,t,n)=>{"use strict";n.d(t,{R:()=>i,x:()=>l});var s=n(4041);const a={},o=s.createContext(a);function i(e){const t=s.useContext(o);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(a):e.components||a:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1da8f6d0.f57e2541.js b/assets/js/1da8f6d0.f57e2541.js new file mode 100644 index 000000000..3b9808af2 --- /dev/null +++ b/assets/js/1da8f6d0.f57e2541.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9431],{7385:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>d,contentTitle:()=>r,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>c});var t=n(1085),s=n(1184);const l={id:"sigma_src_utils.NormalizationFunction",title:"Interface: NormalizationFunction",sidebar_label:"sigma/src/utils.NormalizationFunction",custom_edit_url:null},r=void 0,a={id:"typedoc/interfaces/sigma_src_utils.NormalizationFunction",title:"Interface: NormalizationFunction",description:"sigma/src/utils.NormalizationFunction",source:"@site/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction.md",sourceDirName:"typedoc/interfaces",slug:"/typedoc/interfaces/sigma_src_utils.NormalizationFunction",permalink:"/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_utils.NormalizationFunction",title:"Interface: NormalizationFunction",sidebar_label:"sigma/src/utils.NormalizationFunction",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/utils.AnimateOptions",permalink:"/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions"}},d={},c=[{value:"Callable",id:"callable",level:2},{value:"NormalizationFunction",id:"normalizationfunction",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ratio",id:"ratio",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"Methods",id:"methods",level:2},{value:"applyTo",id:"applyto",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"inverse",id:"inverse",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-3",level:4}];function o(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.a,{href:"/docs/typedoc/modules/sigma_src_utils",children:"sigma/src/utils"}),".NormalizationFunction"]}),"\n",(0,t.jsx)(i.p,{children:"Factory returning a function normalizing the given node's position & size."}),"\n",(0,t.jsx)(i.h2,{id:"callable",children:"Callable"}),"\n",(0,t.jsx)(i.h3,{id:"normalizationfunction",children:"NormalizationFunction"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"NormalizationFunction"}),"(",(0,t.jsx)(i.code,{children:"data"}),"): ",(0,t.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"data"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"Coordinates"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,t.jsx)(i.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/normalization.ts#L7",children:"sigma/src/utils/normalization.ts:7"})}),"\n",(0,t.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(i.h3,{id:"ratio",children:"ratio"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"ratio"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/normalization.ts#L8",children:"sigma/src/utils/normalization.ts:8"})}),"\n",(0,t.jsx)(i.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsx)(i.h3,{id:"applyto",children:"applyTo"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"applyTo"}),"(",(0,t.jsx)(i.code,{children:"data"}),"): ",(0,t.jsx)(i.code,{children:"void"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"data"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"Coordinates"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"void"})}),"\n",(0,t.jsx)(i.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/normalization.ts#L10",children:"sigma/src/utils/normalization.ts:10"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"inverse",children:"inverse"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"inverse"}),"(",(0,t.jsx)(i.code,{children:"data"}),"): ",(0,t.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"data"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"Coordinates"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-2",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,t.jsx)(i.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/utils/normalization.ts#L9",children:"sigma/src/utils/normalization.ts:9"})})]})}function h(e={}){const{wrapper:i}={...(0,s.R)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},1184:(e,i,n)=>{n.d(i,{R:()=>r,x:()=>a});var t=n(4041);const s={},l=t.createContext(s);function r(e){const i=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2505f443.195c21f0.js b/assets/js/2505f443.195c21f0.js new file mode 100644 index 000000000..4ca1bea59 --- /dev/null +++ b/assets/js/2505f443.195c21f0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[232],{3301:(e,r,d)=>{d.r(r),d.d(r,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>n,metadata:()=>o,toc:()=>c});var t=d(1085),s=d(1184);const n={id:"node_border_src",title:"Module: node-border/src",sidebar_label:"node-border/src",sidebar_position:0,custom_edit_url:null},i=void 0,o={id:"typedoc/modules/node_border_src",title:"Module: node-border/src",description:"Variables",source:"@site/docs/typedoc/modules/node_border_src.md",sourceDirName:"typedoc/modules",slug:"/typedoc/modules/node_border_src",permalink:"/docs/typedoc/modules/node_border_src",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"node_border_src",title:"Module: node-border/src",sidebar_label:"node-border/src",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"edge-curve/src",permalink:"/docs/typedoc/modules/edge_curve_src"},next:{title:"node-image/src",permalink:"/docs/typedoc/modules/node_image_src"}},l={},c=[{value:"Variables",id:"variables",level:2},{value:"NodeBorderProgram",id:"nodeborderprogram",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"Functions",id:"functions",level:2},{value:"createNodeBorderProgram",id:"createnodeborderprogram",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-1",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h2,{id:"variables",children:"Variables"}),"\n",(0,t.jsx)(r.h3,{id:"nodeborderprogram",children:"NodeBorderProgram"}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.code,{children:"Const"})," ",(0,t.jsx)(r.strong,{children:"NodeBorderProgram"}),": ",(0,t.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodeprogramtype",children:(0,t.jsx)(r.code,{children:"NodeProgramType"})}),"<",(0,t.jsx)(r.code,{children:"Attributes"}),", ",(0,t.jsx)(r.code,{children:"Attributes"}),", ",(0,t.jsx)(r.code,{children:"Attributes"}),">"]}),"\n",(0,t.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/node-border/src/index.ts#L4",children:"node-border/src/index.ts:4"})}),"\n",(0,t.jsx)(r.h2,{id:"functions",children:"Functions"}),"\n",(0,t.jsx)(r.h3,{id:"createnodeborderprogram",children:"createNodeBorderProgram"}),"\n",(0,t.jsxs)(r.p,{children:["\u25b8 ",(0,t.jsx)(r.strong,{children:"createNodeBorderProgram"}),"<",(0,t.jsx)(r.code,{children:"N"}),", ",(0,t.jsx)(r.code,{children:"E"}),", ",(0,t.jsx)(r.code,{children:"G"}),">(",(0,t.jsx)(r.code,{children:"inputOptions?"}),"): ",(0,t.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodeprogramtype",children:(0,t.jsx)(r.code,{children:"NodeProgramType"})}),"<",(0,t.jsx)(r.code,{children:"N"}),", ",(0,t.jsx)(r.code,{children:"E"}),", ",(0,t.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(r.h4,{id:"type-parameters",children:"Type parameters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{style:{textAlign:"left"},children:(0,t.jsx)(r.code,{children:"N"})}),(0,t.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{style:{textAlign:"left"},children:(0,t.jsx)(r.code,{children:"E"})}),(0,t.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{style:{textAlign:"left"},children:(0,t.jsx)(r.code,{children:"G"})}),(0,t.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,t.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{style:{textAlign:"left"},children:(0,t.jsx)(r.code,{children:"inputOptions?"})}),(0,t.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,t.jsx)(r.code,{children:"Partial"}),"<",(0,t.jsx)(r.code,{children:"CreateNodeBorderProgramOptions"}),">"]})]})})]}),"\n",(0,t.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodeprogramtype",children:(0,t.jsx)(r.code,{children:"NodeProgramType"})}),"<",(0,t.jsx)(r.code,{children:"N"}),", ",(0,t.jsx)(r.code,{children:"E"}),", ",(0,t.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/node-border/src/factory.ts#L12",children:"node-border/src/factory.ts:12"})})]})}function h(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1184:(e,r,d)=>{d.d(r,{R:()=>i,x:()=>o});var t=d(4041);const s={},n=t.createContext(s);function i(e){const r=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/29b700a7.431340f3.js b/assets/js/29b700a7.431340f3.js new file mode 100644 index 000000000..e0d133447 --- /dev/null +++ b/assets/js/29b700a7.431340f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7981],{6217:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>t,metadata:()=>a,toc:()=>l});var r=i(1085),n=i(1184);const t={id:"sigma_src",title:"Module: sigma/src",sidebar_label:"sigma/src",sidebar_position:0,custom_edit_url:null},c="Sigma.js Library Endpoint",a={id:"typedoc/modules/sigma_src",title:"Module: sigma/src",description:"The library endpoint.",source:"@site/docs/typedoc/modules/sigma_src.md",sourceDirName:"typedoc/modules",slug:"/typedoc/modules/sigma_src",permalink:"/docs/typedoc/modules/sigma_src",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"sigma_src",title:"Module: sigma/src",sidebar_label:"sigma/src",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"node-image/src",permalink:"/docs/typedoc/modules/node_image_src"},next:{title:"sigma/src/rendering",permalink:"/docs/typedoc/modules/sigma_src_rendering"}},o={},l=[{value:"Classes",id:"classes",level:2},{value:"References",id:"references",level:2},{value:"default",id:"default",level:3}];function d(e){const s={a:"a",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h1,{id:"sigmajs-library-endpoint",children:"Sigma.js Library Endpoint"}),"\n",(0,r.jsx)(s.p,{children:"The library endpoint."}),"\n",(0,r.jsx)(s.h2,{id:"classes",children:"Classes"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.Camera",children:"Camera"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.MouseCaptor",children:"MouseCaptor"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:"Sigma"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:"TouchCaptor"})}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"references",children:"References"}),"\n",(0,r.jsx)(s.h3,{id:"default",children:"default"}),"\n",(0,r.jsxs)(s.p,{children:["Renames and re-exports ",(0,r.jsx)(s.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:"Sigma"})]})]})}function u(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,s,i)=>{i.d(s,{R:()=>c,x:()=>a});var r=i(4041);const n={},t=r.createContext(n);function c(e){const s=r.useContext(t);return r.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(n):e.components||n:c(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4edc808e.04cce572.js b/assets/js/4edc808e.04cce572.js new file mode 100644 index 000000000..33daa138e --- /dev/null +++ b/assets/js/4edc808e.04cce572.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[308],{8149:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>l,contentTitle:()=>c,default:()=>g,frontMatter:()=>a,metadata:()=>d,toc:()=>h});var o=i(1085),n=i(1184);function r(e){const s={a:"a",code:"code",h2:"h2",hr:"hr",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.p,{children:(0,o.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/actions",children:(0,o.jsx)(s.img,{src:"https://github.com/jacomyal/sigma.js/workflows/Tests/badge.svg",alt:"Build Status"})})}),"\n",(0,o.jsx)("br",{}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.img,{alt:"Sigma.js",src:i(9061).A+"",width:"261",height:"69"})}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://www.sigmajs.org/",children:"Website"})})," | ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://www.sigmajs.org/docs",children:"Documentation"})})," | ",(0,o.jsx)(s.strong,{children:(0,o.jsx)(s.a,{href:"https://www.sigmajs.org/storybook",children:"Storybook"})})]}),"\n",(0,o.jsx)(s.hr,{}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"https://www.sigmajs.org",children:"Sigma.js"})," is an open-source JavaScript library aimed at visualizing graphs of thousands of nodes and edges using WebGL, mainly developed by ",(0,o.jsx)(s.a,{href:"https://github.com/jacomyal",children:"@jacomyal"})," and ",(0,o.jsx)(s.a,{href:"https://github.com/Yomguithereal",children:"@Yomguithereal"}),", and built on top of ",(0,o.jsx)(s.a,{href:"https://graphology.github.io/",children:"graphology"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"how-to-use-in-your-project",children:"How to use in your project"}),"\n",(0,o.jsx)(s.p,{children:"To integrate sigma into your project, follow these simple steps:"}),"\n",(0,o.jsxs)(s.ol,{children:["\n",(0,o.jsxs)(s.li,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Installation:"})," Add ",(0,o.jsx)(s.code,{children:"sigma"})," and ",(0,o.jsx)(s.code,{children:"graphology"})," to your project by running the following command:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"npm install sigma graphology\n"})}),"\n"]}),"\n",(0,o.jsxs)(s.li,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Usage:"})," Import sigma into your JavaScript or TypeScript file:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-javascript",children:'import Graph from "graphology";\nimport Sigma from "sigma";\n'})}),"\n",(0,o.jsxs)(s.p,{children:["Then, create a new ",(0,o.jsx)(s.code,{children:"Sigma"})," instance with your graph data and target container:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-javascript",children:'const graph = new Graph();\ngraph.addNode("1", { label: "Node 1", x: 0, y: 0, size: 10, color: "blue" });\ngraph.addNode("2", { label: "Node 2", x: 1, y: 1, size: 20, color: "red" });\ngraph.addEdge("1", "2", { size: 5, color: "purple" });\n\nconst sigmaInstance = new Sigma(graph, document.getElementById("container"));\n'})}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"how-to-develop-locally",children:"How to develop locally"}),"\n",(0,o.jsxs)(s.p,{children:["To run the ",(0,o.jsx)(s.a,{href:"https://storybook.js.org/",children:"Storybook"})," locally:"]}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-bash",children:"git clone git@github.com:jacomyal/sigma.js.git\ncd sigma.js\nnpm install\nnpm run start\n"})}),"\n",(0,o.jsx)(s.p,{children:"This will open the Storybook in your web browser, which live reloads when you modify the stories or the package sources."}),"\n",(0,o.jsx)(s.h2,{id:"resources",children:"Resources"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"GitHub Project:"})," The source code and collaborative development efforts for Sigma.js are hosted on ",(0,o.jsx)(s.a,{href:"https://github.com/sigma",children:"GitHub"}),"."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Website:"})," The official website, ",(0,o.jsx)(s.a,{href:"https://sigmajs.org",children:"sigmajs.org"}),", kindly designed by ",(0,o.jsx)(s.a,{href:"https://github.com/robindemourat/",children:"Robin de Mourat"})," from the ",(0,o.jsx)(s.a,{href:"https://medialab.sciencespo.fr/en/",children:"Sciences-Po m\xe9dialab"})," team, showcases the library's capabilities."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Documentation:"})," A detailed documentation, built with ",(0,o.jsx)(s.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),", is available at ",(0,o.jsx)(s.a,{href:"https://sigmajs.org/docs",children:"sigmajs.org/docs"}),". It provides extensive guides and API references for users."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Storybook:"})," Interactive examples can be found at ",(0,o.jsx)(s.a,{href:"https://sigmajs.org/storybook",children:"sigmajs.org/storybook"}),"."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Demo:"})," A comprehensive demo, available at ",(0,o.jsx)(s.a,{href:"https://sigmajs.org/demo",children:"sigmajs.org/demo"}),", features a full-featured React-based web application utilizing Sigma.js."]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"how-to-contribute",children:"How to contribute"}),"\n",(0,o.jsxs)(s.p,{children:["You can contribute by submitting ",(0,o.jsx)(s.a,{href:"http://github.com/jacomyal/sigma.js/issues",children:"issues tickets"})," and proposing ",(0,o.jsx)(s.a,{href:"http://github.com/jacomyal/sigma.js/pulls",children:"pull requests"}),". Make sure that tests and linting pass before submitting any pull request."]}),"\n",(0,o.jsxs)(s.p,{children:["You can also browse the related documentation ",(0,o.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/CONTRIBUTING.md",children:"here"}),"."]})]})}function t(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(r,{...e})}):r(e)}const a={title:"Introduction",sidebar_position:1},c=void 0,d={id:"index",title:"Introduction",description:"",source:"@site/docs/index.mdx",sourceDirName:".",slug:"/",permalink:"/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/index.mdx",tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Introduction",sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Quickstart Guide",permalink:"/docs/quickstart"}},l={},h=[];function u(e){return(0,o.jsx)(t,{})}function g(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(u,{...e})}):u()}},9061:(e,s,i)=>{i.d(s,{A:()=>o});const o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQUAAABFCAYAAABDufNJAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TxSIVB4uoOGSoThZERRy1CkWoEGqFVh1MLv2CJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoA4OzgpukiJ/0sKLWI8OO7Hu3uPu3eAUC8zzeoYBzTdNlOJuJjJropdrwiiHyFEMSgzy5iTpCR8x9c9Any9i/Es/3N/jh41ZzEgIBLPMsO0iTeIpzdtg/M+cYQVZZX4nHjMpAsSP3Jd8fiNc8FlgWdGzHRqnjhCLBbaWGljVjQ14iniqKrplC9kPFY5b3HWylXWvCd/YTinryxzneYwEljEEiSIUFBFCWXYiNGqk2IhRftxH/+Q65fIpZCrBEaOBVSgQXb94H/wu1srPznhJYXjQOeL43yMAF27QKPmON/HjtM4AYLPwJXe8lfqwMwn6bWWFj0CereBi+uWpuwBlzvAwJMhm7IrBWkK+TzwfkbflAX6boHuNa+35j5OH4A0dZW8AQ4OgdECZa/7vDvU3tu/Z5r9/QBfJXKfpHQEEgAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+gDFgkLF2vnJl8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAYeElEQVR42u2dfXRU5Z3HP797JySAvIn4AlFCEpVUxUoyia9dKtGuVivYemyrAvbsbl/Auj1nzyq427ctL7Z7dtej1u52a3mxVm1XsbbdbQutbbVKJsEqKiiZAJoARTAIISQk9/72j3sHbi53kknmDpmE+z1nzplzZ+7L89zn+T6/90c4QdhHzdj92NWCTgdQpBiY4nynQmCMwkGBze4pLYI2u//dMh6jbiIbDhAhQoScQnJ58WZqijvQ2YLWAtUhXLJOkXVFyPpiNjRHry9ChCFACs3UFB/BmmdDrSBTcvXgirYYsG4E5uqIICJEyENS2EfN2A+w5tnIAoExaf62XrE3C0aLgdkCMI2XN/j/tI1LawBsrCmKPUUwKoDZweTAQQNdOQ5zdaReRIiQJ6TQRNWiIDJQdKeBsU7RDWUk1mV7nyTxWkFqbOxaQSb7yQHkwXLqVkWvNUKEQSKFJPFaRZcEqAnrTawHS9i4OVcPvp2ZFRbmfUDcr1YIsiwMEooQISKF/kkHSxSZ7zucMDAfDFIJcoVtXFpjY93lJwdBV5VSvyx6xREi5JgUXNficqDWqyYIsnQwV2dXarnPp1asG4+xOLI1RIiQI1JwXIz2wwLTj11AVpdStzRfGtRE9X2KzvPYGrYUYSyMPBQRIoRMCtuZWdGNucZnTFxcRuLpfGtUkvjNwHIPMRyMYd2RSxtHhAgnFSm4Rr21nknWFsO6PZ8nmUtijwmckjpmYs2JiCFChN5hZKIydGOu8dgPthRh3JTvk6uEjZuLMG5SdEvqWDfmmmZqiqPXHiHCACWFfdSMbcVek7IhKLplAuYdQ8lw57TBWiPI9JSNYQLGHZHxMUKEAUgK+7GXHyME2oowFw61yTSRDQeKMBcqtLksON31nkSIEKE/koLfij/U9XG/XSTfvCZ9QblgRJKRd4PMFRgJ+nIh5tLIqzJsMRKYChQAO4F9g0oKSeK1wMOeQ3npZegv/F4JYOFQiXxspOpbgtzSkyi0ZRR6w2Qa2qM5NKwwGfiYSwgp1AMbB019UHSJd0UdDoQAUEbiaUFWB7Uzn7Gba0cDNx/P6DLlMObV0RwadtL7LB8hAFQBEweFFBqpvCuVy6DozqEkYmeCUuqWKrozNakaiS/I92duY/doQczgEWRPiObRsMJoPG50H8464aSwj5qxYMz3rERLh2Ov+9q1yGl3Pks4r72naEvQbyayMZpHwwpHevmt44STQivd8z0Ri4nhmmnotivhympjWumen+fypJqYSxQ95Pvpu1NJvBHNo2FHClsDjh8Cdpwo/QU4mtewNkUKBua8E5nteKLhZleudtQkDhZhzMl3S/5OKk/rwLjahlExrA1RdOawRQwn6/dc9/su4EXgwAklBZ8Lcn0ZiS/l8saui3BKqpBrNlBk50CMoUnij7mdP+RclBEi5JKRALCxZ4vLESbWgzkkgvkKtZYrkWg4xZ8SQL9JwcRamopdsLFnAxEpRIhIIaU6dGIf9TiELZa6119kwdwe4skgo4SNmxup2inIZEGmNFNTHJYKocyK7aBjhoU9WbAnKDoazA8MeN/EajyHhuTgqU6zxtscvhDsqWCPAaNTkVaBN0up2yqgubv3ZdOVrvOASTZigrwnyOtlbNjaxzMXCe2X2GiZwhjQToVdMfTPJTTsCmmMTgfOAHuMYqqgbYrsKkLeHqJBYhOA8TiBUIVAF46x8gCwF7DTkkIHdm1qohoYoRoXk8RrO7BX9FLMdVAhGHWgc1L9AKzMrr2VF4Hx+SSHLhfHveRKQwIoNmBjkKR6D9jrTPS/MhnUTcS/qXBrT+JhXzmJyzN9tkaqrhD4nM2hyzlqZDbcftDU+9rbhD4+DnPNfqc/lvfsL/12KfU/8F97F1dNaqfjhZ7PpxvLqf+MMiuW5NDtArfbdJ+dWhYk1QqURuJJgX/zG7cdAmu72+bQXHdwH30SASyEJPGEIN8ppe7V/ryr3cwYfYjC+cCcTuypx34xjvaHoHQ6z9cs6HMjKFh9Ni+9n+NheRVQ4TvWDjyWwbmjgQ8D04BRvfyvC2gB/gzsOY4UpGcVpQ0hEsLNwHI5bhXVLSDPmJibU8bMfdSMPYBUKHZtusKsuamJoL8B5rj9UD1QUnDDkL8FclNm0pCeDvLZbuSWJFX/XUr9A7laoXdw0YRuCpeBXN03SXKaIl/ej34aeCGMFbiJtu8Jcm4f9y0DHm4kvqaMxDIBezvVl3XT9h1BJvVxm7iNPt5E1YpS6tdk8lxNxD/SBvcLnJqh8a0Y5IuddM1rourrpdT/LA/XuBk4QU6xDP5bAJS4n+3A87juUHHLqyXciddWTqIyLAmBnqHSKLrFJLYsE69GkvjNit7lJYdcEUOS+Fup7+Mx4v1N+lIuGNHEyEdArsxCZvlFKdY9QkNXmJKC61Va5QzqMCSrzCUF4F138J3Zz9s8ALE/QvePXLG3H+9C/76c+v/tXWKqnCMYK7LRZBW+Wk7iyTySFCrdz0DxPvBLoN3Yj13tYcNQpITtzKxQWOEbTmvLqb8pUzdnGYmnJ2D2qIcgMKYb4+EcBButT33x9kemaKJoUXaEAKAfT2LcHWaj3uOKMZ3Yj4ZFCAPA2QMgBIC7oOv7/SUEd5R8cwcXTUj/rqovBmNpCKatf95BvDRPJITiLAkBHInpWkBiil0hrl6p2KGswBbmfT1tCLK2jLp7+nsdd8W+qZGqZ1P1EASZ4gYbheYhcTeome1+rwAytqu8y2UjO+m6PXiE6VZFfibQJOgBkDMULgH9JEhRwAl3NlPzRFhGrQ848jVxMu3SLHbyvKJvGrBbYTTodEVqJX2YbTbodFeiTaAdYJQr+gmB0wL+a4B4JrbuV+TnBqQkugsVPtHTxnB04RhrUXgDsCaowUnsrwsSS9Mhe0FfFIxdilqgZ4BcGkSqAgXd6OeBe/KAFD6c5vhhnECoPe73Itf4+KE09obTgfKYz+iWNSm4QUHecuuJgRBCTxOqeUcr1rMpVUIwFjVT80xYk0cwWgZ6bjc6Q5DRAYPmyWnUfy3ATvBcIzO+B4WrBEp958Q6sW8EHsm2TU1UX6zojWn4YJNB7B+m8fL2AJI7tZPu+wU+EuKgfdfA/Bv//XYz46FDFD4E9KYC1ccoWjSVF1o9x57aTuUj3RiP+vsQwIbrg0hhO5dWC9aHgiaPIt8oY9RzwvPdfiJpovozoF89XrqQjym3LBF+Yg0iIRhppLG9wHOuQbHnFHWMi1cT0HfAeYZgFh+7unkw2ye0sXqEDBdi3JvtNSey4YAgPSSDI+j88HrVbDk2Mc1+idqKdXrQcRNWpjMclvPaHgO593idUTcpEkoatKJ3pjn+5miOzA8iBEfef+n9MtoXKvpmWIJYDO4Out+ZvHZoPMbd6uizQae2xujwEwIAjsfGuosAt5ogZcHv2XoP5FGFJu9NDFhQTt0zfkJwiVrLqHsc9McBlxyZJDltkKWEIoKznTcHEIKHN3neld68x/YDbQZoaJvAurr+bK/aENZqXkbi6VR2o9MCe3Zu+rh//SFpQk9tjIt6O6+UulcVliv2FwoxZpeSmFlG/afC2PbuXS4bqR6Pks9Q+NUzee1Q721644hJbEVIHVrfW36GqyL+T5q+/dlUNrWmO7ecjY0a7CEZt5Xy4+wRU0k0lVF3fzmJ68C+RmE52P8xjcSf+1445Nmg4zFikwaZFNIlUJ3ep5Dr9N164CfAo8BTwO97qA/Z5jq4fm3vBPtNuHKSsS4Vii3IlO3MrAjDEzEW3bx/wKqH/TYY6hctLazlSeIzYxhPTmXDm8GDOrEyF6Oki+64HJ+Pj6IbymnYlMk1pvHyBsc3n52RUtFX++5D0kxK2ZTBZH1V0eNUndGMG+NbCX2LTMM79OF+3sVVkw5zeBpIiQXnS6D9TEcNMil04yxMfuP7+TgxC5tw4hGCApWSwUTn224tS4PdFPFIMuMx6sJsvWCsUyzPRi8jQvFCTGTDgaTbDerZ6CYTlNCwK0l8Pb6V2a1/8Olu7E83UtViIC8oxssj6a6bTMPeXI4SG6ZLsPL5+35KQQmyJAUDo7XvcWO0SsCYtdH3MyCd1uBnH5Wxd2EnlaM6KbjIduwN54OUKVrWTsfonoFWgaQUY/Dxehq7TLH7OQI0u+SwE/igt4uF2iADc6x61Oiwi7z6V3QLq4KQ3KieiTCAyEt7CRjnAOcFX1OmODEG9q2HMUhStRXkBRP9VQn1r+TA8lQcHAUlW/tH8jRlH5Ju9xmQZWJbdvDzZhDMJfZAYr52UjmqA+MGhRvb4RLBKvC2PPN2q+QJKUzCyaoMwggco2LpMfsV7+KkYr/jlyKMMJ9MUW/ARSLslh9PMnboodOpqs/9s3c0fDAS+1bgh44rq8+BfC5wp4U80Uj8/5qo+ZSGmBKiyCnBk6+/xT91WJbBb6R6bjvGeoV/AaqDVK0hiN8Bf+hNZfJglKteXAvc4WoLBV5SCHHySotnck0fKr3pDYYSx2rbb0ymob2MxIoYOhv4rsvEmUgm0xR7aRPxNbu4alI+9YtgyHAjhCTxxYKuyDS82cVuTWv3yCtsAR7Hqb2wJ8NzCoFLgFtwjZM91IdtXFqTjbFRsZrlaIJN+AlQbgyEd9CGEmx1AKkI6xnd5KYHgAeSVJ8H9pWOvidVBATbeBA/RMd/bmPWZ6fxfEd2k1nbNNAoJqf2730ydjixQiPVc0AX9NLiDkVeAV430LdNJFmAvW0yDe2NzCwH8xdDoJldwBvuZxROVGkxToXo3sbfKTjxHc/EnNVdQzE2+oOAksRrwyzpZmFVSA9x2GoJv08ltGuWUfc28DbwqFJZsAOzysb+qA3XByX5CFxg0z4X+HFWWjw0S7B6Vw78MfP3aZfmT6J71mqhkcT+cnB7pBF4pJT2XwtvHAlWvUZM9C5IQwTtOFGgbx3VwOEcnOSzU9PYHqoMxWo+NpisrFb3Qp+3QZCakF/tXM8AD63ug401xSvt5EYUb+gqoe6lUuqXlaEf5bjckNT97euyvZfhiJFBV7+yH5NINETP1OCrDVUfSlUp92FdKYfmllH383SE4CxI3ecPg27YB7wC/BQn5DyovdNivgHZr7h/P4rZ0NxI1ZZj+zbqvGZqVoURwOSqDtM9Uklo7k6/KzXz82bF3uHwed1QAnaJoiWClChSX07dt3sjCOCHjcRvFLjA92vWwWQFxBKddHcdb0CTy5uoOr+U+rcymESXSwjPkj8wyoO8FCb2t3ojA0/fXZ+nDRuHU0hlnOcjOCHOvaHZtUHM8HeU4dXLBSNr3VqQHhF5ndiLw1Edupf0fJndK8NbxY+1uz92imY6C7qwnwL734G7xamlcLGgn32HKyYP8HHMbNtzNi8dFggKHDMUvhYU7efFu1w2UmAxwwgGOiLo+FRK+zTINVJ1nTjGuHzELJzdpC7FSbeejLM/xIDDrw1fgFHWocP+cGSgNtsNV5JU35+SPtypuzbkmgpH292fgKuzeekwaEPATyOPcOQHvaXWbiP+V8dLCSAZei36Jjrrh2l+qRTGf38b8cCU5iZqzuik63v0URRl6EF2Bbd3+6zex168VpCBbkhcBHwUWIDj+ruckGODSD9eZrn2g3Q4heC4GjvmRvMlcPXHMIyDJrF7U+XT3YG+uJFqHUhcf5Lq+1Pl0lxdt63IlxyVHeHEvZGI6/sfcGWsAr00YHKXdsMvk8R/K/C8YuwEu1PgTBtqLfQaCTB6CfL7MNpVysbXklT9HOSGgHvUWLAuSfw3YL8lxPYq1liQGYo9S5CRDDMUYW1ux+gW36RUWNFI/F/LaH8mpUYos2LbOVxlY98OXDNgXoaP03OrtwvdyfjrEJu2GUeKMY/TIuGvcbIlt+KEQnfieCDOxIlTCJKeWmJux6yTY6XOa7KxK8DRuPnlXhFU0CVJ4tWFGMszsTFsZ2ZFN+YKfCXgTcwvFfNyiMZAuSalayr0205RTt1vk1T/Dsd4GDQwZivMTgWNHUuSCLSCt45DngqrZeMxv9GK/eF09QCA68G43qkcOexCEnpgMg17k1T92m8bECdn4JtNjPp6I/G/gGqSQ5OCA5p0P8j4DG95JsF7P5a4xNAWUtMO48QaXZrm99MIrlmRDq8YDoseK9YaVvahk+wja32Hazux1zdRtcS3QgNOEFEj1XOTxFdYmGvl+ACoxWFvUKPY8WOrycCK1o5H/lEdv3AWz0GXCV8JMzTcSTm37wR2E4ECCr+TPk0bQ+Asp7J3YITjOgmo0dCH6jCQ3waC10jrceoX6oHdBjheA++mq9uZGUowTxl196ivGrAzAWQ+8HCS+FuNxOuTxNckib+1Hzsh6ArcUvBelQFn2/hQd7/ezswK72a6A/WSTGTDgUJitzGAvSfc9u0SZEEJdS+FPRHKaHhHKbhFob/Xfne4kcI5vLjThC+C7unPeYKuKqXky4rY/ThtD8FJGZ1Aaw6a9wfgZZysyf6iGycKciN4ch+8pd0tzEVhPWk5iZUG5jyf8dErvo3BqaKcDokY1u252NfSwlwS1P6B4GxeOlxGYrE6pdbWqrP3X2+wgVcVlhcSu66MuvpcTYZy/rSnnMQCQReBNPRBUNsUWQb2J4ejtODUTtAbQB+n92zBdkV/ZcCtpdQvG0B1pUPuJPW/8z9AzqKgXgOeAF7NUD35wP3vk3gkXf9eks+m6vPlYi9Jt0Lz/J6ehLRYb2CuytV+lr69JNuKMG4Kc8MPx1jVWa50nWdjTBAn777D2XRF9o4l9uokXjw4GBPDrbw8Q5FiQUc7eqm9R7BfL+WVHQC7uXb0IVo3BqyagdWchyKUyoLtFMy0sCeDThLoMjDeB9ldwsFXMotf6BOn4th0bJysxEzeeTb7Pngx1r3/aByjoo2zGUwHTiBTIHEctcQ6gUeVK8FY5FCatYiQ05Jd8f9pdzeeaidoyCwGnSLIZhvrgGBsHo9RF3ba9fHLtOWRhuyVxSRCjWR0S3ttCUnXCxVn8cf38FSwDkIXBwuD+00shgncILJcb6L8PuntGLnGAQawKW0P98wEYqtasRe40kJ12LkLXgLCiagaFLhGzuqUlDCB2Coi+EjBOjvQGuesWBFyi0Et3NIjttdZne2Vx8QrXTIce9zXrgdzLZXkC7ZSXpik8pwM++j6YEnBfi+asznHmLwhBYByGh70eiKaqL5vOPV2E9X3eT0OuaqTmF8keMGIJqruEMavV4zVO7hyQh+SVFzhtqDfiohtjeZsTnEqcEbgaxwsUnDJYKlnxZjn7gk55OEaOucFtXN4kkFlQZL4bU2MXq/IPwkySeCsLjp/mqTmSn+1pz1ccEoj8b9TeDRN8M7WIbr7cr6rCqNwEpnOx4lCDIokO3KiHkh6W1G9E8jEmhP+5q4nDtuZWWFhrvUQwupS6oY1KSSp/AIYX+nlL38BGoHDIKcrWtFHabJvlpH4UTSPQ8XFQCYlBrYRnOR2YiQFAHfCHLVQd2OuaaameCj2ejM1xd2Y3mi09cOdEJx32PEoTonvdDgDuAKoBZ3RGyEo+mYpJU9Ec3jQsG1Q1YcUxmPcm9rgVWBMB3YuNnfNKfZRM7YD++FUeThFt4wPYdeqoQDhjSMxOv4Wp9pvFmoIzTDi84O8PdrJjD2k2aPhhJPCRDYcKMJcmKpwLDC9FXvISAzN1BS3Yq9J5VA4QUrmwpPF2wAwlU2tBqNvA37EgIxV+kvBvrmcP+2J5uagEcKvOIGGxoxS4/z6uMLBGNYd+WxjcLMs13gLyA51u0j2Nobq80A/p3CtOFFu6YhgP8jvYhir0+1uFSFnNgXFyY/Yi2PvaSR4d6fBJQXPJHvMt0354rCTlMIZ/PGb8SRiKbTFsG4/mQmhpzpQWbADudBGzrWRCYIlirQL5l5gaynnNEWqwsmLfiXRO/kR1sPe3AUng6x+Wb40qImqJW4WJikbQhHmwsiVFiFCDkgBHMPdfuwVeEqYKdoiyLJchET3QzqoVXSJr9jo+vEY955MNoQIEU44KRxbkXvGMbioMzAfylVmYxDcbMdF+NKvT4Y4hAgR8ooUPKvzfYL4KxevM7EeyqUO7xo/l/jJQNGdgiwdTKklQoSTlhRScKs13+UzQqJoiwHrFKkLY5K62Y21ilb79yRw3aYPngy5DBEi5D0ppGwNrXTPB2OBnxy8EoSgm22MFgO7BWAc5havzr+PmrEfuJu+2BhTDOwp6uz1WBt0QYcM7JUTiK2KbAcRIuQRKaTQTE3xEXS+jV0boFaEBkV3GhjrRiCrIs9ChAh5TAp+gujArhVnlQ9jX8L1CnVFGOsiIogQYQiSgl+92O+UYKtwbuyUYXNVgAqBUxTaxNncApCW1GavJ6pEW4QIEeD/AQEf9kHZmaCkAAAAAElFTkSuQmCC"},1184:(e,s,i)=>{i.d(s,{R:()=>t,x:()=>a});var o=i(4041);const n={},r=o.createContext(n);function t(e){const s=o.useContext(r);return o.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(n):e.components||n:t(e.components),o.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/54c4d996.be45ee68.js b/assets/js/54c4d996.be45ee68.js new file mode 100644 index 000000000..22e7be111 --- /dev/null +++ b/assets/js/54c4d996.be45ee68.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1889],{5867:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>o,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var d=n(1085),s=n(1184);const i={id:"sigma_src_rendering.NodePointProgram",title:"Class: NodePointProgram<N, E, G>",sidebar_label:"sigma/src/rendering.NodePointProgram",custom_edit_url:null},l=void 0,c={id:"typedoc/classes/sigma_src_rendering.NodePointProgram",title:"Class: NodePointProgram<N, E, G>",description:"sigma/src/rendering.NodePointProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.NodePointProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.NodePointProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.NodePointProgram",title:"Class: NodePointProgram<N, E, G>",sidebar_label:"sigma/src/rendering.NodePointProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.NodeCircleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram"},next:{title:"sigma/src/rendering.NodeProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram"}},t={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"drawHover",id:"drawhover",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"Methods",id:"methods",level:2},{value:"bindAttribute",id:"bindattribute",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"bindProgram",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"drawWebGL",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"getDefinition",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"getProgramInfo",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"hasNothingToRender",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"processVisibleItem",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"renderProgram",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"setUniforms",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"unbindAttribute",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"unbindProgram",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-35",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".NodePointProgram"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:(0,d.jsx)(r.code,{children:"NodeProgram"})}),"<typeof ",(0,d.jsx)(r.code,{children:"UNIFORMS"}),"[",(0,d.jsx)(r.code,{children:"number"}),"], ",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"NodePointProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"new NodePointProgram"}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">(",(0,d.jsx)(r.code,{children:"gl"}),", ",(0,d.jsx)(r.code,{children:"pickingBuffer"}),", ",(0,d.jsx)(r.code,{children:"renderer"}),"): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram",children:(0,d.jsx)(r.code,{children:"NodePointProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"gl"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"pickingBuffer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"renderer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,d.jsx)(r.code,{children:"Sigma"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram",children:(0,d.jsx)(r.code,{children:"NodePointProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constructor",children:"constructor"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L114",children:"sigma/src/rendering/program.ts:114"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#attributes",children:"ATTRIBUTES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L93",children:"sigma/src/rendering/program.ts:93"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L98",children:"sigma/src/rendering/program.ts:98"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constant_attributes",children:"CONSTANT_ATTRIBUTES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L95",children:"sigma/src/rendering/program.ts:95"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,d.jsx)(r.code,{children:"number"}),"[][]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constant_data",children:"CONSTANT_DATA"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L96",children:"sigma/src/rendering/program.ts:96"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L91",children:"sigma/src/rendering/program.ts:91"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"METHOD"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#method",children:"METHOD"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L94",children:"sigma/src/rendering/program.ts:94"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"STRIDE"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#stride",children:"STRIDE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L99",children:"sigma/src/rendering/program.ts:99"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"UNIFORMS"}),": readonly (",(0,d.jsx)(r.code,{children:'"u_sizeRatio"'})," | ",(0,d.jsx)(r.code,{children:'"u_matrix"'})," | ",(0,d.jsx)(r.code,{children:'"u_pixelRatio"'}),")[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#uniforms",children:"UNIFORMS"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L92",children:"sigma/src/rendering/program.ts:92"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#vertex_shader_source",children:"VERTEX_SHADER_SOURCE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L90",children:"sigma/src/rendering/program.ts:90"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"VERTICES"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#vertices",children:"VERTICES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L89",children:"sigma/src/rendering/program.ts:89"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"array"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#array",children:"array"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L102",children:"sigma/src/rendering/program.ts:102"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#capacity",children:"capacity"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L104",children:"sigma/src/rendering/program.ts:104"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"constantArray"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constantarray",children:"constantArray"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L103",children:"sigma/src/rendering/program.ts:103"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawhover",children:"drawHover"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"drawHover"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodehoverdrawingfunction",children:(0,d.jsx)(r.code,{children:"NodeHoverDrawingFunction"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawhover",children:"drawHover"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L36",children:"sigma/src/rendering/node.ts:36"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"drawLabel"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodelabeldrawingfunction",children:(0,d.jsx)(r.code,{children:"NodeLabelDrawingFunction"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawlabel",children:"drawLabel"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L35",children:"sigma/src/rendering/node.ts:35"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"isInstanced"}),": ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#isinstanced",children:"isInstanced"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L110",children:"sigma/src/rendering/program.ts:110"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"normalProgram"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#normalprogram",children:"normalProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L107",children:"sigma/src/rendering/program.ts:107"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"pickProgram"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#pickprogram",children:"pickProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L108",children:"sigma/src/rendering/program.ts:108"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,d.jsx)(r.code,{children:"Sigma"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#renderer",children:"renderer"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L101",children:"sigma/src/rendering/program.ts:101"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"verticesCount"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#verticescount",children:"verticesCount"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L105",children:"sigma/src/rendering/program.ts:105"})}),"\n",(0,d.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,d.jsx)(r.h3,{id:"bindattribute",children:"bindAttribute"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"bindAttribute"}),"(",(0,d.jsx)(r.code,{children:"attr"}),", ",(0,d.jsx)(r.code,{children:"program"}),", ",(0,d.jsx)(r.code,{children:"offset"}),", ",(0,d.jsx)(r.code,{children:"setDivisor?"}),"): ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"attr"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"offset"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"setDivisor?"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"number"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#bindattribute",children:"bindAttribute"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L268",children:"sigma/src/rendering/program.ts:268"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bindprogram",children:"bindProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"bindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#bindprogram",children:"bindProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L230",children:"sigma/src/rendering/program.ts:230"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,d.jsx)(r.code,{children:"method"}),", ",(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"method"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawwebgl",children:"drawWebGL"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L379",children:"sigma/src/rendering/program.ts:379"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getdefinition",children:"getDefinition"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,d.jsx)(r.code,{children:"Object"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"Object"})}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ATTRIBUTES"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["({ ",(0,d.jsx)(r.code,{children:"name"}),": ",(0,d.jsx)(r.code,{children:"string"}),' = "a_position"; ',(0,d.jsx)(r.code,{children:"normalized?"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," = true; ",(0,d.jsx)(r.code,{children:"size"}),": ",(0,d.jsx)(r.code,{children:"number"})," = 2; ",(0,d.jsx)(r.code,{children:"type"}),": ",(0,d.jsx)(r.code,{children:"5126"})," = FLOAT } | { ",(0,d.jsx)(r.code,{children:"name"}),": ",(0,d.jsx)(r.code,{children:"string"}),' = "a_color"; ',(0,d.jsx)(r.code,{children:"normalized"}),": ",(0,d.jsx)(r.code,{children:"boolean"})," = true; ",(0,d.jsx)(r.code,{children:"size"}),": ",(0,d.jsx)(r.code,{children:"number"})," = 4; ",(0,d.jsx)(r.code,{children:"type"}),": ",(0,d.jsx)(r.code,{children:"5121"})," = UNSIGNED_BYTE })[]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"FRAGMENT_SHADER_SOURCE"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"METHOD"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"0"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"UNIFORMS"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["readonly [",(0,d.jsx)(r.code,{children:'"u_sizeRatio"'}),", ",(0,d.jsx)(r.code,{children:'"u_pixelRatio"'}),", ",(0,d.jsx)(r.code,{children:'"u_matrix"'}),"]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"VERTICES"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#getdefinition",children:"getDefinition"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-point/index.ts#L28",children:"sigma/src/rendering/programs/node-point/index.ts:28"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"getProgramInfo"}),"(",(0,d.jsx)(r.code,{children:"name"}),", ",(0,d.jsx)(r.code,{children:"gl"}),", ",(0,d.jsx)(r.code,{children:"vertexShaderSource"}),", ",(0,d.jsx)(r.code,{children:"fragmentShaderSource"}),", ",(0,d.jsx)(r.code,{children:"frameBuffer"}),"): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"name"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:'"normal"'})," | ",(0,d.jsx)(r.code,{children:'"pick"'})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"gl"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"vertexShaderSource"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"fragmentShaderSource"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"frameBuffer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#getprograminfo",children:"getProgramInfo"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L176",children:"sigma/src/rendering/program.ts:176"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"boolean"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#hasnothingtorender",children:"hasNothingToRender"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L336",children:"sigma/src/rendering/program.ts:336"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#kill",children:"kill"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L38",children:"sigma/src/rendering/node.ts:38"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"process"}),"(",(0,d.jsx)(r.code,{children:"nodeIndex"}),", ",(0,d.jsx)(r.code,{children:"offset"}),", ",(0,d.jsx)(r.code,{children:"data"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"nodeIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"offset"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"data"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#process",children:"process"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L42",children:"sigma/src/rendering/node.ts:42"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"processvisibleitem",children:"processVisibleItem"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"processVisibleItem"}),"(",(0,d.jsx)(r.code,{children:"nodeIndex"}),", ",(0,d.jsx)(r.code,{children:"startIndex"}),", ",(0,d.jsx)(r.code,{children:"data"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"nodeIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"startIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"data"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#processvisibleitem",children:"processVisibleItem"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-point/index.ts#L44",children:"sigma/src/rendering/programs/node-point/index.ts:44"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"capacity"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#reallocate",children:"reallocate"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L321",children:"sigma/src/rendering/program.ts:321"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#render",children:"render"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L358",children:"sigma/src/rendering/program.ts:358"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderprogram",children:"renderProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"renderProgram"}),"(",(0,d.jsx)(r.code,{children:"params"}),", ",(0,d.jsx)(r.code,{children:"programInfo"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"programInfo"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#renderprogram",children:"renderProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L342",children:"sigma/src/rendering/program.ts:342"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"setuniforms",children:"setUniforms"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"setUniforms"}),"(",(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"}),", ",(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#setuniforms",children:"setUniforms"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-point/index.ts#L54",children:"sigma/src/rendering/programs/node-point/index.ts:54"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"unbindAttribute"}),"(",(0,d.jsx)(r.code,{children:"attr"}),", ",(0,d.jsx)(r.code,{children:"program"}),", ",(0,d.jsx)(r.code,{children:"unsetDivisor?"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"attr"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"unsetDivisor?"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#unbindattribute",children:"unbindAttribute"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L303",children:"sigma/src/rendering/program.ts:303"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#unbindprogram",children:"unbindProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L259",children:"sigma/src/rendering/program.ts:259"})})]})}function o(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>l,x:()=>c});var d=n(4041);const s={},i=d.createContext(s);function l(e){const r=d.useContext(i);return d.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:l(e.components),d.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/56036298.56766346.js b/assets/js/56036298.56766346.js new file mode 100644 index 000000000..34ca36b26 --- /dev/null +++ b/assets/js/56036298.56766346.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8270],{3173:(e,i,s)=>{s.r(i),s.d(i,{assets:()=>c,contentTitle:()=>r,default:()=>x,frontMatter:()=>l,metadata:()=>t,toc:()=>h});var n=s(1085),d=s(1184);const l={id:"sigma_src.Sigma",title:"Class: Sigma<N, E, G>",sidebar_label:"sigma/src.Sigma",custom_edit_url:null},r=void 0,t={id:"typedoc/classes/sigma_src.Sigma",title:"Class: Sigma<N, E, G>",description:"sigma/src.Sigma",source:"@site/docs/typedoc/classes/sigma_src.Sigma.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src.Sigma",permalink:"/docs/typedoc/classes/sigma_src.Sigma",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src.Sigma",title:"Class: Sigma<N, E, G>",sidebar_label:"sigma/src.Sigma",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src.MouseCaptor",permalink:"/docs/typedoc/classes/sigma_src.MouseCaptor"},next:{title:"sigma/src.TouchCaptor",permalink:"/docs/typedoc/classes/sigma_src.TouchCaptor"}},c={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"activeListeners",id:"activelisteners",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"camera",id:"camera",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"canvasContexts",id:"canvascontexts",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"checkEdgesEventsFrame",id:"checkedgeseventsframe",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"container",id:"container",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"correctionRatio",id:"correctionratio",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"customBBox",id:"custombbox",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"displayedEdgeLabels",id:"displayededgelabels",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"displayedNodeLabels",id:"displayednodelabels",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"edgeDataCache",id:"edgedatacache",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"edgeIndices",id:"edgeindices",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"edgeProgramIndex",id:"edgeprogramindex",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"edgePrograms",id:"edgeprograms",level:3},{value:"Index signature",id:"index-signature",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"edgeZExtent",id:"edgezextent",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"edgesWithForcedLabels",id:"edgeswithforcedlabels",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"elements",id:"elements",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"frameBuffers",id:"framebuffers",level:3},{value:"Defined in",id:"defined-in-17",level:4},{value:"graph",id:"graph",level:3},{value:"Defined in",id:"defined-in-18",level:4},{value:"graphToViewportRatio",id:"graphtoviewportratio",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"height",id:"height",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"highlightedNodes",id:"highlightednodes",level:3},{value:"Defined in",id:"defined-in-21",level:4},{value:"hoveredEdge",id:"hoverededge",level:3},{value:"Defined in",id:"defined-in-22",level:4},{value:"hoveredNode",id:"hoverednode",level:3},{value:"Defined in",id:"defined-in-23",level:4},{value:"invMatrix",id:"invmatrix",level:3},{value:"Defined in",id:"defined-in-24",level:4},{value:"itemIDsIndex",id:"itemidsindex",level:3},{value:"Defined in",id:"defined-in-25",level:4},{value:"labelGrid",id:"labelgrid",level:3},{value:"Defined in",id:"defined-in-26",level:4},{value:"matrix",id:"matrix",level:3},{value:"Defined in",id:"defined-in-27",level:4},{value:"mouseCaptor",id:"mousecaptor",level:3},{value:"Defined in",id:"defined-in-28",level:4},{value:"needToProcess",id:"needtoprocess",level:3},{value:"Defined in",id:"defined-in-29",level:4},{value:"nodeDataCache",id:"nodedatacache",level:3},{value:"Defined in",id:"defined-in-30",level:4},{value:"nodeExtent",id:"nodeextent",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"nodeHoverPrograms",id:"nodehoverprograms",level:3},{value:"Index signature",id:"index-signature-1",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"nodeIndices",id:"nodeindices",level:3},{value:"Defined in",id:"defined-in-33",level:4},{value:"nodeProgramIndex",id:"nodeprogramindex",level:3},{value:"Defined in",id:"defined-in-34",level:4},{value:"nodePrograms",id:"nodeprograms",level:3},{value:"Index signature",id:"index-signature-2",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"nodeZExtent",id:"nodezextent",level:3},{value:"Defined in",id:"defined-in-36",level:4},{value:"nodesWithForcedLabels",id:"nodeswithforcedlabels",level:3},{value:"Defined in",id:"defined-in-37",level:4},{value:"normalizationFunction",id:"normalizationfunction",level:3},{value:"Defined in",id:"defined-in-38",level:4},{value:"pickingDownSizingRatio",id:"pickingdownsizingratio",level:3},{value:"Defined in",id:"defined-in-39",level:4},{value:"pickingLayers",id:"pickinglayers",level:3},{value:"Defined in",id:"defined-in-40",level:4},{value:"pixelRatio",id:"pixelratio",level:3},{value:"Defined in",id:"defined-in-41",level:4},{value:"rawEmitter",id:"rawemitter",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderFrame",id:"renderframe",level:3},{value:"Defined in",id:"defined-in-43",level:4},{value:"renderHighlightedNodesFrame",id:"renderhighlightednodesframe",level:3},{value:"Defined in",id:"defined-in-44",level:4},{value:"settings",id:"settings",level:3},{value:"Defined in",id:"defined-in-45",level:4},{value:"textures",id:"textures",level:3},{value:"Defined in",id:"defined-in-46",level:4},{value:"touchCaptor",id:"touchcaptor",level:3},{value:"Defined in",id:"defined-in-47",level:4},{value:"webGLContexts",id:"webglcontexts",level:3},{value:"Defined in",id:"defined-in-48",level:4},{value:"width",id:"width",level:3},{value:"Defined in",id:"defined-in-49",level:4},{value:"Methods",id:"methods",level:2},{value:"addEdge",id:"addedge",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-50",level:4},{value:"addEdgeToProgram",id:"addedgetoprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-51",level:4},{value:"addListener",id:"addlistener",level:3},{value:"Type parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-52",level:4},{value:"addNode",id:"addnode",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-53",level:4},{value:"addNodeToProgram",id:"addnodetoprogram",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-54",level:4},{value:"bindCameraHandlers",id:"bindcamerahandlers",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-55",level:4},{value:"bindEventHandlers",id:"bindeventhandlers",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-56",level:4},{value:"bindGraphHandlers",id:"bindgraphhandlers",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-57",level:4},{value:"clear",id:"clear",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-58",level:4},{value:"clearEdgeIndices",id:"clearedgeindices",level:3},{value:"Returns",id:"returns-10",level:4},{value:"Defined in",id:"defined-in-59",level:4},{value:"clearEdgeState",id:"clearedgestate",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Defined in",id:"defined-in-60",level:4},{value:"clearIndices",id:"clearindices",level:3},{value:"Returns",id:"returns-12",level:4},{value:"Defined in",id:"defined-in-61",level:4},{value:"clearNodeIndices",id:"clearnodeindices",level:3},{value:"Returns",id:"returns-13",level:4},{value:"Defined in",id:"defined-in-62",level:4},{value:"clearNodeState",id:"clearnodestate",level:3},{value:"Returns",id:"returns-14",level:4},{value:"Defined in",id:"defined-in-63",level:4},{value:"clearState",id:"clearstate",level:3},{value:"Returns",id:"returns-15",level:4},{value:"Defined in",id:"defined-in-64",level:4},{value:"createCanvas",id:"createcanvas",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-16",level:4},{value:"Defined in",id:"defined-in-65",level:4},{value:"createCanvasContext",id:"createcanvascontext",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-17",level:4},{value:"Defined in",id:"defined-in-66",level:4},{value:"createWebGLContext",id:"createwebglcontext",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-18",level:4},{value:"Defined in",id:"defined-in-67",level:4},{value:"emit",id:"emit",level:3},{value:"Type parameters",id:"type-parameters-3",level:4},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-19",level:4},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-68",level:4},{value:"eventNames",id:"eventnames",level:3},{value:"Type parameters",id:"type-parameters-4",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-69",level:4},{value:"framedGraphToViewport",id:"framedgraphtoviewport",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Defined in",id:"defined-in-70",level:4},{value:"getBBox",id:"getbbox",level:3},{value:"Returns",id:"returns-22",level:4},{value:"Defined in",id:"defined-in-71",level:4},{value:"getCamera",id:"getcamera",level:3},{value:"Returns",id:"returns-23",level:4},{value:"Defined in",id:"defined-in-72",level:4},{value:"getCanvases",id:"getcanvases",level:3},{value:"Returns",id:"returns-24",level:4},{value:"Defined in",id:"defined-in-73",level:4},{value:"getContainer",id:"getcontainer",level:3},{value:"Returns",id:"returns-25",level:4},{value:"Defined in",id:"defined-in-74",level:4},{value:"getCustomBBox",id:"getcustombbox",level:3},{value:"Returns",id:"returns-26",level:4},{value:"Defined in",id:"defined-in-75",level:4},{value:"getDimensions",id:"getdimensions",level:3},{value:"Returns",id:"returns-27",level:4},{value:"Defined in",id:"defined-in-76",level:4},{value:"getEdgeAtPoint",id:"getedgeatpoint",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-28",level:4},{value:"Defined in",id:"defined-in-77",level:4},{value:"getEdgeDisplayData",id:"getedgedisplaydata",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-29",level:4},{value:"Defined in",id:"defined-in-78",level:4},{value:"getEdgeDisplayedLabels",id:"getedgedisplayedlabels",level:3},{value:"Returns",id:"returns-30",level:4},{value:"Defined in",id:"defined-in-79",level:4},{value:"getGraph",id:"getgraph",level:3},{value:"Returns",id:"returns-31",level:4},{value:"Defined in",id:"defined-in-80",level:4},{value:"getGraphDimensions",id:"getgraphdimensions",level:3},{value:"Returns",id:"returns-32",level:4},{value:"Defined in",id:"defined-in-81",level:4},{value:"getGraphToViewportRatio",id:"getgraphtoviewportratio",level:3},{value:"Returns",id:"returns-33",level:4},{value:"Defined in",id:"defined-in-82",level:4},{value:"getMaxListeners",id:"getmaxlisteners",level:3},{value:"Returns",id:"returns-34",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-83",level:4},{value:"getMouseCaptor",id:"getmousecaptor",level:3},{value:"Returns",id:"returns-35",level:4},{value:"Defined in",id:"defined-in-84",level:4},{value:"getNodeAtPosition",id:"getnodeatposition",level:3},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-36",level:4},{value:"Defined in",id:"defined-in-85",level:4},{value:"getNodeDisplayData",id:"getnodedisplaydata",level:3},{value:"Parameters",id:"parameters-14",level:4},{value:"Returns",id:"returns-37",level:4},{value:"Defined in",id:"defined-in-86",level:4},{value:"getNodeDisplayedLabels",id:"getnodedisplayedlabels",level:3},{value:"Returns",id:"returns-38",level:4},{value:"Defined in",id:"defined-in-87",level:4},{value:"getSetting",id:"getsetting",level:3},{value:"Type parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-15",level:4},{value:"Returns",id:"returns-39",level:4},{value:"Defined in",id:"defined-in-88",level:4},{value:"getSettings",id:"getsettings",level:3},{value:"Returns",id:"returns-40",level:4},{value:"Defined in",id:"defined-in-89",level:4},{value:"getTouchCaptor",id:"gettouchcaptor",level:3},{value:"Returns",id:"returns-41",level:4},{value:"Defined in",id:"defined-in-90",level:4},{value:"getViewportZoomedState",id:"getviewportzoomedstate",level:3},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-42",level:4},{value:"Defined in",id:"defined-in-91",level:4},{value:"graphToViewport",id:"graphtoviewport",level:3},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-43",level:4},{value:"Defined in",id:"defined-in-92",level:4},{value:"handleSettingsUpdate",id:"handlesettingsupdate",level:3},{value:"Returns",id:"returns-44",level:4},{value:"Defined in",id:"defined-in-93",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-45",level:4},{value:"Defined in",id:"defined-in-94",level:4},{value:"listenerCount",id:"listenercount",level:3},{value:"Type parameters",id:"type-parameters-6",level:4},{value:"Parameters",id:"parameters-18",level:4},{value:"Returns",id:"returns-46",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-95",level:4},{value:"listeners",id:"listeners",level:3},{value:"Type parameters",id:"type-parameters-7",level:4},{value:"Parameters",id:"parameters-19",level:4},{value:"Returns",id:"returns-47",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-96",level:4},{value:"off",id:"off",level:3},{value:"Type parameters",id:"type-parameters-8",level:4},{value:"Parameters",id:"parameters-20",level:4},{value:"Returns",id:"returns-48",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-97",level:4},{value:"on",id:"on",level:3},{value:"Type parameters",id:"type-parameters-9",level:4},{value:"Parameters",id:"parameters-21",level:4},{value:"Returns",id:"returns-49",level:4},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-98",level:4},{value:"once",id:"once",level:3},{value:"Type parameters",id:"type-parameters-10",level:4},{value:"Parameters",id:"parameters-22",level:4},{value:"Returns",id:"returns-50",level:4},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-99",level:4},{value:"prependListener",id:"prependlistener",level:3},{value:"Type parameters",id:"type-parameters-11",level:4},{value:"Parameters",id:"parameters-23",level:4},{value:"Returns",id:"returns-51",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-100",level:4},{value:"prependOnceListener",id:"prependoncelistener",level:3},{value:"Type parameters",id:"type-parameters-12",level:4},{value:"Parameters",id:"parameters-24",level:4},{value:"Returns",id:"returns-52",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-101",level:4},{value:"process",id:"process",level:3},{value:"Returns",id:"returns-53",level:4},{value:"Defined in",id:"defined-in-102",level:4},{value:"rawListeners",id:"rawlisteners",level:3},{value:"Type parameters",id:"type-parameters-13",level:4},{value:"Parameters",id:"parameters-25",level:4},{value:"Returns",id:"returns-54",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-103",level:4},{value:"refresh",id:"refresh",level:3},{value:"Parameters",id:"parameters-26",level:4},{value:"Returns",id:"returns-55",level:4},{value:"Defined in",id:"defined-in-104",level:4},{value:"removeAllListeners",id:"removealllisteners",level:3},{value:"Type parameters",id:"type-parameters-14",level:4},{value:"Parameters",id:"parameters-27",level:4},{value:"Returns",id:"returns-56",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-105",level:4},{value:"removeEdge",id:"removeedge",level:3},{value:"Parameters",id:"parameters-28",level:4},{value:"Returns",id:"returns-57",level:4},{value:"Defined in",id:"defined-in-106",level:4},{value:"removeListener",id:"removelistener",level:3},{value:"Type parameters",id:"type-parameters-15",level:4},{value:"Parameters",id:"parameters-29",level:4},{value:"Returns",id:"returns-58",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-107",level:4},{value:"removeNode",id:"removenode",level:3},{value:"Parameters",id:"parameters-30",level:4},{value:"Returns",id:"returns-59",level:4},{value:"Defined in",id:"defined-in-108",level:4},{value:"render",id:"render",level:3},{value:"Returns",id:"returns-60",level:4},{value:"Defined in",id:"defined-in-109",level:4},{value:"renderEdgeLabels",id:"renderedgelabels",level:3},{value:"Returns",id:"returns-61",level:4},{value:"Defined in",id:"defined-in-110",level:4},{value:"renderHighlightedNodes",id:"renderhighlightednodes",level:3},{value:"Returns",id:"returns-62",level:4},{value:"Defined in",id:"defined-in-111",level:4},{value:"renderLabels",id:"renderlabels",level:3},{value:"Returns",id:"returns-63",level:4},{value:"Defined in",id:"defined-in-112",level:4},{value:"resetWebGLTexture",id:"resetwebgltexture",level:3},{value:"Parameters",id:"parameters-31",level:4},{value:"Returns",id:"returns-64",level:4},{value:"Defined in",id:"defined-in-113",level:4},{value:"resize",id:"resize",level:3},{value:"Returns",id:"returns-65",level:4},{value:"Defined in",id:"defined-in-114",level:4},{value:"scaleSize",id:"scalesize",level:3},{value:"Parameters",id:"parameters-32",level:4},{value:"Returns",id:"returns-66",level:4},{value:"Defined in",id:"defined-in-115",level:4},{value:"scheduleHighlightedNodesRender",id:"schedulehighlightednodesrender",level:3},{value:"Returns",id:"returns-67",level:4},{value:"Defined in",id:"defined-in-116",level:4},{value:"scheduleRefresh",id:"schedulerefresh",level:3},{value:"Parameters",id:"parameters-33",level:4},{value:"Returns",id:"returns-68",level:4},{value:"Defined in",id:"defined-in-117",level:4},{value:"scheduleRender",id:"schedulerender",level:3},{value:"Returns",id:"returns-69",level:4},{value:"Defined in",id:"defined-in-118",level:4},{value:"setCamera",id:"setcamera",level:3},{value:"Parameters",id:"parameters-34",level:4},{value:"Returns",id:"returns-70",level:4},{value:"Defined in",id:"defined-in-119",level:4},{value:"setCustomBBox",id:"setcustombbox",level:3},{value:"Parameters",id:"parameters-35",level:4},{value:"Returns",id:"returns-71",level:4},{value:"Defined in",id:"defined-in-120",level:4},{value:"setGraph",id:"setgraph",level:3},{value:"Parameters",id:"parameters-36",level:4},{value:"Returns",id:"returns-72",level:4},{value:"Defined in",id:"defined-in-121",level:4},{value:"setMaxListeners",id:"setmaxlisteners",level:3},{value:"Parameters",id:"parameters-37",level:4},{value:"Returns",id:"returns-73",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-122",level:4},{value:"setSetting",id:"setsetting",level:3},{value:"Type parameters",id:"type-parameters-16",level:4},{value:"Parameters",id:"parameters-38",level:4},{value:"Returns",id:"returns-74",level:4},{value:"Defined in",id:"defined-in-123",level:4},{value:"unbindCameraHandlers",id:"unbindcamerahandlers",level:3},{value:"Returns",id:"returns-75",level:4},{value:"Defined in",id:"defined-in-124",level:4},{value:"unbindGraphHandlers",id:"unbindgraphhandlers",level:3},{value:"Returns",id:"returns-76",level:4},{value:"Defined in",id:"defined-in-125",level:4},{value:"updateEdge",id:"updateedge",level:3},{value:"Parameters",id:"parameters-39",level:4},{value:"Returns",id:"returns-77",level:4},{value:"Defined in",id:"defined-in-126",level:4},{value:"updateNode",id:"updatenode",level:3},{value:"Parameters",id:"parameters-40",level:4},{value:"Returns",id:"returns-78",level:4},{value:"Defined in",id:"defined-in-127",level:4},{value:"updateSetting",id:"updatesetting",level:3},{value:"Type parameters",id:"type-parameters-17",level:4},{value:"Parameters",id:"parameters-41",level:4},{value:"Returns",id:"returns-79",level:4},{value:"Defined in",id:"defined-in-128",level:4},{value:"viewRectangle",id:"viewrectangle",level:3},{value:"Returns",id:"returns-80",level:4},{value:"Defined in",id:"defined-in-129",level:4},{value:"viewportToFramedGraph",id:"viewporttoframedgraph",level:3},{value:"Parameters",id:"parameters-42",level:4},{value:"Returns",id:"returns-81",level:4},{value:"Defined in",id:"defined-in-130",level:4},{value:"viewportToGraph",id:"viewporttograph",level:3},{value:"Parameters",id:"parameters-43",level:4},{value:"Returns",id:"returns-82",level:4},{value:"Defined in",id:"defined-in-131",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/modules/sigma_src",children:"sigma/src"}),".Sigma"]}),"\n",(0,n.jsx)(i.p,{children:"Main class."}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Param"})})}),"\n",(0,n.jsx)(i.p,{children:"Graph to render."}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Param"})})}),"\n",(0,n.jsx)(i.p,{children:"DOM container in which to render."}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Param"})})}),"\n",(0,n.jsx)(i.p,{children:"Optional settings."}),"\n",(0,n.jsx)(i.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"N"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"E"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"G"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"TypedEventEmitter"}),"<",(0,n.jsx)(i.code,{children:"SigmaEvents"}),">"]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"Sigma"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(i.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"new Sigma"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">(",(0,n.jsx)(i.code,{children:"graph"}),", ",(0,n.jsx)(i.code,{children:"container"}),", ",(0,n.jsx)(i.code,{children:"settings?"}),"): ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(i.code,{children:"Sigma"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"N"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"E"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"G"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:"Attributes"})," = ",(0,n.jsx)(i.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"graph"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"AbstractGraph"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"container"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"HTMLElement"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"settings"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"Partial"}),"<",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">>"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(i.code,{children:"Sigma"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter<SigmaEvents>.constructor"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L190",children:"sigma/src/sigma.ts:190"})}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"activelisteners",children:"activeListeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"activeListeners"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"Listener"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L135",children:"sigma/src/sigma.ts:135"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"camera",children:"camera"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"camera"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Camera",children:(0,n.jsx)(i.code,{children:"Camera"})})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L188",children:"sigma/src/sigma.ts:188"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"canvascontexts",children:"canvasContexts"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"canvasContexts"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"CanvasRenderingContext2D"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L130",children:"sigma/src/sigma.ts:130"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"checkedgeseventsframe",children:"checkEdgesEventsFrame"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"checkEdgesEventsFrame"}),": ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L181",children:"sigma/src/sigma.ts:181"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"container",children:"container"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"container"}),": ",(0,n.jsx)(i.code,{children:"HTMLElement"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L128",children:"sigma/src/sigma.ts:128"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"correctionratio",children:"correctionRatio"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"correctionRatio"}),": ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"1"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L151",children:"sigma/src/sigma.ts:151"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"custombbox",children:"customBBox"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"customBBox"}),": ",(0,n.jsx)(i.code,{children:"null"})," | { ",(0,n.jsx)(i.code,{children:"x"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," ; ",(0,n.jsx)(i.code,{children:"y"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," } = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L152",children:"sigma/src/sigma.ts:152"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"displayededgelabels",children:"displayedEdgeLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"displayedEdgeLabels"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L172",children:"sigma/src/sigma.ts:172"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"displayednodelabels",children:"displayedNodeLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"displayedNodeLabels"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L171",children:"sigma/src/sigma.ts:171"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgedatacache",children:"edgeDataCache"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgeDataCache"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"DisplayData"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L138",children:"sigma/src/sigma.ts:138"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgeindices",children:"edgeIndices"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgeIndices"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"number"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L162",children:"sigma/src/sigma.ts:162"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgeprogramindex",children:"edgeProgramIndex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgeProgramIndex"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"number"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L142",children:"sigma/src/sigma.ts:142"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgeprograms",children:"edgePrograms"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgePrograms"}),": ",(0,n.jsx)(i.code,{children:"Object"})," = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"index-signature",children:"Index signature"}),"\n",(0,n.jsxs)(i.p,{children:["\u25aa [key: ",(0,n.jsx)(i.code,{children:"string"}),"]: ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",children:(0,n.jsx)(i.code,{children:"AbstractEdgeProgram"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L186",children:"sigma/src/sigma.ts:186"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgezextent",children:"edgeZExtent"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgeZExtent"}),": [",(0,n.jsx)(i.code,{children:"number"}),", ",(0,n.jsx)(i.code,{children:"number"}),"]"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L147",children:"sigma/src/sigma.ts:147"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"edgeswithforcedlabels",children:"edgesWithForcedLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"edgesWithForcedLabels"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L144",children:"sigma/src/sigma.ts:144"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"elements",children:"elements"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"elements"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"HTMLCanvasElement"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L129",children:"sigma/src/sigma.ts:129"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"framebuffers",children:"frameBuffers"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"frameBuffers"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"WebGLFramebuffer"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L134",children:"sigma/src/sigma.ts:134"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"graph",children:"graph"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"graph"}),": ",(0,n.jsx)(i.code,{children:"AbstractGraph"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L125",children:"sigma/src/sigma.ts:125"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"graphtoviewportratio",children:"graphToViewportRatio"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"graphToViewportRatio"}),": ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"1"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L159",children:"sigma/src/sigma.ts:159"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"height"}),": ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"0"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L166",children:"sigma/src/sigma.ts:166"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"highlightednodes",children:"highlightedNodes"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"highlightedNodes"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L173",children:"sigma/src/sigma.ts:173"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"hoverededge",children:"hoveredEdge"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"hoveredEdge"}),": ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})," = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L175",children:"sigma/src/sigma.ts:175"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"hoverednode",children:"hoveredNode"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"hoveredNode"}),": ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})," = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L174",children:"sigma/src/sigma.ts:174"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"invmatrix",children:"invMatrix"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"invMatrix"}),": ",(0,n.jsx)(i.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L150",children:"sigma/src/sigma.ts:150"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"itemidsindex",children:"itemIDsIndex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"itemIDsIndex"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"number"}),", { ",(0,n.jsx)(i.code,{children:"id"}),": ",(0,n.jsx)(i.code,{children:"string"})," ; ",(0,n.jsx)(i.code,{children:"type"}),": ",(0,n.jsx)(i.code,{children:'"node"'})," | ",(0,n.jsx)(i.code,{children:'"edge"'})," }> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L160",children:"sigma/src/sigma.ts:160"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"labelgrid",children:"labelGrid"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"labelGrid"}),": ",(0,n.jsx)(i.code,{children:"LabelGrid"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L136",children:"sigma/src/sigma.ts:136"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"matrix",children:"matrix"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"matrix"}),": ",(0,n.jsx)(i.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L149",children:"sigma/src/sigma.ts:149"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"mousecaptor",children:"mouseCaptor"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"mouseCaptor"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.MouseCaptor",children:(0,n.jsx)(i.code,{children:"MouseCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L126",children:"sigma/src/sigma.ts:126"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"needtoprocess",children:"needToProcess"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"needToProcess"}),": ",(0,n.jsx)(i.code,{children:"boolean"})," = ",(0,n.jsx)(i.code,{children:"false"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L180",children:"sigma/src/sigma.ts:180"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodedatacache",children:"nodeDataCache"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeDataCache"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"NodeDisplayData"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L137",children:"sigma/src/sigma.ts:137"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodeextent",children:"nodeExtent"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeExtent"}),": ",(0,n.jsx)(i.code,{children:"Object"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"x"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Extent"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"y"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Extent"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L145",children:"sigma/src/sigma.ts:145"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodehoverprograms",children:"nodeHoverPrograms"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeHoverPrograms"}),": ",(0,n.jsx)(i.code,{children:"Object"})," = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"index-signature-1",children:"Index signature"}),"\n",(0,n.jsxs)(i.p,{children:["\u25aa [key: ",(0,n.jsx)(i.code,{children:"string"}),"]: ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:(0,n.jsx)(i.code,{children:"AbstractNodeProgram"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L185",children:"sigma/src/sigma.ts:185"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodeindices",children:"nodeIndices"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeIndices"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"number"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L161",children:"sigma/src/sigma.ts:161"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodeprogramindex",children:"nodeProgramIndex"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeProgramIndex"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"number"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L141",children:"sigma/src/sigma.ts:141"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodeprograms",children:"nodePrograms"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodePrograms"}),": ",(0,n.jsx)(i.code,{children:"Object"})," = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"index-signature-2",children:"Index signature"}),"\n",(0,n.jsxs)(i.p,{children:["\u25aa [key: ",(0,n.jsx)(i.code,{children:"string"}),"]: ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram",children:(0,n.jsx)(i.code,{children:"AbstractNodeProgram"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L184",children:"sigma/src/sigma.ts:184"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodezextent",children:"nodeZExtent"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodeZExtent"}),": [",(0,n.jsx)(i.code,{children:"number"}),", ",(0,n.jsx)(i.code,{children:"number"}),"]"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L146",children:"sigma/src/sigma.ts:146"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"nodeswithforcedlabels",children:"nodesWithForcedLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"nodesWithForcedLabels"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L143",children:"sigma/src/sigma.ts:143"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"normalizationfunction",children:"normalizationFunction"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"normalizationFunction"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction",children:(0,n.jsx)(i.code,{children:"NormalizationFunction"})})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L153",children:"sigma/src/sigma.ts:153"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"pickingdownsizingratio",children:"pickingDownSizingRatio"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"pickingDownSizingRatio"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-39",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L168",children:"sigma/src/sigma.ts:168"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"pickinglayers",children:"pickingLayers"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"pickingLayers"}),": ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-40",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L132",children:"sigma/src/sigma.ts:132"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"pixelratio",children:"pixelRatio"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"pixelRatio"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-41",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L167",children:"sigma/src/sigma.ts:167"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"rawemitter",children:"rawEmitter"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.strong,{children:"rawEmitter"}),": ",(0,n.jsx)(i.code,{children:"EventEmitter"}),"<",(0,n.jsx)(i.code,{children:"DefaultEventMap"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.rawEmitter"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-42",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L103",children:"sigma/src/types.ts:103"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"renderframe",children:"renderFrame"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"renderFrame"}),": ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-43",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L178",children:"sigma/src/sigma.ts:178"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"renderhighlightednodesframe",children:"renderHighlightedNodesFrame"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"renderHighlightedNodesFrame"}),": ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"null"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-44",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L179",children:"sigma/src/sigma.ts:179"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"settings",children:"settings"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"settings"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-45",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L124",children:"sigma/src/sigma.ts:124"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"textures",children:"textures"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"textures"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"WebGLTexture"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-46",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L133",children:"sigma/src/sigma.ts:133"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"touchcaptor",children:"touchCaptor"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"touchCaptor"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:(0,n.jsx)(i.code,{children:"TouchCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-47",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L127",children:"sigma/src/sigma.ts:127"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"webglcontexts",children:"webGLContexts"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"webGLContexts"}),": ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"WebGLRenderingContext"}),"> = ",(0,n.jsx)(i.code,{children:"{}"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-48",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L131",children:"sigma/src/sigma.ts:131"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Private"})," ",(0,n.jsx)(i.strong,{children:"width"}),": ",(0,n.jsx)(i.code,{children:"number"})," = ",(0,n.jsx)(i.code,{children:"0"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-49",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L165",children:"sigma/src/sigma.ts:165"})}),"\n",(0,n.jsx)(i.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(i.h3,{id:"addedge",children:"addEdge"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"addEdge"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Add an edge into the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The edge's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-50",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1302",children:"sigma/src/sigma.ts:1302"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"addedgetoprogram",children:"addEdgeToProgram"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"addEdgeToProgram"}),"(",(0,n.jsx)(i.code,{children:"edge"}),", ",(0,n.jsx)(i.code,{children:"fingerprint"}),", ",(0,n.jsx)(i.code,{children:"position"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Add the edge data to its program."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"edge"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The edge's graphology ID"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"fingerprint"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"A fingerprint used to identity the edge with picking"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"position"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The index where to place the edge in the program"})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-51",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1438",children:"sigma/src/sigma.ts:1438"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"addlistener",children:"addListener"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"addListener"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-2",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.addListener"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-52",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L109",children:"sigma/src/types.ts:109"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"addnode",children:"addNode"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"addNode"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Add a node in the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The node's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-53",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1234",children:"sigma/src/sigma.ts:1234"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"addnodetoprogram",children:"addNodeToProgram"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"addNodeToProgram"}),"(",(0,n.jsx)(i.code,{children:"node"}),", ",(0,n.jsx)(i.code,{children:"fingerprint"}),", ",(0,n.jsx)(i.code,{children:"position"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Add the node data to its program."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"node"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The node's graphology ID"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"fingerprint"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"A fingerprint used to identity the node with picking"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"position"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The index where to place the node in the program"})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-54",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1422",children:"sigma/src/sigma.ts:1422"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"bindcamerahandlers",children:"bindCameraHandlers"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"bindCameraHandlers"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method binding camera handlers."}),"\n",(0,n.jsx)(i.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-55",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L382",children:"sigma/src/sigma.ts:382"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"bindeventhandlers",children:"bindEventHandlers"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"bindEventHandlers"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method binding event handlers."}),"\n",(0,n.jsx)(i.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-56",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L426",children:"sigma/src/sigma.ts:426"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"bindgraphhandlers",children:"bindGraphHandlers"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"bindGraphHandlers"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method binding graph handlers"}),"\n",(0,n.jsx)(i.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-57",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L568",children:"sigma/src/sigma.ts:568"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clear",children:"clear"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clear"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to clear all the canvases."}),"\n",(0,n.jsx)(i.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-58",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1731",children:"sigma/src/sigma.ts:1731"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearedgeindices",children:"clearEdgeIndices"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearEdgeIndices"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all indices related to edges."}),"\n",(0,n.jsx)(i.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-59",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1370",children:"sigma/src/sigma.ts:1370"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearedgestate",children:"clearEdgeState"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearEdgeState"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all graph state related to edges."}),"\n",(0,n.jsx)(i.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-60",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1400",children:"sigma/src/sigma.ts:1400"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearindices",children:"clearIndices"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearIndices"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all indices."}),"\n",(0,n.jsx)(i.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-61",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1381",children:"sigma/src/sigma.ts:1381"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearnodeindices",children:"clearNodeIndices"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearNodeIndices"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all indices related to nodes."}),"\n",(0,n.jsx)(i.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-62",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1356",children:"sigma/src/sigma.ts:1356"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearnodestate",children:"clearNodeState"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearNodeState"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all graph state related to nodes."}),"\n",(0,n.jsx)(i.h4,{id:"returns-14",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-63",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1390",children:"sigma/src/sigma.ts:1390"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clearstate",children:"clearState"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"clearState"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Clear all graph state."}),"\n",(0,n.jsx)(i.h4,{id:"returns-15",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-64",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1410",children:"sigma/src/sigma.ts:1410"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"createcanvas",children:"createCanvas"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"createCanvas"}),"(",(0,n.jsx)(i.code,{children:"id"}),"): ",(0,n.jsx)(i.code,{children:"HTMLCanvasElement"})]}),"\n",(0,n.jsx)(i.p,{children:"Internal function used to create a canvas element."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"id"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"Context's id."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-16",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"HTMLCanvasElement"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-65",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L268",children:"sigma/src/sigma.ts:268"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"createcanvascontext",children:"createCanvasContext"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"createCanvasContext"}),"(",(0,n.jsx)(i.code,{children:"id"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Internal function used to create a canvas context and add the relevant\nDOM elements."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"id"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"Context's id."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-17",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-66",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L292",children:"sigma/src/sigma.ts:292"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"createwebglcontext",children:"createWebGLContext"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"createWebGLContext"}),"(",(0,n.jsx)(i.code,{children:"id"}),", ",(0,n.jsx)(i.code,{children:"options?"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Internal function used to create a WebGL context and add the relevant DOM\nelements."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"id"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"Context's id."})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"options?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Object"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"#getContext params to override (optional)"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"options.antialias?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"-"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"options.hidden?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"-"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"options.picking?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"-"})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"options.preserveDrawingBuffer?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"-"})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-18",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-67",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L313",children:"sigma/src/sigma.ts:313"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"emit",children:"emit"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"emit"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"...args"}),"): ",(0,n.jsx)(i.code,{children:"boolean"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-3",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"...args"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"Parameters"}),"<",(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]>"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-19",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"boolean"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.emit"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-68",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L108",children:"sigma/src/types.ts:108"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"eventnames",children:"eventNames"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"eventNames"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(): ",(0,n.jsx)(i.code,{children:"Event"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-4",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-20",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"Event"}),"[]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.eventNames"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-69",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L105",children:"sigma/src/types.ts:105"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"framedgraphtoviewport",children:"framedGraphToViewport"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"framedGraphToViewport"}),"(",(0,n.jsx)(i.code,{children:"coordinates"}),", ",(0,n.jsx)(i.code,{children:"override?"}),"): ",(0,n.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the coordinates of a point from the framed graph system to the viewport system. It allows\noverriding anything that is used to get the translation matrix, or even the matrix itself."}),"\n",(0,n.jsx)(i.p,{children:"Be careful if overriding dimensions, padding or cameraState, as the computation of the matrix is not the lightest\nof computations."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"coordinates"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"override"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"CoordinateConversionOverride"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-21",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-70",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1903",children:"sigma/src/sigma.ts:1903"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getbbox",children:"getBBox"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getBBox"}),"(): ",(0,n.jsx)(i.code,{children:"Object"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the graph's bounding box."}),"\n",(0,n.jsx)(i.h4,{id:"returns-22",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Object"})}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"x"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Extent"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"y"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Extent"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-71",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2005",children:"sigma/src/sigma.ts:2005"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getcamera",children:"getCamera"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getCamera"}),"(): ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Camera",children:(0,n.jsx)(i.code,{children:"Camera"})})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the renderer's camera."}),"\n",(0,n.jsx)(i.h4,{id:"returns-23",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Camera",children:(0,n.jsx)(i.code,{children:"Camera"})})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-72",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1460",children:"sigma/src/sigma.ts:1460"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getcanvases",children:"getCanvases"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getCanvases"}),"(): ",(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"HTMLCanvasElement"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method that returns the collection of all used canvases.\nAt the moment, the instantiated canvases are the following, and in the\nfollowing order in the DOM:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"edges"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"nodes"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"edgeLabels"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"labels"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"hovers"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"hoverNodes"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.code,{children:"mouse"})}),"\n"]}),"\n",(0,n.jsx)(i.h4,{id:"returns-24",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"PlainObject"}),"<",(0,n.jsx)(i.code,{children:"HTMLCanvasElement"}),">"]}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:"The collection of canvases."}),"\n"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-73",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2132",children:"sigma/src/sigma.ts:2132"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getcontainer",children:"getContainer"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getContainer"}),"(): ",(0,n.jsx)(i.code,{children:"HTMLElement"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the container DOM element."}),"\n",(0,n.jsx)(i.h4,{id:"returns-25",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"HTMLElement"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-74",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1481",children:"sigma/src/sigma.ts:1481"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getcustombbox",children:"getCustomBBox"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getCustomBBox"}),"(): ",(0,n.jsx)(i.code,{children:"null"})," | { ",(0,n.jsx)(i.code,{children:"x"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," ; ",(0,n.jsx)(i.code,{children:"y"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," }"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the graph's custom bounding box, if any."}),"\n",(0,n.jsx)(i.h4,{id:"returns-26",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"null"})," | { ",(0,n.jsx)(i.code,{children:"x"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," ; ",(0,n.jsx)(i.code,{children:"y"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," }"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-75",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2014",children:"sigma/src/sigma.ts:2014"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getdimensions",children:"getDimensions"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getDimensions"}),"(): ",(0,n.jsx)(i.code,{children:"Dimensions"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the current renderer's dimensions."}),"\n",(0,n.jsx)(i.h4,{id:"returns-27",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Dimensions"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-76",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1543",children:"sigma/src/sigma.ts:1543"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getedgeatpoint",children:"getEdgeAtPoint"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getEdgeAtPoint"}),"(",(0,n.jsx)(i.code,{children:"x"}),", ",(0,n.jsx)(i.code,{children:"y"}),"): ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.p,{children:"Method looking for an edge colliding with a given point at (x, y). Returns\nthe key of the edge if any, or null else."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"x"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"y"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-28",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-77",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L702",children:"sigma/src/sigma.ts:702"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getedgedisplaydata",children:"getEdgeDisplayData"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getEdgeDisplayData"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.code,{children:"DisplayData"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to get all the sigma edge attributes.\nIt's useful for example to get values that are set by the edgeReducer."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"unknown"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The edge's key."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-29",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.code,{children:"DisplayData"})]}),"\n",(0,n.jsx)(i.p,{children:"A copy of the desired edge's attribute or undefined if not found"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-78",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1581",children:"sigma/src/sigma.ts:1581"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getedgedisplayedlabels",children:"getEdgeDisplayedLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getEdgeDisplayedLabels"}),"(): ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method used to get the set of currently displayed edge labels."}),"\n",(0,n.jsx)(i.h4,{id:"returns-30",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"A set of edge keys whose label is displayed."}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-79",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1600",children:"sigma/src/sigma.ts:1600"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getgraph",children:"getGraph"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getGraph"}),"(): ",(0,n.jsx)(i.code,{children:"AbstractGraph"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the renderer's graph."}),"\n",(0,n.jsx)(i.h4,{id:"returns-31",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"AbstractGraph"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-80",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1490",children:"sigma/src/sigma.ts:1490"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getgraphdimensions",children:"getGraphDimensions"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getGraphDimensions"}),"(): ",(0,n.jsx)(i.code,{children:"Dimensions"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the current graph's dimensions."}),"\n",(0,n.jsx)(i.h4,{id:"returns-32",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Dimensions"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-81",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1552",children:"sigma/src/sigma.ts:1552"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getgraphtoviewportratio",children:"getGraphToViewportRatio"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getGraphToViewportRatio"}),"(): ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the distance multiplier between the graph system and the\nviewport system."}),"\n",(0,n.jsx)(i.h4,{id:"returns-33",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"number"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-82",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1988",children:"sigma/src/sigma.ts:1988"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getmaxlisteners",children:"getMaxListeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getMaxListeners"}),"(): ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-34",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"number"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.getMaxListeners"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-83",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L107",children:"sigma/src/types.ts:107"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getmousecaptor",children:"getMouseCaptor"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getMouseCaptor"}),"(): ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.MouseCaptor",children:(0,n.jsx)(i.code,{children:"MouseCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the mouse captor."}),"\n",(0,n.jsx)(i.h4,{id:"returns-35",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.MouseCaptor",children:(0,n.jsx)(i.code,{children:"MouseCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-84",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1525",children:"sigma/src/sigma.ts:1525"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getnodeatposition",children:"getNodeAtPosition"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getNodeAtPosition"}),"(",(0,n.jsx)(i.code,{children:"position"}),"): ",(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.p,{children:"Method that returns the closest node to a given position."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"position"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-36",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"null"})," | ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-85",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L405",children:"sigma/src/sigma.ts:405"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getnodedisplaydata",children:"getNodeDisplayData"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getNodeDisplayData"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.code,{children:"NodeDisplayData"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to get all the sigma node attributes.\nIt's usefull for example to get the position of a node\nand to get values that are set by the nodeReducer"}),"\n",(0,n.jsx)(i.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"unknown"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The node's key."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-37",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.code,{children:"NodeDisplayData"})]}),"\n",(0,n.jsx)(i.p,{children:"A copy of the desired node's attribute or undefined if not found"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-86",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1569",children:"sigma/src/sigma.ts:1569"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getnodedisplayedlabels",children:"getNodeDisplayedLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getNodeDisplayedLabels"}),"(): ",(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method used to get the set of currently displayed node labels."}),"\n",(0,n.jsx)(i.h4,{id:"returns-38",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"Set"}),"<",(0,n.jsx)(i.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"A set of node keys whose label is displayed."}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-87",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1591",children:"sigma/src/sigma.ts:1591"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getsetting",children:"getSetting"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getSetting"}),"<",(0,n.jsx)(i.code,{children:"K"}),">(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">[",(0,n.jsx)(i.code,{children:"K"}),"]"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the current value for a given setting key."}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-5",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends keyof ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The setting key to get."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-39",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"undefined"})," | ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">[",(0,n.jsx)(i.code,{children:"K"}),"]"]}),"\n",(0,n.jsx)(i.p,{children:"The value attached to this setting key or undefined if not found"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-88",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1619",children:"sigma/src/sigma.ts:1619"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getsettings",children:"getSettings"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getSettings"}),"(): ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning a copy of the settings collection."}),"\n",(0,n.jsx)(i.h4,{id:"returns-40",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"A copy of the settings collection."}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-89",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1609",children:"sigma/src/sigma.ts:1609"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"gettouchcaptor",children:"getTouchCaptor"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getTouchCaptor"}),"(): ",(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:(0,n.jsx)(i.code,{children:"TouchCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the touch captor."}),"\n",(0,n.jsx)(i.h4,{id:"returns-41",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.TouchCaptor",children:(0,n.jsx)(i.code,{children:"TouchCaptor"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-90",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1534",children:"sigma/src/sigma.ts:1534"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"getviewportzoomedstate",children:"getViewportZoomedState"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"getViewportZoomedState"}),"(",(0,n.jsx)(i.code,{children:"viewportTarget"}),", ",(0,n.jsx)(i.code,{children:"newRatio"}),"): ",(0,n.jsx)(i.code,{children:"CameraState"})]}),"\n",(0,n.jsx)(i.p,{children:'Method used to (un)zoom, while preserving the position of a viewport point.\nUsed for instance to zoom "on the mouse cursor".'}),"\n",(0,n.jsx)(i.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"viewportTarget"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"newRatio"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-42",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"CameraState"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-91",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1844",children:"sigma/src/sigma.ts:1844"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"graphtoviewport",children:"graphToViewport"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"graphToViewport"}),"(",(0,n.jsx)(i.code,{children:"graphPoint"}),", ",(0,n.jsx)(i.code,{children:"override?"}),"): ",(0,n.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to translate a point's coordinates from the graph system (the reference system of data as they are in\nthe given graph instance) to the viewport system (pixel distance from the top-left of the stage)."}),"\n",(0,n.jsx)(i.p,{children:"This method accepts an optional camera which can be useful if you need to translate coordinates\nbased on a different view than the one being currently being displayed on screen."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"graphPoint"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"override"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"CoordinateConversionOverride"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-43",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-92",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1980",children:"sigma/src/sigma.ts:1980"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"handlesettingsupdate",children:"handleSettingsUpdate"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"handleSettingsUpdate"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method that backports potential settings updates where it's needed."}),"\n",(0,n.jsx)(i.h4,{id:"returns-44",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-93",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L862",children:"sigma/src/sigma.ts:862"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"kill",children:"kill"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"kill"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to shut the container & release event listeners."}),"\n",(0,n.jsx)(i.h4,{id:"returns-45",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-94",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2034",children:"sigma/src/sigma.ts:2034"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"listenercount",children:"listenerCount"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"listenerCount"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),"): ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-6",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-18",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-46",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"number"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.listenerCount"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-95",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L118",children:"sigma/src/types.ts:118"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"listeners",children:"listeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"listeners"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),"): ",(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"][]"]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-7",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-19",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-47",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"][]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.listeners"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-96",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L117",children:"sigma/src/types.ts:117"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"off",children:"off"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"off"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-8",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-20",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-48",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.off"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-97",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L115",children:"sigma/src/types.ts:115"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"on",children:"on"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"on"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-9",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-21",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-49",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.on"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-98",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L110",children:"sigma/src/types.ts:110"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"once",children:"once"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"once"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-10",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-22",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-50",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.once"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-99",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L111",children:"sigma/src/types.ts:111"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"prependlistener",children:"prependListener"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"prependListener"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-11",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-23",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-51",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.prependListener"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-100",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L112",children:"sigma/src/types.ts:112"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"prependoncelistener",children:"prependOnceListener"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"prependOnceListener"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-12",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-24",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-52",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.prependOnceListener"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-101",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L113",children:"sigma/src/types.ts:113"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"process",children:"process"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"process"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to process the whole graph's data."}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:"extent"}),"\n",(0,n.jsx)(i.li,{children:"normalizationFunction"}),"\n",(0,n.jsx)(i.li,{children:"compute node's coordinate"}),"\n",(0,n.jsx)(i.li,{children:"labelgrid"}),"\n",(0,n.jsx)(i.li,{children:"program data allocation"}),"\n"]}),"\n",(0,n.jsx)(i.h4,{id:"returns-53",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-102",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L726",children:"sigma/src/sigma.ts:726"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"rawlisteners",children:"rawListeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"rawListeners"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),"): ",(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"][]"]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-13",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-25",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-54",children:"Returns"}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"][]"]}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.rawListeners"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-103",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L119",children:"sigma/src/types.ts:119"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"refresh",children:"refresh"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"refresh"}),"(",(0,n.jsx)(i.code,{children:"opts?"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to refresh, i.e. force the renderer to reprocess graph\ndata and render, but keep the state."}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:"if a partialGraph is provided, we only reprocess those nodes & edges."}),"\n",(0,n.jsx)(i.li,{children:"if schedule is TRUE, we schedule a render instead of sync render"}),"\n",(0,n.jsx)(i.li,{children:"if skipIndexation is TRUE, then labelGrid & program indexation are skipped (can be used if you haven't modify x, y, zIndex & size)"}),"\n"]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-26",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Object"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Object"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph.edges?"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"string"}),"[]"]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph.nodes?"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"string"}),"[]"]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.schedule?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.skipIndexation?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-55",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-104",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1753",children:"sigma/src/sigma.ts:1753"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"removealllisteners",children:"removeAllListeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"removeAllListeners"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type?"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-14",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-27",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-56",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.removeAllListeners"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-105",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L116",children:"sigma/src/types.ts:116"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"removeedge",children:"removeEdge"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"removeEdge"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Remove an edge from the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-28",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The edge's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-57",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-106",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1341",children:"sigma/src/sigma.ts:1341"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"removelistener",children:"removeListener"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"removeListener"}),"<",(0,n.jsx)(i.code,{children:"Event"}),">(",(0,n.jsx)(i.code,{children:"type"}),", ",(0,n.jsx)(i.code,{children:"listener"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-15",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(i.code,{children:'"clickStage"'})," | ",(0,n.jsx)(i.code,{children:'"wheelStage"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickStage"'})," | ",(0,n.jsx)(i.code,{children:'"downStage"'})," | ",(0,n.jsx)(i.code,{children:'"upStage"'})," | ",(0,n.jsx)(i.code,{children:'"leaveStage"'})," | ",(0,n.jsx)(i.code,{children:'"enterStage"'})," | ",(0,n.jsx)(i.code,{children:'"clickNode"'})," | ",(0,n.jsx)(i.code,{children:'"wheelNode"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickNode"'})," | ",(0,n.jsx)(i.code,{children:'"downNode"'})," | ",(0,n.jsx)(i.code,{children:'"upNode"'})," | ",(0,n.jsx)(i.code,{children:'"leaveNode"'})," | ",(0,n.jsx)(i.code,{children:'"enterNode"'})," | ",(0,n.jsx)(i.code,{children:'"clickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"wheelEdge"'})," | ",(0,n.jsx)(i.code,{children:'"doubleClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"rightClickEdge"'})," | ",(0,n.jsx)(i.code,{children:'"downEdge"'})," | ",(0,n.jsx)(i.code,{children:'"upEdge"'})," | ",(0,n.jsx)(i.code,{children:'"leaveEdge"'})," | ",(0,n.jsx)(i.code,{children:'"enterEdge"'})," | keyof SigmaAdditionalEvents"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-29",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"type"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Event"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"listener"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"SigmaEvents"}),"[",(0,n.jsx)(i.code,{children:"Event"}),"]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-58",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.removeListener"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-107",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L114",children:"sigma/src/types.ts:114"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"removenode",children:"removeNode"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"removeNode"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Remove a node from the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-30",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The node's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-59",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-108",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1284",children:"sigma/src/sigma.ts:1284"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"render",children:"render"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"render"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to render."}),"\n",(0,n.jsx)(i.h4,{id:"returns-60",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-109",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1134",children:"sigma/src/sigma.ts:1134"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"renderedgelabels",children:"renderEdgeLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"renderEdgeLabels"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to render edge labels, based on which node labels were\nrendered."}),"\n",(0,n.jsx)(i.h4,{id:"returns-61",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-110",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L958",children:"sigma/src/sigma.ts:958"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"renderhighlightednodes",children:"renderHighlightedNodes"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"renderHighlightedNodes"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to render the highlighted nodes."}),"\n",(0,n.jsx)(i.h4,{id:"returns-62",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-111",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1029",children:"sigma/src/sigma.ts:1029"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"renderlabels",children:"renderLabels"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"renderLabels"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to render labels."}),"\n",(0,n.jsx)(i.h4,{id:"returns-63",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-112",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L875",children:"sigma/src/sigma.ts:875"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"resetwebgltexture",children:"resetWebGLTexture"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"resetWebGLTexture"}),"(",(0,n.jsx)(i.code,{children:"id"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method (re)binding WebGL texture (for picking)."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-31",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"id"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-64",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-113",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L359",children:"sigma/src/sigma.ts:359"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"resize",children:"resize"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"resize"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to resize the renderer."}),"\n",(0,n.jsx)(i.h4,{id:"returns-65",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-114",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1663",children:"sigma/src/sigma.ts:1663"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"scalesize",children:"scaleSize"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"scaleSize"}),"(",(0,n.jsx)(i.code,{children:"size?"}),", ",(0,n.jsx)(i.code,{children:"cameraRatio?"}),"): ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to scale the given size according to the camera's ratio, i.e.\nzooming state."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-32",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Default value"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"size"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"1"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The size to scale (node size, edge thickness etc.)."})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"cameraRatio"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"undefined"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"A camera ratio (defaults to the actual camera ratio)."})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-66",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"number"})}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:"The scaled size."}),"\n"]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-115",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2111",children:"sigma/src/sigma.ts:2111"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"schedulehighlightednodesrender",children:"scheduleHighlightedNodesRender"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"scheduleHighlightedNodesRender"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to schedule a hover render."}),"\n",(0,n.jsx)(i.h4,{id:"returns-67",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-116",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1116",children:"sigma/src/sigma.ts:1116"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"schedulerefresh",children:"scheduleRefresh"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"scheduleRefresh"}),"(",(0,n.jsx)(i.code,{children:"opts?"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to schedule a refresh (i.e. fully reprocess graph data and render)\nat the next available frame.\nThis method can be safely called on a same frame because it basically\ndebounces refresh to the next frame."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-33",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Object"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.layoutUnchange?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"boolean"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph?"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Object"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph.edges?"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"string"}),"[]"]})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"opts.partialGraph.nodes?"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"string"}),"[]"]})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-68",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-117",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1832",children:"sigma/src/sigma.ts:1832"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"schedulerender",children:"scheduleRender"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"scheduleRender"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to schedule a render at the next available frame.\nThis method can be safely called on a same frame because it basically\ndebounces refresh to the next frame."}),"\n",(0,n.jsx)(i.h4,{id:"returns-69",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-118",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1814",children:"sigma/src/sigma.ts:1814"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setcamera",children:"setCamera"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setCamera"}),"(",(0,n.jsx)(i.code,{children:"camera"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method setting the renderer's camera."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-34",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"camera"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.a,{href:"/docs/typedoc/classes/sigma_src.Camera",children:(0,n.jsx)(i.code,{children:"Camera"})})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"New camera."})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-70",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-119",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1470",children:"sigma/src/sigma.ts:1470"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setcustombbox",children:"setCustomBBox"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setCustomBBox"}),"(",(0,n.jsx)(i.code,{children:"customBBox"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsxs)(i.p,{children:["Method used to override the graph's bounding box with a custom one. Give ",(0,n.jsx)(i.code,{children:"null"})," as the argument to stop overriding."]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-35",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"customBBox"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"null"})," | { ",(0,n.jsx)(i.code,{children:"x"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," ; ",(0,n.jsx)(i.code,{children:"y"}),": ",(0,n.jsx)(i.code,{children:"Extent"})," }"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-71",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-120",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L2023",children:"sigma/src/sigma.ts:2023"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setgraph",children:"setGraph"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setGraph"}),"(",(0,n.jsx)(i.code,{children:"graph"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to set the renderer's graph."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-36",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"graph"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.code,{children:"AbstractGraph"}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-72",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-121",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1499",children:"sigma/src/sigma.ts:1499"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setmaxlisteners",children:"setMaxListeners"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setMaxListeners"}),"(",(0,n.jsx)(i.code,{children:"n"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-37",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"n"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-73",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsx)(i.p,{children:"TypedEventEmitter.setMaxListeners"}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-122",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/types.ts#L106",children:"sigma/src/types.ts:106"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"setsetting",children:"setSetting"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"setSetting"}),"<",(0,n.jsx)(i.code,{children:"K"}),">(",(0,n.jsx)(i.code,{children:"key"}),", ",(0,n.jsx)(i.code,{children:"value"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method setting the value of a given setting key. Note that this will schedule\na new render next frame."}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-16",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends keyof ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-38",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The setting key to set."})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"value"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:[(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">[",(0,n.jsx)(i.code,{children:"K"}),"]"]}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The value to set."})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-74",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-123",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1631",children:"sigma/src/sigma.ts:1631"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"unbindcamerahandlers",children:"unbindCameraHandlers"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"unbindCameraHandlers"}),"(): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method unbinding camera handlers."}),"\n",(0,n.jsx)(i.h4,{id:"returns-75",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-124",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L397",children:"sigma/src/sigma.ts:397"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"unbindgraphhandlers",children:"unbindGraphHandlers"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"unbindGraphHandlers"}),"(): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to unbind handlers from the graph."}),"\n",(0,n.jsx)(i.h4,{id:"returns-76",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-125",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L683",children:"sigma/src/sigma.ts:683"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"updateedge",children:"updateEdge"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"updateEdge"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Update an edge in the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-39",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The edge's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-77",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-126",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1332",children:"sigma/src/sigma.ts:1332"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"updatenode",children:"updateNode"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"updateNode"}),"(",(0,n.jsx)(i.code,{children:"key"}),"): ",(0,n.jsx)(i.code,{children:"void"})]}),"\n",(0,n.jsx)(i.p,{children:"Update a node the internal data structures."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-40",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"string"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The node's graphology ID"})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-78",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"void"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-127",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1271",children:"sigma/src/sigma.ts:1271"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"updatesetting",children:"updateSetting"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"updateSetting"}),"<",(0,n.jsx)(i.code,{children:"K"}),">(",(0,n.jsx)(i.code,{children:"key"}),", ",(0,n.jsx)(i.code,{children:"updater"}),"): ",(0,n.jsx)(i.code,{children:"this"})]}),"\n",(0,n.jsx)(i.p,{children:"Method updating the value of a given setting key using the provided function.\nNote that this will schedule a new render next frame."}),"\n",(0,n.jsx)(i.h4,{id:"type-parameters-17",children:"Type parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(i.tbody,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["extends keyof ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">"]})]})})]}),"\n",(0,n.jsx)(i.h4,{id:"parameters-41",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"key"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"K"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The setting key to set."})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"updater"})}),(0,n.jsxs)(i.td,{style:{textAlign:"left"},children:["(",(0,n.jsx)(i.code,{children:"value"}),": ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">[",(0,n.jsx)(i.code,{children:"K"}),"]) => ",(0,n.jsx)(i.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,n.jsx)(i.code,{children:"Settings"})}),"<",(0,n.jsx)(i.code,{children:"N"}),", ",(0,n.jsx)(i.code,{children:"E"}),", ",(0,n.jsx)(i.code,{children:"G"}),">[",(0,n.jsx)(i.code,{children:"K"}),"]"]}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:"The update function."})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-79",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"this"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-128",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1647",children:"sigma/src/sigma.ts:1647"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"viewrectangle",children:"viewRectangle"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"viewRectangle"}),"(): ",(0,n.jsx)(i.code,{children:"Object"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the abstract rectangle containing the graph according\nto the camera's state."}),"\n",(0,n.jsx)(i.h4,{id:"returns-80",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Object"})}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:"The view's rectangle."}),"\n"]}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"height"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"x1"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"x2"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"y1"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"y2"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-129",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1872",children:"sigma/src/sigma.ts:1872"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"viewporttoframedgraph",children:"viewportToFramedGraph"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"viewportToFramedGraph"}),"(",(0,n.jsx)(i.code,{children:"coordinates"}),", ",(0,n.jsx)(i.code,{children:"override?"}),"): ",(0,n.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,n.jsx)(i.p,{children:"Method returning the coordinates of a point from the viewport system to the framed graph system. It allows\noverriding anything that is used to get the translation matrix, or even the matrix itself."}),"\n",(0,n.jsx)(i.p,{children:"Be careful if overriding dimensions, padding or cameraState, as the computation of the matrix is not the lightest\nof computations."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-42",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"coordinates"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"override"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"CoordinateConversionOverride"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-81",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-130",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1931",children:"sigma/src/sigma.ts:1931"})}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"viewporttograph",children:"viewportToGraph"}),"\n",(0,n.jsxs)(i.p,{children:["\u25b8 ",(0,n.jsx)(i.strong,{children:"viewportToGraph"}),"(",(0,n.jsx)(i.code,{children:"viewportPoint"}),", ",(0,n.jsx)(i.code,{children:"override?"}),"): ",(0,n.jsx)(i.code,{children:"Coordinates"})]}),"\n",(0,n.jsx)(i.p,{children:"Method used to translate a point's coordinates from the viewport system (pixel distance from the top-left of the\nstage) to the graph system (the reference system of data as they are in the given graph instance)."}),"\n",(0,n.jsx)(i.p,{children:"This method accepts an optional camera which can be useful if you need to translate coordinates\nbased on a different view than the one being currently being displayed on screen."}),"\n",(0,n.jsx)(i.h4,{id:"parameters-43",children:"Parameters"}),"\n",(0,n.jsxs)(i.table,{children:[(0,n.jsx)(i.thead,{children:(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(i.tbody,{children:[(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"viewportPoint"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"Coordinates"})})]}),(0,n.jsxs)(i.tr,{children:[(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"override"})}),(0,n.jsx)(i.td,{style:{textAlign:"left"},children:(0,n.jsx)(i.code,{children:"CoordinateConversionOverride"})})]})]})]}),"\n",(0,n.jsx)(i.h4,{id:"returns-82",children:"Returns"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.code,{children:"Coordinates"})}),"\n",(0,n.jsx)(i.h4,{id:"defined-in-131",children:"Defined in"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/sigma.ts#L1966",children:"sigma/src/sigma.ts:1966"})})]})}function x(e={}){const{wrapper:i}={...(0,d.R)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1184:(e,i,s)=>{s.d(i,{R:()=>r,x:()=>t});var n=s(4041);const d={},l=n.createContext(d);function r(e){const i=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function t(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:r(e.components),n.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5ae29fb7.ad9f169b.js b/assets/js/5ae29fb7.ad9f169b.js new file mode 100644 index 000000000..49d419067 --- /dev/null +++ b/assets/js/5ae29fb7.ad9f169b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9304],{9305:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>c,contentTitle:()=>r,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>h});var i=t(1085),n=t(1184);const d={id:"sigma_src_settings",title:"Module: sigma/src/settings",sidebar_label:"sigma/src/settings",sidebar_position:0,custom_edit_url:null},r="Sigma.js Settings",l={id:"typedoc/modules/sigma_src_settings",title:"Module: sigma/src/settings",description:"The list of settings and some handy functions.",source:"@site/docs/typedoc/modules/sigma_src_settings.md",sourceDirName:"typedoc/modules",slug:"/typedoc/modules/sigma_src_settings",permalink:"/docs/typedoc/modules/sigma_src_settings",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"sigma_src_settings",title:"Module: sigma/src/settings",sidebar_label:"sigma/src/settings",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering",permalink:"/docs/typedoc/modules/sigma_src_rendering"},next:{title:"sigma/src/utils",permalink:"/docs/typedoc/modules/sigma_src_utils"}},c={},h=[{value:"Interfaces",id:"interfaces",level:2},{value:"Variables",id:"variables",level:2},{value:"DEFAULT_EDGE_PROGRAM_CLASSES",id:"default_edge_program_classes",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"DEFAULT_NODE_PROGRAM_CLASSES",id:"default_node_program_classes",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"DEFAULT_SETTINGS",id:"default_settings",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"Functions",id:"functions",level:2},{value:"resolveSettings",id:"resolvesettings",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"validateSettings",id:"validatesettings",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-4",level:4}];function a(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"sigmajs-settings",children:"Sigma.js Settings"}),"\n",(0,i.jsx)(s.p,{children:"The list of settings and some handy functions."}),"\n",(0,i.jsx)(s.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:"Settings"})}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"variables",children:"Variables"}),"\n",(0,i.jsx)(s.h3,{id:"default_edge_program_classes",children:"DEFAULT_EDGE_PROGRAM_CLASSES"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"DEFAULT_EDGE_PROGRAM_CLASSES"}),": ",(0,i.jsx)(s.code,{children:"Record"}),"<",(0,i.jsx)(s.code,{children:"string"}),", ",(0,i.jsx)(s.a,{href:"/docs/typedoc/modules/sigma_src_rendering#edgeprogramtype",children:(0,i.jsx)(s.code,{children:"EdgeProgramType"})}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/settings.ts#L139",children:"sigma/src/settings.ts:139"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"default_node_program_classes",children:"DEFAULT_NODE_PROGRAM_CLASSES"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"DEFAULT_NODE_PROGRAM_CLASSES"}),": ",(0,i.jsx)(s.code,{children:"Record"}),"<",(0,i.jsx)(s.code,{children:"string"}),", ",(0,i.jsx)(s.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodeprogramtype",children:(0,i.jsx)(s.code,{children:"NodeProgramType"})}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/settings.ts#L135",children:"sigma/src/settings.ts:135"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"default_settings",children:"DEFAULT_SETTINGS"}),"\n",(0,i.jsxs)(s.p,{children:["\u2022 ",(0,i.jsx)(s.code,{children:"Const"})," ",(0,i.jsx)(s.strong,{children:"DEFAULT_SETTINGS"}),": ",(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,i.jsx)(s.code,{children:"Settings"})}),"<",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),", ",(0,i.jsx)(s.code,{children:"Attributes"}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/settings.ts#L84",children:"sigma/src/settings.ts:84"})}),"\n",(0,i.jsx)(s.h2,{id:"functions",children:"Functions"}),"\n",(0,i.jsx)(s.h3,{id:"resolvesettings",children:"resolveSettings"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"resolveSettings"}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">(",(0,i.jsx)(s.code,{children:"settings"}),"): ",(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,i.jsx)(s.code,{children:"Settings"})}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"N"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"E"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"G"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"settings"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.code,{children:"Partial"}),"<",(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,i.jsx)(s.code,{children:"Settings"})}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">>"]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,i.jsx)(s.code,{children:"Settings"})}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/settings.ts#L161",children:"sigma/src/settings.ts:161"})}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"validatesettings",children:"validateSettings"}),"\n",(0,i.jsxs)(s.p,{children:["\u25b8 ",(0,i.jsx)(s.strong,{children:"validateSettings"}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">(",(0,i.jsx)(s.code,{children:"settings"}),"): ",(0,i.jsx)(s.code,{children:"void"})]}),"\n",(0,i.jsx)(s.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"N"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"E"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"G"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:["extends ",(0,i.jsx)(s.code,{children:"Attributes"})," = ",(0,i.jsx)(s.code,{children:"Attributes"})]})]})]})]}),"\n",(0,i.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(s.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(s.tbody,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{style:{textAlign:"left"},children:(0,i.jsx)(s.code,{children:"settings"})}),(0,i.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,i.jsx)(s.a,{href:"/docs/typedoc/interfaces/sigma_src_settings.Settings",children:(0,i.jsx)(s.code,{children:"Settings"})}),"<",(0,i.jsx)(s.code,{children:"N"}),", ",(0,i.jsx)(s.code,{children:"E"}),", ",(0,i.jsx)(s.code,{children:"G"}),">"]})]})})]}),"\n",(0,i.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.code,{children:"void"})}),"\n",(0,i.jsx)(s.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/settings.ts#L144",children:"sigma/src/settings.ts:144"})})]})}function o(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1184:(e,s,t)=>{t.d(s,{R:()=>r,x:()=>l});var i=t(4041);const n={},d=i.createContext(n);function r(e){const s=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),i.createElement(d.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.7f4e87bb.js b/assets/js/5e95c892.7f4e87bb.js new file mode 100644 index 000000000..98b69e711 --- /dev/null +++ b/assets/js/5e95c892.7f4e87bb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9647],{3531:(e,s,r)=>{r.r(s),r.d(s,{default:()=>l});r(4041);var a=r(4357),t=r(145),u=r(7473),c=r(8150),i=r(1794),n=r(1085);function l(e){return(0,n.jsx)(t.e3,{className:(0,a.A)(u.G.wrapper.docsPages),children:(0,n.jsx)(i.A,{children:(0,c.v)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/60475d3b.a18061f2.js b/assets/js/60475d3b.a18061f2.js new file mode 100644 index 000000000..c52fa5be3 --- /dev/null +++ b/assets/js/60475d3b.a18061f2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[582],{1960:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>o,frontMatter:()=>n,metadata:()=>l,toc:()=>a});var d=s(1085),t=s(1184);const n={id:"sigma_src_rendering.AbstractEdgeProgram",title:"Class: AbstractEdgeProgram<N, E, G>",sidebar_label:"sigma/src/rendering.AbstractEdgeProgram",custom_edit_url:null},i=void 0,l={id:"typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",title:"Class: AbstractEdgeProgram<N, E, G>",description:"sigma/src/rendering.AbstractEdgeProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.AbstractEdgeProgram",title:"Class: AbstractEdgeProgram<N, E, G>",sidebar_label:"sigma/src/rendering.AbstractEdgeProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src.TouchCaptor",permalink:"/docs/typedoc/classes/sigma_src.TouchCaptor"},next:{title:"sigma/src/rendering.AbstractNodeProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram"}},c={},a=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"drawLabel",id:"drawlabel",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"Methods",id:"methods",level:2},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-5",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".AbstractEdgeProgram"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"implemented-by",children:"Implemented by"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsx)(r.li,{children:(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})})}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"new AbstractEdgeProgram"}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">(",(0,d.jsx)(r.code,{children:"_gl"}),", ",(0,d.jsx)(r.code,{children:"_pickGl"}),", ",(0,d.jsx)(r.code,{children:"_renderer"}),"): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"_gl"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"_pickGl"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"_renderer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,d.jsx)(r.code,{children:"Sigma"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram",children:"AbstractProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram#constructor",children:"constructor"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L75",children:"sigma/src/rendering/program.ts:75"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Abstract"})," ",(0,d.jsx)(r.strong,{children:"drawLabel"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#edgelabeldrawingfunction",children:(0,d.jsx)(r.code,{children:"EdgeLabelDrawingFunction"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L20",children:"sigma/src/rendering/edge.ts:20"})}),"\n",(0,d.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,d.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram",children:"AbstractProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram#kill",children:"kill"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L78",children:"sigma/src/rendering/program.ts:78"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"process"}),"(",(0,d.jsx)(r.code,{children:"edgeIndex"}),", ",(0,d.jsx)(r.code,{children:"offset"}),", ",(0,d.jsx)(r.code,{children:"sourceData"}),", ",(0,d.jsx)(r.code,{children:"targetData"}),", ",(0,d.jsx)(r.code,{children:"data"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"edgeIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"offset"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"sourceData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"targetData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"data"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"DisplayData"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L22",children:"sigma/src/rendering/edge.ts:22"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"capacity"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram",children:"AbstractProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram#reallocate",children:"reallocate"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L76",children:"sigma/src/rendering/program.ts:76"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram",children:"AbstractProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.AbstractProgram#render",children:"render"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L77",children:"sigma/src/rendering/program.ts:77"})})]})}function o(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>i,x:()=>l});var d=s(4041);const t={},n=d.createContext(t);function i(e){const r=d.useContext(n);return d.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),d.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6b99460c.8c871f39.js b/assets/js/6b99460c.8c871f39.js new file mode 100644 index 000000000..1097e33ee --- /dev/null +++ b/assets/js/6b99460c.8c871f39.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9048],{8670:(e,r,d)=>{d.r(r),d.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>o,frontMatter:()=>i,metadata:()=>c,toc:()=>h});var n=d(1085),s=d(1184);const i={id:"sigma_src_rendering.EdgeTriangleProgram",title:"Class: EdgeTriangleProgram<N, E, G>",sidebar_label:"sigma/src/rendering.EdgeTriangleProgram",custom_edit_url:null},l=void 0,c={id:"typedoc/classes/sigma_src_rendering.EdgeTriangleProgram",title:"Class: EdgeTriangleProgram<N, E, G>",description:"sigma/src/rendering.EdgeTriangleProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.EdgeTriangleProgram",title:"Class: EdgeTriangleProgram<N, E, G>",sidebar_label:"sigma/src/rendering.EdgeTriangleProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.EdgeRectangleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram"},next:{title:"sigma/src/rendering.NodeCircleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram"}},t={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"Methods",id:"methods",level:2},{value:"bindAttribute",id:"bindattribute",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"bindProgram",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"drawWebGL",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"getDefinition",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"getProgramInfo",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"hasNothingToRender",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"processVisibleItem",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"renderProgram",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"setUniforms",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"unbindAttribute",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"unbindProgram",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-34",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".EdgeTriangleProgram"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"N"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"E"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"G"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:(0,n.jsx)(r.code,{children:"EdgeProgram"})}),"<typeof ",(0,n.jsx)(r.code,{children:"UNIFORMS"}),"[",(0,n.jsx)(r.code,{children:"number"}),"], ",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"EdgeTriangleProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new EdgeTriangleProgram"}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">(",(0,n.jsx)(r.code,{children:"gl"}),", ",(0,n.jsx)(r.code,{children:"pickingBuffer"}),", ",(0,n.jsx)(r.code,{children:"renderer"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram",children:(0,n.jsx)(r.code,{children:"EdgeTriangleProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"N"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"E"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"G"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"gl"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"pickingBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"renderer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(r.code,{children:"Sigma"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram",children:(0,n.jsx)(r.code,{children:"EdgeTriangleProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L114",children:"sigma/src/rendering/program.ts:114"})}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#attributes",children:"ATTRIBUTES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L93",children:"sigma/src/rendering/program.ts:93"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L98",children:"sigma/src/rendering/program.ts:98"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#constant_attributes",children:"CONSTANT_ATTRIBUTES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L95",children:"sigma/src/rendering/program.ts:95"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,n.jsx)(r.code,{children:"number"}),"[][]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#constant_data",children:"CONSTANT_DATA"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L96",children:"sigma/src/rendering/program.ts:96"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L91",children:"sigma/src/rendering/program.ts:91"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"METHOD"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#method",children:"METHOD"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L94",children:"sigma/src/rendering/program.ts:94"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"STRIDE"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#stride",children:"STRIDE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L99",children:"sigma/src/rendering/program.ts:99"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"UNIFORMS"}),": readonly (",(0,n.jsx)(r.code,{children:'"u_sizeRatio"'})," | ",(0,n.jsx)(r.code,{children:'"u_correctionRatio"'})," | ",(0,n.jsx)(r.code,{children:'"u_matrix"'}),")[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#uniforms",children:"UNIFORMS"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L92",children:"sigma/src/rendering/program.ts:92"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#vertex_shader_source",children:"VERTEX_SHADER_SOURCE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L90",children:"sigma/src/rendering/program.ts:90"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"VERTICES"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#vertices",children:"VERTICES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L89",children:"sigma/src/rendering/program.ts:89"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"array"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#array",children:"array"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L102",children:"sigma/src/rendering/program.ts:102"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"capacity"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#capacity",children:"capacity"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L104",children:"sigma/src/rendering/program.ts:104"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"constantArray"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#constantarray",children:"constantArray"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L103",children:"sigma/src/rendering/program.ts:103"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"drawLabel"}),": ",(0,n.jsx)(r.code,{children:"undefined"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#edgelabeldrawingfunction",children:(0,n.jsx)(r.code,{children:"EdgeLabelDrawingFunction"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),"> = ",(0,n.jsx)(r.code,{children:"undefined"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#drawlabel",children:"drawLabel"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L40",children:"sigma/src/rendering/edge.ts:40"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"isInstanced"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#isinstanced",children:"isInstanced"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L110",children:"sigma/src/rendering/program.ts:110"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"normalProgram"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#normalprogram",children:"normalProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L107",children:"sigma/src/rendering/program.ts:107"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"pickProgram"}),": ",(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#pickprogram",children:"pickProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L108",children:"sigma/src/rendering/program.ts:108"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"renderer"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(r.code,{children:"Sigma"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#renderer",children:"renderer"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L101",children:"sigma/src/rendering/program.ts:101"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"verticesCount"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#verticescount",children:"verticesCount"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L105",children:"sigma/src/rendering/program.ts:105"})}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"bindattribute",children:"bindAttribute"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"bindAttribute"}),"(",(0,n.jsx)(r.code,{children:"attr"}),", ",(0,n.jsx)(r.code,{children:"program"}),", ",(0,n.jsx)(r.code,{children:"offset"}),", ",(0,n.jsx)(r.code,{children:"setDivisor?"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"attr"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"offset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"setDivisor?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#bindattribute",children:"bindAttribute"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L268",children:"sigma/src/rendering/program.ts:268"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bindprogram",children:"bindProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"bindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#bindprogram",children:"bindProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L230",children:"sigma/src/rendering/program.ts:230"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,n.jsx)(r.code,{children:"method"}),", ",(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"method"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#drawwebgl",children:"drawWebGL"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L379",children:"sigma/src/rendering/program.ts:379"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getdefinition",children:"getDefinition"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"Object"})}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ATTRIBUTES"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["({ ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_positionStart"; ',(0,n.jsx)(r.code,{children:"normalized?"}),": ",(0,n.jsx)(r.code,{children:"undefined"})," = true; ",(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 2; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5126"})," = FLOAT } | { ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_color"; ',(0,n.jsx)(r.code,{children:"normalized"}),": ",(0,n.jsx)(r.code,{children:"boolean"})," = true; ",(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 4; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5121"})," = UNSIGNED_BYTE })[]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["{ ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_positionCoef"; ',(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 1; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5126"})," = FLOAT }[]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"CONSTANT_DATA"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"number"}),"[][]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"FRAGMENT_SHADER_SOURCE"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"METHOD"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"4"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"UNIFORMS"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["readonly [",(0,n.jsx)(r.code,{children:'"u_matrix"'}),", ",(0,n.jsx)(r.code,{children:'"u_sizeRatio"'}),", ",(0,n.jsx)(r.code,{children:'"u_correctionRatio"'}),"]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"VERTICES"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#getdefinition",children:"getDefinition"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-triangle/index.ts#L26",children:"sigma/src/rendering/programs/edge-triangle/index.ts:26"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getProgramInfo"}),"(",(0,n.jsx)(r.code,{children:"name"}),", ",(0,n.jsx)(r.code,{children:"gl"}),", ",(0,n.jsx)(r.code,{children:"vertexShaderSource"}),", ",(0,n.jsx)(r.code,{children:"fragmentShaderSource"}),", ",(0,n.jsx)(r.code,{children:"frameBuffer"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"name"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"pick"'})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"gl"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"vertexShaderSource"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"fragmentShaderSource"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"frameBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#getprograminfo",children:"getProgramInfo"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L176",children:"sigma/src/rendering/program.ts:176"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"boolean"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#hasnothingtorender",children:"hasNothingToRender"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L336",children:"sigma/src/rendering/program.ts:336"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"kill"}),"(): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#kill",children:"kill"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L42",children:"sigma/src/rendering/edge.ts:42"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"process"}),"(",(0,n.jsx)(r.code,{children:"edgeIndex"}),", ",(0,n.jsx)(r.code,{children:"offset"}),", ",(0,n.jsx)(r.code,{children:"sourceData"}),", ",(0,n.jsx)(r.code,{children:"targetData"}),", ",(0,n.jsx)(r.code,{children:"data"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"edgeIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"offset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sourceData"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"targetData"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"data"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"DisplayData"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#process",children:"process"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L46",children:"sigma/src/rendering/edge.ts:46"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"processvisibleitem",children:"processVisibleItem"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"processVisibleItem"}),"(",(0,n.jsx)(r.code,{children:"edgeIndex"}),", ",(0,n.jsx)(r.code,{children:"startIndex"}),", ",(0,n.jsx)(r.code,{children:"sourceData"}),", ",(0,n.jsx)(r.code,{children:"targetData"}),", ",(0,n.jsx)(r.code,{children:"data"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"edgeIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"startIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"sourceData"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"targetData"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"data"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"DisplayData"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#processvisibleitem",children:"processVisibleItem"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-triangle/index.ts#L54",children:"sigma/src/rendering/programs/edge-triangle/index.ts:54"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"reallocate"}),"(",(0,n.jsx)(r.code,{children:"capacity"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"capacity"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#reallocate",children:"reallocate"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L321",children:"sigma/src/rendering/program.ts:321"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"render"}),"(",(0,n.jsx)(r.code,{children:"params"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#render",children:"render"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L358",children:"sigma/src/rendering/program.ts:358"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderprogram",children:"renderProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"renderProgram"}),"(",(0,n.jsx)(r.code,{children:"params"}),", ",(0,n.jsx)(r.code,{children:"programInfo"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"programInfo"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#renderprogram",children:"renderProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L342",children:"sigma/src/rendering/program.ts:342"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"setuniforms",children:"setUniforms"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"setUniforms"}),"(",(0,n.jsx)(r.code,{children:"params"}),", ",(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#setuniforms",children:"setUniforms"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-triangle/index.ts#L96",children:"sigma/src/rendering/programs/edge-triangle/index.ts:96"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"unbindAttribute"}),"(",(0,n.jsx)(r.code,{children:"attr"}),", ",(0,n.jsx)(r.code,{children:"program"}),", ",(0,n.jsx)(r.code,{children:"unsetDivisor?"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"attr"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unsetDivisor?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#unbindattribute",children:"unbindAttribute"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L303",children:"sigma/src/rendering/program.ts:303"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram",children:"EdgeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeProgram#unbindprogram",children:"unbindProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L259",children:"sigma/src/rendering/program.ts:259"})})]})}function o(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1184:(e,r,d)=>{d.d(r,{R:()=>l,x:()=>c});var n=d(4041);const s={},i=n.createContext(s);function l(e){const r=n.useContext(i);return n.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:l(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6c01775d.4a8ad210.js b/assets/js/6c01775d.4a8ad210.js new file mode 100644 index 000000000..dbed0736d --- /dev/null +++ b/assets/js/6c01775d.4a8ad210.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3370],{38:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>o,frontMatter:()=>i,metadata:()=>c,toc:()=>a});var d=n(1085),s=n(1184);const i={id:"sigma_src_rendering.EdgeClampedProgram",title:"Class: EdgeClampedProgram<N, E, G>",sidebar_label:"sigma/src/rendering.EdgeClampedProgram",custom_edit_url:null},l=void 0,c={id:"typedoc/classes/sigma_src_rendering.EdgeClampedProgram",title:"Class: EdgeClampedProgram<N, E, G>",description:"sigma/src/rendering.EdgeClampedProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.EdgeClampedProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.EdgeClampedProgram",title:"Class: EdgeClampedProgram<N, E, G>",sidebar_label:"sigma/src/rendering.EdgeClampedProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.EdgeArrowHeadProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeArrowHeadProgram"},next:{title:"sigma/src/rendering.EdgeLineProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeLineProgram"}},t={},a=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"Methods",id:"methods",level:2},{value:"bindAttribute",id:"bindattribute",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"bindProgram",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"drawWebGL",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"getDefinition",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"getProgramInfo",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"hasNothingToRender",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"processVisibleItem",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"renderProgram",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"setUniforms",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"unbindAttribute",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"unbindProgram",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-34",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".EdgeClampedProgram"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:(0,d.jsx)(r.code,{children:"EdgeRectangleProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"EdgeClampedProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"new EdgeClampedProgram"}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">(",(0,d.jsx)(r.code,{children:"gl"}),", ",(0,d.jsx)(r.code,{children:"pickingBuffer"}),", ",(0,d.jsx)(r.code,{children:"renderer"}),"): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram",children:(0,d.jsx)(r.code,{children:"EdgeClampedProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"N"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"E"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"G"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"gl"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"pickingBuffer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"renderer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,d.jsx)(r.code,{children:"Sigma"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram",children:(0,d.jsx)(r.code,{children:"EdgeClampedProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#constructor",children:"constructor"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L114",children:"sigma/src/rendering/program.ts:114"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#attributes",children:"ATTRIBUTES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L93",children:"sigma/src/rendering/program.ts:93"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L98",children:"sigma/src/rendering/program.ts:98"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#constant_attributes",children:"CONSTANT_ATTRIBUTES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L95",children:"sigma/src/rendering/program.ts:95"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,d.jsx)(r.code,{children:"number"}),"[][]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#constant_data",children:"CONSTANT_DATA"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L96",children:"sigma/src/rendering/program.ts:96"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L91",children:"sigma/src/rendering/program.ts:91"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"METHOD"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#method",children:"METHOD"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L94",children:"sigma/src/rendering/program.ts:94"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"STRIDE"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#stride",children:"STRIDE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L99",children:"sigma/src/rendering/program.ts:99"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"UNIFORMS"}),": readonly (",(0,d.jsx)(r.code,{children:'"u_sizeRatio"'})," | ",(0,d.jsx)(r.code,{children:'"u_correctionRatio"'})," | ",(0,d.jsx)(r.code,{children:'"u_matrix"'})," | ",(0,d.jsx)(r.code,{children:'"u_zoomRatio"'}),")[]"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#uniforms",children:"UNIFORMS"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L92",children:"sigma/src/rendering/program.ts:92"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#vertex_shader_source",children:"VERTEX_SHADER_SOURCE"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L90",children:"sigma/src/rendering/program.ts:90"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"VERTICES"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#vertices",children:"VERTICES"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L89",children:"sigma/src/rendering/program.ts:89"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"array"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#array",children:"array"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L102",children:"sigma/src/rendering/program.ts:102"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#capacity",children:"capacity"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L104",children:"sigma/src/rendering/program.ts:104"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"constantArray"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#constantarray",children:"constantArray"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L103",children:"sigma/src/rendering/program.ts:103"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"drawLabel"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#edgelabeldrawingfunction",children:(0,d.jsx)(r.code,{children:"EdgeLabelDrawingFunction"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),"> = ",(0,d.jsx)(r.code,{children:"undefined"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#drawlabel",children:"drawLabel"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L40",children:"sigma/src/rendering/edge.ts:40"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"isInstanced"}),": ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#isinstanced",children:"isInstanced"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L110",children:"sigma/src/rendering/program.ts:110"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"normalProgram"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#normalprogram",children:"normalProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L107",children:"sigma/src/rendering/program.ts:107"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"pickProgram"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#pickprogram",children:"pickProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L108",children:"sigma/src/rendering/program.ts:108"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,d.jsx)(r.code,{children:"Sigma"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#renderer",children:"renderer"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L101",children:"sigma/src/rendering/program.ts:101"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"verticesCount"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#verticescount",children:"verticesCount"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L105",children:"sigma/src/rendering/program.ts:105"})}),"\n",(0,d.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,d.jsx)(r.h3,{id:"bindattribute",children:"bindAttribute"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"bindAttribute"}),"(",(0,d.jsx)(r.code,{children:"attr"}),", ",(0,d.jsx)(r.code,{children:"program"}),", ",(0,d.jsx)(r.code,{children:"offset"}),", ",(0,d.jsx)(r.code,{children:"setDivisor?"}),"): ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"attr"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"offset"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"setDivisor?"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"number"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#bindattribute",children:"bindAttribute"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L268",children:"sigma/src/rendering/program.ts:268"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bindprogram",children:"bindProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"bindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#bindprogram",children:"bindProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L230",children:"sigma/src/rendering/program.ts:230"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,d.jsx)(r.code,{children:"method"}),", ",(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"method"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#drawwebgl",children:"drawWebGL"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L379",children:"sigma/src/rendering/program.ts:379"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getdefinition",children:"getDefinition"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,d.jsx)(r.code,{children:"Object"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"Object"})}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ATTRIBUTES"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["({ ",(0,d.jsx)(r.code,{children:"name"}),": ",(0,d.jsx)(r.code,{children:"string"}),' = "a_positionStart"; ',(0,d.jsx)(r.code,{children:"normalized?"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," = true; ",(0,d.jsx)(r.code,{children:"size"}),": ",(0,d.jsx)(r.code,{children:"number"})," = 2; ",(0,d.jsx)(r.code,{children:"type"}),": ",(0,d.jsx)(r.code,{children:"5126"})," = FLOAT } | { ",(0,d.jsx)(r.code,{children:"name"}),": ",(0,d.jsx)(r.code,{children:"string"}),' = "a_color"; ',(0,d.jsx)(r.code,{children:"normalized"}),": ",(0,d.jsx)(r.code,{children:"boolean"})," = true; ",(0,d.jsx)(r.code,{children:"size"}),": ",(0,d.jsx)(r.code,{children:"number"})," = 4; ",(0,d.jsx)(r.code,{children:"type"}),": ",(0,d.jsx)(r.code,{children:"5121"})," = UNSIGNED_BYTE })[]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["{ ",(0,d.jsx)(r.code,{children:"name"}),": ",(0,d.jsx)(r.code,{children:"string"}),' = "a_positionCoef"; ',(0,d.jsx)(r.code,{children:"size"}),": ",(0,d.jsx)(r.code,{children:"number"})," = 1; ",(0,d.jsx)(r.code,{children:"type"}),": ",(0,d.jsx)(r.code,{children:"5126"})," = FLOAT }[]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"CONSTANT_DATA"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"number"}),"[][]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"FRAGMENT_SHADER_SOURCE"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"METHOD"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"4"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"UNIFORMS"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:["readonly [",(0,d.jsx)(r.code,{children:'"u_matrix"'}),", ",(0,d.jsx)(r.code,{children:'"u_zoomRatio"'}),", ",(0,d.jsx)(r.code,{children:'"u_sizeRatio"'}),", ",(0,d.jsx)(r.code,{children:'"u_correctionRatio"'}),"]"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"VERTICES"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#getdefinition",children:"getDefinition"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-clamped/index.ts#L25",children:"sigma/src/rendering/programs/edge-clamped/index.ts:25"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"getProgramInfo"}),"(",(0,d.jsx)(r.code,{children:"name"}),", ",(0,d.jsx)(r.code,{children:"gl"}),", ",(0,d.jsx)(r.code,{children:"vertexShaderSource"}),", ",(0,d.jsx)(r.code,{children:"fragmentShaderSource"}),", ",(0,d.jsx)(r.code,{children:"frameBuffer"}),"): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"name"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:'"normal"'})," | ",(0,d.jsx)(r.code,{children:'"pick"'})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"gl"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"vertexShaderSource"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"fragmentShaderSource"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"string"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"frameBuffer"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#getprograminfo",children:"getProgramInfo"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L176",children:"sigma/src/rendering/program.ts:176"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"boolean"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#hasnothingtorender",children:"hasNothingToRender"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L336",children:"sigma/src/rendering/program.ts:336"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#kill",children:"kill"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L42",children:"sigma/src/rendering/edge.ts:42"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"process"}),"(",(0,d.jsx)(r.code,{children:"edgeIndex"}),", ",(0,d.jsx)(r.code,{children:"offset"}),", ",(0,d.jsx)(r.code,{children:"sourceData"}),", ",(0,d.jsx)(r.code,{children:"targetData"}),", ",(0,d.jsx)(r.code,{children:"data"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"edgeIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"offset"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"sourceData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"targetData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"data"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"DisplayData"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#process",children:"process"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/edge.ts#L46",children:"sigma/src/rendering/edge.ts:46"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"processvisibleitem",children:"processVisibleItem"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"processVisibleItem"}),"(",(0,d.jsx)(r.code,{children:"edgeIndex"}),", ",(0,d.jsx)(r.code,{children:"startIndex"}),", ",(0,d.jsx)(r.code,{children:"sourceData"}),", ",(0,d.jsx)(r.code,{children:"targetData"}),", ",(0,d.jsx)(r.code,{children:"data"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"edgeIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"startIndex"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"sourceData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"targetData"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"NodeDisplayData"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"data"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"DisplayData"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#processvisibleitem",children:"processVisibleItem"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-clamped/index.ts#L55",children:"sigma/src/rendering/programs/edge-clamped/index.ts:55"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"capacity"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#reallocate",children:"reallocate"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L321",children:"sigma/src/rendering/program.ts:321"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#render",children:"render"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L358",children:"sigma/src/rendering/program.ts:358"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderprogram",children:"renderProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"renderProgram"}),"(",(0,d.jsx)(r.code,{children:"params"}),", ",(0,d.jsx)(r.code,{children:"programInfo"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"programInfo"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#renderprogram",children:"renderProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L342",children:"sigma/src/rendering/program.ts:342"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"setuniforms",children:"setUniforms"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"setUniforms"}),"(",(0,d.jsx)(r.code,{children:"params"}),", ",(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"params"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"RenderParams"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#setuniforms",children:"setUniforms"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/edge-rectangle/index.ts#L108",children:"sigma/src/rendering/programs/edge-rectangle/index.ts:108"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"unbindAttribute"}),"(",(0,d.jsx)(r.code,{children:"attr"}),", ",(0,d.jsx)(r.code,{children:"program"}),", ",(0,d.jsx)(r.code,{children:"unsetDivisor?"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"attr"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"unsetDivisor?"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#unbindattribute",children:"unbindAttribute"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L303",children:"sigma/src/rendering/program.ts:303"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram"}),"\n",(0,d.jsxs)(r.p,{children:["\u25b8 ",(0,d.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsx)(r.tbody,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"program"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,d.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.code,{children:"void"})}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram",children:"EdgeRectangleProgram"}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram#unbindprogram",children:"unbindProgram"})]}),"\n",(0,d.jsx)(r.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L259",children:"sigma/src/rendering/program.ts:259"})})]})}function o(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(h,{...e})}):h(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>l,x:()=>c});var d=n(4041);const s={},i=d.createContext(s);function l(e){const r=d.useContext(i);return d.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:l(e.components),d.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/756a1edc.83083f96.js b/assets/js/756a1edc.83083f96.js new file mode 100644 index 000000000..5c400b805 --- /dev/null +++ b/assets/js/756a1edc.83083f96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[197],{865:(e,r,d)=>{d.r(r),d.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>o,frontMatter:()=>s,metadata:()=>c,toc:()=>h});var n=d(1085),i=d(1184);const s={id:"sigma_src_rendering.NodeCircleProgram",title:"Class: NodeCircleProgram<N, E, G>",sidebar_label:"sigma/src/rendering.NodeCircleProgram",custom_edit_url:null},l=void 0,c={id:"typedoc/classes/sigma_src_rendering.NodeCircleProgram",title:"Class: NodeCircleProgram<N, E, G>",description:"sigma/src/rendering.NodeCircleProgram",source:"@site/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram.md",sourceDirName:"typedoc/classes",slug:"/typedoc/classes/sigma_src_rendering.NodeCircleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"sigma_src_rendering.NodeCircleProgram",title:"Class: NodeCircleProgram<N, E, G>",sidebar_label:"sigma/src/rendering.NodeCircleProgram",custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"sigma/src/rendering.EdgeTriangleProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram"},next:{title:"sigma/src/rendering.NodePointProgram",permalink:"/docs/typedoc/classes/sigma_src_rendering.NodePointProgram"}},t={},h=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"drawHover",id:"drawhover",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"ANGLE_1",id:"angle_1",level:3},{value:"Defined in",id:"defined-in-21",level:4},{value:"ANGLE_2",id:"angle_2",level:3},{value:"Defined in",id:"defined-in-22",level:4},{value:"ANGLE_3",id:"angle_3",level:3},{value:"Defined in",id:"defined-in-23",level:4},{value:"Methods",id:"methods",level:2},{value:"bindAttribute",id:"bindattribute",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"bindProgram",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"drawWebGL",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"getDefinition",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"getProgramInfo",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"hasNothingToRender",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"kill",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"process",id:"process",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"processVisibleItem",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"reallocate",id:"reallocate",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"render",id:"render",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderProgram",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"setUniforms",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Overrides",id:"overrides-2",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"unbindAttribute",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"unbindProgram",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-38",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering",children:"sigma/src/rendering"}),".NodeCircleProgram"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"N"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"E"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"G"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),"<typeof ",(0,n.jsx)(r.code,{children:"UNIFORMS"}),"[",(0,n.jsx)(r.code,{children:"number"}),"], ",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"NodeCircleProgram"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"constructor",children:"constructor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"new NodeCircleProgram"}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">(",(0,n.jsx)(r.code,{children:"gl"}),", ",(0,n.jsx)(r.code,{children:"pickingBuffer"}),", ",(0,n.jsx)(r.code,{children:"renderer"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram",children:(0,n.jsx)(r.code,{children:"NodeCircleProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"type-parameters-1",children:"Type parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"N"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"E"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"G"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["extends ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"gl"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"pickingBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"renderer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(r.code,{children:"Sigma"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram",children:(0,n.jsx)(r.code,{children:"NodeCircleProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constructor",children:"constructor"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L114",children:"sigma/src/rendering/program.ts:114"})}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#attributes",children:"ATTRIBUTES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L93",children:"sigma/src/rendering/program.ts:93"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L98",children:"sigma/src/rendering/program.ts:98"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"}),"[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constant_attributes",children:"CONSTANT_ATTRIBUTES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L95",children:"sigma/src/rendering/program.ts:95"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,n.jsx)(r.code,{children:"number"}),"[][]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constant_data",children:"CONSTANT_DATA"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L96",children:"sigma/src/rendering/program.ts:96"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L91",children:"sigma/src/rendering/program.ts:91"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"METHOD"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#method",children:"METHOD"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L94",children:"sigma/src/rendering/program.ts:94"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"STRIDE"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#stride",children:"STRIDE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L99",children:"sigma/src/rendering/program.ts:99"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"UNIFORMS"}),": readonly (",(0,n.jsx)(r.code,{children:'"u_sizeRatio"'})," | ",(0,n.jsx)(r.code,{children:'"u_correctionRatio"'})," | ",(0,n.jsx)(r.code,{children:'"u_matrix"'}),")[]"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#uniforms",children:"UNIFORMS"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L92",children:"sigma/src/rendering/program.ts:92"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#vertex_shader_source",children:"VERTEX_SHADER_SOURCE"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L90",children:"sigma/src/rendering/program.ts:90"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"VERTICES"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#vertices",children:"VERTICES"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L89",children:"sigma/src/rendering/program.ts:89"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"array"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#array",children:"array"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L102",children:"sigma/src/rendering/program.ts:102"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"capacity"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#capacity",children:"capacity"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L104",children:"sigma/src/rendering/program.ts:104"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"constantArray"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#constantarray",children:"constantArray"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L103",children:"sigma/src/rendering/program.ts:103"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawhover",children:"drawHover"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"drawHover"}),": ",(0,n.jsx)(r.code,{children:"undefined"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodehoverdrawingfunction",children:(0,n.jsx)(r.code,{children:"NodeHoverDrawingFunction"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawhover",children:"drawHover"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L36",children:"sigma/src/rendering/node.ts:36"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"drawLabel"}),": ",(0,n.jsx)(r.code,{children:"undefined"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/modules/sigma_src_rendering#nodelabeldrawingfunction",children:(0,n.jsx)(r.code,{children:"NodeLabelDrawingFunction"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawlabel",children:"drawLabel"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L35",children:"sigma/src/rendering/node.ts:35"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"isInstanced"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#isinstanced",children:"isInstanced"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L110",children:"sigma/src/rendering/program.ts:110"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"normalProgram"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#normalprogram",children:"normalProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L107",children:"sigma/src/rendering/program.ts:107"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"pickProgram"}),": ",(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#pickprogram",children:"pickProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L108",children:"sigma/src/rendering/program.ts:108"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"renderer"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src.Sigma",children:(0,n.jsx)(r.code,{children:"Sigma"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#renderer",children:"renderer"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L101",children:"sigma/src/rendering/program.ts:101"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"verticesCount"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#verticescount",children:"verticesCount"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L105",children:"sigma/src/rendering/program.ts:105"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"angle_1",children:"ANGLE_1"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.code,{children:"Readonly"})," ",(0,n.jsx)(r.strong,{children:"ANGLE_1"}),": ",(0,n.jsx)(r.code,{children:"0"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L29",children:"sigma/src/rendering/programs/node-circle/index.ts:29"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"angle_2",children:"ANGLE_2"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.code,{children:"Readonly"})," ",(0,n.jsx)(r.strong,{children:"ANGLE_2"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L30",children:"sigma/src/rendering/programs/node-circle/index.ts:30"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"angle_3",children:"ANGLE_3"}),"\n",(0,n.jsxs)(r.p,{children:["\u25aa ",(0,n.jsx)(r.code,{children:"Static"})," ",(0,n.jsx)(r.code,{children:"Readonly"})," ",(0,n.jsx)(r.strong,{children:"ANGLE_3"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L31",children:"sigma/src/rendering/programs/node-circle/index.ts:31"})}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"bindattribute",children:"bindAttribute"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"bindAttribute"}),"(",(0,n.jsx)(r.code,{children:"attr"}),", ",(0,n.jsx)(r.code,{children:"program"}),", ",(0,n.jsx)(r.code,{children:"offset"}),", ",(0,n.jsx)(r.code,{children:"setDivisor?"}),"): ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"attr"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"offset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"setDivisor?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"number"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#bindattribute",children:"bindAttribute"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L268",children:"sigma/src/rendering/program.ts:268"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bindprogram",children:"bindProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"bindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#bindprogram",children:"bindProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L230",children:"sigma/src/rendering/program.ts:230"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,n.jsx)(r.code,{children:"method"}),", ",(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"method"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#drawwebgl",children:"drawWebGL"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L379",children:"sigma/src/rendering/program.ts:379"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getdefinition",children:"getDefinition"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"Object"})}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ATTRIBUTES"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["({ ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_position"; ',(0,n.jsx)(r.code,{children:"normalized?"}),": ",(0,n.jsx)(r.code,{children:"undefined"})," = true; ",(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 2; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5126"})," = FLOAT } | { ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_color"; ',(0,n.jsx)(r.code,{children:"normalized"}),": ",(0,n.jsx)(r.code,{children:"boolean"})," = true; ",(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 4; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5121"})," = UNSIGNED_BYTE })[]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["{ ",(0,n.jsx)(r.code,{children:"name"}),": ",(0,n.jsx)(r.code,{children:"string"}),' = "a_angle"; ',(0,n.jsx)(r.code,{children:"size"}),": ",(0,n.jsx)(r.code,{children:"number"})," = 1; ",(0,n.jsx)(r.code,{children:"type"}),": ",(0,n.jsx)(r.code,{children:"5126"})," = FLOAT }[]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"CONSTANT_DATA"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"number"}),"[][]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"FRAGMENT_SHADER_SOURCE"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"METHOD"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"4"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"UNIFORMS"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:["readonly [",(0,n.jsx)(r.code,{children:'"u_sizeRatio"'}),", ",(0,n.jsx)(r.code,{children:'"u_correctionRatio"'}),", ",(0,n.jsx)(r.code,{children:'"u_matrix"'}),"]"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"VERTICES"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#getdefinition",children:"getDefinition"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L33",children:"sigma/src/rendering/programs/node-circle/index.ts:33"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"getProgramInfo"}),"(",(0,n.jsx)(r.code,{children:"name"}),", ",(0,n.jsx)(r.code,{children:"gl"}),", ",(0,n.jsx)(r.code,{children:"vertexShaderSource"}),", ",(0,n.jsx)(r.code,{children:"fragmentShaderSource"}),", ",(0,n.jsx)(r.code,{children:"frameBuffer"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"name"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"pick"'})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"gl"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"vertexShaderSource"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"fragmentShaderSource"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"string"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"frameBuffer"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#getprograminfo",children:"getProgramInfo"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L176",children:"sigma/src/rendering/program.ts:176"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"boolean"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#hasnothingtorender",children:"hasNothingToRender"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L336",children:"sigma/src/rendering/program.ts:336"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"kill",children:"kill"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"kill"}),"(): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#kill",children:"kill"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L38",children:"sigma/src/rendering/node.ts:38"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"process",children:"process"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"process"}),"(",(0,n.jsx)(r.code,{children:"nodeIndex"}),", ",(0,n.jsx)(r.code,{children:"offset"}),", ",(0,n.jsx)(r.code,{children:"data"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"nodeIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"offset"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"data"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#process",children:"process"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/node.ts#L42",children:"sigma/src/rendering/node.ts:42"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"processvisibleitem",children:"processVisibleItem"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"processVisibleItem"}),"(",(0,n.jsx)(r.code,{children:"nodeIndex"}),", ",(0,n.jsx)(r.code,{children:"startIndex"}),", ",(0,n.jsx)(r.code,{children:"data"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"nodeIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"startIndex"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"data"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"NodeDisplayData"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-9",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#processvisibleitem",children:"processVisibleItem"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L51",children:"sigma/src/rendering/programs/node-circle/index.ts:51"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"reallocate",children:"reallocate"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"reallocate"}),"(",(0,n.jsx)(r.code,{children:"capacity"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"capacity"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-10",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#reallocate",children:"reallocate"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L321",children:"sigma/src/rendering/program.ts:321"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"render",children:"render"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"render"}),"(",(0,n.jsx)(r.code,{children:"params"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-11",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#render",children:"render"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L358",children:"sigma/src/rendering/program.ts:358"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderprogram",children:"renderProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"renderProgram"}),"(",(0,n.jsx)(r.code,{children:"params"}),", ",(0,n.jsx)(r.code,{children:"programInfo"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"programInfo"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-12",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#renderprogram",children:"renderProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L342",children:"sigma/src/rendering/program.ts:342"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"setuniforms",children:"setUniforms"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"setUniforms"}),"(",(0,n.jsx)(r.code,{children:"params"}),", ",(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"params"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"RenderParams"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"\xabdestructured\xbb"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-13",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#setuniforms",children:"setUniforms"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/programs/node-circle/index.ts#L62",children:"sigma/src/rendering/programs/node-circle/index.ts:62"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"unbindAttribute"}),"(",(0,n.jsx)(r.code,{children:"attr"}),", ",(0,n.jsx)(r.code,{children:"program"}),", ",(0,n.jsx)(r.code,{children:"unsetDivisor?"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"attr"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"unsetDivisor?"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"boolean"})})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-14",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#unbindattribute",children:"unbindAttribute"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L303",children:"sigma/src/rendering/program.ts:303"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram"}),"\n",(0,n.jsxs)(r.p,{children:["\u25b8 ",(0,n.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(r.tbody,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"program"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]})]})})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-15",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram",children:"NodeProgram"}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/classes/sigma_src_rendering.NodeProgram#unbindprogram",children:"unbindProgram"})]}),"\n",(0,n.jsx)(r.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/89a1be9/packages/sigma/src/rendering/program.ts#L259",children:"sigma/src/rendering/program.ts:259"})})]})}function o(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1184:(e,r,d)=>{d.d(r,{R:()=>l,x:()=>c});var n=d(4041);const i={},s=n.createContext(i);function l(e){const r=n.useContext(s);return n.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(i):e.components||i:l(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8070e160.8f9bce17.js b/assets/js/8070e160.8f9bce17.js new file mode 100644 index 000000000..4c864b247 --- /dev/null +++ b/assets/js/8070e160.8f9bce17.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3822],{3675:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var a=s(1085),t=s(1184);const i={title:"Quickstart Guide",sidebar_position:2},r="Quickstart Guide",c={id:"quickstart",title:"Quickstart Guide",description:"Installation",source:"@site/docs/quickstart.md",sourceDirName:".",slug:"/quickstart",permalink:"/docs/quickstart",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/quickstart.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Quickstart Guide",sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction",permalink:"/docs/"},next:{title:"Resources",permalink:"/docs/resources"}},o={},l=[{value:"Installation",id:"installation",level:2},{value:"Using CDN",id:"using-cdn",level:3},{value:"Using Package Managers",id:"using-package-managers",level:3},{value:"Quick Example",id:"quick-example",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h1,{id:"quickstart-guide",children:"Quickstart Guide"}),"\n",(0,a.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,a.jsx)(n.h3,{id:"using-cdn",children:"Using CDN"}),"\n",(0,a.jsx)(n.p,{children:"To quickly integrate sigma.js and graphology into your project, you can use CDN links. Add the following lines to the head section of your HTML:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-html",children:'<script src="https://cdnjs.cloudflare.com/ajax/libs/sigma.js/[VERSION]/sigma.min.js"><\/script>\n<script src="https://cdnjs.cloudflare.com/ajax/libs/graphology/[VERSION]/graphology.umd.min.js"><\/script>\n'})}),"\n",(0,a.jsxs)(n.p,{children:["Replace ",(0,a.jsx)(n.code,{children:"[VERSION]"})," with the desired version number."]}),"\n",(0,a.jsx)(n.h3,{id:"using-package-managers",children:"Using Package Managers"}),"\n",(0,a.jsx)(n.p,{children:"For npm or yarn:"}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"npm"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"npm install sigma graphology\n"})}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"yarn"}),":"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"yarn add sigma graphology\n"})}),"\n",(0,a.jsx)(n.h2,{id:"quick-example",children:"Quick Example"}),"\n",(0,a.jsx)(n.p,{children:"Here's a basic example using CDNs to create a graph with minimal data and render it using sigma.js:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-html",children:'<!doctype html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <title>Quick Sigma.js Example\n + + + + +
+ + diff --git a/docs/advanced/coordinate-systems/index.html b/docs/advanced/coordinate-systems/index.html new file mode 100644 index 000000000..1877edaf9 --- /dev/null +++ b/docs/advanced/coordinate-systems/index.html @@ -0,0 +1,35 @@ + + + + + +Coordinate systems | sigma.js + + + + + +

Coordinate systems

+

The graph space: graph

+

The graph contains nodes having arbitrary (x, y) positions.

+graph-space +

Normalized graph space: framedGraph

+

First we compute the extent (min & max values) for x and y coordinates in graph space.

+graph-space-extent +

Then we normalize this space into a "square" (quotation marks hereafter explained) such that graphspace min becomes 0 and graphspace max 1.

+

But, to complicate this a bit, it is important to understand that the aspect ratio of the original graph space remains inscribed in our normalized "square".

+

This means either x or y dimension (the one having the smallest extent) will not be translated to min = 0 and max = 1 but will instead have something like min > 0 and max {' < '} 1.

+framed-graph-space +

Viewport space: viewport

+

When dealing with 2d canvas (when drawing labels, for instance, or reacting to user mouse events), it can be useful to be able to translate to the viewport coordinates symbolized by a width and a height in pixels.

+

One thing to note is that the y dimension is then flipped, higher values of y meaning lower on the screen.

+

One other thing to note is that sigma will correct for the aspect ratio of your viewport to make sure (also considering an optional padding) your graph will occupy a maximum of available screen space.

+viewport-space +

WebGL vertex shader output space: clipspace

+

In the vertex shader, we translate from frameGraph to clipspace that has dimensions ranging from -1 to 1.

+

Doing so, we apply a correction to make sure the resulting space is a real square with both dimensions ranging from min (-1) to max (1).

+clipspace +

In the fragment shader, the position is then expressed in viewport space.

+

This means doing computation in rendered pixel in the vertex shader is not easy, and transferring values from the vertex shader to the fragment one is not easy either.

+ + \ No newline at end of file diff --git a/docs/advanced/customization/index.html b/docs/advanced/customization/index.html new file mode 100644 index 000000000..98557027e --- /dev/null +++ b/docs/advanced/customization/index.html @@ -0,0 +1,34 @@ + + + + + +Customizing appearance | sigma.js + + + + + +

Customizing graph appearance

+

Sigma.js offers a range of options to tailor the appearance of graphs. Depending on your needs and familiarity with the library, you can choose from simple tweaks to more advanced customizations. Here's a breakdown of the available methods:

+

Sizes and colors

+

A fundamental way to influence the look of your graph is by specifying sizes and colors for nodes and edges. As detailed in the data section of sigma.js documentation, it's essential to provide these attributes for each node and edge.

+

Dynamic appearance with reducers

+

Reducers offer a dynamic approach to adjust the appearance. They are particularly useful when you want to emphasize specific parts of the graph or highlight the neighborhood of a particular node. For hands-on examples of how to employ reducers for dynamic appearance adjustments, refer to the use-reducers and events examples.

+

Labels and hovered nodes

+

Labels play a crucial role in making the graph informative. Sigma.js provides settings to fine-tune label rendering, including:

+
    +
  • labelFont: Adjusts the font used for labels.
  • +
  • labelSize: Modifies the size of the label text.
  • +
  • labelWeight: Sets the weight (or thickness) of the label text.
  • +
  • labelColor: Changes the color of the label text.
  • +
+

Custom canvas rendering

+

Beyond these settings, sigma.js allows for more advanced customization of labels and hovered nodes through canvas context manipulation. By overriding the default methods that handle label and node hovering rendering, you can achieve a unique visual style that deviates from the standard sigma.js appearance. This approach is less complex than working directly with WebGL renderers and offers a way to give your application a distinct feel.

+

For most common cases (ie. straight edges and round nodes), you can directly override the defaultDrawEdgeLabel, defaultDrawNodeLabel and defaultDrawNodeHover settings. When you start having various shapes of nodes and/or edges (square nodes, curved edges...), you need to specify labels and hovered items renderers for each program. Each node program can have optional drawLabel and drawHover static methods, and each edge program can have an optional drawLabel static method.

+

For a practical demonstration of this method, check out the website's demo, specifically the canvas-utils.ts section.

+

Custom renderers

+

For those seeking a deeper level of customization, sigma.js allows the creation of custom renderers. This option is ideal for those who want nodes and edges rendered in non-standard ways, such as nodes with borders or unique shapes.

+

The custom-rendering example provides a detailed guide on how to craft bordered nodes, serving as a starting point for those interested in exploring this advanced customization avenue.

+ + \ No newline at end of file diff --git a/docs/advanced/data/index.html b/docs/advanced/data/index.html new file mode 100644 index 000000000..4a93af1ea --- /dev/null +++ b/docs/advanced/data/index.html @@ -0,0 +1,79 @@ + + + + + +Graph data | sigma.js + + + + + +

Graph data

+

Sigma.js utilizes a specific data model to represent and display graphs. This section provides an overview of the core attributes and functionalities related to nodes and edges in sigma.js.

+

Graph model: Graphology

+

Sigma.js uses graphology as its underlying graph model. Graphology offers a very large standard library of graph algorithms and data structures. It also provides a powerful API for developers to interact with graphs.

+

Node attributes

+

Nodes in sigma.js have several recognized attributes that determine their appearance and behavior:

+
    +
  • +

    x, y: These attributes determine the position of the node on the canvas. They are typically set using layout algorithms but can also be manually specified.

    +
  • +
  • +

    type: This attribute is linked to a renderer. It defines the visual representation of the node, such as 'circle', 'square', etc.

    +
  • +
  • +

    size: Represents the radius of the node. A larger value will render a bigger node.

    +
  • +
  • +

    color: Represents the color of the node, as a string. It handles hexadecimal values ("#e22653" for instance) and CSS named colors ("deeppink" for instance).

    +
  • +
  • +

    label: The text displayed near the node, typically representing its name or identifier.

    +
  • +
+

Additional node attributes

+
    +
  • +

    hidden: A boolean attribute. If set to true, the node will not be displayed.

    +
  • +
  • +

    forceLabel: When set to true, the node's label will always be displayed, regardless of zoom level or other conditions.

    +
  • +
  • +

    zIndex: Determines the display order of nodes. Nodes with higher zIndex values will be drawn on top of nodes with lower zIndex values. Note: The zIndex attribute only works when the setting zIndex is set to true.

    +
  • +
+

Edge attributes

+

Edges have their own set of attributes:

+
    +
  • +

    size: Represents the thickness of the edge. A larger value will render a thicker edge.

    +
  • +
  • +

    color: Represents the color of the node, as a string.

    +
  • +
  • +

    label: The text displayed near the edge, typically representing its weight or type.

    +
  • +
+

Additional edge attributes

+
    +
  • +

    hidden: A boolean attribute. If set to true, the edge will not be displayed.

    +
  • +
  • +

    forceLabel: When set to true, the edge's label will always be displayed, regardless of zoom level or other conditions.

    +
  • +
  • +

    zIndex: Determines the display order of edges. Edges with higher zIndex values will be drawn on top of edges with lower zIndex values. Note: The zIndex attribute only works when the setting zIndex is set to true, and also edges can never be drawn on top of nodes, regardless of their zIndex values.

    +
  • +
+

Dynamic attribute transformation: reducers

+

Sigma.js offers a powerful feature that allows developers to dynamically transform node and edge attributes right before rendering. This is achieved using nodeReducer and edgeReducer.

+

These are functions provided in the settings. They take a node or edge as input and return a new set of attributes for that node or edge. This allows for dynamic visual transformations without modifying the underlying graphology instance.

+

For instance, if developers want to highlight a specific part of the graph, they can use reducers to change the size or color of specific nodes and edges without altering the original graph data.

+
sigma.setSetting("nodeReducer", (node) => {
if (node.id === "specialNode") {
return {
...node,
size: 10,
color: "#ff0000",
};
}
return node;
});
+

In the example above, the nodeReducer checks if a node has an id of 'specialNode'. If it does, it changes its size and color. This transformation will be applied right before rendering, ensuring that the 'specialNode' stands out in the visualization.

+ + \ No newline at end of file diff --git a/docs/advanced/events/index.html b/docs/advanced/events/index.html new file mode 100644 index 000000000..7727ff987 --- /dev/null +++ b/docs/advanced/events/index.html @@ -0,0 +1,72 @@ + + + + + +Events | sigma.js + + + + + +

Events

+

Sigma.js utilizes events as a mechanism to execute specific code in response to various actions or changes within a sigma instance. This event-driven approach allows for interactive and dynamic behaviors in graph visualizations.

+

Event handling API

+

Sigma.js's event handling API is modeled after the events package in Node. However, a distinction is that events in sigma.js, along with their payloads, are typed. This design choice benefits the development experience, especially for TypeScript users, by offering clarity about the event data.

+

Interaction events

+

All interactive events in sigma.js come with a payload that contains an event object. This object includes:

+
    +
  • x and y: Coordinates within the container where the event occurred.
  • +
  • originalEvent: The original MouseEvent or TouchEvent.
  • +
+

Node events

+

Node-specific events are triggered by interactions with graph nodes. The primary node events in sigma.js are:

+
    +
  • enterNode
  • +
  • leaveNode
  • +
  • downNode
  • +
  • clickNode
  • +
  • rightClickNode
  • +
  • doubleClickNode
  • +
  • wheelNode
  • +
+

The payload for these events, in addition to the event object, contains a node string, which is the ID of the associated node.

+

Edge events

+

Edge-specific events are initiated by interactions with graph edges. The primary edge events in sigma.js are:

+
    +
  • enterEdge
  • +
  • leaveEdge
  • +
  • downEdge
  • +
  • clickEdge
  • +
  • rightClickEdge
  • +
  • doubleClickEdge
  • +
  • wheelEdge
  • +
+

For these events, the payload, in addition to the event object, contains an edge string, which is the ID of the related edge. To ensure these events function correctly, the settings enableEdgeClickEvents, enableEdgeWheelEvents, and enableEdgeHoverEvents must be enabled. By default, these settings are set to false.

+

Stage events

+

Stage events are triggered by interactions that occur on the stage, which is the overall container of the graph. The primary stage events in sigma.js are:

+
    +
  • downStage
  • +
  • clickStage
  • +
  • rightClickStage
  • +
  • doubleClickStage
  • +
  • wheelStage
  • +
+

Lifecycle events

+

Sigma.js also emits events at specific lifecycle stages of the sigma instance. These events offer hooks for developers to run code at key moments in the graph's lifecycle. These events are:

+
    +
  • beforeRender: Emitted just before the graph is rendered (precisely at the beginning of the inner method render method).
  • +
  • afterRender: Emitted immediately after the graph has been rendered (precisely at the end of the inner method render method).
  • +
  • resize: Emitted when the sigma instance undergoes resizing.
  • +
  • kill: Emitted when the sigma instance is terminated.
  • +
+

These lifecycle events do not come with any payload.

+

Custom events

+

Leveraging the EventEmitter nature of the sigma instance, developers can emit and listen to custom events. This capability allows for tailored interactions and behaviors beyond the built-in events.

+

In JavaScript:

+
sigma.on("myCustomEvent", ({ data }) => console.log("data", data));
sigma.emit("myCustomEvent", { data: "something something" });
+

In TypeScript:

+
import EventEmitter from "events";

// Because of the typed events, sigma must be cast to a simple EventEmitter to emit custom events:
(sigma as EventEmitter).on("myCustomEvent", ({ data }) => console.log("data", data));
(sigma as EventEmitter).emit("myCustomEvent", { data: "something something" });
+

By using custom events, developers can further enhance the interactivity and responsiveness of their graph visualizations.

+ + \ No newline at end of file diff --git a/docs/advanced/lifecycle/index.html b/docs/advanced/lifecycle/index.html new file mode 100644 index 000000000..fa5fe0ac0 --- /dev/null +++ b/docs/advanced/lifecycle/index.html @@ -0,0 +1,54 @@ + + + + + +Lifecycle | sigma.js + + + + + +

Sigma.js lifecycle

+

This page outlines the lifecycle and rendering processes of a sigma instance. It details the steps from instantiation to termination and explains the mechanics behind data visualization in sigma.js.

+

Core lifecycle of a sigma instance

+

Instantiation

+

A sigma instance is initialized with the following components:

+
    +
  • Graphology Instance: This is essential for sigma to function. It provides the graph data structure that sigma visualizes.
  • +
  • DOM Element: This element acts as the container for the graph visualization and remains consistent throughout the sigma instance's lifetime.
  • +
  • Settings (Optional): Initial settings can be provided during instantiation to configure sigma's behavior.
  • +
+

The graph provided during instantiation can be updated later using the setGraph method.

+

Settings management

+

Settings play a pivotal role in determining sigma's behavior. They can be:

+
    +
  • Provided during instantiation: Initial settings can be passed to the constructor.
  • +
  • Updated later: The setSetting and updateSetting methods allow for modifications to the settings after instantiation.
  • +
+

Termination

+

To gracefully terminate a sigma instance, the kill method should be invoked. This method ensures that all bindings and resources are released, allowing for efficient garbage collection and cleanup of the internal components.

+

Rendering in sigma

+

Rendering in sigma involves two primary steps: processing the data and then visualizing it.

+

Two-step rendering mechanism

+
    +
  1. Processing: Before rendering, sigma must process the data. This involves tasks like reindexing the internal quadtree, invoking the nodeReducer and edgeReducer settings, and indexing data for the WebGL renderers.
  2. +
  3. Rendering: After processing, sigma visualizes the graph by generating each layer in the canvas element.
  4. +
+

Automatic rendering triggers

+

Sigma automatically invokes the processing and rendering methods in specific scenarios:

+
    +
  • Graphology Events: When the Graphology instance emits events related to data updates, sigma takes care of the necessary rendering. Developers don't need to manage this.
  • +
  • Settings Updates: Any modification to the settings triggers a re-render.
  • +
  • User Interactions: Interactions via mouse or touch devices lead to camera updates and subsequent rendering.
  • +
+

Manual rendering triggers

+

In certain situations, developers might need to manually initiate the processing and rendering steps. For instance, if an external factor alters a state utilized by the nodeReducer or edgeReducer, both processing and rendering must be executed to achieve the correct visualization. Sigma provides three methods for this:

+
    +
  • Sigma#refresh: This method processes the data and then renders it.
  • +
  • Sigma#scheduleRefresh: Schedules a refresh for the next frame using requestAnimationFrame. If a refresh is already scheduled, it avoids redundancy by not scheduling another. This method is useful for debouncing, as refresh can sometimes be resource-intensive.
  • +
  • Sigma#scheduleRender: Schedules a render for the next frame, but only if neither a render nor a refresh is already scheduled.
  • +
+

Note: The render method is private. Developers should always use scheduleRender when a re-render is required.

+ + \ No newline at end of file diff --git a/docs/advanced/migration-v2-v3/index.html b/docs/advanced/migration-v2-v3/index.html new file mode 100644 index 000000000..9ea0d3aeb --- /dev/null +++ b/docs/advanced/migration-v2-v3/index.html @@ -0,0 +1,96 @@ + + + + + +Migrating from v2 to v3 | sigma.js + + + + + +

Migrating from v2 to v3

This guide will help users migrating their applications from sigma v2.* to v3.*.

+

Exports endpoints

+

Sigma v3 is built using Preconstruct, and there are only 5 endpoints now:

+
    +
  • "sigma" exports the main Sigma class, and the other utility classes Camera, MouseCaptor and TouchCaptor;
  • +
  • "sigma/rendering" exports everything rendering related, from the programs to the related classes and types;
  • +
  • "sigma/settings" exports the Settings interface, the DEFAULT_SETTINGS collection and the validateSettings and resolveSettings utility functions;
  • +
  • "sigma/types" exports all remaining sigma specific types (for TypeScript only);
  • +
  • "sigma/utils" exports all kind of various utility functions.
  • +
+

Also, the node.image program is no more exported from sigma, but must be imported from another dedicated package: @sigma/node-image.

+

Programs

+

Sigma v3 has been developed to handle various limitations of sigma v2's nodes and edges programs. Basically:

+
    +
  • Programs were very hard to maintain and to develop, with a lot of boilerplate
  • +
  • There were various optimizations we wanted to implement, such as picking and instanced rendering, that would require breaking changes, at the time
  • +
  • Coordinate systems translations where messy and poorly documented, and becoming harder and harder to maintain
  • +
+

So, we refined it completely from scratch, to handle all those issues.

+

Existing programs

+

Breaking everything in the programs was the opportunity to rename existing program, to better fit what they do:

+
    +
  • edge-fast becomes edge.line (since it uses the WebGLRenderingContext.LINES drawing method)
  • +
  • edge becomes edge.rectangle (as edges are rendered as rectangles, using two WebGLRenderingContext.TRIANGLES)
  • +
  • node-fast becomes node.point (since it uses WebGLRenderingContext.POINTS)
  • +
  • node becomes node.circle (as nodes are rendered as circles, carved inside WebGLRenderingContext.TRIANGLES)
  • +
  • node-image becomes @sigma/node-image, a new satellite package
  • +
+

New API

+

A node program must extend the NodeProgram classe, and an edge program must extend the EdgeProgram classe. Those two classes are designed so that only specific code remains in the programs, without all the boilerplate.

+

The best to do to understand how to write programs for sigma v3 is to read the existing programs. The simplest ones are edge.line and node.point.

+

Some insights, though:

+
    +
  • To help with TypeScript inference, uniforms are generally defined outside the program, and given as generics;
  • +
  • Every programs now have a getDefinition method, that returns various data that help sigma properly initializing the related WebGL program;
  • +
  • Programs also must have a processVisibleItem, that feeds the Float32Array with the data related to a given item;
  • +
  • Finally, programs also provide a setUniforms method, that sets the proper uniform values.
  • +
+

Picking

+

In sigma v3, the collision detection is no more handle with CPU-based computation. The two main issues were:

+
    +
  • The quad-tree index for nodes was hard to maintain, and only handled disc nodes;
  • +
  • The ad-hoc code that handled edges collisions was slow, and only handled linear edges.
  • +
+

The picking work as following:

+
    +
  • In addition to the visible layers, two more layers are rendered, where each node and edge is drawn with a unique color, that represents its ID;
  • +
  • To know what is at a given pixel, we look at the related picking layer, and if it is a colored pixel, then we instantly know what item it belongs to.
  • +
+

There are two main costs, though:

+
    +
  • Everything is rendered twice;
  • +
  • Every program must handle rendering for both modes ("normal" and "picking").
  • +
+

To handle picking within a program, here are the things that must be taken into account:

+
    +
  1. In addition to the color, the ID must also be stored into the data transferred to the CPU. The processVisibleItem receives the ID, properly encoded as a 4 bytes value (as the color), as its first argument.
  2. +
  3. In the vertex shader, the color given to the fragment shader must be the item color for the normal layer, and the ID for the picking layer. This is done using the PICKING_MODE macro defined constant:
  4. +
+
#ifdef PICKING_MODE
// For picking mode, we use the ID as the color:
v_color = a_id;
#else
// For normal mode, we use the color:
v_color = a_color;
#endif
+
    +
  1. In the fragment shader, in the picking layer, pixels should either remain uncolored or colored with the given color. There should be no antialiasing. Indeed, if the color is changed, it might become the ID of another item.
  2. +
+

Instanced rendering

+

In sigma v2, there were a lot of repeated data transmitted to the GPU. For instance, to render an edge as a rectangle, all the required data were written four times. To fixe this issue, sigma v3 uses instanced rendering. Basically, there are now two different buffers: one that carries data related to each item (node or edge), and another that carries data related to each vertex. Then, the program will handle those buffers to send to the vertex shader both the item related data and the vertex related data.

+

All programs do not use instanced rendering. For instance, node.point does need it, since there is only one vertex per node. Basically, every program that use the WebGLRenderingContext.TRIANGLES method should probably use instanced rendering.

+

So, to use instanced rendering, the getDefinition method of a program must provide a CONSTANT_ATTRIBUTES array, shaped as the ATTRIBUTES array, but with attributes that are related to each vertex, and a CONSTANT_DATA that stores an array of data for each vertex. The simplest program that uses instanced rendering might be node.circle. It is certainly a good program to read to better understand how to write a program using instanced rendering.

+

Canvas labels and hovered nodes rendering

+

Finally, the way sigma handles canvas renderers for nodes and edges labels and hovered nodes have been updated:

+
    +
  • Each program class can provide its own canvas renderers (an optional drawLabel method, and an additional optional drawHover only for node renderers). This allows programs that render different shapes to have custom labels rendering (such as @sigma/edge-curve for instance).
  • +
  • Programs that do not provide their own drawLabel or drawHover methods rely on the defaultDrawEdgeLabel, defaultDrawNodeLabel and defaultDrawNodeHover settings. This allows overriding canvas renderers for all "classic" programs (ie. circle nodes and straight edges) all at once.
  • +
+

Other breaking changes

+

TypeScript generics

+

In sigma v3, the Sigma class accepts the same generics as its carried Graph instance. This helps to have reducers or other helpers written with the proper node and/or edge attributes.

+

Settings

+

Some settings have been updated:

+
    +
  • enableEdgeClickEvents, enableEdgeWheelEvents and enableEdgeHoverEvents disappear and are all replaced by the single enableEdgeEvents setting;
  • +
  • labelRenderer, hoverRenderer and edgeLabelRenderer disappear and are respectively replaced by defaultDrawNodeLabel, defaultDrawNodeHover and defaultDrawEdgeLabel;
  • +
  • zoomToSizeRatioFunction and itemSizesReference are added to handle cases where nodes grow linearly with the zoom and all items sizes and positions are in the same coordinates system.
  • +
+ + \ No newline at end of file diff --git a/docs/advanced/publish/index.html b/docs/advanced/publish/index.html new file mode 100644 index 000000000..3106b1ddc --- /dev/null +++ b/docs/advanced/publish/index.html @@ -0,0 +1,21 @@ + + + + + +Publishing new versions | sigma.js + + + + + +

Publishing new versions

As the code is structured as a monorepo, we use Lerna to help version and publish the different packages handled in the repository.

+

To check packages that require a new version, you can run:

+
lerna version
+

This will ask you, for each package that has been edited since its last release, to specify a new version. Once it's done, a new commit has been added locally, with new tags, matching each package new version. It does not push by default.

+

To publish these new versions on NPM, you can run:

+
lerna publish from-package
+

Once you validate the new versions to publish, it will publish each of these versions to NPM.

+

If you name your remote differently than origin, you need to add the option --git-remote=<REMOTE_NAME> to both commands;

+ + \ No newline at end of file diff --git a/docs/advanced/renderers/index.html b/docs/advanced/renderers/index.html new file mode 100644 index 000000000..8ecaeeb69 --- /dev/null +++ b/docs/advanced/renderers/index.html @@ -0,0 +1,82 @@ + + + + + +Renderers | sigma.js + + + + + +

Renderers in Sigma.js

+

Introduction

+

Sigma.js utilizes WebGL to render nodes and edges. WebGL is a JavaScript API designed for rendering 2D and 3D graphics in web browsers without requiring plugins. While WebGL offers detailed control over graphics rendering, its direct use can be complex because of its low-level specifications.

+

Brief overview of WebGL

+

At its core, WebGL operates using two main components: vertex shaders and fragment shaders.

+
    +
  • +

    Vertex Shaders: These are responsible for processing each vertex and determining its position on the screen. They take in attributes of the vertices and output a position.

    +
  • +
  • +

    Fragment Shaders: Once the position of vertices is known, fragment shaders determine the color of each pixel in the area bounded by those vertices. They take the output from the vertex shader and produce the final color.

    +
  • +
+

Given the austere nature of WebGL, sigma.js introduces the NodeProgram and EdgeProgram classes. These classes are designed to manage the data bindings and lifecycle, simplifying the process for developers.

+

NodeProgram and EdgeProgram

+

When you're looking to create a custom NodeProgram, there are specific components you need to provide:

+
    +
  • +

    Vertex and Fragment Shaders: These are essential for processing the graphical data. You'll need to provide both to define how your nodes or edges will be rendered.

    +
  • +
  • +

    Program definition: The program definition describes how much vertices make each item (node or edge), which attributes (relative to each vertice) and uniforms (constant for all vertices and items) should be given to the shaders.

    +
  • +
  • +

    The program class: A class that puts everything together, and adds:

    +
      +
    • A getDefinition method that returns the program definition.
    • +
    • A processVisibleItem(offset: number, data: NodeDisplayData) method that populates this.array with the appropriate values.
    • +
    • A draw(params: RenderParams) method that manages setting the correct uniform values and the final call to gl.drawArrays.
    • +
    +
  • +
+

Additionally, sigma.js offers helpers to compose programs, making it easier to combine different functionalities.

+

Picking

+

To detect collision between a given point (the mouse position, or where a touch event occurred for instance) and nodes and edges, we use a technic called picking.

+

Basically, we draw two images: One that the users see, with proper nodes and edges colors, antialiasing etc... And another one, where each item is drawn with a unique color. To know which item is at a given position, we look at the color of the corresponding pixel in the "picking image", and if it has a color, we get which item has this unique color.

+

Each program must provide code to render on both the normal image and the picking image. For this, we use a "preprocessor" called PICKING_MODE. When the program is used to generate the normal image, PICKING_MODE is false, while it's true for picking. Please read the existing programs to have a better idea on how to use that.

+

Core programs

+

Sigma.js comes with a set of predefined programs:

+

For edges

+
    +
  • +

    edge.line: This is the most efficient method, rendering edges using the gl.LINES method. However, it always draws edges as 1px thick lines, regardless of zoom levels.

    +
  • +
  • +

    edge.rectangle: This is the default edge renderer. It portrays edges as thick rectangles connecting node pairs, with each rectangle being represented by two triangles.

    +
  • +
  • +

    edge.arrow: This is a composite renderer that uses edge.clamped (for drawing the arrow body) and edge.arrowHead (for drawing the arrow head).

    +
  • +
+

For nodes

+
    +
  • +

    node.point: This method displays nodes as squares using the gl.POINTS method. A circle is then "carved" into this square in the fragment shader. It's highly efficient in terms of both RAM and execution speed. However, due to the limitations of the gl.POINTS method, nodes can't be drawn with a radius exceeding 100px.

    +
  • +
  • +

    node.circle: This method displays nodes as squares, represented by two triangles (similar to edge.rectangle). A circle is then "carved" into this square in the fragment shader.

    +
  • +
+

For a deeper understanding and practical examples, developers are encouraged to explore the existing sigma.js sources and examples. This hands-on approach will provide a clearer picture of how to effectively use and customize renderers in sigma.js.

+

Additional programs

+

Some more programs are also exposed, but as they carry more complexity, they are published as additional packages.

+
    +
  • @sigma/node-image: This package exposes a factory to create a program that operates similarly to node.circle, but filling the circles with images using a texture atlas.
  • +
  • @sigma/node-border: This package exposes a factory to create a program that operates similarly to node.circle, but drawing concentric discs.
  • +
  • @sigma/node-piechart: This package exposes a factory to create a program that operates similarly to node.circle, but drawing nodes as pie-charts.
  • +
  • @sigma/edge-curve: This package exposes an edge renderer that draw edges as curves.
  • +
+ + \ No newline at end of file diff --git a/docs/category/advanced-topics/index.html b/docs/category/advanced-topics/index.html new file mode 100644 index 000000000..526d22fa1 --- /dev/null +++ b/docs/category/advanced-topics/index.html @@ -0,0 +1,14 @@ + + + + + +Advanced topics | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..2603f8faf --- /dev/null +++ b/docs/index.html @@ -0,0 +1,48 @@ + + + + + +Introduction | sigma.js + + + + + +

Introduction

Build Status

+
+

Sigma.js

+

Website | Documentation | Storybook

+
+

Sigma.js is an open-source JavaScript library aimed at visualizing graphs of thousands of nodes and edges using WebGL, mainly developed by @jacomyal and @Yomguithereal, and built on top of graphology.

+

How to use in your project

+

To integrate sigma into your project, follow these simple steps:

+
    +
  1. +

    Installation: Add sigma and graphology to your project by running the following command:

    +
    npm install sigma graphology
    +
  2. +
  3. +

    Usage: Import sigma into your JavaScript or TypeScript file:

    +
    import Graph from "graphology";
    import Sigma from "sigma";
    +

    Then, create a new Sigma instance with your graph data and target container:

    +
    const graph = new Graph();
    graph.addNode("1", { label: "Node 1", x: 0, y: 0, size: 10, color: "blue" });
    graph.addNode("2", { label: "Node 2", x: 1, y: 1, size: 20, color: "red" });
    graph.addEdge("1", "2", { size: 5, color: "purple" });

    const sigmaInstance = new Sigma(graph, document.getElementById("container"));
    +
  4. +
+

How to develop locally

+

To run the Storybook locally:

+
git clone git@github.com:jacomyal/sigma.js.git
cd sigma.js
npm install
npm run start
+

This will open the Storybook in your web browser, which live reloads when you modify the stories or the package sources.

+

Resources

+
    +
  • GitHub Project: The source code and collaborative development efforts for Sigma.js are hosted on GitHub.
  • +
  • Website: The official website, sigmajs.org, kindly designed by Robin de Mourat from the Sciences-Po médialab team, showcases the library's capabilities.
  • +
  • Documentation: A detailed documentation, built with Docusaurus, is available at sigmajs.org/docs. It provides extensive guides and API references for users.
  • +
  • Storybook: Interactive examples can be found at sigmajs.org/storybook.
  • +
  • Demo: A comprehensive demo, available at sigmajs.org/demo, features a full-featured React-based web application utilizing Sigma.js.
  • +
+

How to contribute

+

You can contribute by submitting issues tickets and proposing pull requests. Make sure that tests and linting pass before submitting any pull request.

+

You can also browse the related documentation here.

+ + \ No newline at end of file diff --git a/docs/quickstart/index.html b/docs/quickstart/index.html new file mode 100644 index 000000000..53ce3cc00 --- /dev/null +++ b/docs/quickstart/index.html @@ -0,0 +1,29 @@ + + + + + +Quickstart Guide | sigma.js + + + + + +

Quickstart Guide

+

Installation

+

Using CDN

+

To quickly integrate sigma.js and graphology into your project, you can use CDN links. Add the following lines to the head section of your HTML:

+
<script src="https://cdnjs.cloudflare.com/ajax/libs/sigma.js/[VERSION]/sigma.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/graphology/[VERSION]/graphology.umd.min.js"></script>
+

Replace [VERSION] with the desired version number.

+

Using Package Managers

+

For npm or yarn:

+

npm:

+
npm install sigma graphology
+

yarn:

+
yarn add sigma graphology
+

Quick Example

+

Here's a basic example using CDNs to create a graph with minimal data and render it using sigma.js:

+
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Quick Sigma.js Example</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sigma.js/2.4.0/sigma.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/graphology/0.25.4/graphology.umd.min.js"></script>
</head>
<body style="background: lightgrey">
<div id="container" style="width: 800px; height: 600px; background: white"></div>
<script>
// Create a graphology graph
const graph = new graphology.Graph();
graph.addNode("1", { label: "Node 1", x: 0, y: 0, size: 10, color: "blue" });
graph.addNode("2", { label: "Node 2", x: 1, y: 1, size: 20, color: "red" });
graph.addEdge("1", "2", { size: 5, color: "purple" });

// Instantiate sigma.js and render the graph
const sigmaInstance = new Sigma(graph, document.getElementById("container"));
</script>
</body>
</html>
+

Load this HTML in a browser, and you'll see a simple graph with two nodes connected by an edge. This serves as a foundational step to start exploring the capabilities of sigma.js.

+ + \ No newline at end of file diff --git a/docs/resources/index.html b/docs/resources/index.html new file mode 100644 index 000000000..963356dc8 --- /dev/null +++ b/docs/resources/index.html @@ -0,0 +1,29 @@ + + + + + +Resources | sigma.js + + + + + +

Resources

+

Sigma.js offers a variety of resources to assist developers in understanding and effectively utilizing the library:

+
    +
  1. +

    Documentation: This documentation provides in-depth information on sigma.js-specific topics. It covers both foundational concepts and advanced features, ensuring developers have a comprehensive understanding of the library.

    +
  2. +
  3. +

    Storybook: For practical insights, sigma.js includes a set of examples base on Storybook. It is published on the website, and addresses diverse challenges and scenarios. These examples serve as hands-on guides, demonstrating how different problems can be tackled using the library.

    +
  4. +
  5. +

    Source Code: To delve deeper into the workings of sigma.js, the source code is a valuable resource. It is extensively commented, offering clarity on the library's operations and functionalities.

    +
  6. +
  7. +

    Demo Application: For a real-world perspective, the sigma.js repository features a complete demo (sources) built with React. This demo mirrors the structure of a typical application, providing a practical view of how sigma.js can be integrated and used in a project context.

    +
  8. +
+ + \ No newline at end of file diff --git a/docs/typedoc/classes/edge_curve_src.default/index.html b/docs/typedoc/classes/edge_curve_src.default/index.html new file mode 100644 index 000000000..1d5b6702d --- /dev/null +++ b/docs/typedoc/classes/edge_curve_src.default/index.html @@ -0,0 +1,337 @@ + + + + + +Class: default<N, E, G> | sigma.js + + + + + +

Class: default<N, E, G>

edge-curve/src.default

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    EdgeProgram<typeof UNIFORMS[number], N, E, G>

    +

    default

    +
  • +
+

Constructors

+

constructor

+

new default<N, E, G>(gl, pickingBuffer, renderer): default<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

default<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_matrix" | "u_pixelRatio" | "u_dimensions")[]

+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: <N, E, G>(context: CanvasRenderingContext2D, edgeData: PartialButFor<CurvedEdgeDisplayData, "label" | "color" | "size" | "curvature">, sourceData: PartialButFor<NodeDisplayData, "x" | "y" | "size">, targetData: PartialButFor<NodeDisplayData, "x" | "y" | "size">, settings: Settings<N, E, G>) => void = drawCurvedEdgeLabel

+

Type declaration

+

▸ <N, E, G>(context, edgeData, sourceData, targetData, settings): void

+
Type parameters
+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+
Parameters
+
NameType
contextCanvasRenderingContext2D
edgeDataPartialButFor<CurvedEdgeDisplayData, "label" | "color" | "size" | "curvature">
sourceDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
targetDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
settingsSettings<N, E, G>
+
Returns
+

void

+

Overrides

+

EdgeProgram.drawLabel

+

Defined in

+

edge-curve/src/index.ts:20

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_source"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_current"; size: number = 1; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_matrix", "u_sizeRatio", "u_dimensions", "u_pixelRatio"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

edge-curve/src/index.ts:22

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataCurvedEdgeDisplayData
+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

edge-curve/src/index.ts:52

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

edge-curve/src/index.ts:80

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src.Camera/index.html b/docs/typedoc/classes/sigma_src.Camera/index.html new file mode 100644 index 000000000..2226b2ba2 --- /dev/null +++ b/docs/typedoc/classes/sigma_src.Camera/index.html @@ -0,0 +1,439 @@ + + + + + +Class: Camera | sigma.js + + + + + +

Class: Camera

sigma/src.Camera

+

Camera class

+

Hierarchy

+
    +
  • +

    TypedEventEmitter<CameraEvents>

    +

    Camera

    +
  • +
+

Implements

+
    +
  • CameraState
  • +
+

Constructors

+

constructor

+

new Camera(): Camera

+

Returns

+

Camera

+

Overrides

+

TypedEventEmitter&lt;CameraEvents&gt;.constructor

+

Defined in

+

sigma/src/core/camera.ts:43

+

Properties

+

angle

+

angle: number = 0

+

Implementation of

+

CameraState.angle

+

Defined in

+

sigma/src/core/camera.ts:31

+
+

animationCallback

+

Optional animationCallback: () => void

+

Type declaration

+

▸ (): void

+
Returns
+

void

+

Defined in

+

sigma/src/core/camera.ts:41

+
+

enabled

+

Private enabled: boolean = true

+

Defined in

+

sigma/src/core/camera.ts:39

+
+

maxRatio

+

maxRatio: null | number = null

+

Defined in

+

sigma/src/core/camera.ts:35

+
+

minRatio

+

minRatio: null | number = null

+

Defined in

+

sigma/src/core/camera.ts:34

+
+

nextFrame

+

Private nextFrame: null | number = null

+

Defined in

+

sigma/src/core/camera.ts:37

+
+

previousState

+

Private previousState: null | CameraState = null

+

Defined in

+

sigma/src/core/camera.ts:38

+
+

ratio

+

ratio: number = 1

+

Implementation of

+

CameraState.ratio

+

Defined in

+

sigma/src/core/camera.ts:32

+
+

rawEmitter

+

rawEmitter: EventEmitter<DefaultEventMap>

+

Inherited from

+

TypedEventEmitter.rawEmitter

+

Defined in

+

sigma/src/types.ts:103

+
+

x

+

x: number = 0.5

+

Implementation of

+

CameraState.x

+

Defined in

+

sigma/src/core/camera.ts:29

+
+

y

+

y: number = 0.5

+

Implementation of

+

CameraState.y

+

Defined in

+

sigma/src/core/camera.ts:30

+

Methods

+

addListener

+

addListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.addListener

+

Defined in

+

sigma/src/types.ts:109

+
+

animate

+

animate(state, opts?, callback?): void

+

Method used to animate the camera.

+

Parameters

+
NameTypeDescription
statePartial<CameraState>State to reach eventually.
opts?Partial<AnimateOptions>Options:
callback?() => voidCallback
+

Returns

+

void

+

Defined in

+

sigma/src/core/camera.ts:206

+
+

animatedReset

+

animatedReset(options?): void

+

Method used to reset the camera.

+

Parameters

+
NameTypeDescription
options?Partial<AnimateOptions>Options.
+

Returns

+

void

+

Defined in

+

sigma/src/core/camera.ts:308

+
+

animatedUnzoom

+

animatedUnzoom(factorOrOptions?): void

+

Method used to unzoom the camera.

+

Parameters

+
NameTypeDescription
factorOrOptions?number | Partial<AnimateOptions> & { factor?: number }Factor or options.
+

Returns

+

void

+

Defined in

+

sigma/src/core/camera.ts:288

+
+

animatedZoom

+

animatedZoom(factorOrOptions?): void

+

Method used to zoom the camera.

+

Parameters

+
NameTypeDescription
factorOrOptions?number | Partial<AnimateOptions> & { factor?: number }Factor or options.
+

Returns

+

void

+

Defined in

+

sigma/src/core/camera.ts:268

+
+

copy

+

copy(): Camera

+

Returns a new Camera instance, with the same state as the current camera.

+

Returns

+

Camera

+

Defined in

+

sigma/src/core/camera.ts:325

+
+

disable

+

disable(): this

+

Method used to disable the camera.

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:76

+
+

emit

+

emit<Event>(type, ...args): boolean

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
...argsParameters<CameraEvents[Event]>
+

Returns

+

boolean

+

Inherited from

+

TypedEventEmitter.emit

+

Defined in

+

sigma/src/types.ts:108

+
+

enable

+

enable(): this

+

Method used to enable the camera.

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:66

+
+

eventNames

+

eventNames<Event>(): Event[]

+

Type parameters

+
NameType
Eventextends "updated"
+

Returns

+

Event[]

+

Inherited from

+

TypedEventEmitter.eventNames

+

Defined in

+

sigma/src/types.ts:105

+
+

getBoundedRatio

+

getBoundedRatio(ratio): number

+

Method used to check minRatio and maxRatio values.

+

Parameters

+
NameType
rationumber
+

Returns

+

number

+

Defined in

+

sigma/src/core/camera.ts:128

+
+

getMaxListeners

+

getMaxListeners(): number

+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.getMaxListeners

+

Defined in

+

sigma/src/types.ts:107

+
+

getPreviousState

+

getPreviousState(): null | CameraState

+

Method used to retrieve the camera's previous state.

+

Returns

+

null | CameraState

+

Defined in

+

sigma/src/core/camera.ts:109

+
+

getState

+

getState(): CameraState

+

Method used to retrieve the camera's current state.

+

Returns

+

CameraState

+

Defined in

+

sigma/src/core/camera.ts:86

+
+

hasState

+

hasState(state): boolean

+

Method used to check whether the camera has the given state.

+

Parameters

+
NameType
stateCameraState
+

Returns

+

boolean

+

Defined in

+

sigma/src/core/camera.ts:100

+
+

isAnimated

+

isAnimated(): boolean

+

Method used to check whether the camera is currently being animated.

+

Returns

+

boolean

+

Defined in

+

sigma/src/core/camera.ts:155

+
+

listenerCount

+

listenerCount<Event>(type): number

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.listenerCount

+

Defined in

+

sigma/src/types.ts:118

+
+

listeners

+

listeners<Event>(type): CameraEvents[Event][]

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
+

Returns

+

CameraEvents[Event][]

+

Inherited from

+

TypedEventEmitter.listeners

+

Defined in

+

sigma/src/types.ts:117

+
+

off

+

off<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.off

+

Defined in

+

sigma/src/types.ts:115

+
+

on

+

on<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.on

+

Defined in

+

sigma/src/types.ts:110

+
+

once

+

once<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.once

+

Defined in

+

sigma/src/types.ts:111

+
+

prependListener

+

prependListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependListener

+

Defined in

+

sigma/src/types.ts:112

+
+

prependOnceListener

+

prependOnceListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependOnceListener

+

Defined in

+

sigma/src/types.ts:113

+
+

rawListeners

+

rawListeners<Event>(type): CameraEvents[Event][]

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
+

Returns

+

CameraEvents[Event][]

+

Inherited from

+

TypedEventEmitter.rawListeners

+

Defined in

+

sigma/src/types.ts:119

+
+

removeAllListeners

+

removeAllListeners<Event>(type?): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
type?Event
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeAllListeners

+

Defined in

+

sigma/src/types.ts:116

+
+

removeListener

+

removeListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "updated"
+

Parameters

+
NameType
typeEvent
listenerCameraEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeListener

+

Defined in

+

sigma/src/types.ts:114

+
+

setMaxListeners

+

setMaxListeners(n): this

+

Parameters

+
NameType
nnumber
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.setMaxListeners

+

Defined in

+

sigma/src/types.ts:106

+
+

setState

+

setState(state): this

+

Method used to set the camera's state.

+

Parameters

+
NameTypeDescription
statePartial<CameraState>New state.
+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:165

+
+

updateState

+

updateState(updater): this

+

Method used to update the camera's state using a function.

+

Parameters

+
NameTypeDescription
updater(state: CameraState) => Partial<CameraState>Updated function taking current state and returning next state.
+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:192

+
+

validateState

+

validateState(state): Partial<CameraState>

+

Method used to check various things to return a legit state candidate.

+

Parameters

+
NameType
statePartial<CameraState>
+

Returns

+

Partial<CameraState>

+

Defined in

+

sigma/src/core/camera.ts:141

+
+

from

+

from(state): Camera

+

Static method used to create a Camera object with a given state.

+

Parameters

+
NameType
stateCameraState
+

Returns

+

Camera

+

Defined in

+

sigma/src/core/camera.ts:56

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src.MouseCaptor/index.html b/docs/typedoc/classes/sigma_src.MouseCaptor/index.html new file mode 100644 index 000000000..325eee2b0 --- /dev/null +++ b/docs/typedoc/classes/sigma_src.MouseCaptor/index.html @@ -0,0 +1,400 @@ + + + + + +Class: MouseCaptor<N, E, G> | sigma.js + + + + + +

Class: MouseCaptor<N, E, G>

sigma/src.MouseCaptor

+

Mouse captor class.

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    default<MouseCaptorEvents, N, E, G>

    +

    MouseCaptor

    +
  • +
+

Constructors

+

constructor

+

new MouseCaptor<N, E, G>(container, renderer): MouseCaptor<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
containerHTMLElement
rendererSigma<N, E, G>
+

Returns

+

MouseCaptor<N, E, G>

+

Overrides

+

Captor&lt;MouseCaptorEvents, N, E, G&gt;.constructor

+

Defined in

+

sigma/src/core/captors/mouse.ts:69

+

Properties

+

clicks

+

clicks: number = 0

+

Defined in

+

sigma/src/core/captors/mouse.ts:63

+
+

container

+

container: HTMLElement

+

Inherited from

+

Captor.container

+

Defined in

+

sigma/src/core/captors/captor.ts:114

+
+

currentWheelDirection

+

currentWheelDirection: -1 | 0 | 1 = 0

+

Defined in

+

sigma/src/core/captors/mouse.ts:66

+
+

doubleClickTimeout

+

doubleClickTimeout: null | number = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:64

+
+

downStartTime

+

downStartTime: null | number = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:56

+
+

draggedEvents

+

draggedEvents: number = 0

+

Defined in

+

sigma/src/core/captors/mouse.ts:55

+
+

enabled

+

enabled: boolean = true

+

Defined in

+

sigma/src/core/captors/mouse.ts:54

+
+

isMouseDown

+

isMouseDown: boolean = false

+

Defined in

+

sigma/src/core/captors/mouse.ts:59

+
+

isMoving

+

isMoving: boolean = false

+

Defined in

+

sigma/src/core/captors/mouse.ts:60

+
+

lastMouseX

+

lastMouseX: null | number = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:57

+
+

lastMouseY

+

lastMouseY: null | number = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:58

+
+

lastWheelTriggerTime

+

Optional lastWheelTriggerTime: number

+

Defined in

+

sigma/src/core/captors/mouse.ts:67

+
+

movingTimeout

+

movingTimeout: null | number = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:61

+
+

rawEmitter

+

rawEmitter: EventEmitter<DefaultEventMap>

+

Inherited from

+

Captor.rawEmitter

+

Defined in

+

sigma/src/types.ts:103

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

Captor.renderer

+

Defined in

+

sigma/src/core/captors/captor.ts:115

+
+

startCameraState

+

startCameraState: null | CameraState = null

+

Defined in

+

sigma/src/core/captors/mouse.ts:62

+

Methods

+

addListener

+

addListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.addListener

+

Defined in

+

sigma/src/types.ts:109

+
+

emit

+

emit<Event>(type, ...args): boolean

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
...argsParameters<MouseCaptorEvents[Event]>
+

Returns

+

boolean

+

Inherited from

+

Captor.emit

+

Defined in

+

sigma/src/types.ts:108

+
+

eventNames

+

eventNames<Event>(): Event[]

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Returns

+

Event[]

+

Inherited from

+

Captor.eventNames

+

Defined in

+

sigma/src/types.ts:105

+
+

getMaxListeners

+

getMaxListeners(): number

+

Returns

+

number

+

Inherited from

+

Captor.getMaxListeners

+

Defined in

+

sigma/src/types.ts:107

+
+

handleClick

+

handleClick(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:108

+
+

handleDoubleClick

+

handleDoubleClick(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:137

+
+

handleDown

+

handleDown(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:158

+
+

handleEnter

+

handleEnter(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:295

+
+

handleLeave

+

handleLeave(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:291

+
+

handleMove

+

handleMove(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:228

+
+

handleRightClick

+

handleRightClick(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:131

+
+

handleUp

+

handleUp(e): void

+

Parameters

+
NameType
eMouseEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:178

+
+

handleWheel

+

handleWheel(e): void

+

Parameters

+
NameType
eWheelEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/mouse.ts:299

+
+

kill

+

kill(): void

+

Returns

+

void

+

Overrides

+

Captor.kill

+

Defined in

+

sigma/src/core/captors/mouse.ts:94

+
+

listenerCount

+

listenerCount<Event>(type): number

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

number

+

Inherited from

+

Captor.listenerCount

+

Defined in

+

sigma/src/types.ts:118

+
+

listeners

+

listeners<Event>(type): MouseCaptorEvents[Event][]

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

MouseCaptorEvents[Event][]

+

Inherited from

+

Captor.listeners

+

Defined in

+

sigma/src/types.ts:117

+
+

off

+

off<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.off

+

Defined in

+

sigma/src/types.ts:115

+
+

on

+

on<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.on

+

Defined in

+

sigma/src/types.ts:110

+
+

once

+

once<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.once

+

Defined in

+

sigma/src/types.ts:111

+
+

prependListener

+

prependListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.prependListener

+

Defined in

+

sigma/src/types.ts:112

+
+

prependOnceListener

+

prependOnceListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.prependOnceListener

+

Defined in

+

sigma/src/types.ts:113

+
+

rawListeners

+

rawListeners<Event>(type): MouseCaptorEvents[Event][]

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

MouseCaptorEvents[Event][]

+

Inherited from

+

Captor.rawListeners

+

Defined in

+

sigma/src/types.ts:119

+
+

removeAllListeners

+

removeAllListeners<Event>(type?): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
type?Event
+

Returns

+

this

+

Inherited from

+

Captor.removeAllListeners

+

Defined in

+

sigma/src/types.ts:116

+
+

removeListener

+

removeListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof MouseCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerMouseCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.removeListener

+

Defined in

+

sigma/src/types.ts:114

+
+

setMaxListeners

+

setMaxListeners(n): this

+

Parameters

+
NameType
nnumber
+

Returns

+

this

+

Inherited from

+

Captor.setMaxListeners

+

Defined in

+

sigma/src/types.ts:106

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src.Sigma/index.html b/docs/typedoc/classes/sigma_src.Sigma/index.html new file mode 100644 index 000000000..d3b20fd78 --- /dev/null +++ b/docs/typedoc/classes/sigma_src.Sigma/index.html @@ -0,0 +1,1158 @@ + + + + + +Class: Sigma<N, E, G> | sigma.js + + + + + +

Class: Sigma<N, E, G>

sigma/src.Sigma

+

Main class.

+

Param

+

Graph to render.

+

Param

+

DOM container in which to render.

+

Param

+

Optional settings.

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    TypedEventEmitter<SigmaEvents>

    +

    Sigma

    +
  • +
+

Constructors

+

constructor

+

new Sigma<N, E, G>(graph, container, settings?): Sigma<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
graphAbstractGraph<N, E, G>
containerHTMLElement
settingsPartial<Settings<N, E, G>>
+

Returns

+

Sigma<N, E, G>

+

Overrides

+

TypedEventEmitter&lt;SigmaEvents&gt;.constructor

+

Defined in

+

sigma/src/sigma.ts:190

+

Properties

+

activeListeners

+

Private activeListeners: PlainObject<Listener> = {}

+

Defined in

+

sigma/src/sigma.ts:135

+
+

camera

+

Private camera: Camera

+

Defined in

+

sigma/src/sigma.ts:188

+
+

canvasContexts

+

Private canvasContexts: PlainObject<CanvasRenderingContext2D> = {}

+

Defined in

+

sigma/src/sigma.ts:130

+
+

checkEdgesEventsFrame

+

Private checkEdgesEventsFrame: null | number = null

+

Defined in

+

sigma/src/sigma.ts:181

+
+

container

+

Private container: HTMLElement

+

Defined in

+

sigma/src/sigma.ts:128

+
+

correctionRatio

+

Private correctionRatio: number = 1

+

Defined in

+

sigma/src/sigma.ts:151

+
+

customBBox

+

Private customBBox: null | { x: Extent ; y: Extent } = null

+

Defined in

+

sigma/src/sigma.ts:152

+
+

displayedEdgeLabels

+

Private displayedEdgeLabels: Set<string>

+

Defined in

+

sigma/src/sigma.ts:172

+
+

displayedNodeLabels

+

Private displayedNodeLabels: Set<string>

+

Defined in

+

sigma/src/sigma.ts:171

+
+

edgeDataCache

+

Private edgeDataCache: Record<string, DisplayData> = {}

+

Defined in

+

sigma/src/sigma.ts:138

+
+

edgeIndices

+

Private edgeIndices: Record<string, number> = {}

+

Defined in

+

sigma/src/sigma.ts:162

+
+

edgeProgramIndex

+

Private edgeProgramIndex: Record<string, number> = {}

+

Defined in

+

sigma/src/sigma.ts:142

+
+

edgePrograms

+

Private edgePrograms: Object = {}

+

Index signature

+

▪ [key: string]: AbstractEdgeProgram<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:186

+
+

edgeZExtent

+

Private edgeZExtent: [number, number]

+

Defined in

+

sigma/src/sigma.ts:147

+
+

edgesWithForcedLabels

+

Private edgesWithForcedLabels: Set<string>

+

Defined in

+

sigma/src/sigma.ts:144

+
+

elements

+

Private elements: PlainObject<HTMLCanvasElement> = {}

+

Defined in

+

sigma/src/sigma.ts:129

+
+

frameBuffers

+

Private frameBuffers: PlainObject<WebGLFramebuffer> = {}

+

Defined in

+

sigma/src/sigma.ts:134

+
+

graph

+

Private graph: AbstractGraph<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:125

+
+

graphToViewportRatio

+

Private graphToViewportRatio: number = 1

+

Defined in

+

sigma/src/sigma.ts:159

+
+

height

+

Private height: number = 0

+

Defined in

+

sigma/src/sigma.ts:166

+
+

highlightedNodes

+

Private highlightedNodes: Set<string>

+

Defined in

+

sigma/src/sigma.ts:173

+
+

hoveredEdge

+

Private hoveredEdge: null | string = null

+

Defined in

+

sigma/src/sigma.ts:175

+
+

hoveredNode

+

Private hoveredNode: null | string = null

+

Defined in

+

sigma/src/sigma.ts:174

+
+

invMatrix

+

Private invMatrix: Float32Array

+

Defined in

+

sigma/src/sigma.ts:150

+
+

itemIDsIndex

+

Private itemIDsIndex: Record<number, { id: string ; type: "node" | "edge" }> = {}

+

Defined in

+

sigma/src/sigma.ts:160

+
+

labelGrid

+

Private labelGrid: LabelGrid

+

Defined in

+

sigma/src/sigma.ts:136

+
+

matrix

+

Private matrix: Float32Array

+

Defined in

+

sigma/src/sigma.ts:149

+
+

mouseCaptor

+

Private mouseCaptor: MouseCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:126

+
+

needToProcess

+

Private needToProcess: boolean = false

+

Defined in

+

sigma/src/sigma.ts:180

+
+

nodeDataCache

+

Private nodeDataCache: Record<string, NodeDisplayData> = {}

+

Defined in

+

sigma/src/sigma.ts:137

+
+

nodeExtent

+

Private nodeExtent: Object

+

Type declaration

+
NameType
xExtent
yExtent
+

Defined in

+

sigma/src/sigma.ts:145

+
+

nodeHoverPrograms

+

Private nodeHoverPrograms: Object = {}

+

Index signature

+

▪ [key: string]: AbstractNodeProgram<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:185

+
+

nodeIndices

+

Private nodeIndices: Record<string, number> = {}

+

Defined in

+

sigma/src/sigma.ts:161

+
+

nodeProgramIndex

+

Private nodeProgramIndex: Record<string, number> = {}

+

Defined in

+

sigma/src/sigma.ts:141

+
+

nodePrograms

+

Private nodePrograms: Object = {}

+

Index signature

+

▪ [key: string]: AbstractNodeProgram<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:184

+
+

nodeZExtent

+

Private nodeZExtent: [number, number]

+

Defined in

+

sigma/src/sigma.ts:146

+
+

nodesWithForcedLabels

+

Private nodesWithForcedLabels: Set<string>

+

Defined in

+

sigma/src/sigma.ts:143

+
+

normalizationFunction

+

Private normalizationFunction: NormalizationFunction

+

Defined in

+

sigma/src/sigma.ts:153

+
+

pickingDownSizingRatio

+

Private pickingDownSizingRatio: number

+

Defined in

+

sigma/src/sigma.ts:168

+
+

pickingLayers

+

Private pickingLayers: Set<string>

+

Defined in

+

sigma/src/sigma.ts:132

+
+

pixelRatio

+

Private pixelRatio: number

+

Defined in

+

sigma/src/sigma.ts:167

+
+

rawEmitter

+

rawEmitter: EventEmitter<DefaultEventMap>

+

Inherited from

+

TypedEventEmitter.rawEmitter

+

Defined in

+

sigma/src/types.ts:103

+
+

renderFrame

+

Private renderFrame: null | number = null

+

Defined in

+

sigma/src/sigma.ts:178

+
+

renderHighlightedNodesFrame

+

Private renderHighlightedNodesFrame: null | number = null

+

Defined in

+

sigma/src/sigma.ts:179

+
+

settings

+

Private settings: Settings<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:124

+
+

textures

+

Private textures: PlainObject<WebGLTexture> = {}

+

Defined in

+

sigma/src/sigma.ts:133

+
+

touchCaptor

+

Private touchCaptor: TouchCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:127

+
+

webGLContexts

+

Private webGLContexts: PlainObject<WebGLRenderingContext> = {}

+

Defined in

+

sigma/src/sigma.ts:131

+
+

width

+

Private width: number = 0

+

Defined in

+

sigma/src/sigma.ts:165

+

Methods

+

addEdge

+

addEdge(key): void

+

Add an edge into the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe edge's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1302

+
+

addEdgeToProgram

+

addEdgeToProgram(edge, fingerprint, position): void

+

Add the edge data to its program.

+

Parameters

+
NameTypeDescription
edgestringThe edge's graphology ID
fingerprintnumberA fingerprint used to identity the edge with picking
positionnumberThe index where to place the edge in the program
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1438

+
+

addListener

+

addListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.addListener

+

Defined in

+

sigma/src/types.ts:109

+
+

addNode

+

addNode(key): void

+

Add a node in the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe node's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1234

+
+

addNodeToProgram

+

addNodeToProgram(node, fingerprint, position): void

+

Add the node data to its program.

+

Parameters

+
NameTypeDescription
nodestringThe node's graphology ID
fingerprintnumberA fingerprint used to identity the node with picking
positionnumberThe index where to place the node in the program
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1422

+
+

bindCameraHandlers

+

bindCameraHandlers(): this

+

Method binding camera handlers.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:382

+
+

bindEventHandlers

+

bindEventHandlers(): this

+

Method binding event handlers.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:426

+
+

bindGraphHandlers

+

bindGraphHandlers(): this

+

Method binding graph handlers

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:568

+
+

clear

+

clear(): this

+

Method used to clear all the canvases.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1731

+
+

clearEdgeIndices

+

clearEdgeIndices(): void

+

Clear all indices related to edges.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1370

+
+

clearEdgeState

+

clearEdgeState(): void

+

Clear all graph state related to edges.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1400

+
+

clearIndices

+

clearIndices(): void

+

Clear all indices.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1381

+
+

clearNodeIndices

+

clearNodeIndices(): void

+

Clear all indices related to nodes.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1356

+
+

clearNodeState

+

clearNodeState(): void

+

Clear all graph state related to nodes.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1390

+
+

clearState

+

clearState(): void

+

Clear all graph state.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1410

+
+

createCanvas

+

createCanvas(id): HTMLCanvasElement

+

Internal function used to create a canvas element.

+

Parameters

+
NameTypeDescription
idstringContext's id.
+

Returns

+

HTMLCanvasElement

+

Defined in

+

sigma/src/sigma.ts:268

+
+

createCanvasContext

+

createCanvasContext(id): this

+

Internal function used to create a canvas context and add the relevant +DOM elements.

+

Parameters

+
NameTypeDescription
idstringContext's id.
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:292

+
+

createWebGLContext

+

createWebGLContext(id, options?): this

+

Internal function used to create a WebGL context and add the relevant DOM +elements.

+

Parameters

+
NameTypeDescription
idstringContext's id.
options?Object#getContext params to override (optional)
options.antialias?boolean-
options.hidden?boolean-
options.picking?boolean-
options.preserveDrawingBuffer?boolean-
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:313

+
+

emit

+

emit<Event>(type, ...args): boolean

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
...argsParameters<SigmaEvents[Event]>
+

Returns

+

boolean

+

Inherited from

+

TypedEventEmitter.emit

+

Defined in

+

sigma/src/types.ts:108

+
+

eventNames

+

eventNames<Event>(): Event[]

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Returns

+

Event[]

+

Inherited from

+

TypedEventEmitter.eventNames

+

Defined in

+

sigma/src/types.ts:105

+
+

framedGraphToViewport

+

framedGraphToViewport(coordinates, override?): Coordinates

+

Method returning the coordinates of a point from the framed graph system to the viewport system. It allows +overriding anything that is used to get the translation matrix, or even the matrix itself.

+

Be careful if overriding dimensions, padding or cameraState, as the computation of the matrix is not the lightest +of computations.

+

Parameters

+
NameType
coordinatesCoordinates
overrideCoordinateConversionOverride
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:1903

+
+

getBBox

+

getBBox(): Object

+

Method returning the graph's bounding box.

+

Returns

+

Object

+
NameType
xExtent
yExtent
+

Defined in

+

sigma/src/sigma.ts:2005

+
+

getCamera

+

getCamera(): Camera

+

Method returning the renderer's camera.

+

Returns

+

Camera

+

Defined in

+

sigma/src/sigma.ts:1460

+
+

getCanvases

+

getCanvases(): PlainObject<HTMLCanvasElement>

+

Method that returns the collection of all used canvases. +At the moment, the instantiated canvases are the following, and in the +following order in the DOM:

+
    +
  • edges
  • +
  • nodes
  • +
  • edgeLabels
  • +
  • labels
  • +
  • hovers
  • +
  • hoverNodes
  • +
  • mouse
  • +
+

Returns

+

PlainObject<HTMLCanvasElement>

+
    +
  • The collection of canvases.
  • +
+

Defined in

+

sigma/src/sigma.ts:2132

+
+

getContainer

+

getContainer(): HTMLElement

+

Method returning the container DOM element.

+

Returns

+

HTMLElement

+

Defined in

+

sigma/src/sigma.ts:1481

+
+

getCustomBBox

+

getCustomBBox(): null | { x: Extent ; y: Extent }

+

Method returning the graph's custom bounding box, if any.

+

Returns

+

null | { x: Extent ; y: Extent }

+

Defined in

+

sigma/src/sigma.ts:2014

+
+

getDimensions

+

getDimensions(): Dimensions

+

Method returning the current renderer's dimensions.

+

Returns

+

Dimensions

+

Defined in

+

sigma/src/sigma.ts:1543

+
+

getEdgeAtPoint

+

getEdgeAtPoint(x, y): null | string

+

Method looking for an edge colliding with a given point at (x, y). Returns +the key of the edge if any, or null else.

+

Parameters

+
NameType
xnumber
ynumber
+

Returns

+

null | string

+

Defined in

+

sigma/src/sigma.ts:702

+
+

getEdgeDisplayData

+

getEdgeDisplayData(key): undefined | DisplayData

+

Method used to get all the sigma edge attributes. +It's useful for example to get values that are set by the edgeReducer.

+

Parameters

+
NameTypeDescription
keyunknownThe edge's key.
+

Returns

+

undefined | DisplayData

+

A copy of the desired edge's attribute or undefined if not found

+

Defined in

+

sigma/src/sigma.ts:1581

+
+

getEdgeDisplayedLabels

+

getEdgeDisplayedLabels(): Set<string>

+

Method used to get the set of currently displayed edge labels.

+

Returns

+

Set<string>

+

A set of edge keys whose label is displayed.

+

Defined in

+

sigma/src/sigma.ts:1600

+
+

getGraph

+

getGraph(): AbstractGraph<N, E, G>

+

Method returning the renderer's graph.

+

Returns

+

AbstractGraph<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1490

+
+

getGraphDimensions

+

getGraphDimensions(): Dimensions

+

Method returning the current graph's dimensions.

+

Returns

+

Dimensions

+

Defined in

+

sigma/src/sigma.ts:1552

+
+

getGraphToViewportRatio

+

getGraphToViewportRatio(): number

+

Method returning the distance multiplier between the graph system and the +viewport system.

+

Returns

+

number

+

Defined in

+

sigma/src/sigma.ts:1988

+
+

getMaxListeners

+

getMaxListeners(): number

+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.getMaxListeners

+

Defined in

+

sigma/src/types.ts:107

+
+

getMouseCaptor

+

getMouseCaptor(): MouseCaptor<N, E, G>

+

Method returning the mouse captor.

+

Returns

+

MouseCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1525

+
+

getNodeAtPosition

+

getNodeAtPosition(position): null | string

+

Method that returns the closest node to a given position.

+

Parameters

+
NameType
positionCoordinates
+

Returns

+

null | string

+

Defined in

+

sigma/src/sigma.ts:405

+
+

getNodeDisplayData

+

getNodeDisplayData(key): undefined | NodeDisplayData

+

Method used to get all the sigma node attributes. +It's usefull for example to get the position of a node +and to get values that are set by the nodeReducer

+

Parameters

+
NameTypeDescription
keyunknownThe node's key.
+

Returns

+

undefined | NodeDisplayData

+

A copy of the desired node's attribute or undefined if not found

+

Defined in

+

sigma/src/sigma.ts:1569

+
+

getNodeDisplayedLabels

+

getNodeDisplayedLabels(): Set<string>

+

Method used to get the set of currently displayed node labels.

+

Returns

+

Set<string>

+

A set of node keys whose label is displayed.

+

Defined in

+

sigma/src/sigma.ts:1591

+
+

getSetting

+

getSetting<K>(key): undefined | Settings<N, E, G>[K]

+

Method returning the current value for a given setting key.

+

Type parameters

+
NameType
Kextends keyof Settings<N, E, G>
+

Parameters

+
NameTypeDescription
keyKThe setting key to get.
+

Returns

+

undefined | Settings<N, E, G>[K]

+

The value attached to this setting key or undefined if not found

+

Defined in

+

sigma/src/sigma.ts:1619

+
+

getSettings

+

getSettings(): Settings<N, E, G>

+

Method returning a copy of the settings collection.

+

Returns

+

Settings<N, E, G>

+

A copy of the settings collection.

+

Defined in

+

sigma/src/sigma.ts:1609

+
+

getTouchCaptor

+

getTouchCaptor(): TouchCaptor<N, E, G>

+

Method returning the touch captor.

+

Returns

+

TouchCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1534

+
+

getViewportZoomedState

+

getViewportZoomedState(viewportTarget, newRatio): CameraState

+

Method used to (un)zoom, while preserving the position of a viewport point. +Used for instance to zoom "on the mouse cursor".

+

Parameters

+
NameType
viewportTargetCoordinates
newRationumber
+

Returns

+

CameraState

+

Defined in

+

sigma/src/sigma.ts:1844

+
+

graphToViewport

+

graphToViewport(graphPoint, override?): Coordinates

+

Method used to translate a point's coordinates from the graph system (the reference system of data as they are in +the given graph instance) to the viewport system (pixel distance from the top-left of the stage).

+

This method accepts an optional camera which can be useful if you need to translate coordinates +based on a different view than the one being currently being displayed on screen.

+

Parameters

+
NameType
graphPointCoordinates
overrideCoordinateConversionOverride
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:1980

+
+

handleSettingsUpdate

+

handleSettingsUpdate(): this

+

Method that backports potential settings updates where it's needed.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:862

+
+

kill

+

kill(): void

+

Method used to shut the container & release event listeners.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:2034

+
+

listenerCount

+

listenerCount<Event>(type): number

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.listenerCount

+

Defined in

+

sigma/src/types.ts:118

+
+

listeners

+

listeners<Event>(type): SigmaEvents[Event][]

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

SigmaEvents[Event][]

+

Inherited from

+

TypedEventEmitter.listeners

+

Defined in

+

sigma/src/types.ts:117

+
+

off

+

off<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.off

+

Defined in

+

sigma/src/types.ts:115

+
+

on

+

on<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.on

+

Defined in

+

sigma/src/types.ts:110

+
+

once

+

once<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.once

+

Defined in

+

sigma/src/types.ts:111

+
+

prependListener

+

prependListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependListener

+

Defined in

+

sigma/src/types.ts:112

+
+

prependOnceListener

+

prependOnceListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependOnceListener

+

Defined in

+

sigma/src/types.ts:113

+
+

process

+

process(): this

+

Method used to process the whole graph's data.

+
    +
  • extent
  • +
  • normalizationFunction
  • +
  • compute node's coordinate
  • +
  • labelgrid
  • +
  • program data allocation
  • +
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:726

+
+

rawListeners

+

rawListeners<Event>(type): SigmaEvents[Event][]

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

SigmaEvents[Event][]

+

Inherited from

+

TypedEventEmitter.rawListeners

+

Defined in

+

sigma/src/types.ts:119

+
+

refresh

+

refresh(opts?): this

+

Method used to refresh, i.e. force the renderer to reprocess graph +data and render, but keep the state.

+
    +
  • if a partialGraph is provided, we only reprocess those nodes & edges.
  • +
  • if schedule is TRUE, we schedule a render instead of sync render
  • +
  • if skipIndexation is TRUE, then labelGrid & program indexation are skipped (can be used if you haven't modify x, y, zIndex & size)
  • +
+

Parameters

+
NameType
opts?Object
opts.partialGraph?Object
opts.partialGraph.edges?string[]
opts.partialGraph.nodes?string[]
opts.schedule?boolean
opts.skipIndexation?boolean
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1753

+
+

removeAllListeners

+

removeAllListeners<Event>(type?): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
type?Event
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeAllListeners

+

Defined in

+

sigma/src/types.ts:116

+
+

removeEdge

+

removeEdge(key): void

+

Remove an edge from the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe edge's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1341

+
+

removeListener

+

removeListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends "clickStage" | "wheelStage" | "doubleClickStage" | "rightClickStage" | "downStage" | "upStage" | "leaveStage" | "enterStage" | "clickNode" | "wheelNode" | "doubleClickNode" | "rightClickNode" | "downNode" | "upNode" | "leaveNode" | "enterNode" | "clickEdge" | "wheelEdge" | "doubleClickEdge" | "rightClickEdge" | "downEdge" | "upEdge" | "leaveEdge" | "enterEdge" | keyof SigmaAdditionalEvents
+

Parameters

+
NameType
typeEvent
listenerSigmaEvents[Event]
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeListener

+

Defined in

+

sigma/src/types.ts:114

+
+

removeNode

+

removeNode(key): void

+

Remove a node from the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe node's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1284

+
+

render

+

render(): this

+

Method used to render.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1134

+
+

renderEdgeLabels

+

renderEdgeLabels(): this

+

Method used to render edge labels, based on which node labels were +rendered.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:958

+
+

renderHighlightedNodes

+

renderHighlightedNodes(): void

+

Method used to render the highlighted nodes.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1029

+
+

renderLabels

+

renderLabels(): this

+

Method used to render labels.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:875

+
+

resetWebGLTexture

+

resetWebGLTexture(id): this

+

Method (re)binding WebGL texture (for picking).

+

Parameters

+
NameType
idstring
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:359

+
+

resize

+

resize(): this

+

Method used to resize the renderer.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1663

+
+

scaleSize

+

scaleSize(size?, cameraRatio?): number

+

Method used to scale the given size according to the camera's ratio, i.e. +zooming state.

+

Parameters

+
NameTypeDefault valueDescription
sizenumber1The size to scale (node size, edge thickness etc.).
cameraRationumberundefinedA camera ratio (defaults to the actual camera ratio).
+

Returns

+

number

+
    +
  • The scaled size.
  • +
+

Defined in

+

sigma/src/sigma.ts:2111

+
+

scheduleHighlightedNodesRender

+

scheduleHighlightedNodesRender(): void

+

Method used to schedule a hover render.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1116

+
+

scheduleRefresh

+

scheduleRefresh(opts?): this

+

Method used to schedule a refresh (i.e. fully reprocess graph data and render) +at the next available frame. +This method can be safely called on a same frame because it basically +debounces refresh to the next frame.

+

Parameters

+
NameType
opts?Object
opts.layoutUnchange?boolean
opts.partialGraph?Object
opts.partialGraph.edges?string[]
opts.partialGraph.nodes?string[]
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1832

+
+

scheduleRender

+

scheduleRender(): this

+

Method used to schedule a render at the next available frame. +This method can be safely called on a same frame because it basically +debounces refresh to the next frame.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1814

+
+

setCamera

+

setCamera(camera): void

+

Method setting the renderer's camera.

+

Parameters

+
NameTypeDescription
cameraCameraNew camera.
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1470

+
+

setCustomBBox

+

setCustomBBox(customBBox): this

+

Method used to override the graph's bounding box with a custom one. Give null as the argument to stop overriding.

+

Parameters

+
NameType
customBBoxnull | { x: Extent ; y: Extent }
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:2023

+
+

setGraph

+

setGraph(graph): void

+

Method used to set the renderer's graph.

+

Parameters

+
NameType
graphAbstractGraph<N, E, G>
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1499

+
+

setMaxListeners

+

setMaxListeners(n): this

+

Parameters

+
NameType
nnumber
+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.setMaxListeners

+

Defined in

+

sigma/src/types.ts:106

+
+

setSetting

+

setSetting<K>(key, value): this

+

Method setting the value of a given setting key. Note that this will schedule +a new render next frame.

+

Type parameters

+
NameType
Kextends keyof Settings<N, E, G>
+

Parameters

+
NameTypeDescription
keyKThe setting key to set.
valueSettings<N, E, G>[K]The value to set.
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1631

+
+

unbindCameraHandlers

+

unbindCameraHandlers(): this

+

Method unbinding camera handlers.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:397

+
+

unbindGraphHandlers

+

unbindGraphHandlers(): void

+

Method used to unbind handlers from the graph.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:683

+
+

updateEdge

+

updateEdge(key): void

+

Update an edge in the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe edge's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1332

+
+

updateNode

+

updateNode(key): void

+

Update a node the internal data structures.

+

Parameters

+
NameTypeDescription
keystringThe node's graphology ID
+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1271

+
+

updateSetting

+

updateSetting<K>(key, updater): this

+

Method updating the value of a given setting key using the provided function. +Note that this will schedule a new render next frame.

+

Type parameters

+
NameType
Kextends keyof Settings<N, E, G>
+

Parameters

+
NameTypeDescription
keyKThe setting key to set.
updater(value: Settings<N, E, G>[K]) => Settings<N, E, G>[K]The update function.
+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1647

+
+

viewRectangle

+

viewRectangle(): Object

+

Method returning the abstract rectangle containing the graph according +to the camera's state.

+

Returns

+

Object

+
    +
  • The view's rectangle.
  • +
+
NameType
heightnumber
x1number
x2number
y1number
y2number
+

Defined in

+

sigma/src/sigma.ts:1872

+
+

viewportToFramedGraph

+

viewportToFramedGraph(coordinates, override?): Coordinates

+

Method returning the coordinates of a point from the viewport system to the framed graph system. It allows +overriding anything that is used to get the translation matrix, or even the matrix itself.

+

Be careful if overriding dimensions, padding or cameraState, as the computation of the matrix is not the lightest +of computations.

+

Parameters

+
NameType
coordinatesCoordinates
overrideCoordinateConversionOverride
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:1931

+
+

viewportToGraph

+

viewportToGraph(viewportPoint, override?): Coordinates

+

Method used to translate a point's coordinates from the viewport system (pixel distance from the top-left of the +stage) to the graph system (the reference system of data as they are in the given graph instance).

+

This method accepts an optional camera which can be useful if you need to translate coordinates +based on a different view than the one being currently being displayed on screen.

+

Parameters

+
NameType
viewportPointCoordinates
overrideCoordinateConversionOverride
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:1966

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src.TouchCaptor/index.html b/docs/typedoc/classes/sigma_src.TouchCaptor/index.html new file mode 100644 index 000000000..3bf507cab --- /dev/null +++ b/docs/typedoc/classes/sigma_src.TouchCaptor/index.html @@ -0,0 +1,352 @@ + + + + + +Class: TouchCaptor<N, E, G> | sigma.js + + + + + +

Class: TouchCaptor<N, E, G>

sigma/src.TouchCaptor

+

Touch captor class.

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    default<TouchCaptorEvents, N, E, G>

    +

    TouchCaptor

    +
  • +
+

Constructors

+

constructor

+

new TouchCaptor<N, E, G>(container, renderer): TouchCaptor<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
containerHTMLElement
rendererSigma<N, E, G>
+

Returns

+

TouchCaptor<N, E, G>

+

Overrides

+

Captor&lt;TouchCaptorEvents, N, E, G&gt;.constructor

+

Defined in

+

sigma/src/core/captors/touch.ts:52

+

Properties

+

container

+

container: HTMLElement

+

Inherited from

+

Captor.container

+

Defined in

+

sigma/src/core/captors/captor.ts:114

+
+

enabled

+

enabled: boolean = true

+

Defined in

+

sigma/src/core/captors/touch.ts:39

+
+

hasMoved

+

hasMoved: boolean = false

+

Defined in

+

sigma/src/core/captors/touch.ts:41

+
+

isMoving

+

isMoving: boolean = false

+

Defined in

+

sigma/src/core/captors/touch.ts:40

+
+

lastTouches

+

Optional lastTouches: Touch[]

+

Defined in

+

sigma/src/core/captors/touch.ts:50

+
+

lastTouchesPositions

+

Optional lastTouchesPositions: Coordinates[]

+

Defined in

+

sigma/src/core/captors/touch.ts:49

+
+

movingTimeout

+

Optional movingTimeout: number

+

Defined in

+

sigma/src/core/captors/touch.ts:44

+
+

rawEmitter

+

rawEmitter: EventEmitter<DefaultEventMap>

+

Inherited from

+

Captor.rawEmitter

+

Defined in

+

sigma/src/types.ts:103

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

Captor.renderer

+

Defined in

+

sigma/src/core/captors/captor.ts:115

+
+

startCameraState

+

Optional startCameraState: CameraState

+

Defined in

+

sigma/src/core/captors/touch.ts:42

+
+

startTouchesAngle

+

Optional startTouchesAngle: number

+

Defined in

+

sigma/src/core/captors/touch.ts:46

+
+

startTouchesDistance

+

Optional startTouchesDistance: number

+

Defined in

+

sigma/src/core/captors/touch.ts:47

+
+

startTouchesPositions

+

startTouchesPositions: Coordinates[] = []

+

Defined in

+

sigma/src/core/captors/touch.ts:48

+
+

touchMode

+

touchMode: number = 0

+

Defined in

+

sigma/src/core/captors/touch.ts:43

+

Methods

+

addListener

+

addListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.addListener

+

Defined in

+

sigma/src/types.ts:109

+
+

dispatchRelatedMouseEvent

+

dispatchRelatedMouseEvent(type, e, touch?, emitter?): void

+

Parameters

+
NameType
typestring
eTouchEvent
touch?Touch
emitter?EventTarget
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/touch.ts:83

+
+

emit

+

emit<Event>(type, ...args): boolean

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
...argsParameters<TouchCaptorEvents[Event]>
+

Returns

+

boolean

+

Inherited from

+

Captor.emit

+

Defined in

+

sigma/src/types.ts:108

+
+

eventNames

+

eventNames<Event>(): Event[]

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Returns

+

Event[]

+

Inherited from

+

Captor.eventNames

+

Defined in

+

sigma/src/types.ts:105

+
+

getDimensions

+

getDimensions(): Dimensions

+

Returns

+

Dimensions

+

Defined in

+

sigma/src/core/captors/touch.ts:76

+
+

getMaxListeners

+

getMaxListeners(): number

+

Returns

+

number

+

Inherited from

+

Captor.getMaxListeners

+

Defined in

+

sigma/src/types.ts:107

+
+

handleLeave

+

handleLeave(e): void

+

Parameters

+
NameType
eTouchEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/touch.ts:123

+
+

handleMove

+

handleMove(e): void

+

Parameters

+
NameType
eTouchEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/touch.ts:183

+
+

handleStart

+

handleStart(e): void

+

Parameters

+
NameType
eTouchEvent
+

Returns

+

void

+

Defined in

+

sigma/src/core/captors/touch.ts:97

+
+

kill

+

kill(): void

+

Returns

+

void

+

Overrides

+

Captor.kill

+

Defined in

+

sigma/src/core/captors/touch.ts:67

+
+

listenerCount

+

listenerCount<Event>(type): number

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

number

+

Inherited from

+

Captor.listenerCount

+

Defined in

+

sigma/src/types.ts:118

+
+

listeners

+

listeners<Event>(type): TouchCaptorEvents[Event][]

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

TouchCaptorEvents[Event][]

+

Inherited from

+

Captor.listeners

+

Defined in

+

sigma/src/types.ts:117

+
+

off

+

off<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.off

+

Defined in

+

sigma/src/types.ts:115

+
+

on

+

on<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.on

+

Defined in

+

sigma/src/types.ts:110

+
+

once

+

once<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.once

+

Defined in

+

sigma/src/types.ts:111

+
+

prependListener

+

prependListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.prependListener

+

Defined in

+

sigma/src/types.ts:112

+
+

prependOnceListener

+

prependOnceListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.prependOnceListener

+

Defined in

+

sigma/src/types.ts:113

+
+

rawListeners

+

rawListeners<Event>(type): TouchCaptorEvents[Event][]

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
+

Returns

+

TouchCaptorEvents[Event][]

+

Inherited from

+

Captor.rawListeners

+

Defined in

+

sigma/src/types.ts:119

+
+

removeAllListeners

+

removeAllListeners<Event>(type?): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
type?Event
+

Returns

+

this

+

Inherited from

+

Captor.removeAllListeners

+

Defined in

+

sigma/src/types.ts:116

+
+

removeListener

+

removeListener<Event>(type, listener): this

+

Type parameters

+
NameType
Eventextends keyof TouchCaptorEvents
+

Parameters

+
NameType
typeEvent
listenerTouchCaptorEvents[Event]
+

Returns

+

this

+

Inherited from

+

Captor.removeListener

+

Defined in

+

sigma/src/types.ts:114

+
+

setMaxListeners

+

setMaxListeners(n): this

+

Parameters

+
NameType
nnumber
+

Returns

+

this

+

Inherited from

+

Captor.setMaxListeners

+

Defined in

+

sigma/src/types.ts:106

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram/index.html new file mode 100644 index 000000000..f554ac442 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgram/index.html @@ -0,0 +1,85 @@ + + + + + +Class: AbstractEdgeProgram<N, E, G> | sigma.js + + + + + +

Class: AbstractEdgeProgram<N, E, G>

sigma/src/rendering.AbstractEdgeProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implemented by

+ +

Constructors

+

constructor

+

new AbstractEdgeProgram<N, E, G>(_gl, _pickGl, _renderer): AbstractEdgeProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
_glWebGLRenderingContext
_pickGlWebGLRenderingContext
_rendererSigma<N, E, G>
+

Returns

+

AbstractEdgeProgram<N, E, G>

+

Inherited from

+

AbstractProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:75

+

Properties

+

drawLabel

+

Abstract drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/rendering/edge.ts:20

+

Methods

+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:78

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/edge.ts:22

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:76

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:77

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram/index.html new file mode 100644 index 000000000..787ee6301 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgram/index.html @@ -0,0 +1,90 @@ + + + + + +Class: AbstractNodeProgram<N, E, G> | sigma.js + + + + + +

Class: AbstractNodeProgram<N, E, G>

sigma/src/rendering.AbstractNodeProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implemented by

+ +

Constructors

+

constructor

+

new AbstractNodeProgram<N, E, G>(_gl, _pickGl, _renderer): AbstractNodeProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
_glWebGLRenderingContext
_pickGlWebGLRenderingContext
_rendererSigma<N, E, G>
+

Returns

+

AbstractNodeProgram<N, E, G>

+

Inherited from

+

AbstractProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:75

+

Properties

+

drawHover

+

Abstract drawHover: undefined | NodeHoverDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/rendering/node.ts:22

+
+

drawLabel

+

Abstract drawLabel: undefined | NodeLabelDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/rendering/node.ts:21

+

Methods

+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:78

+
+

process

+

process(nodeIndex, offset, data): void

+

Parameters

+
NameType
nodeIndexnumber
offsetnumber
dataNodeDisplayData
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node.ts:23

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:76

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:77

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.AbstractProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.AbstractProgram/index.html new file mode 100644 index 000000000..917ebf53a --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.AbstractProgram/index.html @@ -0,0 +1,64 @@ + + + + + +Class: AbstractProgram<N, E, G> | sigma.js + + + + + +

Class: AbstractProgram<N, E, G>

sigma/src/rendering.AbstractProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implemented by

+ +

Constructors

+

constructor

+

new AbstractProgram<N, E, G>(_gl, _pickGl, _renderer): AbstractProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
_glWebGLRenderingContext
_pickGlWebGLRenderingContext
_rendererSigma<N, E, G>
+

Returns

+

AbstractProgram<N, E, G>

+

Defined in

+

sigma/src/rendering/program.ts:75

+

Methods

+

kill

+

kill(): void

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:78

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:76

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:77

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeArrowHeadProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeArrowHeadProgram/index.html new file mode 100644 index 000000000..d16239173 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeArrowHeadProgram/index.html @@ -0,0 +1,329 @@ + + + + + +Class: EdgeArrowHeadProgram<N, E, G> | sigma.js + + + + + +

Class: EdgeArrowHeadProgram<N, E, G>

sigma/src/rendering.EdgeArrowHeadProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    EdgeProgram<typeof UNIFORMS[number], N, E, G>

    +

    EdgeArrowHeadProgram

    +
  • +
+

Constructors

+

constructor

+

new EdgeArrowHeadProgram<N, E, G>(gl, pickingBuffer, renderer): EdgeArrowHeadProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeArrowHeadProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_correctionRatio" | "u_matrix")[]

+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_position"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_barycentric"; size: number = 3; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/edge-arrow-head/index.ts:26

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/edge-arrow-head/index.ts:49

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/edge-arrow-head/index.ts:90

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram/index.html new file mode 100644 index 000000000..70b782e13 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgram/index.html @@ -0,0 +1,329 @@ + + + + + +Class: EdgeClampedProgram<N, E, G> | sigma.js + + + + + +

Class: EdgeClampedProgram<N, E, G>

sigma/src/rendering.EdgeClampedProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Constructors

+

constructor

+

new EdgeClampedProgram<N, E, G>(gl, pickingBuffer, renderer): EdgeClampedProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeClampedProgram<N, E, G>

+

Inherited from

+

EdgeRectangleProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeRectangleProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeRectangleProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeRectangleProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeRectangleProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeRectangleProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeRectangleProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeRectangleProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_correctionRatio" | "u_matrix" | "u_zoomRatio")[]

+

Inherited from

+

EdgeRectangleProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeRectangleProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeRectangleProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeRectangleProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeRectangleProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeRectangleProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Inherited from

+

EdgeRectangleProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeRectangleProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeRectangleProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeRectangleProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeRectangleProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeRectangleProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeRectangleProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_positionStart"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_positionCoef"; size: number = 1; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeRectangleProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/edge-clamped/index.ts:25

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeRectangleProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeRectangleProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Overrides

+

EdgeRectangleProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/edge-clamped/index.ts:55

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/edge-rectangle/index.ts:108

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeRectangleProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeLineProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeLineProgram/index.html new file mode 100644 index 000000000..469aedecb --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeLineProgram/index.html @@ -0,0 +1,329 @@ + + + + + +Class: EdgeLineProgram<N, E, G> | sigma.js + + + + + +

Class: EdgeLineProgram<N, E, G>

sigma/src/rendering.EdgeLineProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    EdgeProgram<typeof UNIFORMS[number], N, E, G>

    +

    EdgeLineProgram

    +
  • +
+

Constructors

+

constructor

+

new EdgeLineProgram<N, E, G>(gl, pickingBuffer, renderer): EdgeLineProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeLineProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly "u_matrix"[]

+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_position"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
FRAGMENT_SHADER_SOURCEstring
METHOD1
UNIFORMSreadonly ["u_matrix"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/edge-line/index.ts:27

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/edge-line/index.ts:42

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/edge-line/index.ts:70

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeProgram/index.html new file mode 100644 index 000000000..edbbd6bbe --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeProgram/index.html @@ -0,0 +1,341 @@ + + + + + +Class: EdgeProgram<Uniform, N, E, G> | sigma.js + + + + + +

Class: EdgeProgram<Uniform, N, E, G>

sigma/src/rendering.EdgeProgram

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new EdgeProgram<Uniform, N, E, G>(gl, pickingBuffer, renderer): EdgeProgram<Uniform, N, E, G>

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeProgram<Uniform, N, E, G>

+

Inherited from

+

Program.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

Program.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

Program.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

Program.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

Program.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

Program.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

Program.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

Program.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly Uniform[]

+

Inherited from

+

Program.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

Program.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

Program.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

Program.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

Program.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

Program.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Implementation of

+

AbstractEdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

Program.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

Program.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

Program.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

Program.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

Program.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

Program.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Inherited from

+

Program.getDefinition

+

Defined in

+

sigma/src/rendering/program.ts:112

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

Program.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

Program.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.kill

+

Overrides

+

Program.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/edge.ts:65

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.reallocate

+

Inherited from

+

Program.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.render

+

Inherited from

+

Program.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.setUniforms

+

Defined in

+

sigma/src/rendering/program.ts:340

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

Program.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram/index.html new file mode 100644 index 000000000..b2cf5ee12 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgram/index.html @@ -0,0 +1,330 @@ + + + + + +Class: EdgeRectangleProgram<N, E, G> | sigma.js + + + + + +

Class: EdgeRectangleProgram<N, E, G>

sigma/src/rendering.EdgeRectangleProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Constructors

+

constructor

+

new EdgeRectangleProgram<N, E, G>(gl, pickingBuffer, renderer): EdgeRectangleProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeRectangleProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_correctionRatio" | "u_matrix" | "u_zoomRatio")[]

+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_positionStart"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_positionCoef"; size: number = 1; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/edge-rectangle/index.ts:36

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/edge-rectangle/index.ts:67

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/edge-rectangle/index.ts:108

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram/index.html new file mode 100644 index 000000000..2b64809a3 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgram/index.html @@ -0,0 +1,329 @@ + + + + + +Class: EdgeTriangleProgram<N, E, G> | sigma.js + + + + + +

Class: EdgeTriangleProgram<N, E, G>

sigma/src/rendering.EdgeTriangleProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    EdgeProgram<typeof UNIFORMS[number], N, E, G>

    +

    EdgeTriangleProgram

    +
  • +
+

Constructors

+

constructor

+

new EdgeTriangleProgram<N, E, G>(gl, pickingBuffer, renderer): EdgeTriangleProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

EdgeTriangleProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_correctionRatio" | "u_matrix")[]

+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawLabel

+

drawLabel: undefined | EdgeLabelDrawingFunction<N, E, G> = undefined

+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_positionStart"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_positionCoef"; size: number = 1; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/edge-triangle/index.ts:26

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

EdgeProgram.kill

+

Defined in

+

sigma/src/rendering/edge.ts:42

+
+

process

+

process(edgeIndex, offset, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
offsetnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem

+

processVisibleItem(edgeIndex, startIndex, sourceData, targetData, data): void

+

Parameters

+
NameType
edgeIndexnumber
startIndexnumber
sourceDataNodeDisplayData
targetDataNodeDisplayData
dataDisplayData
+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/edge-triangle/index.ts:54

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/edge-triangle/index.ts:96

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram/index.html new file mode 100644 index 000000000..9b7e223fd --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgram/index.html @@ -0,0 +1,351 @@ + + + + + +Class: NodeCircleProgram<N, E, G> | sigma.js + + + + + +

Class: NodeCircleProgram<N, E, G>

sigma/src/rendering.NodeCircleProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    NodeProgram<typeof UNIFORMS[number], N, E, G>

    +

    NodeCircleProgram

    +
  • +
+

Constructors

+

constructor

+

new NodeCircleProgram<N, E, G>(gl, pickingBuffer, renderer): NodeCircleProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

NodeCircleProgram<N, E, G>

+

Inherited from

+

NodeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

NodeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

NodeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

NodeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

NodeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

NodeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

NodeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

NodeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_correctionRatio" | "u_matrix")[]

+

Inherited from

+

NodeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

NodeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

NodeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

NodeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

NodeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

NodeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawHover

+

drawHover: undefined | NodeHoverDrawingFunction<N, E, G>

+

Inherited from

+

NodeProgram.drawHover

+

Defined in

+

sigma/src/rendering/node.ts:36

+
+

drawLabel

+

drawLabel: undefined | NodeLabelDrawingFunction<N, E, G>

+

Inherited from

+

NodeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/node.ts:35

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

NodeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

NodeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

NodeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

NodeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

NodeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+
+

ANGLE_1

+

Static Readonly ANGLE_1: 0

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:29

+
+

ANGLE_2

+

Static Readonly ANGLE_2: number

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:30

+
+

ANGLE_3

+

Static Readonly ANGLE_3: number

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:31

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

NodeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_position"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
CONSTANT_ATTRIBUTES{ name: string = "a_angle"; size: number = 1; type: 5126 = FLOAT }[]
CONSTANT_DATAnumber[][]
FRAGMENT_SHADER_SOURCEstring
METHOD4
UNIFORMSreadonly ["u_sizeRatio", "u_correctionRatio", "u_matrix"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

NodeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:33

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

NodeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

NodeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

NodeProgram.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process

+

process(nodeIndex, offset, data): void

+

Parameters

+
NameType
nodeIndexnumber
offsetnumber
dataNodeDisplayData
+

Returns

+

void

+

Inherited from

+

NodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem

+

processVisibleItem(nodeIndex, startIndex, data): void

+

Parameters

+
NameType
nodeIndexnumber
startIndexnumber
dataNodeDisplayData
+

Returns

+

void

+

Overrides

+

NodeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:51

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

NodeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

NodeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, «destructured»): void

+

Parameters

+
NameType
paramsRenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

NodeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/node-circle/index.ts:62

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.NodePointProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.NodePointProgram/index.html new file mode 100644 index 000000000..1187740ba --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.NodePointProgram/index.html @@ -0,0 +1,336 @@ + + + + + +Class: NodePointProgram<N, E, G> | sigma.js + + + + + +

Class: NodePointProgram<N, E, G>

sigma/src/rendering.NodePointProgram

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+
    +
  • +

    NodeProgram<typeof UNIFORMS[number], N, E, G>

    +

    NodePointProgram

    +
  • +
+

Constructors

+

constructor

+

new NodePointProgram<N, E, G>(gl, pickingBuffer, renderer): NodePointProgram<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

NodePointProgram<N, E, G>

+

Inherited from

+

NodeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

NodeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

NodeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

NodeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

NodeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

NodeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

NodeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

NodeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly ("u_sizeRatio" | "u_matrix" | "u_pixelRatio")[]

+

Inherited from

+

NodeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

NodeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

NodeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

NodeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

NodeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

NodeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawHover

+

drawHover: undefined | NodeHoverDrawingFunction<N, E, G>

+

Inherited from

+

NodeProgram.drawHover

+

Defined in

+

sigma/src/rendering/node.ts:36

+
+

drawLabel

+

drawLabel: undefined | NodeLabelDrawingFunction<N, E, G>

+

Inherited from

+

NodeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/node.ts:35

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

NodeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

NodeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

NodeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

NodeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

NodeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

NodeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): Object

+

Returns

+

Object

+
NameType
ATTRIBUTES({ name: string = "a_position"; normalized?: undefined = true; size: number = 2; type: 5126 = FLOAT } | { name: string = "a_color"; normalized: boolean = true; size: number = 4; type: 5121 = UNSIGNED_BYTE })[]
FRAGMENT_SHADER_SOURCEstring
METHOD0
UNIFORMSreadonly ["u_sizeRatio", "u_pixelRatio", "u_matrix"]
VERTEX_SHADER_SOURCEstring
VERTICESnumber
+

Overrides

+

NodeProgram.getDefinition

+

Defined in

+

sigma/src/rendering/programs/node-point/index.ts:28

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

NodeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

NodeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Inherited from

+

NodeProgram.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process

+

process(nodeIndex, offset, data): void

+

Parameters

+
NameType
nodeIndexnumber
offsetnumber
dataNodeDisplayData
+

Returns

+

void

+

Inherited from

+

NodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem

+

processVisibleItem(nodeIndex, startIndex, data): void

+

Parameters

+
NameType
nodeIndexnumber
startIndexnumber
dataNodeDisplayData
+

Returns

+

void

+

Overrides

+

NodeProgram.processVisibleItem

+

Defined in

+

sigma/src/rendering/programs/node-point/index.ts:44

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Inherited from

+

NodeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Inherited from

+

NodeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(«destructured», «destructured»): void

+

Parameters

+
NameType
«destructured»RenderParams
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Overrides

+

NodeProgram.setUniforms

+

Defined in

+

sigma/src/rendering/programs/node-point/index.ts:54

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.NodeProgram/index.html b/docs/typedoc/classes/sigma_src_rendering.NodeProgram/index.html new file mode 100644 index 000000000..2c808f30f --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.NodeProgram/index.html @@ -0,0 +1,345 @@ + + + + + +Class: NodeProgram<Uniform, N, E, G> | sigma.js + + + + + +

Class: NodeProgram<Uniform, N, E, G>

sigma/src/rendering.NodeProgram

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new NodeProgram<Uniform, N, E, G>(gl, pickingBuffer, renderer): NodeProgram<Uniform, N, E, G>

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

NodeProgram<Uniform, N, E, G>

+

Inherited from

+

Program.constructor

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

Program.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Inherited from

+

Program.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Inherited from

+

Program.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Inherited from

+

Program.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Inherited from

+

Program.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Inherited from

+

Program.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Inherited from

+

Program.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly Uniform[]

+

Inherited from

+

Program.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Inherited from

+

Program.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Inherited from

+

Program.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Inherited from

+

Program.array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Inherited from

+

Program.capacity

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Inherited from

+

Program.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

drawHover

+

drawHover: undefined | NodeHoverDrawingFunction<N, E, G>

+

Implementation of

+

AbstractNodeProgram.drawHover

+

Defined in

+

sigma/src/rendering/node.ts:36

+
+

drawLabel

+

drawLabel: undefined | NodeLabelDrawingFunction<N, E, G>

+

Implementation of

+

AbstractNodeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/node.ts:35

+
+

isInstanced

+

isInstanced: boolean

+

Inherited from

+

Program.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Inherited from

+

Program.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Inherited from

+

Program.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Inherited from

+

Program.renderer

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Inherited from

+

Program.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Inherited from

+

Program.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Inherited from

+

Program.getDefinition

+

Defined in

+

sigma/src/rendering/program.ts:112

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Inherited from

+

Program.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Inherited from

+

Program.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.kill

+

Overrides

+

Program.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process

+

process(nodeIndex, offset, data): void

+

Parameters

+
NameType
nodeIndexnumber
offsetnumber
dataNodeDisplayData
+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem

+

processVisibleItem(nodeIndex, i, data): void

+

Parameters

+
NameType
nodeIndexnumber
inumber
dataNodeDisplayData
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node.ts:55

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.reallocate

+

Inherited from

+

Program.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.render

+

Inherited from

+

Program.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.setUniforms

+

Defined in

+

sigma/src/rendering/program.ts:340

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Inherited from

+

Program.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Inherited from

+

Program.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/classes/sigma_src_rendering.Program/index.html b/docs/typedoc/classes/sigma_src_rendering.Program/index.html new file mode 100644 index 000000000..79e949d10 --- /dev/null +++ b/docs/typedoc/classes/sigma_src_rendering.Program/index.html @@ -0,0 +1,263 @@ + + + + + +Class: Program<Uniform, N, E, G> | sigma.js + + + + + +

Class: Program<Uniform, N, E, G>

sigma/src/rendering.Program

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Hierarchy

+ +

Implements

+ +

Constructors

+

constructor

+

new Program<Uniform, N, E, G>(gl, pickingBuffer, renderer): Program<Uniform, N, E, G>

+

Type parameters

+
NameType
Uniformextends string = string
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
glWebGLRenderingContext | WebGL2RenderingContext
pickingBuffernull | WebGLFramebuffer
rendererSigma<N, E, G>
+

Returns

+

Program<Uniform, N, E, G>

+

Defined in

+

sigma/src/rendering/program.ts:114

+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Implementation of

+

InstancedProgramDefinition.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:93

+
+

ATTRIBUTES_ITEMS_COUNT

+

ATTRIBUTES_ITEMS_COUNT: number

+

Defined in

+

sigma/src/rendering/program.ts:98

+
+

CONSTANT_ATTRIBUTES

+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+

Implementation of

+

InstancedProgramDefinition.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:95

+
+

CONSTANT_DATA

+

CONSTANT_DATA: number[][]

+

Implementation of

+

InstancedProgramDefinition.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:96

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Implementation of

+

InstancedProgramDefinition.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:91

+
+

METHOD

+

METHOD: number

+

Implementation of

+

InstancedProgramDefinition.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:94

+
+

STRIDE

+

STRIDE: number

+

Defined in

+

sigma/src/rendering/program.ts:99

+
+

UNIFORMS

+

UNIFORMS: readonly Uniform[]

+

Implementation of

+

InstancedProgramDefinition.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:92

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Implementation of

+

InstancedProgramDefinition.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:90

+
+

VERTICES

+

VERTICES: number

+

Implementation of

+

InstancedProgramDefinition.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:89

+
+

array

+

array: Float32Array

+

Defined in

+

sigma/src/rendering/program.ts:102

+
+

capacity

+

capacity: number = 0

+

Defined in

+

sigma/src/rendering/program.ts:104

+
+

constantArray

+

constantArray: Float32Array

+

Defined in

+

sigma/src/rendering/program.ts:103

+
+

isInstanced

+

isInstanced: boolean

+

Defined in

+

sigma/src/rendering/program.ts:110

+
+

normalProgram

+

normalProgram: ProgramInfo<string>

+

Defined in

+

sigma/src/rendering/program.ts:107

+
+

pickProgram

+

pickProgram: null | ProgramInfo<string>

+

Defined in

+

sigma/src/rendering/program.ts:108

+
+

renderer

+

renderer: Sigma<N, E, G>

+

Defined in

+

sigma/src/rendering/program.ts:101

+
+

verticesCount

+

verticesCount: number = 0

+

Defined in

+

sigma/src/rendering/program.ts:105

+

Methods

+

bindAttribute

+

bindAttribute(attr, program, offset, setDivisor?): number

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
offsetnumber
setDivisor?boolean
+

Returns

+

number

+

Defined in

+

sigma/src/rendering/program.ts:268

+
+

bindProgram

+

bindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:230

+
+

drawWebGL

+

drawWebGL(method, «destructured»): void

+

Parameters

+
NameType
methodnumber
«destructured»ProgramInfo<string>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:379

+
+

getDefinition

+

getDefinition(): ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Defined in

+

sigma/src/rendering/program.ts:112

+
+

getProgramInfo

+

getProgramInfo(name, gl, vertexShaderSource, fragmentShaderSource, frameBuffer): ProgramInfo<string>

+

Parameters

+
NameType
name"normal" | "pick"
glWebGLRenderingContext | WebGL2RenderingContext
vertexShaderSourcestring
fragmentShaderSourcestring
frameBuffernull | WebGLFramebuffer
+

Returns

+

ProgramInfo<string>

+

Defined in

+

sigma/src/rendering/program.ts:176

+
+

hasNothingToRender

+

hasNothingToRender(): boolean

+

Returns

+

boolean

+

Defined in

+

sigma/src/rendering/program.ts:336

+
+

kill

+

kill(): void

+

Returns

+

void

+

Implementation of

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:174

+
+

reallocate

+

reallocate(capacity): void

+

Parameters

+
NameType
capacitynumber
+

Returns

+

void

+

Implementation of

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:321

+
+

render

+

render(params): void

+

Parameters

+
NameType
paramsRenderParams
+

Returns

+

void

+

Implementation of

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:358

+
+

renderProgram

+

renderProgram(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:342

+
+

setUniforms

+

setUniforms(params, programInfo): void

+

Parameters

+
NameType
paramsRenderParams
programInfoProgramInfo<string>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:340

+
+

unbindAttribute

+

unbindAttribute(attr, program, unsetDivisor?): void

+

Parameters

+
NameType
attrProgramAttributeSpecification
programProgramInfo<string>
unsetDivisor?boolean
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:303

+
+

unbindProgram

+

unbindProgram(program): void

+

Parameters

+
NameType
programProgramInfo<string>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:259

+ + \ No newline at end of file diff --git a/docs/typedoc/index.html b/docs/typedoc/index.html new file mode 100644 index 000000000..b32d92f2c --- /dev/null +++ b/docs/typedoc/index.html @@ -0,0 +1,23 @@ + + + + + +@sigma/root | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition/index.html b/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition/index.html new file mode 100644 index 000000000..4bcd0d5e6 --- /dev/null +++ b/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinition/index.html @@ -0,0 +1,46 @@ + + + + + +Interface: ProgramDefinition<Uniform> | sigma.js + + + + + +

Interface: ProgramDefinition<Uniform>

sigma/src/rendering.ProgramDefinition

+

Type parameters

+
NameType
Uniformextends string = string
+

Properties

+

ATTRIBUTES

+

ATTRIBUTES: ProgramAttributeSpecification[]

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

FRAGMENT_SHADER_SOURCE

+

FRAGMENT_SHADER_SOURCE: string

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

METHOD

+

METHOD: number

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

UNIFORMS

+

UNIFORMS: readonly Uniform[]

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+

VERTEX_SHADER_SOURCE: string

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+

VERTICES: number

+

Defined in

+

sigma/src/rendering/program.ts:56

+ + \ No newline at end of file diff --git a/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo/index.html b/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo/index.html new file mode 100644 index 000000000..2d960b3f5 --- /dev/null +++ b/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfo/index.html @@ -0,0 +1,61 @@ + + + + + +Interface: ProgramInfo<Uniform> | sigma.js + + + + + +

Interface: ProgramInfo<Uniform>

sigma/src/rendering.ProgramInfo

+

Type parameters

+
NameType
Uniformextends string = string
+

Properties

+

attributeLocations

+

attributeLocations: Record<string, number>

+

Defined in

+

sigma/src/rendering/program.ts:45

+
+

buffer

+

buffer: WebGLBuffer

+

Defined in

+

sigma/src/rendering/program.ts:42

+
+

constantBuffer

+

constantBuffer: WebGLBuffer

+

Defined in

+

sigma/src/rendering/program.ts:43

+
+

frameBuffer

+

frameBuffer: null | WebGLFramebuffer

+

Defined in

+

sigma/src/rendering/program.ts:41

+
+

gl

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

Defined in

+

sigma/src/rendering/program.ts:40

+
+

isPicking

+

isPicking: boolean

+

Defined in

+

sigma/src/rendering/program.ts:38

+
+

name

+

name: string

+

Defined in

+

sigma/src/rendering/program.ts:37

+
+

program

+

program: WebGLProgram

+

Defined in

+

sigma/src/rendering/program.ts:39

+
+

uniformLocations

+

uniformLocations: Record<Uniform, WebGLUniformLocation>

+

Defined in

+

sigma/src/rendering/program.ts:44

+ + \ No newline at end of file diff --git a/docs/typedoc/interfaces/sigma_src_settings.Settings/index.html b/docs/typedoc/interfaces/sigma_src_settings.Settings/index.html new file mode 100644 index 000000000..57c8abcdd --- /dev/null +++ b/docs/typedoc/interfaces/sigma_src_settings.Settings/index.html @@ -0,0 +1,204 @@ + + + + + +Interface: Settings<N, E, G> | sigma.js + + + + + +

sigma/src/settings.Settings

+

Sigma.js settings

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Properties

+

allowInvalidContainer

+

allowInvalidContainer: boolean

+

Defined in

+

sigma/src/settings.ts:76

+
+

defaultDrawEdgeLabel

+

defaultDrawEdgeLabel: EdgeLabelDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/settings.ts:57

+
+

defaultDrawNodeHover

+

defaultDrawNodeHover: NodeHoverDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/settings.ts:59

+
+

defaultDrawNodeLabel

+

defaultDrawNodeLabel: NodeLabelDrawingFunction<N, E, G>

+

Defined in

+

sigma/src/settings.ts:58

+
+

defaultEdgeColor

+

defaultEdgeColor: string

+

Defined in

+

sigma/src/settings.ts:44

+
+

defaultEdgeType

+

defaultEdgeType: string

+

Defined in

+

sigma/src/settings.ts:45

+
+

defaultNodeColor

+

defaultNodeColor: string

+

Defined in

+

sigma/src/settings.ts:42

+
+

defaultNodeType

+

defaultNodeType: string

+

Defined in

+

sigma/src/settings.ts:43

+
+

edgeLabelColor

+

edgeLabelColor: { attribute: string ; color?: string } | { attribute?: undefined ; color: string }

+

Defined in

+

sigma/src/settings.ts:53

+
+

edgeLabelFont

+

edgeLabelFont: string

+

Defined in

+

sigma/src/settings.ts:50

+
+

edgeLabelSize

+

edgeLabelSize: number

+

Defined in

+

sigma/src/settings.ts:51

+
+

edgeLabelWeight

+

edgeLabelWeight: string

+

Defined in

+

sigma/src/settings.ts:52

+
+

edgeProgramClasses

+

edgeProgramClasses: Object

+

Index signature

+

▪ [type: string]: EdgeProgramType<N, E, G>

+

Defined in

+

sigma/src/settings.ts:81

+
+

edgeReducer

+

edgeReducer: null | (edge: string, data: E) => Partial<DisplayData>

+

Defined in

+

sigma/src/settings.ts:68

+
+

enableEdgeEvents

+

enableEdgeEvents: boolean

+

Defined in

+

sigma/src/settings.ts:40

+
+

hideEdgesOnMove

+

hideEdgesOnMove: boolean

+

Defined in

+

sigma/src/settings.ts:36

+
+

hideLabelsOnMove

+

hideLabelsOnMove: boolean

+

Defined in

+

sigma/src/settings.ts:37

+
+

itemSizesReference

+

itemSizesReference: "screen" | "positions"

+

Defined in

+

sigma/src/settings.ts:56

+
+

labelColor

+

labelColor: { attribute: string ; color?: string } | { attribute?: undefined ; color: string }

+

Defined in

+

sigma/src/settings.ts:49

+
+

labelDensity

+

labelDensity: number

+

Defined in

+

sigma/src/settings.ts:62

+
+

labelFont

+

labelFont: string

+

Defined in

+

sigma/src/settings.ts:46

+
+

labelGridCellSize

+

labelGridCellSize: number

+

Defined in

+

sigma/src/settings.ts:63

+
+

labelRenderedSizeThreshold

+

labelRenderedSizeThreshold: number

+

Defined in

+

sigma/src/settings.ts:64

+
+

labelSize

+

labelSize: number

+

Defined in

+

sigma/src/settings.ts:47

+
+

labelWeight

+

labelWeight: string

+

Defined in

+

sigma/src/settings.ts:48

+
+

maxCameraRatio

+

maxCameraRatio: null | number

+

Defined in

+

sigma/src/settings.ts:73

+
+

minCameraRatio

+

minCameraRatio: null | number

+

Defined in

+

sigma/src/settings.ts:72

+
+

nodeHoverProgramClasses

+

nodeHoverProgramClasses: Object

+

Index signature

+

▪ [type: string]: NodeProgramType<N, E, G>

+

Defined in

+

sigma/src/settings.ts:80

+
+

nodeProgramClasses

+

nodeProgramClasses: Object

+

Index signature

+

▪ [type: string]: NodeProgramType<N, E, G>

+

Defined in

+

sigma/src/settings.ts:79

+
+

nodeReducer

+

nodeReducer: null | (node: string, data: N) => Partial<NodeDisplayData>

+

Defined in

+

sigma/src/settings.ts:67

+
+

renderEdgeLabels

+

renderEdgeLabels: boolean

+

Defined in

+

sigma/src/settings.ts:39

+
+

renderLabels

+

renderLabels: boolean

+

Defined in

+

sigma/src/settings.ts:38

+
+

stagePadding

+

stagePadding: number

+

Defined in

+

sigma/src/settings.ts:54

+
+

zIndex

+

zIndex: boolean

+

Defined in

+

sigma/src/settings.ts:71

+
+

zoomToSizeRatioFunction

+

zoomToSizeRatioFunction: (ratio: number) => number

+

Type declaration

+

▸ (ratio): number

+
Parameters
+
NameType
rationumber
+
Returns
+

number

+

Defined in

+

sigma/src/settings.ts:55

+ + \ No newline at end of file diff --git a/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions/index.html b/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions/index.html new file mode 100644 index 000000000..f8a3046f7 --- /dev/null +++ b/docs/typedoc/interfaces/sigma_src_utils.AnimateOptions/index.html @@ -0,0 +1,24 @@ + + + + + +Interface: AnimateOptions | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction/index.html b/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction/index.html new file mode 100644 index 000000000..38b4f29c1 --- /dev/null +++ b/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunction/index.html @@ -0,0 +1,47 @@ + + + + + +Interface: NormalizationFunction | sigma.js + + + + + +

Interface: NormalizationFunction

sigma/src/utils.NormalizationFunction

+

Factory returning a function normalizing the given node's position & size.

+

Callable

+

NormalizationFunction

+

NormalizationFunction(data): Coordinates

+

Parameters

+
NameType
dataCoordinates
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/utils/normalization.ts:7

+

Properties

+

ratio

+

ratio: number

+

Defined in

+

sigma/src/utils/normalization.ts:8

+

Methods

+

applyTo

+

applyTo(data): void

+

Parameters

+
NameType
dataCoordinates
+

Returns

+

void

+

Defined in

+

sigma/src/utils/normalization.ts:10

+
+

inverse

+

inverse(data): Coordinates

+

Parameters

+
NameType
dataCoordinates
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/utils/normalization.ts:9

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/edge_curve_src/index.html b/docs/typedoc/modules/edge_curve_src/index.html new file mode 100644 index 000000000..a78136a01 --- /dev/null +++ b/docs/typedoc/modules/edge_curve_src/index.html @@ -0,0 +1,32 @@ + + + + + +Module: edge-curve/src | sigma.js + + + + + +

Module: edge-curve/src

Classes

+ +

Variables

+

DEFAULT_EDGE_CURVATURE

+

Const DEFAULT_EDGE_CURVATURE: 0.25

+

Defined in

+

edge-curve/src/utils.ts:6

+

Functions

+

indexParallelEdgesIndex

+

indexParallelEdgesIndex(graph, options?): void

+

This function helps to identify parallel edges, to adjust their curvatures.

+

Parameters

+
NameType
graphdefault<Attributes, Attributes, Attributes>
options?Partial<{ edgeIndexAttribute: string = "parallelIndex"; edgeMaxIndexAttribute: string = "parallelMaxIndex" }>
+

Returns

+

void

+

Defined in

+

edge-curve/src/utils.ts:16

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/node_border_src/index.html b/docs/typedoc/modules/node_border_src/index.html new file mode 100644 index 000000000..2439ca496 --- /dev/null +++ b/docs/typedoc/modules/node_border_src/index.html @@ -0,0 +1,29 @@ + + + + + +Module: node-border/src | sigma.js + + + + + +

Module: node-border/src

Variables

+

NodeBorderProgram

+

Const NodeBorderProgram: NodeProgramType<Attributes, Attributes, Attributes>

+

Defined in

+

node-border/src/index.ts:4

+

Functions

+

createNodeBorderProgram

+

createNodeBorderProgram<N, E, G>(inputOptions?): NodeProgramType<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
inputOptions?Partial<CreateNodeBorderProgramOptions>
+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

node-border/src/factory.ts:12

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/node_image_src/index.html b/docs/typedoc/modules/node_image_src/index.html new file mode 100644 index 000000000..562b8209c --- /dev/null +++ b/docs/typedoc/modules/node_image_src/index.html @@ -0,0 +1,37 @@ + + + + + +Module: node-image/src | sigma.js + + + + + +

Module: node-image/src

Variables

+

NodeImageProgram

+

Const NodeImageProgram: NodeProgramType<Attributes, Attributes, Attributes>

+

Defined in

+

node-image/src/index.ts:4

+
+

NodePictogramProgram

+

Const NodePictogramProgram: NodeProgramType<Attributes, Attributes, Attributes>

+

Defined in

+

node-image/src/index.ts:5

+

Functions

+

createNodeImageProgram

+

createNodeImageProgram<N, E, G>(options?): NodeProgramType<N, E, G>

+

To share the texture between the program instances of the graph and the +hovered nodes (to prevent some flickering, mostly), this program must be +"built" for each sigma instance:

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
options?Partial<CreateNodeImageProgramOptions<N, E, G>>
+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

node-image/src/factory.ts:62

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/sigma_src/index.html b/docs/typedoc/modules/sigma_src/index.html new file mode 100644 index 000000000..80d47f24c --- /dev/null +++ b/docs/typedoc/modules/sigma_src/index.html @@ -0,0 +1,25 @@ + + + + + +Module: sigma/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/modules/sigma_src_rendering/index.html b/docs/typedoc/modules/sigma_src_rendering/index.html new file mode 100644 index 000000000..9c13f4057 --- /dev/null +++ b/docs/typedoc/modules/sigma_src_rendering/index.html @@ -0,0 +1,195 @@ + + + + + +Module: sigma/src/rendering | sigma.js + + + + + +

Module: sigma/src/rendering

Classes

+ +

Interfaces

+ +

Type Aliases

+

EdgeLabelDrawingFunction

+

Ƭ EdgeLabelDrawingFunction<N, E, G>: (context: CanvasRenderingContext2D, edgeData: PartialButFor<EdgeDisplayData, "label" | "color" | "size">, sourceData: PartialButFor<NodeDisplayData, "x" | "y" | "size">, targetData: PartialButFor<NodeDisplayData, "x" | "y" | "size">, settings: Settings<N, E, G>) => void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Type declaration

+

▸ (context, edgeData, sourceData, targetData, settings): void

+
Parameters
+
NameType
contextCanvasRenderingContext2D
edgeDataPartialButFor<EdgeDisplayData, "label" | "color" | "size">
sourceDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
targetDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
settingsSettings<N, E, G>
+
Returns
+

void

+

Defined in

+

sigma/src/rendering/edge-labels.ts:6

+
+

EdgeProgramType

+

Ƭ EdgeProgramType<N, E, G>: typeof EdgeImageClass

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Defined in

+

sigma/src/rendering/edge.ts:105

+
+

NodeHoverDrawingFunction

+

Ƭ NodeHoverDrawingFunction<N, E, G>: (context: CanvasRenderingContext2D, data: PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">, settings: Settings<N, E, G>) => void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Type declaration

+

▸ (context, data, settings): void

+
Parameters
+
NameType
contextCanvasRenderingContext2D
dataPartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">
settingsSettings<N, E, G>
+
Returns
+

void

+

Defined in

+

sigma/src/rendering/node-hover.ts:7

+
+

NodeLabelDrawingFunction

+

Ƭ NodeLabelDrawingFunction<N, E, G>: (context: CanvasRenderingContext2D, data: PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">, settings: Settings<N, E, G>) => void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Type declaration

+

▸ (context, data, settings): void

+
Parameters
+
NameType
contextCanvasRenderingContext2D
dataPartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">
settingsSettings<N, E, G>
+
Returns
+

void

+

Defined in

+

sigma/src/rendering/node-labels.ts:6

+
+

NodeProgramType

+

Ƭ NodeProgramType<N, E, G>: typeof NodeImageClass

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Defined in

+

sigma/src/rendering/node.ts:83

+

Variables

+

EdgeArrowProgram

+

Const EdgeArrowProgram: Object

+

Call signature

+

new EdgeArrowProgram(_gl, _pickingBuffer, _renderer): EdgeImageClass<Attributes, Attributes, Attributes>

+
Parameters
+
NameType
_glWebGLRenderingContext
_pickingBuffernull | WebGLFramebuffer
_rendererSigma<Attributes, Attributes, Attributes>
+
Returns
+

EdgeImageClass<Attributes, Attributes, Attributes>

+

Type declaration

+
NameType
prototypeEdgeImageClass<any, any, any>
+

Defined in

+

sigma/src/rendering/programs/edge-arrow/index.ts:12

+

Functions

+

createEdgeCompoundProgram

+

createEdgeCompoundProgram<N, E, G>(programClasses, drawLabel?): EdgeProgramType<N, E, G>

+

Helper function combining two or more programs into a single compound one. +Note that this is more a quick & easy way to combine program than a really +performant option. More performant programs can be written entirely.

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameTypeDescription
programClasses(_gl: WebGLRenderingContext, _pickingBuffer: null | WebGLFramebuffer, _renderer: Sigma<N, E, G>) => EdgeImageClass<N, E, G>[]Program classes to combine.
drawLabel?EdgeLabelDrawingFunction<N, E, G>An optional edge "draw label" function.
+

Returns

+

EdgeProgramType<N, E, G>

+

Defined in

+

sigma/src/rendering/edge.ts:120

+
+

createNodeCompoundProgram

+

createNodeCompoundProgram<N, E, G>(programClasses, drawLabel?, drawHover?): NodeProgramType<N, E, G>

+

Helper function combining two or more programs into a single compound one. +Note that this is more a quick & easy way to combine program than a really +performant option. More performant programs can be written entirely.

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameTypeDescription
programClassesNonEmptyArray<(_gl: WebGLRenderingContext, _pickingBuffer: null | WebGLFramebuffer, _renderer: Sigma<N, E, G>) => NodeImageClass<N, E, G>>Program classes to combine.
drawLabel?NodeLabelDrawingFunction<N, E, G>An optional node "draw label" function.
drawHover?NodeLabelDrawingFunction<N, E, G>An optional node "draw hover" function.
+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

sigma/src/rendering/node.ts:99

+
+

drawDiscNodeHover

+

drawDiscNodeHover<N, E, G>(context, data, settings): void

+

Draw an hovered node.

+
    +
  • if there is no label => display a shadow on the node
  • +
  • if the label box is bigger than node size => display a label box that contains the node with a shadow
  • +
  • else node with shadow and the label box
  • +
+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
contextCanvasRenderingContext2D
dataPartialButFor<NodeDisplayData, "x" | "y" | "label" | "color" | "size">
settingsSettings<N, E, G>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node-hover.ts:23

+
+

drawDiscNodeLabel

+

drawDiscNodeLabel<N, E, G>(context, data, settings): void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
contextCanvasRenderingContext2D
dataPartialButFor<NodeDisplayData, "x" | "y" | "label" | "color" | "size">
settingsSettings<N, E, G>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node-labels.ts:16

+
+

drawStraightEdgeLabel

+

drawStraightEdgeLabel<N, E, G>(context, edgeData, sourceData, targetData, settings): void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
contextCanvasRenderingContext2D
edgeDataPartialButFor<DisplayData, "label" | "color" | "size">
sourceDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
targetDataPartialButFor<NodeDisplayData, "x" | "y" | "size">
settingsSettings<N, E, G>
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/edge-labels.ts:18

+
+

loadFragmentShader

+

loadFragmentShader(gl, source): WebGLShader

+

Parameters

+
NameType
glWebGLRenderingContext
sourcestring
+

Returns

+

WebGLShader

+

Defined in

+

sigma/src/rendering/utils.ts:44

+
+

loadProgram

+

loadProgram(gl, shaders): WebGLProgram

+

Function used to load a program.

+

Parameters

+
NameType
glWebGLRenderingContext
shadersWebGLShader[]
+

Returns

+

WebGLProgram

+

Defined in

+

sigma/src/rendering/utils.ts:51

+
+

loadVertexShader

+

loadVertexShader(gl, source): WebGLShader

+

Parameters

+
NameType
glWebGLRenderingContext
sourcestring
+

Returns

+

WebGLShader

+

Defined in

+

sigma/src/rendering/utils.ts:41

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/sigma_src_settings/index.html b/docs/typedoc/modules/sigma_src_settings/index.html new file mode 100644 index 000000000..0b40613eb --- /dev/null +++ b/docs/typedoc/modules/sigma_src_settings/index.html @@ -0,0 +1,56 @@ + + + + + +Module: sigma/src/settings | sigma.js + + + + + +

Sigma.js Settings

+

The list of settings and some handy functions.

+

Interfaces

+ +

Variables

+

DEFAULT_EDGE_PROGRAM_CLASSES

+

Const DEFAULT_EDGE_PROGRAM_CLASSES: Record<string, EdgeProgramType>

+

Defined in

+

sigma/src/settings.ts:139

+
+

DEFAULT_NODE_PROGRAM_CLASSES

+

Const DEFAULT_NODE_PROGRAM_CLASSES: Record<string, NodeProgramType>

+

Defined in

+

sigma/src/settings.ts:135

+
+

DEFAULT_SETTINGS

+

Const DEFAULT_SETTINGS: Settings<Attributes, Attributes, Attributes>

+

Defined in

+

sigma/src/settings.ts:84

+

Functions

+

resolveSettings

+

resolveSettings<N, E, G>(settings): Settings<N, E, G>

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
settingsPartial<Settings<N, E, G>>
+

Returns

+

Settings<N, E, G>

+

Defined in

+

sigma/src/settings.ts:161

+
+

validateSettings

+

validateSettings<N, E, G>(settings): void

+

Type parameters

+
NameType
Nextends Attributes = Attributes
Eextends Attributes = Attributes
Gextends Attributes = Attributes
+

Parameters

+
NameType
settingsSettings<N, E, G>
+

Returns

+

void

+

Defined in

+

sigma/src/settings.ts:144

+ + \ No newline at end of file diff --git a/docs/typedoc/modules/sigma_src_utils/index.html b/docs/typedoc/modules/sigma_src_utils/index.html new file mode 100644 index 000000000..d58243c9b --- /dev/null +++ b/docs/typedoc/modules/sigma_src_utils/index.html @@ -0,0 +1,405 @@ + + + + + +Module: sigma/src/utils | sigma.js + + + + + +

Sigma.js Utils

+

Various helper functions & classes used throughout the library.

+

Interfaces

+ +

Type Aliases

+

Easing

+

Ƭ Easing: keyof typeof easings | (k: number) => number

+

Defaults.

+

Defined in

+

sigma/src/utils/animate.ts:9

+

Variables

+

ANIMATE_DEFAULTS

+

Const ANIMATE_DEFAULTS: Object

+

Type declaration

+
NameType
durationnumber
easingstring
+

Defined in

+

sigma/src/utils/animate.ts:15

+
+

HTML_COLORS

+

Const HTML_COLORS: Record<string, string>

+

Defined in

+

sigma/src/utils/colors.ts:1

+
+

easings

+

Const easings: Object

+

Index signature

+

▪ [key: string]: (k: number) => number

+

Defined in

+

sigma/src/utils/easings.ts:21

+

Functions

+

animateNodes

+

animateNodes(graph, targets, opts, callback?): () => void

+

Function used to animate the nodes.

+

Parameters

+
NameType
graphAbstractGraph<Attributes, Attributes, Attributes>
targetsPlainObject<PlainObject<number>>
optsPartial<AnimateOptions>
callback?() => void
+

Returns

+

fn

+

▸ (): void

+
Returns
+

void

+

Defined in

+

sigma/src/utils/animate.ts:23

+
+

assign

+

assign<T>(target, ...objects): T

+

Helper to use Object.assign with more than two objects.

+

Type parameters

+
Name
T
+

Parameters

+
NameType
targetundefined | Partial<T>
...objectsPartial<undefined | T>[]
+

Returns

+

T

+

Defined in

+

sigma/src/utils/data.ts:30

+
+

assignDeep

+

assignDeep<T>(target, ...objects): T

+

Very simple recursive Object.assign like function.

+

Type parameters

+
Name
T
+

Parameters

+
NameType
targetundefined | Partial<T>
...objectsPartial<undefined | T>[]
+

Returns

+

T

+

Defined in

+

sigma/src/utils/data.ts:47

+
+

colorToArray

+

colorToArray(val, masking?): [number, number, number, number]

+

Parameters

+
NameType
valstring
masking?boolean
+

Returns

+

[number, number, number, number]

+

Defined in

+

sigma/src/utils/colors.ts:243

+
+

colorToIndex

+

colorToIndex(r, g, b, _a): number

+

Parameters

+
NameType
rnumber
gnumber
bnumber
_anumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/colors.ts:283

+
+

createElement

+

createElement<T>(tag, style?, attributes?): T

+

Function used to create DOM elements easily.

+

Type parameters

+
NameType
Textends HTMLElement
+

Parameters

+
NameType
tagstring
style?Partial<CSSStyleDeclaration>
attributes?PlainObject<string>
+

Returns

+

T

+

Defined in

+

sigma/src/utils/misc.ts:6

+
+

createNormalizationFunction

+

createNormalizationFunction(extent): NormalizationFunction

+

Parameters

+
NameType
extentObject
extent.xExtent
extent.yExtent
+

Returns

+

NormalizationFunction

+

Defined in

+

sigma/src/utils/normalization.ts:12

+
+

cubicIn

+

cubicIn(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:12

+
+

cubicInOut

+

cubicInOut(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:16

+
+

cubicOut

+

cubicOut(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:14

+
+

extend

+

extend<T>(array, values): void

+

Extends the target array with the given values.

+

Type parameters

+
Name
T
+

Parameters

+
NameType
arrayT[]
valuesSet<T>
+

Returns

+

void

+

Defined in

+

sigma/src/utils/data.ts:4

+
+

extractPixel

+

extractPixel(gl, x, y, array): Uint8Array

+

Function extracting the color at the given pixel.

+

Parameters

+
NameType
glWebGLRenderingContext
xnumber
ynumber
arrayUint8Array
+

Returns

+

Uint8Array

+

Defined in

+

sigma/src/utils/colors.ts:155

+
+

floatColor

+

floatColor(val): number

+

Parameters

+
NameType
valstring
+

Returns

+

number

+

Defined in

+

sigma/src/utils/colors.ts:225

+
+

getCorrectionRatio

+

getCorrectionRatio(viewportDimensions, graphDimensions): number

+

In sigma, the graph is normalized into a [0, 1], [0, 1] square, before being given to the various renderers. This +helps to deal with quadtree in particular. +But at some point, we need to rescale it so that it takes the best place in the screen, i.e. we always want to see two +nodes "touching" opposite sides of the graph, with the camera being at its default state.

+

This function determines this ratio.

+

Parameters

+
NameType
viewportDimensionsObject
viewportDimensions.heightnumber
viewportDimensions.widthnumber
graphDimensionsObject
graphDimensions.heightnumber
graphDimensions.widthnumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/coordinates.ts:12

+
+

getMatrixImpact

+

getMatrixImpact(matrix, cameraState, viewportDimensions): number

+

All these transformations we apply on the matrix to get it rescale the graph +as we want make it very hard to get pixel-perfect distances in WebGL. This +function returns a factor that properly cancels the matrix effect on lengths.

+

[jacomyal] +To be fully honest, I can't really explain happens here... I notice that the +following ratio works (i.e. it correctly compensates the matrix impact on all +camera states I could try):

+
+

R = size(V) / size(M * V) / W +as long as M * V is in the direction of W (ie. parallel to (Ox)). It works +as well with H and a vector that transforms into something parallel to (Oy).

+
+

Also, note that we use angle and not -angle (that would seem logical, +since we want to anticipate the rotation), because the image is vertically +swapped in WebGL.

+

Parameters

+
NameType
matrixFloat32Array
cameraStateCameraState
viewportDimensionsDimensions
+

Returns

+

number

+

Defined in

+

sigma/src/utils/coordinates.ts:98

+
+

getPixelColor

+

getPixelColor(gl, frameBuffer, x, y, pixelRatio, downSizingRatio): [number, number, number, number]

+

Parameters

+
NameType
glWebGLRenderingContext
frameBuffernull | WebGLBuffer
xnumber
ynumber
pixelRationumber
downSizingRationumber
+

Returns

+

[number, number, number, number]

+

Defined in

+

sigma/src/utils/colors.ts:292

+
+

getPixelRatio

+

getPixelRatio(): number

+

Function returning the browser's pixel ratio.

+

Returns

+

number

+

Defined in

+

sigma/src/utils/misc.ts:31

+
+

graphExtent

+

graphExtent(graph): Object

+

Function returning the graph's node extent in x & y.

+

Parameters

+
NameType
graphAbstractGraph<Attributes, Attributes, Attributes>
+

Returns

+

Object

+
NameType
xExtent
yExtent
+

Defined in

+

sigma/src/utils/graph.ts:9

+
+

identity

+

identity(): Float32Array

+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/matrices.ts:3

+
+

indexToColor

+

indexToColor(index): number

+

Parameters

+
NameType
indexnumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/colors.ts:260

+
+

isPlainObject

+

isPlainObject(value): boolean

+

Checks whether the given value is a plain object.

+

Parameters

+
NameType
valueunknown
+

Returns

+

boolean

+

Defined in

+

sigma/src/utils/data.ts:23

+
+

linear

+

linear(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:1

+
+

matrixFromCamera

+

matrixFromCamera(state, viewportDimensions, graphDimensions, padding, inverse?): Float32Array

+

Function returning a matrix from the current state of the camera.

+

Parameters

+
NameType
stateCameraState
viewportDimensionsObject
viewportDimensions.heightnumber
viewportDimensions.widthnumber
graphDimensionsObject
graphDimensions.heightnumber
graphDimensions.widthnumber
paddingnumber
inverse?boolean
+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/coordinates.ts:34

+
+

multiply

+

multiply<T>(a, b): T

+

Type parameters

+
NameType
Textends number[] | Float32Array
+

Parameters

+
NameType
aT
bnumber[] | Float32Array
+

Returns

+

T

+

Defined in

+

sigma/src/utils/matrices.ts:34

+
+

multiplyVec2

+

multiplyVec2(a, b, z?): Coordinates

+

Parameters

+
NameTypeDefault value
anumber[] | Float32Arrayundefined
bCoordinatesundefined
znumber1
+

Returns

+

Coordinates

+

Defined in

+

sigma/src/utils/matrices.ts:70

+
+

parseColor

+

parseColor(val): RGBAColor

+

Parameters

+
NameType
valstring
+

Returns

+

RGBAColor

+

Defined in

+

sigma/src/utils/colors.ts:176

+
+

quadraticIn

+

quadraticIn(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:3

+
+

quadraticInOut

+

quadraticInOut(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:7

+
+

quadraticOut

+

quadraticOut(k): number

+

Parameters

+
NameType
knumber
+

Returns

+

number

+

Defined in

+

sigma/src/utils/easings.ts:5

+
+

rgbaToFloat

+

rgbaToFloat(r, g, b, a, masking?): number

+

Parameters

+
NameType
rnumber
gnumber
bnumber
anumber
masking?boolean
+

Returns

+

number

+

Defined in

+

sigma/src/utils/colors.ts:220

+
+

rotate

+

rotate(m, r): Float32Array

+

Parameters

+
NameType
mFloat32Array
rnumber
+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/matrices.ts:15

+
+

scale

+

scale(m, x, y?): Float32Array

+

Parameters

+
NameType
mFloat32Array
xnumber
y?number
+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/matrices.ts:8

+
+

translate

+

translate(m, x, y): Float32Array

+

Parameters

+
NameType
mFloat32Array
xnumber
ynumber
+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/matrices.ts:27

+
+

validateGraph

+

validateGraph(graph): void

+

Check if the graph variable is a valid graph, and if sigma can render it.

+

Parameters

+
NameType
graphAbstractGraph<Attributes, Attributes, Attributes>
+

Returns

+

void

+

Defined in

+

sigma/src/utils/graph.ts:33

+
+

zIndexOrdering

+

zIndexOrdering<T>(_extent, getter, elements): T[]

+

Function ordering the given elements in reverse z-order so they drawn +the correct way.

+

Type parameters

+
Name
T
+

Parameters

+
NameType
_extentExtent
getter(e: T) => number
elementsT[]
+

Returns

+

T[]

+

Defined in

+

sigma/src/utils/misc.ts:41

+ + \ No newline at end of file diff --git a/fonts/cascadia/CascadiaCode-Regular.otf b/fonts/cascadia/CascadiaCode-Regular.otf new file mode 100644 index 000000000..f3a388637 Binary files /dev/null and b/fonts/cascadia/CascadiaCode-Regular.otf differ diff --git a/fonts/cascadia/CascadiaCode.ttf b/fonts/cascadia/CascadiaCode.ttf new file mode 100644 index 000000000..ddd6fc6f8 Binary files /dev/null and b/fonts/cascadia/CascadiaCode.ttf differ diff --git a/fonts/cascadia/CascadiaCode.woff2 b/fonts/cascadia/CascadiaCode.woff2 new file mode 100644 index 000000000..9224d6819 Binary files /dev/null and b/fonts/cascadia/CascadiaCode.woff2 differ diff --git a/fonts/hauora/Hauora-Bold.woff b/fonts/hauora/Hauora-Bold.woff new file mode 100644 index 000000000..e787d5ba0 Binary files /dev/null and b/fonts/hauora/Hauora-Bold.woff differ diff --git a/fonts/hauora/Hauora-Bold.woff2 b/fonts/hauora/Hauora-Bold.woff2 new file mode 100644 index 000000000..38622a8aa Binary files /dev/null and b/fonts/hauora/Hauora-Bold.woff2 differ diff --git a/fonts/hauora/Hauora-Medium.woff b/fonts/hauora/Hauora-Medium.woff new file mode 100644 index 000000000..e1c6adf94 Binary files /dev/null and b/fonts/hauora/Hauora-Medium.woff differ diff --git a/fonts/hauora/Hauora-Medium.woff2 b/fonts/hauora/Hauora-Medium.woff2 new file mode 100644 index 000000000..c0ffe2d59 Binary files /dev/null and b/fonts/hauora/Hauora-Medium.woff2 differ diff --git a/fonts/public-sans/PublicSans-LightItalic.woff b/fonts/public-sans/PublicSans-LightItalic.woff new file mode 100644 index 000000000..6cca8467b Binary files /dev/null and b/fonts/public-sans/PublicSans-LightItalic.woff differ diff --git a/fonts/public-sans/PublicSans-LightItalic.woff2 b/fonts/public-sans/PublicSans-LightItalic.woff2 new file mode 100644 index 000000000..f1645fef3 Binary files /dev/null and b/fonts/public-sans/PublicSans-LightItalic.woff2 differ diff --git a/fonts/public-sans/PublicSans-Regular.woff b/fonts/public-sans/PublicSans-Regular.woff new file mode 100644 index 000000000..fbe27e2cc Binary files /dev/null and b/fonts/public-sans/PublicSans-Regular.woff differ diff --git a/fonts/public-sans/PublicSans-Regular.woff2 b/fonts/public-sans/PublicSans-Regular.woff2 new file mode 100644 index 000000000..8895a8ec1 Binary files /dev/null and b/fonts/public-sans/PublicSans-Regular.woff2 differ diff --git a/fonts/public-sans/PublicSans-SemiBold.woff b/fonts/public-sans/PublicSans-SemiBold.woff new file mode 100644 index 000000000..6aceff4ea Binary files /dev/null and b/fonts/public-sans/PublicSans-SemiBold.woff differ diff --git a/fonts/public-sans/PublicSans-SemiBold.woff2 b/fonts/public-sans/PublicSans-SemiBold.woff2 new file mode 100644 index 000000000..c5ed203ad Binary files /dev/null and b/fonts/public-sans/PublicSans-SemiBold.woff2 differ diff --git a/fonts/public-sans/PublicSans-SemiBoldItalic.woff b/fonts/public-sans/PublicSans-SemiBoldItalic.woff new file mode 100644 index 000000000..701bd8201 Binary files /dev/null and b/fonts/public-sans/PublicSans-SemiBoldItalic.woff differ diff --git a/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 b/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 new file mode 100644 index 000000000..154698160 Binary files /dev/null and b/fonts/public-sans/PublicSans-SemiBoldItalic.woff2 differ diff --git a/img/apple-touch-icon.png b/img/apple-touch-icon.png new file mode 100644 index 000000000..99080d25d Binary files /dev/null and b/img/apple-touch-icon.png differ diff --git a/img/coordinate-systems/clipspace.svg b/img/coordinate-systems/clipspace.svg new file mode 100644 index 000000000..b7ce7d5cb --- /dev/null +++ b/img/coordinate-systems/clipspace.svg @@ -0,0 +1,16 @@ + + + + + + + XY011-1-1 \ No newline at end of file diff --git a/img/coordinate-systems/framed-graph-space.svg b/img/coordinate-systems/framed-graph-space.svg new file mode 100644 index 000000000..3cf79499a --- /dev/null +++ b/img/coordinate-systems/framed-graph-space.svg @@ -0,0 +1,16 @@ + + + + + + + XY011 \ No newline at end of file diff --git a/img/coordinate-systems/graph-space-extent.svg b/img/coordinate-systems/graph-space-extent.svg new file mode 100644 index 000000000..2e2f11f96 --- /dev/null +++ b/img/coordinate-systems/graph-space-extent.svg @@ -0,0 +1,16 @@ + + + + + + + XYmin xmax xmax ymin y \ No newline at end of file diff --git a/img/coordinate-systems/graph-space.svg b/img/coordinate-systems/graph-space.svg new file mode 100644 index 000000000..132ec2f4d --- /dev/null +++ b/img/coordinate-systems/graph-space.svg @@ -0,0 +1,16 @@ + + + + + + + XY \ No newline at end of file diff --git a/img/coordinate-systems/viewport-space.svg b/img/coordinate-systems/viewport-space.svg new file mode 100644 index 000000000..39532d59f --- /dev/null +++ b/img/coordinate-systems/viewport-space.svg @@ -0,0 +1,16 @@ + + + + + + + XY0heightwidth \ No newline at end of file diff --git a/img/favicon-16x16.png b/img/favicon-16x16.png new file mode 100644 index 000000000..5865ffa4c Binary files /dev/null and b/img/favicon-16x16.png differ diff --git a/img/favicon-32x32.png b/img/favicon-32x32.png new file mode 100644 index 000000000..79f68a479 Binary files /dev/null and b/img/favicon-32x32.png differ diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 000000000..62254e29b Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/icon-app.svg b/img/icon-app.svg new file mode 100644 index 000000000..fd53a41e3 --- /dev/null +++ b/img/icon-app.svg @@ -0,0 +1,133 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/img/icon-close.svg b/img/icon-close.svg new file mode 100644 index 000000000..af712cf91 --- /dev/null +++ b/img/icon-close.svg @@ -0,0 +1,74 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/img/icon-menu.svg b/img/icon-menu.svg new file mode 100644 index 000000000..5e3441009 --- /dev/null +++ b/img/icon-menu.svg @@ -0,0 +1,79 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/img/logo-documentation.svg b/img/logo-documentation.svg new file mode 100644 index 000000000..617cc6d20 --- /dev/null +++ b/img/logo-documentation.svg @@ -0,0 +1,82 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/img/logo-github.svg b/img/logo-github.svg new file mode 100644 index 000000000..aa05db9c5 --- /dev/null +++ b/img/logo-github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/logo-graphology.svg b/img/logo-graphology.svg new file mode 100644 index 000000000..e223bc4e0 --- /dev/null +++ b/img/logo-graphology.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/img/logo-sigma-disc.svg b/img/logo-sigma-disc.svg new file mode 100644 index 000000000..9c32412b3 --- /dev/null +++ b/img/logo-sigma-disc.svg @@ -0,0 +1,58 @@ + + + +image/svg+xml + + + + \ No newline at end of file diff --git a/img/logo-sigma-ruby.svg b/img/logo-sigma-ruby.svg new file mode 100644 index 000000000..078db58a6 --- /dev/null +++ b/img/logo-sigma-ruby.svg @@ -0,0 +1,63 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/img/logo-sigma-text.png b/img/logo-sigma-text.png new file mode 100644 index 000000000..8baccd729 Binary files /dev/null and b/img/logo-sigma-text.png differ diff --git a/img/logo-sigma.png b/img/logo-sigma.png new file mode 100644 index 000000000..e27f6014b Binary files /dev/null and b/img/logo-sigma.png differ diff --git a/img/logo-sigma.svg b/img/logo-sigma.svg new file mode 100644 index 000000000..b5870ec27 --- /dev/null +++ b/img/logo-sigma.svg @@ -0,0 +1,53 @@ + + + +image/svg+xml + + + + \ No newline at end of file diff --git a/img/logo-stackoverflow.svg b/img/logo-stackoverflow.svg new file mode 100644 index 000000000..5298d4c2c --- /dev/null +++ b/img/logo-stackoverflow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/logo-storybook.svg b/img/logo-storybook.svg new file mode 100644 index 000000000..a0e3b0018 --- /dev/null +++ b/img/logo-storybook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/logo-twitter.svg b/img/logo-twitter.svg new file mode 100644 index 000000000..4af238150 --- /dev/null +++ b/img/logo-twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/thumbnail-customize.png b/img/thumbnail-customize.png new file mode 100644 index 000000000..18311e5b9 Binary files /dev/null and b/img/thumbnail-customize.png differ diff --git a/img/thumbnail-display.png b/img/thumbnail-display.png new file mode 100644 index 000000000..ab19d0eb9 Binary files /dev/null and b/img/thumbnail-display.png differ diff --git a/img/thumbnail-explore.png b/img/thumbnail-explore.png new file mode 100644 index 000000000..303420e9f Binary files /dev/null and b/img/thumbnail-explore.png differ diff --git a/img/thumbnail-gdotv.png b/img/thumbnail-gdotv.png new file mode 100644 index 000000000..34daad90b Binary files /dev/null and b/img/thumbnail-gdotv.png differ diff --git a/img/thumbnail-gephi-lite.png b/img/thumbnail-gephi-lite.png new file mode 100644 index 000000000..db55aa74e Binary files /dev/null and b/img/thumbnail-gephi-lite.png differ diff --git a/img/thumbnail-graphcommons.png b/img/thumbnail-graphcommons.png new file mode 100644 index 000000000..aecf97b23 Binary files /dev/null and b/img/thumbnail-graphcommons.png differ diff --git a/img/thumbnail-hyphe.png b/img/thumbnail-hyphe.png new file mode 100644 index 000000000..29b81398a Binary files /dev/null and b/img/thumbnail-hyphe.png differ diff --git a/img/thumbnail-interact.png b/img/thumbnail-interact.png new file mode 100644 index 000000000..1ad054557 Binary files /dev/null and b/img/thumbnail-interact.png differ diff --git a/img/thumbnail-ipysigma.png b/img/thumbnail-ipysigma.png new file mode 100644 index 000000000..9cb9e46b2 Binary files /dev/null and b/img/thumbnail-ipysigma.png differ diff --git a/img/thumbnail-polinode.png b/img/thumbnail-polinode.png new file mode 100644 index 000000000..30f819125 Binary files /dev/null and b/img/thumbnail-polinode.png differ diff --git a/img/thumbnail-retina.png b/img/thumbnail-retina.png new file mode 100644 index 000000000..9325331c6 Binary files /dev/null and b/img/thumbnail-retina.png differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..8cf1f7bf9 --- /dev/null +++ b/index.html @@ -0,0 +1,455 @@ + + + + + Sigma.js + + + + + + + + + +
+ + + + +
+ +
+
+

+ sigma.js +

+ a JavaScript library aimed at visualizing graphs of thousands of nodes and edges +
+ +
+
+ +
+

See sigma.js in action

+
+ Click here to explore a network of Wikipedia pages about data visualization. +
+
+
+
+ + +
+
+ +
+

Architecture

+

+ Sigma.js is a modern JavaScript library for rendering and interacting with network graphs in the browser. It + works in symbiosis with graphology, a multipurpose graph + manipulation library. +

+
+
+
+

graphology

+

+ handles graph data model & algorithms +

+
+ + +
+
+

sigma.js

+

+ handles graph rendering & interactions +

+
+ = +
+
+

your web app

+
+
+
+ +
+

Quick start

+
+
+

I want sigma.js in my existing project:

+
npm install graphology sigma
+

Learn more on the quickstart guide

+
+
+

I start from nothing:

+

+ Try this CodeSandbox +

+
+
+
+ +
+

Use cases

+
+ +
+
+
+

Display

+

+ The most basic use case: you have a graph dataset, with colors, sizes and positions for each node. For + instance, you exported a GEXF graph file from + Gephi. You want to visualize it using on a web page. +

+

+ Open in Storybook +

+
+
+
+ +
+
+
+

Explore

+

+ You want to add interaction, so that your users can dig into the graph. You want to add a search field, + and allow users to see the neighborhood of a node when hovering it. +

+

+ Open in Storybook +

+
+
+
+ +
+
+
+

Interact

+

+ You are developing a web application where users can create and manipulate graphs. You need users to be + able to create nodes on click, and to drag and drop nodes. +

+

+ Open in Storybook +

+
+
+
+ +
+
+
+

Customize

+

+ You need to personalize the way your graphs are rendered. You need to display some nodes with pictures in + them, and others differently. +

+

+ Open in Storybook +

+
+
+
+ +
+

Frequently asked questions

+
    +
  • +

    How can I obtain drawable data from a CSV?

    +

    + You will process the data with graphology, then render it with sigma.js. You can look at + this example + for instance. +

    +
  • +
  • +

    What graph algorithms are implemented in sigma.js?

    +

    + None in sigma.js, but graphology has a lot, from + ForceAtlas2 layout to + various metrics or even + community detection. + + You can see an overview + in the documentation. + +

    +
  • +
  • +

    Why should I use sigma.js and not d3.js?

    +

    + Sigma.js renders graphs using WebGL. It allows drawing larger graphs faster than with Canvas or SVG based + solutions. It also makes custom rendering way harder to develop. If you have small graphs (like a few + hundreds of nodes and edges) and/or if you need very customized rendering, then + d3.js is indeed a best fit for you. +

    +
  • +
  • +

    Can I use sigma.js in my React application?

    +

    + Yes, the best way is certainly to use the + @react-sigma. The example on top of this page is + developed using it, you can check the + sourcecode to get an idea. +

    +
  • +
  • +

    And within an Angular application?

    +

    + Yes it is possible, but harder, because we do not have a wrapper yet. So you will have to bind sigma.js + lifecycle to your app manually. It is not necessarily too difficult though, please take a look on + this repository which offers a quick example. +

    +
  • +
+
+ +
+

Go further

+
+
+

I want to know more

+

Look at the documentation.

+
+
+

I have a problem

+

+ Ask your questions on StackOverflow, or + report bugs by + opening a new GitHub issue. +

+
+
+

I want to help

+

+ Contributions are welcome! Reading + our contribution guide is a + good start. You can also help us investigating + existing issues or answering + questions on StackOverflow. +

+
+
+
+ +
+

In the wild

+ +

Here are a selection of applications and websites using sigma.js.

+ +
+
+ +
+
+
+

Gephi Lite

+

a graph visualization and exploration web application

+
+
+
+ +
+
+
+

GraphCommons

+

a collaborative platform for mapping, analyzing, and sharing data-networks

+
+
+
+ +
+
+
+

Retina

+

a web application to help sharing graph visualizations online

+
+
+
+ +
+
+
+

Polinode

+

a software to collect, visualize and analyze connected data

+
+
+
+ +
+
+
+

G.V()

+

a software to write, debug, test and analyze Gremlin graph databases

+
+
+
+ +
+
+
+

ipysigma

+

a Jupyter widget to render networks in the result of a notebook cell

+
+
+
+ +
+
+
+

Hyphe

+

a web corpus curation tool featuring a research-driven web crawler

+
+
+
+
+
+ + + + + + + + + + diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..3bfb28a0d --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://www.sigmajs.org/docs/weekly0.5https://www.sigmajs.org/docs/advanced/coordinate-systemsweekly0.5https://www.sigmajs.org/docs/advanced/customizationweekly0.5https://www.sigmajs.org/docs/advanced/dataweekly0.5https://www.sigmajs.org/docs/advanced/eventsweekly0.5https://www.sigmajs.org/docs/advanced/lifecycleweekly0.5https://www.sigmajs.org/docs/advanced/migration-v2-v3weekly0.5https://www.sigmajs.org/docs/advanced/publishweekly0.5https://www.sigmajs.org/docs/advanced/renderersweekly0.5https://www.sigmajs.org/docs/category/advanced-topicsweekly0.5https://www.sigmajs.org/docs/quickstartweekly0.5https://www.sigmajs.org/docs/resourcesweekly0.5https://www.sigmajs.org/docs/typedoc/weekly0.5https://www.sigmajs.org/docs/typedoc/classes/edge_curve_src.defaultweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.AbstractEdgeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.AbstractNodeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.AbstractProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeArrowHeadProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeClampedProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeLineProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeRectangleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.EdgeTriangleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.NodeCircleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.NodePointProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.NodeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src_rendering.Programweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src.Cameraweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src.MouseCaptorweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src.Sigmaweekly0.5https://www.sigmajs.org/docs/typedoc/classes/sigma_src.TouchCaptorweekly0.5https://www.sigmajs.org/docs/typedoc/interfaces/sigma_src_rendering.ProgramDefinitionweekly0.5https://www.sigmajs.org/docs/typedoc/interfaces/sigma_src_rendering.ProgramInfoweekly0.5https://www.sigmajs.org/docs/typedoc/interfaces/sigma_src_settings.Settingsweekly0.5https://www.sigmajs.org/docs/typedoc/interfaces/sigma_src_utils.AnimateOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/interfaces/sigma_src_utils.NormalizationFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/modules/edge_curve_srcweekly0.5https://www.sigmajs.org/docs/typedoc/modules/node_border_srcweekly0.5https://www.sigmajs.org/docs/typedoc/modules/node_image_srcweekly0.5https://www.sigmajs.org/docs/typedoc/modules/sigma_srcweekly0.5https://www.sigmajs.org/docs/typedoc/modules/sigma_src_renderingweekly0.5https://www.sigmajs.org/docs/typedoc/modules/sigma_src_settingsweekly0.5https://www.sigmajs.org/docs/typedoc/modules/sigma_src_utilsweekly0.5 \ No newline at end of file diff --git a/storybook/BiLoaderCircle.svg b/storybook/BiLoaderCircle.svg new file mode 100644 index 000000000..2ec8bd242 --- /dev/null +++ b/storybook/BiLoaderCircle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook/BiPause.svg b/storybook/BiPause.svg new file mode 100644 index 000000000..79846105b --- /dev/null +++ b/storybook/BiPause.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook/BiPlay.svg b/storybook/BiPlay.svg new file mode 100644 index 000000000..a6427ce9d --- /dev/null +++ b/storybook/BiPlay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook/GiPerspectiveDiceSixFaces.svg b/storybook/GiPerspectiveDiceSixFaces.svg new file mode 100644 index 000000000..414650799 --- /dev/null +++ b/storybook/GiPerspectiveDiceSixFaces.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook/arctic.gexf b/storybook/arctic.gexf new file mode 100644 index 000000000..9f8722891 --- /dev/null +++ b/storybook/arctic.gexf @@ -0,0 +1,23819 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/storybook/assets/Color-RQJUDNI5-bADx7n9g.js b/storybook/assets/Color-RQJUDNI5-bADx7n9g.js new file mode 100644 index 000000000..3a5d0a655 --- /dev/null +++ b/storybook/assets/Color-RQJUDNI5-bADx7n9g.js @@ -0,0 +1 @@ +import{R as h,r as b,n as M,d as ue,T as Me,F as Ce,M as $e,g as Ne}from"./DocsRenderer-K4EAMTCU-BzGl8_nh.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import{_ as Oe,i as J,b as Ie}from"./index-DiFAUXR8.js";import"./iframe-CPFix1n-.js";import"../sb-preview/runtime.js";import"./index-DrFu-skq.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{onClick:k}):null)},cn=tn;export{tn as ColorControl,cn as default}; diff --git a/storybook/assets/DocsRenderer-K4EAMTCU-BzGl8_nh.js b/storybook/assets/DocsRenderer-K4EAMTCU-BzGl8_nh.js new file mode 100644 index 000000000..27acdcf0f --- /dev/null +++ b/storybook/assets/DocsRenderer-K4EAMTCU-BzGl8_nh.js @@ -0,0 +1,536 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-JOJW2KGS-YdNqYlUL.js","./iframe-CPFix1n-.js","./_commonjsHelpers-BosuxZz1.js","./index-DiFAUXR8.js","./index-DrFu-skq.js","./formatter-B5HCVTEV-CysnDv0c.js","./WithTooltip-Y7J54OF7-Bt4c9YHV.js","./Color-RQJUDNI5-bADx7n9g.js","./index-ex5HHbk8.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as Vo}from"./iframe-CPFix1n-.js";import{g as Xl,c as Lo}from"./_commonjsHelpers-BosuxZz1.js";import{c as gA,d as Dy,f as Vp,g as jy,h as Xo,j as mA,k as Uy,l as Gp,m as vA,n as yA,o as h0,p as qp,i as Ts,b as Wy,q as wA,r as bA,s as xA,t as EA,u as SA,v as Vy,w as _A,x as CA,_ as RA,y as AA,z as IA,A as Gy,B as qy,a as Lv,S as pd}from"./index-DiFAUXR8.js";import{d as kA}from"./index-DrFu-skq.js";function OA(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var $v=gA;function TA(e,t,n){t=="__proto__"&&$v?$v(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ky=TA;function LA(e,t){for(var n=-1,r=Array(e);++n-1&&e%1==0&&e>>1,ve=G[ie];if(0>>1;ie<_e;){var Ce=2*(ie+1)-1,te=G[Ce],he=Ce+1,we=G[he];if(0>o(te,Q))heo(we,te)?(G[ie]=we,G[he]=Q,ie=he):(G[ie]=te,G[Ce]=Q,ie=Ce);else if(heo(we,Q))G[ie]=we,G[he]=Q,ie=he;else break e}}return K}function o(G,K){var Q=G.sortIndex-K.sortIndex;return Q!==0?Q:G.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,d=s.now();e.unstable_now=function(){return s.now()-d}}var c=[],p=[],h=1,y=null,v=3,g=!1,E=!1,b=!1,I=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(G){for(var K=n(p);K!==null;){if(K.callback===null)r(p);else if(K.startTime<=G)r(p),K.sortIndex=K.expirationTime,t(c,K);else break;K=n(p)}}function R(G){if(b=!1,S(G),!E)if(n(c)!==null)E=!0,re(A);else{var K=n(p);K!==null&&ae(R,K.startTime-G)}}function A(G,K){E=!1,b&&(b=!1,_($),$=-1),g=!0;var Q=v;try{for(S(K),y=n(c);y!==null&&(!(y.expirationTime>K)||G&&!j());){var ie=y.callback;if(typeof ie=="function"){y.callback=null,v=y.priorityLevel;var ve=ie(y.expirationTime<=K);K=e.unstable_now(),typeof ve=="function"?y.callback=ve:y===n(c)&&r(c),S(K)}else r(c);y=n(c)}if(y!==null)var _e=!0;else{var Ce=n(p);Ce!==null&&ae(R,Ce.startTime-K),_e=!1}return _e}finally{y=null,v=Q,g=!1}}var T=!1,L=null,$=-1,B=5,F=-1;function j(){return!(e.unstable_now()-FG||125ie?(G.sortIndex=Q,t(p,G),n(c)===null&&G===n(p)&&(b?(_($),$=-1):b=!0,ae(R,Q-ie))):(G.sortIndex=ve,t(c,G),E||g||(E=!0,re(A))),G},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(G){var K=v;return function(){var Q=v;v=K;try{return G.apply(this,arguments)}finally{v=Q}}}})(m3);g3.exports=m3;var $O=g3.exports;/** + * @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. + */var v3=u,In=$O;function Z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bf=Object.prototype.hasOwnProperty,MO=/^[: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]*$/,qv={},Kv={};function PO(e){return bf.call(Kv,e)?!0:bf.call(qv,e)?!1:MO.test(e)?Kv[e]=!0:(qv[e]=!0,!1)}function zO(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function BO(e,t,n,r){if(t===null||typeof t>"u"||zO(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function en(e,t,n,r,o,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var Lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Lt[e]=new en(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Lt[t]=new en(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Lt[e]=new en(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Lt[e]=new en(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){Lt[e]=new en(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Lt[e]=new en(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Lt[e]=new en(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Lt[e]=new en(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Lt[e]=new en(e,5,!1,e.toLowerCase(),null,!1,!1)});var rh=/[\-:]([a-z])/g;function oh(e){return e[1].toUpperCase()}"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(rh,oh);Lt[t]=new en(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(rh,oh);Lt[t]=new en(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(rh,oh);Lt[t]=new en(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Lt[e]=new en(e,1,!1,e.toLowerCase(),null,!1,!1)});Lt.xlinkHref=new en("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Lt[e]=new en(e,1,!1,e.toLowerCase(),null,!0,!0)});function ah(e,t,n,r){var o=Lt.hasOwnProperty(t)?Lt[t]:null;(o!==null?o.type!==0:r||!(2d||o[s]!==l[d]){var c=` +`+o[s].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=s&&0<=d);break}}}finally{vd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Fi(e):""}function FO(e){switch(e.tag){case 5:return Fi(e.type);case 16:return Fi("Lazy");case 13:return Fi("Suspense");case 19:return Fi("SuspenseList");case 0:case 2:case 15:return e=yd(e.type,!1),e;case 11:return e=yd(e.type.render,!1),e;case 1:return e=yd(e.type,!0),e;default:return""}}function _f(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case pl:return"Fragment";case fl:return"Portal";case xf:return"Profiler";case lh:return"StrictMode";case Ef:return"Suspense";case Sf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case b3:return(e.displayName||"Context")+".Consumer";case w3:return(e._context.displayName||"Context")+".Provider";case ih:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sh:return t=e.displayName||null,t!==null?t:_f(e.type)||"Memo";case ko:t=e._payload,e=e._init;try{return _f(e(t))}catch{}}return null}function NO(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=t.render,e=e.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 _f(t);case 8:return t===lh?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Go(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function E3(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function HO(e){var t=E3(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hu(e){e._valueTracker||(e._valueTracker=HO(e))}function S3(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=E3(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Lc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Cf(e,t){var n=t.checked;return tt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xv(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Go(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _3(e,t){t=t.checked,t!=null&&ah(e,"checked",t,!1)}function Rf(e,t){_3(e,t);var n=Go(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Af(e,t.type,n):t.hasOwnProperty("defaultValue")&&Af(e,t.type,Go(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zv(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Af(e,t,n){(t!=="number"||Lc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ni=Array.isArray;function Rl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ts(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ui={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},DO=["Webkit","ms","Moz","O"];Object.keys(Ui).forEach(function(e){DO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ui[t]=Ui[e]})});function I3(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ui.hasOwnProperty(e)&&Ui[e]?(""+t).trim():t+"px"}function k3(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=I3(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var jO=tt({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 Of(e,t){if(t){if(jO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Z(62))}}function Tf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Lf=null;function uh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $f=null,Al=null,Il=null;function e2(e){if(e=zs(e)){if(typeof $f!="function")throw Error(Z(280));var t=e.stateNode;t&&(t=x0(t),$f(e.stateNode,e.type,t))}}function O3(e){Al?Il?Il.push(e):Il=[e]:Al=e}function T3(){if(Al){var e=Al,t=Il;if(Il=Al=null,e2(e),t)for(e=0;e>>=0,e===0?32:31-(JO(e)/eT|0)|0}var ju=64,Uu=4194304;function Hi(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var d=s&~o;d!==0?r=Hi(d):(l&=s,l!==0&&(r=Hi(l)))}else s=n&~o,s!==0?r=Hi(s):l!==0&&(r=Hi(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ms(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-vr(t),e[t]=n}function oT(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=Vi),u2=" ",c2=!1;function Z3(e,t){switch(e){case"keyup":return LT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Q3(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hl=!1;function MT(e,t){switch(e){case"compositionend":return Q3(t);case"keypress":return t.which!==32?null:(c2=!0,u2);case"textInput":return e=t.data,e===u2&&c2?null:e;default:return null}}function PT(e,t){if(hl)return e==="compositionend"||!vh&&Z3(e,t)?(e=Y3(),pc=hh=Po=null,hl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=h2(n)}}function n7(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?n7(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function r7(){for(var e=window,t=Lc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lc(e.document)}return t}function yh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function WT(e){var t=r7(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n7(n.ownerDocument.documentElement,n)){if(r!==null&&yh(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=g2(n,l);var s=g2(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,gl=null,Nf=null,qi=null,Hf=!1;function m2(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hf||gl==null||gl!==Lc(r)||(r=gl,"selectionStart"in r&&yh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qi&&is(qi,r)||(qi=r,r=Nc(Nf,"onSelect"),0yl||(e.current=Gf[yl],Gf[yl]=null,yl--)}function De(e,t){yl++,Gf[yl]=e.current,e.current=t}var qo={},Wt=Qo(qo),un=Qo(!1),Pa=qo;function Ml(e,t){var n=e.type.contextTypes;if(!n)return qo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function cn(e){return e=e.childContextTypes,e!=null}function Dc(){We(un),We(Wt)}function S2(e,t,n){if(Wt.current!==qo)throw Error(Z(168));De(Wt,t),De(un,n)}function f7(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Z(108,NO(e)||"Unknown",o));return tt({},n,r)}function jc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qo,Pa=Wt.current,De(Wt,e),De(un,un.current),!0}function _2(e,t,n){var r=e.stateNode;if(!r)throw Error(Z(169));n?(e=f7(e,t,Pa),r.__reactInternalMemoizedMergedChildContext=e,We(un),We(Wt),De(Wt,e)):We(un),De(un,n)}var eo=null,E0=!1,Ld=!1;function p7(e){eo===null?eo=[e]:eo.push(e)}function nL(e){E0=!0,p7(e)}function Jo(){if(!Ld&&eo!==null){Ld=!0;var e=0,t=Be;try{var n=eo;for(Be=1;e>=s,o-=s,to=1<<32-vr(t)+o|n<$?(B=L,L=null):B=L.sibling;var F=v(_,L,S[$],R);if(F===null){L===null&&(L=B);break}e&&L&&F.alternate===null&&t(_,L),x=l(F,x,$),T===null?A=F:T.sibling=F,T=F,L=B}if($===S.length)return n(_,L),Xe&&ma(_,$),A;if(L===null){for(;$$?(B=L,L=null):B=L.sibling;var j=v(_,L,F.value,R);if(j===null){L===null&&(L=B);break}e&&L&&j.alternate===null&&t(_,L),x=l(j,x,$),T===null?A=j:T.sibling=j,T=j,L=B}if(F.done)return n(_,L),Xe&&ma(_,$),A;if(L===null){for(;!F.done;$++,F=S.next())F=y(_,F.value,R),F!==null&&(x=l(F,x,$),T===null?A=F:T.sibling=F,T=F);return Xe&&ma(_,$),A}for(L=r(_,L);!F.done;$++,F=S.next())F=g(L,_,$,F.value,R),F!==null&&(e&&F.alternate!==null&&L.delete(F.key===null?$:F.key),x=l(F,x,$),T===null?A=F:T.sibling=F,T=F);return e&&L.forEach(function(Y){return t(_,Y)}),Xe&&ma(_,$),A}function I(_,x,S,R){if(typeof S=="object"&&S!==null&&S.type===pl&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case Nu:e:{for(var A=S.key,T=x;T!==null;){if(T.key===A){if(A=S.type,A===pl){if(T.tag===7){n(_,T.sibling),x=o(T,S.props.children),x.return=_,_=x;break e}}else if(T.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===ko&&T2(A)===T.type){n(_,T.sibling),x=o(T,S.props),x.ref=Oi(_,T,S),x.return=_,_=x;break e}n(_,T);break}else t(_,T);T=T.sibling}S.type===pl?(x=ka(S.props.children,_.mode,R,S.key),x.return=_,_=x):(R=xc(S.type,S.key,S.props,null,_.mode,R),R.ref=Oi(_,x,S),R.return=_,_=R)}return s(_);case fl:e:{for(T=S.key;x!==null;){if(x.key===T)if(x.tag===4&&x.stateNode.containerInfo===S.containerInfo&&x.stateNode.implementation===S.implementation){n(_,x.sibling),x=o(x,S.children||[]),x.return=_,_=x;break e}else{n(_,x);break}else t(_,x);x=x.sibling}x=Hd(S,_.mode,R),x.return=_,_=x}return s(_);case ko:return T=S._init,I(_,x,T(S._payload),R)}if(Ni(S))return E(_,x,S,R);if(Ci(S))return b(_,x,S,R);Xu(_,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,x!==null&&x.tag===6?(n(_,x.sibling),x=o(x,S),x.return=_,_=x):(n(_,x),x=Nd(S,_.mode,R),x.return=_,_=x),s(_)):n(_,x)}return I}var zl=x7(!0),E7=x7(!1),Bs={},Br=Qo(Bs),ds=Qo(Bs),fs=Qo(Bs);function Ra(e){if(e===Bs)throw Error(Z(174));return e}function Ah(e,t){switch(De(fs,t),De(ds,e),De(Br,Bs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:kf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=kf(t,e)}We(Br),De(Br,t)}function Bl(){We(Br),We(ds),We(fs)}function S7(e){Ra(fs.current);var t=Ra(Br.current),n=kf(t,e.type);t!==n&&(De(ds,e),De(Br,n))}function Ih(e){ds.current===e&&(We(Br),We(ds))}var Je=Qo(0);function Kc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $d=[];function kh(){for(var e=0;e<$d.length;e++)$d[e]._workInProgressVersionPrimary=null;$d.length=0}var mc=co.ReactCurrentDispatcher,Md=co.ReactCurrentBatchConfig,Ba=0,et=null,bt=null,_t=null,Yc=!1,Ki=!1,ps=0,oL=0;function Ft(){throw Error(Z(321))}function Oh(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=Md.transition;Md.transition={};try{e(!1),t()}finally{Be=n,Md.transition=r}}function N7(){return Jn().memoizedState}function lL(e,t,n){var r=Uo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},H7(e))D7(t,n);else if(n=v7(e,t,n,r),n!==null){var o=Qt();yr(n,e,r,o),j7(n,t,r)}}function iL(e,t,n){var r=Uo(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(H7(e))D7(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,d=l(s,n);if(o.hasEagerState=!0,o.eagerState=d,wr(d,s)){var c=t.interleaved;c===null?(o.next=o,Ch(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=v7(e,t,o,r),n!==null&&(o=Qt(),yr(n,e,r,o),j7(n,t,r))}}function H7(e){var t=e.alternate;return e===et||t!==null&&t===et}function D7(e,t){Ki=Yc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function j7(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,dh(e,n)}}var Xc={readContext:Qn,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},sL={readContext:Qn,useCallback:function(e,t){return Cr().memoizedState=[e,t===void 0?null:t],e},useContext:Qn,useEffect:$2,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,vc(4194308,4,M7.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vc(4194308,4,e,t)},useInsertionEffect:function(e,t){return vc(4,2,e,t)},useMemo:function(e,t){var n=Cr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Cr();return t=n!==void 0?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=lL.bind(null,et,e),[r.memoizedState,e]},useRef:function(e){var t=Cr();return e={current:e},t.memoizedState=e},useState:L2,useDebugValue:Mh,useDeferredValue:function(e){return Cr().memoizedState=e},useTransition:function(){var e=L2(!1),t=e[0];return e=aL.bind(null,e[1]),Cr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=et,o=Cr();if(Xe){if(n===void 0)throw Error(Z(407));n=n()}else{if(n=t(),Ct===null)throw Error(Z(349));Ba&30||R7(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,$2(I7.bind(null,r,l,e),[e]),r.flags|=2048,gs(9,A7.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Cr(),t=Ct.identifierPrefix;if(Xe){var n=no,r=to;n=(r&~(1<<32-vr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ps++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Tr]=t,e[cs]=r,Z7(e,t,!1,!1),t.stateNode=e;e:{switch(s=Tf(n,r),n){case"dialog":Ue("cancel",e),Ue("close",e),o=r;break;case"iframe":case"object":case"embed":Ue("load",e),o=r;break;case"video":case"audio":for(o=0;oNl&&(t.flags|=128,r=!0,Ti(l,!1),t.lanes=4194304)}else{if(!r)if(e=Kc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ti(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!Xe)return Nt(t),null}else 2*ft()-l.renderingStartTime>Nl&&n!==1073741824&&(t.flags|=128,r=!0,Ti(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ft(),t.sibling=null,n=Je.current,De(Je,r?n&1|2:n&1),t):(Nt(t),null);case 22:case 23:return Hh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_n&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error(Z(156,t.tag))}function mL(e,t){switch(bh(t),t.tag){case 1:return cn(t.type)&&Dc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Bl(),We(un),We(Wt),kh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ih(t),null;case 13:if(We(Je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Z(340));Pl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return We(Je),null;case 4:return Bl(),null;case 10:return _h(t.type._context),null;case 22:case 23:return Hh(),null;case 24:return null;default:return null}}var Qu=!1,Ut=!1,vL=typeof WeakSet=="function"?WeakSet:Set,oe=null;function El(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){lt(e,t,r)}else n.current=null}function op(e,t,n){try{n()}catch(r){lt(e,t,r)}}var j2=!1;function yL(e,t){if(Df=Bc,e=r7(),yh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,d=-1,c=-1,p=0,h=0,y=e,v=null;t:for(;;){for(var g;y!==n||o!==0&&y.nodeType!==3||(d=s+o),y!==l||r!==0&&y.nodeType!==3||(c=s+r),y.nodeType===3&&(s+=y.nodeValue.length),(g=y.firstChild)!==null;)v=y,y=g;for(;;){if(y===e)break t;if(v===n&&++p===o&&(d=s),v===l&&++h===r&&(c=s),(g=y.nextSibling)!==null)break;y=v,v=y.parentNode}y=g}n=d===-1||c===-1?null:{start:d,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(jf={focusedElem:e,selectionRange:n},Bc=!1,oe=t;oe!==null;)if(t=oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,oe=e;else for(;oe!==null;){t=oe;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var b=E.memoizedProps,I=E.memoizedState,_=t.stateNode,x=_.getSnapshotBeforeUpdate(t.elementType===t.type?b:hr(t.type,b),I);_.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Z(163))}}catch(R){lt(t,t.return,R)}if(e=t.sibling,e!==null){e.return=t.return,oe=e;break}oe=t.return}return E=j2,j2=!1,E}function Yi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&op(t,n,l)}o=o.next}while(o!==r)}}function C0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 ap(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ew(e){var t=e.alternate;t!==null&&(e.alternate=null,ew(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tr],delete t[cs],delete t[Vf],delete t[eL],delete t[tL])),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 tw(e){return e.tag===5||e.tag===3||e.tag===4}function U2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function lp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Hc));else if(r!==4&&(e=e.child,e!==null))for(lp(e,t,n),e=e.sibling;e!==null;)lp(e,t,n),e=e.sibling}function ip(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ip(e,t,n),e=e.sibling;e!==null;)ip(e,t,n),e=e.sibling}var kt=null,gr=!1;function _o(e,t,n){for(n=n.child;n!==null;)nw(e,t,n),n=n.sibling}function nw(e,t,n){if(zr&&typeof zr.onCommitFiberUnmount=="function")try{zr.onCommitFiberUnmount(v0,n)}catch{}switch(n.tag){case 5:Ut||El(n,t);case 6:var r=kt,o=gr;kt=null,_o(e,t,n),kt=r,gr=o,kt!==null&&(gr?(e=kt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):kt.removeChild(n.stateNode));break;case 18:kt!==null&&(gr?(e=kt,n=n.stateNode,e.nodeType===8?Td(e.parentNode,n):e.nodeType===1&&Td(e,n),as(e)):Td(kt,n.stateNode));break;case 4:r=kt,o=gr,kt=n.stateNode.containerInfo,gr=!0,_o(e,t,n),kt=r,gr=o;break;case 0:case 11:case 14:case 15:if(!Ut&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&op(n,t,s),o=o.next}while(o!==r)}_o(e,t,n);break;case 1:if(!Ut&&(El(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(d){lt(n,t,d)}_o(e,t,n);break;case 21:_o(e,t,n);break;case 22:n.mode&1?(Ut=(r=Ut)||n.memoizedState!==null,_o(e,t,n),Ut=r):_o(e,t,n);break;default:_o(e,t,n)}}function W2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vL),t.forEach(function(r){var o=AL.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~l}if(r=o,r=ft()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bL(r/1960))-r,10e?16:e,zo===null)var r=!1;else{if(e=zo,zo=null,Jc=0,Te&6)throw Error(Z(331));var o=Te;for(Te|=4,oe=e.current;oe!==null;){var l=oe,s=l.child;if(oe.flags&16){var d=l.deletions;if(d!==null){for(var c=0;cft()-Fh?Ia(e,0):Bh|=n),dn(e,t)}function cw(e,t){t===0&&(e.mode&1?(t=Uu,Uu<<=1,!(Uu&130023424)&&(Uu=4194304)):t=1);var n=Qt();e=io(e,t),e!==null&&(Ms(e,t,n),dn(e,n))}function RL(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cw(e,n)}function AL(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Z(314))}r!==null&&r.delete(t),cw(e,n)}var dw;dw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||un.current)sn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return sn=!1,hL(e,t,n);sn=!!(e.flags&131072)}else sn=!1,Xe&&t.flags&1048576&&h7(t,Wc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;yc(e,t),e=t.pendingProps;var o=Ml(t,Wt.current);Ol(t,n),o=Th(null,t,r,e,o,n);var l=Lh();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,cn(r)?(l=!0,jc(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Rh(t),o.updater=S0,t.stateNode=o,o._reactInternals=t,Zf(t,r,e,n),t=ep(null,t,r,!0,l,n)):(t.tag=0,Xe&&l&&wh(t),Zt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(yc(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=kL(r),e=hr(r,e),o){case 0:t=Jf(null,t,r,e,n);break e;case 1:t=N2(null,t,r,e,n);break e;case 11:t=B2(null,t,r,e,n);break e;case 14:t=F2(null,t,r,hr(r.type,e),n);break e}throw Error(Z(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:hr(r,o),Jf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:hr(r,o),N2(e,t,r,o,n);case 3:e:{if(K7(t),e===null)throw Error(Z(387));r=t.pendingProps,l=t.memoizedState,o=l.element,y7(e,t),qc(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=Fl(Error(Z(423)),t),t=H2(e,t,r,n,o);break e}else if(r!==o){o=Fl(Error(Z(424)),t),t=H2(e,t,r,n,o);break e}else for(Cn=Ho(t.stateNode.containerInfo.firstChild),Rn=t,Xe=!0,mr=null,n=E7(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pl(),r===o){t=so(e,t,n);break e}Zt(e,t,r,n)}t=t.child}return t;case 5:return S7(t),e===null&&Kf(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,s=o.children,Uf(r,o)?s=null:l!==null&&Uf(r,l)&&(t.flags|=32),q7(e,t),Zt(e,t,s,n),t.child;case 6:return e===null&&Kf(t),null;case 13:return Y7(e,t,n);case 4:return Ah(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zl(t,null,r,n):Zt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:hr(r,o),B2(e,t,r,o,n);case 7:return Zt(e,t,t.pendingProps,n),t.child;case 8:return Zt(e,t,t.pendingProps.children,n),t.child;case 12:return Zt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,s=o.value,De(Vc,r._currentValue),r._currentValue=s,l!==null)if(wr(l.value,s)){if(l.children===o.children&&!un.current){t=so(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var d=l.dependencies;if(d!==null){s=l.child;for(var c=d.firstContext;c!==null;){if(c.context===r){if(l.tag===1){c=oo(-1,n&-n),c.tag=2;var p=l.updateQueue;if(p!==null){p=p.shared;var h=p.pending;h===null?c.next=c:(c.next=h.next,h.next=c),p.pending=c}}l.lanes|=n,c=l.alternate,c!==null&&(c.lanes|=n),Yf(l.return,n,t),d.lanes|=n;break}c=c.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(Z(341));s.lanes|=n,d=s.alternate,d!==null&&(d.lanes|=n),Yf(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}Zt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ol(t,n),o=Qn(o),r=r(o),t.flags|=1,Zt(e,t,r,n),t.child;case 14:return r=t.type,o=hr(r,t.pendingProps),o=hr(r.type,o),F2(e,t,r,o,n);case 15:return V7(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:hr(r,o),yc(e,t),t.tag=1,cn(r)?(e=!0,jc(t)):e=!1,Ol(t,n),b7(t,r,o),Zf(t,r,o,n),ep(null,t,r,!0,e,n);case 19:return X7(e,t,n);case 22:return G7(e,t,n)}throw Error(Z(156,t.tag))};function fw(e,t){return F3(e,t)}function IL(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 Kn(e,t,n,r){return new IL(e,t,n,r)}function jh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kL(e){if(typeof e=="function")return jh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ih)return 11;if(e===sh)return 14}return 2}function Wo(e,t){var n=e.alternate;return n===null?(n=Kn(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xc(e,t,n,r,o,l){var s=2;if(r=e,typeof e=="function")jh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case pl:return ka(n.children,o,l,t);case lh:s=8,o|=8;break;case xf:return e=Kn(12,n,t,o|2),e.elementType=xf,e.lanes=l,e;case Ef:return e=Kn(13,n,t,o),e.elementType=Ef,e.lanes=l,e;case Sf:return e=Kn(19,n,t,o),e.elementType=Sf,e.lanes=l,e;case x3:return A0(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w3:s=10;break e;case b3:s=9;break e;case ih:s=11;break e;case sh:s=14;break e;case ko:s=16,r=null;break e}throw Error(Z(130,e==null?e:typeof e,""))}return t=Kn(s,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function ka(e,t,n,r){return e=Kn(7,e,r,t),e.lanes=n,e}function A0(e,t,n,r){return e=Kn(22,e,r,t),e.elementType=x3,e.lanes=n,e.stateNode={isHidden:!1},e}function Nd(e,t,n){return e=Kn(6,e,null,t),e.lanes=n,e}function Hd(e,t,n){return t=Kn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function OL(e,t,n,r,o){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=bd(0),this.expirationTimes=bd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bd(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uh(e,t,n,r,o,l,s,d,c){return e=new OL(e,t,n,d,c),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Kn(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rh(l),e}function TL(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mw)}catch(e){console.error(e)}}mw(),h3.exports=On;var L0=h3.exports;const zL=Xl(L0);var Q2=L0;wf.createRoot=Q2.createRoot,wf.hydrateRoot=Q2.hydrateRoot;var n0=new Map,BL=({callback:e,children:t})=>{let n=u.useRef();return u.useLayoutEffect(()=>{n.current!==e&&(n.current=e,e())},[e]),t},FL=async(e,t)=>{let n=await HL(t);return new Promise(r=>{n.render(w.createElement(BL,{callback:()=>r(null)},e))})},NL=(e,t)=>{let n=n0.get(e);n&&(n.unmount(),n0.delete(e))},HL=async e=>{let t=n0.get(e);return t||(t=wf.createRoot(e),n0.set(e,t)),t},br=e=>`control-${e.replace(/\s+/g,"-")}`,$0=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:DL}=__STORYBOOK_MODULE_GLOBAL__,{logger:jL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var UL=Object.create,vw=Object.defineProperty,WL=Object.getOwnPropertyDescriptor,yw=Object.getOwnPropertyNames,VL=Object.getPrototypeOf,GL=Object.prototype.hasOwnProperty,qh=(e,t)=>function(){return t||(0,e[yw(e)[0]])((t={exports:{}}).exports,t),t.exports},qL=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yw(t))!GL.call(e,o)&&o!==n&&vw(e,o,{get:()=>t[o],enumerable:!(r=WL(t,o))||r.enumerable});return e},ww=(e,t,n)=>(n=e!=null?UL(VL(e)):{},qL(t||!e||!e.__esModule?vw(n,"default",{value:e,enumerable:!0}):n,e));function Ko(){return Ko=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ec(e,t,n){return ZL()?Ec=Reflect.construct.bind():Ec=function(r,o,l){var s=[null];s.push.apply(s,o);var d=Function.bind.apply(r,s),c=new d;return l&&vs(c,l.prototype),c},Ec.apply(null,arguments)}function pp(e){var t=typeof Map=="function"?new Map:void 0;return pp=function(n){if(n===null||!XL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return Ec(n,arguments,fp(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),vs(r,n)},pp(e)}var QL={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function JL(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),s=1;s=0&&o<1?(d=l,c=s):o>=1&&o<2?(d=s,c=l):o>=2&&o<3?(c=l,p=s):o>=3&&o<4?(c=s,p=l):o>=4&&o<5?(d=s,p=l):o>=5&&o<6&&(d=l,p=s);var h=n-l/2,y=d+h,v=c+h,g=p+h;return r(y,v,g)}var J2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function t$(e){if(typeof e!="string")return e;var t=e.toLowerCase();return J2[t]?"#"+J2[t]:e}var n$=/^#[a-fA-F0-9]{6}$/,r$=/^#[a-fA-F0-9]{8}$/,o$=/^#[a-fA-F0-9]{3}$/,a$=/^#[a-fA-F0-9]{4}$/,jd=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,l$=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,i$=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,s$=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function M0(e){if(typeof e!="string")throw new Lr(3);var t=t$(e);if(t.match(n$))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(r$)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(o$))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(a$)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=jd.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=l$.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var s=i$.exec(t);if(s){var d=parseInt(""+s[1],10),c=parseInt(""+s[2],10)/100,p=parseInt(""+s[3],10)/100,h="rgb("+ys(d,c,p)+")",y=jd.exec(h);if(!y)throw new Lr(4,t,h);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var v=s$.exec(t.substring(0,50));if(v){var g=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,b=parseInt(""+v[3],10)/100,I="rgb("+ys(g,E,b)+")",_=jd.exec(I);if(!_)throw new Lr(4,t,I);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new Lr(5)}function u$(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),l=Math.min(t,n,r),s=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var d,c=o-l,p=s>.5?c/(2-o-l):c/(o+l);switch(o){case t:d=(n-r)/c+(n=1?r0(e,t,n):"rgba("+ys(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?r0(e.hue,e.saturation,e.lightness):"rgba("+ys(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Lr(2)}function gp(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return hp("#"+ya(e)+ya(t)+ya(n));if(typeof e=="object"&&t===void 0&&n===void 0)return hp("#"+ya(e.red)+ya(e.green)+ya(e.blue));throw new Lr(6)}function ws(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var o=M0(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?gp(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?gp(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Lr(7)}var h$=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},g$=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},m$=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},v$=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function xw(e){if(typeof e!="object")throw new Lr(8);if(g$(e))return ws(e);if(h$(e))return gp(e);if(v$(e))return p$(e);if(m$(e))return f$(e);throw new Lr(8)}function Ew(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Ew(e,t,r)}}function P0(e){return Ew(e,e.length,[])}function z0(e,t,n){return Math.max(e,Math.min(t,n))}function y$(e,t){if(t==="transparent")return t;var n=bw(t);return xw(Ko({},n,{lightness:z0(0,1,n.lightness-parseFloat(e))}))}var w$=P0(y$),b$=w$;function x$(e,t){if(t==="transparent")return t;var n=bw(t);return xw(Ko({},n,{lightness:z0(0,1,n.lightness+parseFloat(e))}))}var E$=P0(x$),S$=E$;function _$(e,t){if(t==="transparent")return t;var n=M0(t),r=typeof n.alpha=="number"?n.alpha:1,o=Ko({},n,{alpha:z0(0,1,(r*100+parseFloat(e)*100)/100)});return ws(o)}var C$=P0(_$),R$=C$;function A$(e,t){if(t==="transparent")return t;var n=M0(t),r=typeof n.alpha=="number"?n.alpha:1,o=Ko({},n,{alpha:z0(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return ws(o)}var I$=P0(A$),k$=I$,ce={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},To={app:"#F6F9FC",bar:ce.lightest,content:ce.lightest,preview:ce.lightest,gridCellSize:10,hoverable:k$(.9,ce.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},$r={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},O$={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:To.app,appContentBg:ce.lightest,appPreviewBg:ce.lightest,appBorderColor:ce.border,appBorderRadius:4,fontBase:$r.fonts.base,fontCode:$r.fonts.mono,textColor:ce.darkest,textInverseColor:ce.lightest,textMutedColor:ce.dark,barTextColor:ce.mediumdark,barHoverColor:ce.secondary,barSelectedColor:ce.secondary,barBg:ce.lightest,buttonBg:To.app,buttonBorder:ce.medium,booleanBg:ce.mediumlight,booleanSelectedBg:ce.lightest,inputBg:ce.lightest,inputBorder:ce.border,inputTextColor:ce.darkest,inputBorderRadius:4},o0=O$,T$={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:ce.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:$r.fonts.base,fontCode:$r.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barHoverColor:ce.secondary,barSelectedColor:ce.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:ce.lightest,inputBorderRadius:4},L$=T$,{window:Wd}=DL,$$=e=>({color:e}),M$=e=>typeof e!="string"?(jL.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,P$=e=>!/(gradient|var|calc)/.test(e),z$=(e,t)=>e==="darken"?ws(`${b$(1,t)}`,.95):e==="lighten"?ws(`${S$(1,t)}`,.95):t,B$=e=>t=>{if(!M$(t)||!P$(t))return t;try{return z$(e,t)}catch{return t}},ji=B$("lighten"),Sw=()=>!Wd||!Wd.matchMedia?"light":Wd.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",mp={light:o0,dark:L$,normal:o0};Sw();var F$=function(t){return t()},_w=Gv.useInsertionEffect?Gv.useInsertionEffect:!1,Kh=_w||F$,e4=_w||u.useLayoutEffect;function tc(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Cw={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,l){function s(p,h){if(!o[p]){if(!r[p]){var y=typeof tc=="function"&&tc;if(!h&&y)return y(p,!0);if(d)return d(p,!0);var v=new Error("Cannot find module '"+p+"'");throw v.code="MODULE_NOT_FOUND",v}var g=o[p]={exports:{}};r[p][0].call(g.exports,function(E){var b=r[p][1][E];return s(b||E)},g,g.exports,n,r,o,l)}return o[p].exports}for(var d=typeof tc=="function"&&tc,c=0;c=0)return this.lastItem=this.list[d],this.list[d].val},l.prototype.set=function(s,d){var c;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=d,this):(c=this.indexOf(s),c>=0?(this.lastItem=this.list[c],this.list[c].val=d,this):(this.lastItem={key:s,val:d},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(s){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),d=this.indexOf(s),d>=0)return this.size--,this.list.splice(d,1)[0]},l.prototype.has=function(s){var d;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(d=this.indexOf(s),d>=0?(this.lastItem=this.list[d],!0):!1)},l.prototype.forEach=function(s,d){var c;for(c=0;c0&&(x[_]={cacheItem:E,arg:arguments[_]},S?s(y,x):y.push(x),y.length>p&&d(y.shift())),g.wasMemoized=S,g.numArgs=_+1,I};return g.limit=p,g.wasMemoized=!1,g.cache=h,g.lru=y,g}};function s(p,h){var y=p.length,v=h.length,g,E,b;for(E=0;E=0&&(y=p[g],v=y.cacheItem.get(y.arg),!v||!v.size);g--)y.cacheItem.delete(y.arg)}function c(p,h){return p===h||p!==p&&h!==h}},{"map-or-similar":1}]},{},[3])(3)})})(Cw);var N$=Cw.exports;const Wa=Xl(N$),{logger:H$}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var D$=qh({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,d=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,p=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,I=t?Symbol.for("react.block"):60121,_=t?Symbol.for("react.fundamental"):60117,x=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function R(le){return typeof le=="string"||typeof le=="function"||le===o||le===h||le===s||le===l||le===v||le===g||typeof le=="object"&&le!==null&&(le.$$typeof===b||le.$$typeof===E||le.$$typeof===d||le.$$typeof===c||le.$$typeof===y||le.$$typeof===_||le.$$typeof===x||le.$$typeof===S||le.$$typeof===I)}function A(le){if(typeof le=="object"&&le!==null){var Ze=le.$$typeof;switch(Ze){case n:var $t=le.type;switch($t){case p:case h:case o:case s:case l:case v:return $t;default:var Dr=$t&&$t.$$typeof;switch(Dr){case c:case y:case b:case E:case d:return Dr;default:return Ze}}case r:return Ze}}}var T=p,L=h,$=c,B=d,F=n,j=y,Y=o,X=b,ue=E,J=r,re=s,ae=l,G=v,K=!1;function Q(le){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ie(le)||A(le)===p}function ie(le){return A(le)===h}function ve(le){return A(le)===c}function _e(le){return A(le)===d}function Ce(le){return typeof le=="object"&&le!==null&&le.$$typeof===n}function te(le){return A(le)===y}function he(le){return A(le)===o}function we(le){return A(le)===b}function Ge(le){return A(le)===E}function it(le){return A(le)===r}function ar(le){return A(le)===s}function Rt(le){return A(le)===l}function Gt(le){return A(le)===v}e.AsyncMode=T,e.ConcurrentMode=L,e.ContextConsumer=$,e.ContextProvider=B,e.Element=F,e.ForwardRef=j,e.Fragment=Y,e.Lazy=X,e.Memo=ue,e.Portal=J,e.Profiler=re,e.StrictMode=ae,e.Suspense=G,e.isAsyncMode=Q,e.isConcurrentMode=ie,e.isContextConsumer=ve,e.isContextProvider=_e,e.isElement=Ce,e.isForwardRef=te,e.isFragment=he,e.isLazy=we,e.isMemo=Ge,e.isPortal=it,e.isProfiler=ar,e.isStrictMode=Rt,e.isSuspense=Gt,e.isValidElementType=R,e.typeOf=A})()}}),j$=qh({"../../node_modules/react-is/index.js"(e,t){t.exports=D$()}}),Rw=qh({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var n=j$(),r={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},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[n.ForwardRef]=l,d[n.Memo]=s;function c(I){return n.isMemo(I)?s:d[I.$$typeof]||r}var p=Object.defineProperty,h=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,E=Object.prototype;function b(I,_,x){if(typeof _!="string"){if(E){var S=g(_);S&&S!==E&&b(I,S,x)}var R=h(_);y&&(R=R.concat(y(_)));for(var A=c(I),T=c(_),L=0;L0?Ot(ei,--hn):0,Hl--,pt===10&&(Hl=1,F0--),pt}function An(){return pt=hn2||xs(pt)>3?"":" "}function rM(e,t){for(;--t&&An()&&!(pt<48||pt>102||pt>57&&pt<65||pt>70&&pt<97););return Fs(e,Sc()+(t<6&&Fr()==32&&An()==32))}function yp(e){for(;An();)switch(pt){case e:return hn;case 34:case 39:e!==34&&e!==39&&yp(pt);break;case 40:e===41&&yp(e);break;case 92:An();break}return hn}function oM(e,t){for(;An()&&e+pt!==57&&!(e+pt===84&&Fr()===47););return"/*"+Fs(t,hn-1)+"*"+B0(e===47?e:An())}function aM(e){for(;!xs(Fr());)An();return Fs(e,hn)}function lM(e){return Lw(Cc("",null,null,null,[""],e=Tw(e),0,[0],e))}function Cc(e,t,n,r,o,l,s,d,c){for(var p=0,h=0,y=s,v=0,g=0,E=0,b=1,I=1,_=1,x=0,S="",R=o,A=l,T=r,L=S;I;)switch(E=x,x=An()){case 40:if(E!=108&&Ot(L,y-1)==58){vp(L+=Me(_c(x),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:L+=_c(x);break;case 9:case 10:case 13:case 32:L+=nM(E);break;case 92:L+=rM(Sc()-1,7);continue;case 47:switch(Fr()){case 42:case 47:nc(iM(oM(An(),Sc()),t,n),c);break;default:L+="/"}break;case 123*b:d[p++]=Ar(L)*_;case 125*b:case 59:case 0:switch(x){case 0:case 125:I=0;case 59+h:_==-1&&(L=Me(L,/\f/g,"")),g>0&&Ar(L)-y&&nc(g>32?n4(L+";",r,n,y-1):n4(Me(L," ","")+";",r,n,y-2),c);break;case 59:L+=";";default:if(nc(T=t4(L,t,n,p,h,o,d,S,R=[],A=[],y),l),x===123)if(h===0)Cc(L,t,T,T,R,l,y,d,A);else switch(v===99&&Ot(L,3)===110?100:v){case 100:case 108:case 109:case 115:Cc(e,T,T,r&&nc(t4(e,T,T,0,0,o,d,S,o,R=[],y),A),o,A,y,d,r?R:A);break;default:Cc(L,T,T,T,[""],A,0,d,A)}}p=h=g=0,b=_=1,S=L="",y=s;break;case 58:y=1+Ar(L),g=E;default:if(b<1){if(x==123)--b;else if(x==125&&b++==0&&tM()==125)continue}switch(L+=B0(x),x*b){case 38:_=h>0?1:(L+="\f",-1);break;case 44:d[p++]=(Ar(L)-1)*_,_=1;break;case 64:Fr()===45&&(L+=_c(An())),v=Fr(),h=y=Ar(S=L+=aM(Sc())),x++;break;case 45:E===45&&Ar(L)==2&&(b=0)}}return l}function t4(e,t,n,r,o,l,s,d,c,p,h){for(var y=o-1,v=o===0?l:[""],g=Jh(v),E=0,b=0,I=0;E0?v[_]+" "+x:Me(x,/&\f/g,v[_])))&&(c[I++]=S);return N0(e,t,n,o===0?Zh:d,c,p,h)}function iM(e,t,n){return N0(e,t,n,Xh,B0(eM()),bs(e,2,-2),0)}function n4(e,t,n,r){return N0(e,t,n,Qh,bs(e,0,r),bs(e,r+1,-1),r)}function Ll(e,t){for(var n="",r=Jh(e),o=0;o-1},vM=function(e){return function(t,n,r){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var l=!!t.parent,s=l?t.parent.children:r,d=s.length-1;d>=0;d--){var c=s[d];if(c.line=0;n--)if(!$w(t[n]))return!0;return!1},a4=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},wM=function(e,t,n){$w(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),a4(e)):yM(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),a4(e)))};function Mw(e,t){switch(Z$(e,t)){case 5103:return $e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $e+e+a0+e+jt+e+e;case 6828:case 4268:return $e+e+jt+e+e;case 6165:return $e+e+jt+"flex-"+e+e;case 5187:return $e+e+Me(e,/(\w+).+(:[^]+)/,$e+"box-$1$2"+jt+"flex-$1$2")+e;case 5443:return $e+e+jt+"flex-item-"+Me(e,/flex-|-self/,"")+e;case 4675:return $e+e+jt+"flex-line-pack"+Me(e,/align-content|flex-|-self/,"")+e;case 5548:return $e+e+jt+Me(e,"shrink","negative")+e;case 5292:return $e+e+jt+Me(e,"basis","preferred-size")+e;case 6060:return $e+"box-"+Me(e,"-grow","")+$e+e+jt+Me(e,"grow","positive")+e;case 4554:return $e+Me(e,/([^-])(transform)/g,"$1"+$e+"$2")+e;case 6187:return Me(Me(Me(e,/(zoom-|grab)/,$e+"$1"),/(image-set)/,$e+"$1"),e,"")+e;case 5495:case 3959:return Me(e,/(image-set\([^]*)/,$e+"$1$`$1");case 4968:return Me(Me(e,/(.+:)(flex-)?(.*)/,$e+"box-pack:$3"+jt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$e+e+e;case 4095:case 3583:case 4068:case 2532:return Me(e,/(.+)-inline(.+)/,$e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ar(e)-1-t>6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return Me(e,/(.+:)(.+)-([^]+)/,"$1"+$e+"$2-$3$1"+a0+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vp(e,"stretch")?Mw(Me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ot(e,t+1)!==115)break;case 6444:switch(Ot(e,Ar(e)-3-(~vp(e,"!important")&&10))){case 107:return Me(e,":",":"+$e)+e;case 101:return Me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$e+(Ot(e,14)===45?"inline-":"")+"box$3$1"+$e+"$2$3$1"+jt+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return $e+e+jt+Me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $e+e+jt+Me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $e+e+jt+Me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $e+e+jt+e+e}return e}var bM=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qh:e.return=Mw(e.value,e.length);break;case Iw:return Ll([$i(e,{value:Me(e.value,"@","@"+$e)})],r);case Zh:if(e.length)return J$(e.props,function(o){switch(Q$(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ll([$i(e,{props:[Me(o,/:(read-\w+)/,":"+a0+"$1")]})],r);case"::placeholder":return Ll([$i(e,{props:[Me(o,/:(plac\w+)/,":"+$e+"input-$1")]}),$i(e,{props:[Me(o,/:(plac\w+)/,":"+a0+"$1")]}),$i(e,{props:[Me(o,/:(plac\w+)/,jt+"input-$1")]})],r)}return""})}},xM=[bM],EM=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(E){var b=E.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(E),E.setAttribute("data-s",""))})}var r=e.stylisPlugins||xM;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},l,s=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(E){for(var b=E.getAttribute("data-emotion").split(" "),I=1;I=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var CM={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},l4=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,RM="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",AM=/[A-Z]|^ms/g,Pw=/_EMO_([^_]+?)_([^]*?)_EMO_/g,t5=function(e){return e.charCodeAt(1)===45},i4=function(e){return e!=null&&typeof e!="boolean"},Vd=Aw(function(e){return t5(e)?e:e.replace(AM,"-$&").toLowerCase()}),l0=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Pw,function(n,r,o){return Ir={name:r,styles:o,next:Ir},r})}return CM[e]!==1&&!t5(e)&&typeof t=="number"&&t!==0?t+"px":t};s4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,u4=["normal","none","initial","inherit","unset"],c4=l0,d4=/^-ms-/,f4=/-(.)/g,Gd={},l0=function(e,t){if(e==="content"&&(typeof t!="string"||u4.indexOf(t)===-1&&!s4.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=c4(e,t);return n!==""&&!t5(e)&&e.indexOf("-")!==-1&&Gd[e]===void 0&&(Gd[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(d4,"ms-").replace(f4,function(r,o){return o.toUpperCase()})+"?")),n};var s4,u4,c4,d4,f4,Gd,zw="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Es(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(zw);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ir={name:n.name,styles:n.styles,next:Ir},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Ir={name:r.name,styles:r.styles,next:Ir},r=r.next;var o=n.styles+";";return n.map!==void 0&&(o+=n.map),o}return IM(e,t,n)}case"function":{if(e!==void 0){var l=Ir,s=n(e);return Ir=l,Es(e,t,s)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var d=[],c=n.replace(Pw,function(h,y,v){var g="animation"+d.length;return d.push("const "+g+" = keyframes`"+v.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});d.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(d,["`"+c+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+c+"`"));break}if(t==null)return n;var p=t[n];return p!==void 0?p:n}function IM(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o ({})}!");return n}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Ko({},e,t)},TM=r4(function(e){return r4(function(t){return OM(e,t)})}),Nw=function(e){var t=u.useContext(Yo);return e.theme!==t&&(t=TM(t)(e.theme)),u.createElement(Yo.Provider,{value:t},e.children)},h4="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",g4="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",LM=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return H0(t,n,r),Kh(function(){return D0(t,n,r)}),null},$M=j0(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[h4],l=[r],s="";typeof e.className=="string"?s=e5(t.registered,l,e.className):e.className!=null&&(s=e.className+" ");var d=Dl(l,void 0,u.useContext(Yo));if(d.name.indexOf("-")===-1){var c=e[g4];c&&(d=Dl([d,"label:"+c+";"]))}s+=t.key+"-"+d.name;var p={};for(var h in e)kM.call(e,h)&&h!=="css"&&h!==h4&&h!==g4&&(p[h]=e[h]);return p.ref=n,p.className=s,u.createElement(u.Fragment,null,u.createElement(LM,{cache:t,serialized:d,isStringTag:typeof o=="string"}),u.createElement(o,p))});$M.displayName="EmotionCssPropInternal";ww(Rw());var MM={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},m4=!1,PM=j0(function(e,t){!m4&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),m4=!0);var n=e.styles,r=Dl([n],void 0,u.useContext(Yo)),o=u.useRef();return e4(function(){var l=t.key+"-global",s=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),d=!1,c=document.querySelector('style[data-emotion="'+l+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(d=!0,c.setAttribute("data-emotion",l),s.hydrate([c])),o.current=[s,d],function(){s.flush()}},[t]),e4(function(){var l=o.current,s=l[0],d=l[1];if(d){l[1]=!1;return}if(r.next!==void 0&&D0(t,r.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});PM.displayName="EmotionGlobal";function r5(){for(var e=arguments.length,t=new Array(e),n=0;n component."),s="";for(var d in l)l[d]&&d&&(s&&(s+=" "),s+=d)}break}default:s=l}s&&(o&&(o+=" "),o+=s)}}return o};function BM(e,t,n){var r=[],o=e5(e,r,n);return r.length<2?n:o+t(r)}var FM=function(e){var t=e.cache,n=e.serializedArr;return Kh(function(){for(var r=0;r96?HM:DM},w4=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(l){return e.__emotion_forwardProp(l)&&o(l)}:o}return typeof r!="function"&&n&&(r=e.__emotion_forwardProp),r},b4=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,jM=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return H0(t,n,r),Kh(function(){return D0(t,n,r)}),null},UM=function e(t,n){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. +You may have forgotten to import it.`);var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,l,s;n!==void 0&&(l=n.label,s=n.target);var d=w4(t,n,r),c=d||y4(o),p=!c("as");return function(){var h=arguments,y=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&y.push("label:"+l+";"),h[0]==null||h[0].raw===void 0)y.push.apply(y,h);else{h[0][0]===void 0&&console.error(b4),y.push(h[0][0]);for(var v=h.length,g=1;g({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));Wa(1)(({color:e,background:t,typography:n})=>{let r=VM({typography:n});return{...r,body:{...r.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...r.hr,borderTop:`1px solid ${e.border}`}}});var GM={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},qM=ti` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,Hw=ti` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,KM=ti` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,YM=ti` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,XM=r5` + animation: ${Hw} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,ZM=r5` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,QM={rotate360:qM,glow:Hw,float:KM,jiggle:YM,inlineGlow:XM,hoverable:ZM},JM={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},eP={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},tP=e=>Object.entries(e).reduce((t,[n,r])=>({...t,[n]:$$(r)}),{}),nP=({colors:e,mono:t})=>{let n=tP(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":n.red3,"&.comment":{...n.green1,fontStyle:"italic"},"&.prolog":{...n.green1,fontStyle:"italic"},"&.doctype":{...n.green1,fontStyle:"italic"},"&.cdata":{...n.green1,fontStyle:"italic"},"&.string":n.red1,"&.url":n.cyan1,"&.symbol":n.cyan1,"&.number":n.cyan1,"&.boolean":n.cyan1,"&.variable":n.cyan1,"&.constant":n.cyan1,"&.inserted":n.cyan1,"&.atrule":n.blue1,"&.keyword":n.blue1,"&.attr-value":n.blue1,"&.punctuation":n.gray1,"&.operator":n.gray1,"&.function":n.gray1,"&.deleted":n.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":n.cyan2,"&.selector":n.red3,"&.attr-name":n.red4,"&.property":n.red4,"&.regex":n.red4,"&.entity":n.red4,"&.directive.tag .tag":{background:"#ffff00",...n.gray1}},"language-json .token.boolean":n.blue1,"language-json .token.number":n.blue1,"language-json .token.property":n.cyan2,namespace:{opacity:.7}}},rP={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},oP={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},aP=e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:ce.tertiary,ancillary:ce.ancillary,orange:ce.orange,gold:ce.gold,green:ce.green,seafoam:ce.seafoam,purple:ce.purple,ultraviolet:ce.ultraviolet,lightest:ce.lightest,lighter:ce.lighter,light:ce.light,mediumlight:ce.mediumlight,medium:ce.medium,mediumdark:ce.mediumdark,dark:ce.dark,darker:ce.darker,darkest:ce.darkest,border:ce.border,positive:ce.positive,negative:ce.negative,warning:ce.warning,critical:ce.critical,defaultText:e.textColor||ce.darkest,inverseText:e.textInverseColor||ce.lightest,positiveText:ce.positiveText,negativeText:ce.negativeText,warningText:ce.warningText}),wp=(e=mp[Sw()])=>{let{base:t,colorPrimary:n,colorSecondary:r,appBg:o,appContentBg:l,appPreviewBg:s,appBorderColor:d,appBorderRadius:c,fontBase:p,fontCode:h,textColor:y,textInverseColor:v,barTextColor:g,barHoverColor:E,barSelectedColor:b,barBg:I,buttonBg:_,buttonBorder:x,booleanBg:S,booleanSelectedBg:R,inputBg:A,inputBorder:T,inputTextColor:L,inputBorderRadius:$,brandTitle:B,brandUrl:F,brandImage:j,brandTarget:Y,gridCellSize:X,...ue}=e;return{...ue,base:t,color:aP(e),background:{app:o,bar:I,content:l,preview:s,gridCellSize:X||To.gridCellSize,hoverable:To.hoverable,positive:To.positive,negative:To.negative,warning:To.warning,critical:To.critical},typography:{fonts:{base:p,mono:h},weight:$r.weight,size:$r.size},animation:QM,easing:GM,input:{background:A,border:T,borderRadius:$,color:L},button:{background:_||A,border:x||T},boolean:{background:S||T,selectedBackground:R||A},layoutMargin:10,appBorderColor:d,appBorderRadius:c,barTextColor:g,barHoverColor:E||r,barSelectedColor:b||r,barBg:I,brand:{title:B,url:F,image:j||(B?null:void 0),target:Y},code:nP({colors:t==="light"?rP:oP,mono:h}),addonActionsTheme:{...t==="light"?eP:JM,BASE_FONT_FAMILY:h,BASE_FONT_SIZE:$r.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:y,ARROW_COLOR:R$(.2,d),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:h,TREENODE_FONT_SIZE:$r.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},lP=e=>Object.keys(e).length===0,Xd=e=>e!=null&&typeof e=="object",iP=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),sP=()=>Object.create(null),Dw=(e,t)=>e===t||!Xd(e)||!Xd(t)?{}:Object.keys(e).reduce((n,r)=>{if(iP(t,r)){let o=Dw(e[r],t[r]);return Xd(o)&&lP(o)||(n[r]=o),n}return n[r]=void 0,n},sP()),uP=Dw;function cP(e){for(var t=[],n=1;n{if(!e)return wp(o0);let t=uP(o0,e);return Object.keys(t).length&&H$.warn(cP` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),wp(e)},bp="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var fP=Object.create,jw=Object.defineProperty,pP=Object.getOwnPropertyDescriptor,Uw=Object.getOwnPropertyNames,hP=Object.getPrototypeOf,gP=Object.prototype.hasOwnProperty,ge=(e,t)=>function(){return t||(0,e[Uw(e)[0]])((t={exports:{}}).exports,t),t.exports},mP=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Uw(t))!gP.call(e,o)&&o!==n&&jw(e,o,{get:()=>t[o],enumerable:!(r=pP(t,o))||r.enumerable});return e},Ln=(e,t,n)=>(n=e!=null?fP(hP(e)):{},mP(t||!e||!e.__esModule?jw(n,"default",{value:e,enumerable:!0}):n,e)),vP=ge({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=n,n.displayName="markdown",n.aliases=["md"];function n(r){(function(o){var l=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function s(E){return E=E.replace(//g,function(){return l}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+E+")")}var d=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return d}),p=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.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:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+p+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+p+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(d),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+p+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(d),alias:"important",inside:o.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:s(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:s(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:s(/(~~?)(?:(?!~))+\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:s(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.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(E){["url","bold","italic","strike","code-snippet"].forEach(function(b){E!==b&&(o.languages.markdown[E].inside.content.inside[b]=o.languages.markdown[b])})}),o.hooks.add("after-tokenize",function(E){if(E.language!=="markdown"&&E.language!=="md")return;function b(I){if(!(!I||typeof I=="string"))for(var _=0,x=I.length;_",quot:'"'},v=String.fromCodePoint||String.fromCharCode;function g(E){var b=E.replace(h,"");return b=b.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(I,_){if(_=_.toLowerCase(),_[0]==="#"){var x;return _[1]==="x"?x=parseInt(_.slice(2),16):x=Number(_.slice(1)),v(x)}else{var S=y[_];return S||I}}),b}o.languages.md=o.languages.markdown})(r)}}}),yP=ge({"../../node_modules/refractor/lang/yaml.js"(e,t){t.exports=n,n.displayName="yaml",n.aliases=["yml"];function n(r){(function(o){var l=/[*&][^\s[\]{},]+/,s=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+s.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+s.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),p=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function h(y,v){v=(v||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return d}).replace(/<>/g,function(){return y});return RegExp(g,v)}o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return d})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return d}).replace(/<>/g,function(){return"(?:"+c+"|"+p+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\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:h(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(p),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:s,important:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(r)}}}),Ww=ge({"../../node_modules/refractor/lang/typescript.js"(e,t){t.exports=n,n.displayName="typescript",n.aliases=["ts"];function n(r){(function(o){o.languages.typescript=o.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/}),o.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 o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var l=o.languages.extend("typescript",{});delete l["class-name"],o.languages.typescript["class-name"].inside=l,o.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:l}}}}),o.languages.ts=o.languages.typescript})(r)}}}),Vw=ge({"../../node_modules/refractor/lang/jsx.js"(e,t){t.exports=n,n.displayName="jsx",n.aliases=[];function n(r){(function(o){var l=o.util.clone(o.languages.javascript),s=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,d=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function p(v,g){return v=v.replace(//g,function(){return s}).replace(//g,function(){return d}).replace(//g,function(){return c}),RegExp(v,g)}c=p(c).source,o.languages.jsx=o.languages.extend("markup",l),o.languages.jsx.tag.pattern=p(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=l.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:p(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:p(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var h=function(v){return v?typeof v=="string"?v:typeof v.content=="string"?v.content:v.content.map(h).join(""):""},y=function(v){for(var g=[],E=0;E0&&g[g.length-1].tagName===h(b.content[0].content[1])&&g.pop():b.content[b.content.length-1].content==="/>"||g.push({tagName:h(b.content[0].content[1]),openedBraces:0}):g.length>0&&b.type==="punctuation"&&b.content==="{"?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&b.type==="punctuation"&&b.content==="}"?g[g.length-1].openedBraces--:I=!0),(I||typeof b=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var _=h(b);E0&&(typeof v[E-1]=="string"||v[E-1].type==="plain-text")&&(_=h(v[E-1])+_,v.splice(E-1,1),E--),v[E]=new o.Token("plain-text",_,null,_)}b.content&&typeof b.content!="string"&&y(b.content)}};o.hooks.add("after-tokenize",function(v){v.language!=="jsx"&&v.language!=="tsx"||y(v.tokens)})})(r)}}}),wP=ge({"../../node_modules/refractor/lang/tsx.js"(e,t){var n=Vw(),r=Ww();t.exports=o,o.displayName="tsx",o.aliases=[];function o(l){l.register(n),l.register(r),function(s){var d=s.util.clone(s.languages.typescript);s.languages.tsx=s.languages.extend("jsx",d),delete s.languages.tsx.parameter,delete s.languages.tsx["literal-property"];var c=s.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(l)}}}),bP=ge({"../../node_modules/refractor/lang/clike.js"(e,t){t.exports=n,n.displayName="clike",n.aliases=[];function n(r){r.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:/[{}[\];(),.:]/}}}}),xP=ge({"../../node_modules/refractor/lang/javascript.js"(e,t){t.exports=n,n.displayName="javascript",n.aliases=["js"];function n(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.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}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.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:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.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:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.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:r.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"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.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")),r.languages.js=r.languages.javascript}}}),Gw=ge({"../../node_modules/refractor/lang/css.js"(e,t){t.exports=n,n.displayName="css",n.aliases=[];function n(r){(function(o){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,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:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var s=o.languages.markup;s&&(s.tag.addInlined("style","css"),s.tag.addAttribute("style","css"))})(r)}}}),qw=ge({"../../node_modules/refractor/lang/markup.js"(e,t){t.exports=n,n.displayName="markup",n.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function n(r){r.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\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://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(o,l){var s={};s["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[l]},s.cdata=/^$/i;var d={"included-cdata":{pattern://i,inside:s}};d["language-"+l]={pattern:/[\s\S]+/,inside:r.languages[l]};var c={};c[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:d},r.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(o,l){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\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:[l,"language-"+l],inside:r.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}}}),EP=ge({"../../node_modules/xtend/immutable.js"(e,t){t.exports=r;var n=Object.prototype.hasOwnProperty;function r(){for(var o={},l=0;l4&&I.slice(0,4)===l&&s.test(b)&&(b.charAt(4)==="-"?_=h(b):b=y(b),x=r),new x(_,b))}function h(E){var b=E.slice(5).replace(d,g);return l+b.charAt(0).toUpperCase()+b.slice(1)}function y(E){var b=E.slice(4);return d.test(b)?E:(b=b.replace(c,v),b.charAt(0)!=="-"&&(b="-"+b),l+b)}function v(E){return"-"+E.toLowerCase()}function g(E){return E.charAt(1).toUpperCase()}}}),LP=ge({"../../node_modules/hast-util-parse-selector/index.js"(e,t){t.exports=r;var n=/[#.]/g;function r(o,l){for(var s=o||"",d=l||"div",c={},p=0,h,y,v;p",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),NP=ge({"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(e,t){t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}}),Qw=ge({"../../node_modules/refractor/node_modules/is-decimal/index.js"(e,t){t.exports=n;function n(r){var o=typeof r=="string"?r.charCodeAt(0):r;return o>=48&&o<=57}}}),HP=ge({"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(e,t){t.exports=n;function n(r){var o=typeof r=="string"?r.charCodeAt(0):r;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}}}),DP=ge({"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(e,t){t.exports=n;function n(r){var o=typeof r=="string"?r.charCodeAt(0):r;return o>=97&&o<=122||o>=65&&o<=90}}}),jP=ge({"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(e,t){var n=DP(),r=Qw();t.exports=o;function o(l){return n(l)||r(l)}}}),UP=ge({"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(e,t){var n,r=59;t.exports=o;function o(l){var s="&"+l+";",d;return n=n||document.createElement("i"),n.innerHTML=s,d=n.textContent,d.charCodeAt(d.length-1)===r&&l!=="semi"||d===s?!1:d}}}),WP=ge({"../../node_modules/refractor/node_modules/parse-entities/index.js"(e,t){var n=FP(),r=NP(),o=Qw(),l=HP(),s=jP(),d=UP();t.exports=ie;var c={}.hasOwnProperty,p=String.fromCharCode,h=Function.prototype,y={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},v=9,g=10,E=12,b=32,I=38,_=59,x=60,S=61,R=35,A=88,T=120,L=65533,$="named",B="hexadecimal",F="decimal",j={};j[B]=16,j[F]=10;var Y={};Y[$]=s,Y[F]=o,Y[B]=l;var X=1,ue=2,J=3,re=4,ae=5,G=6,K=7,Q={};Q[X]="Named character references must be terminated by a semicolon",Q[ue]="Numeric character references must be terminated by a semicolon",Q[J]="Named character references cannot be empty",Q[re]="Numeric character references cannot be empty",Q[ae]="Named character references must be known",Q[G]="Numeric character references cannot be disallowed",Q[K]="Numeric character references cannot be outside the permissible Unicode range";function ie(te,he){var we={},Ge,it;he||(he={});for(it in y)Ge=he[it],we[it]=Ge??y[it];return(we.position.indent||we.position.start)&&(we.indent=we.position.indent||[],we.position=we.position.start),ve(te,we)}function ve(te,he){var we=he.additional,Ge=he.nonTerminated,it=he.text,ar=he.reference,Rt=he.warning,Gt=he.textContext,le=he.referenceContext,Ze=he.warningContext,$t=he.position,Dr=he.indent||[],Mt=te.length,gn=0,qa=-1,st=$t.column||1,gt=$t.line||1,Pt="",lr=[],Mn,Pn,zn,rt,Et,ot,qe,tn,ho,oa,ir,jr,sr,mn,Gs,aa,Ka,vn,ut;for(typeof we=="string"&&(we=we.charCodeAt(0)),aa=la(),tn=Rt?e1:h,gn--,Mt++;++gn65535&&(ot-=65536,oa+=p(ot>>>10|55296),ot=56320|ot&1023),ot=oa+p(ot))):mn!==$&&tn(re,vn)),ot?(qs(),aa=la(),gn=ut-1,st+=ut-sr+1,lr.push(ot),Ka=la(),Ka.offset++,ar&&ar.call(le,ot,{start:aa,end:Ka},te.slice(sr-1,ut)),aa=Ka):(rt=te.slice(sr-1,ut),Pt+=rt,st+=rt.length,gn=ut-1)}else Et===10&&(gt++,qa++,st=0),Et===Et?(Pt+=p(Et),st++):qs();return lr.join("");function la(){return{line:gt,column:st,offset:gn+($t.offset||0)}}function e1(Ks,ii){var si=la();si.column+=ii,si.offset+=ii,Rt.call(Ze,Q[Ks],si,Ks)}function qs(){Pt&&(lr.push(Pt),it&&it.call(Gt,Pt,{start:aa,end:la()}),Pt="")}}function _e(te){return te>=55296&&te<=57343||te>1114111}function Ce(te){return te>=1&&te<=8||te===11||te>=13&&te<=31||te>=127&&te<=159||te>=64976&&te<=65007||(te&65535)===65535||(te&65535)===65534}}}),VP=ge({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e,t){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},r=function(o){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,s=0,d={},c={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:function S(R){return R instanceof p?new p(R.type,S(R.content),R.alias):Array.isArray(R)?R.map(S):R.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(T){var S=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(T.stack)||[])[1];if(S){var R=document.getElementsByTagName("script");for(var A in R)if(R[A].src==S)return R[A]}return null}},isActive:function(S,R,A){for(var T="no-"+R;S;){var L=S.classList;if(L.contains(R))return!0;if(L.contains(T))return!1;S=S.parentElement}return!!A}},languages:{plain:d,plaintext:d,text:d,txt:d,extend:function(S,R){var A=c.util.clone(c.languages[S]);for(var T in R)A[T]=R[T];return A},insertBefore:function(S,R,A,T){T=T||c.languages;var L=T[S],$={};for(var B in L)if(L.hasOwnProperty(B)){if(B==R)for(var F in A)A.hasOwnProperty(F)&&($[F]=A[F]);A.hasOwnProperty(B)||($[B]=L[B])}var j=T[S];return T[S]=$,c.languages.DFS(c.languages,function(Y,X){X===j&&Y!=S&&(this[Y]=$)}),$},DFS:function S(R,A,T,L){L=L||{};var $=c.util.objId;for(var B in R)if(R.hasOwnProperty(B)){A.call(R,B,R[B],T||B);var F=R[B],j=c.util.type(F);j==="Object"&&!L[$(F)]?(L[$(F)]=!0,S(F,A,null,L)):j==="Array"&&!L[$(F)]&&(L[$(F)]=!0,S(F,A,B,L))}}},plugins:{},highlightAll:function(S,R){c.highlightAllUnder(document,S,R)},highlightAllUnder:function(S,R,A){var T={callback:A,container:S,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",T),T.elements=Array.prototype.slice.apply(T.container.querySelectorAll(T.selector)),c.hooks.run("before-all-elements-highlight",T);for(var L=0,$;$=T.elements[L++];)c.highlightElement($,R===!0,T.callback)},highlightElement:function(S,R,A){var T=c.util.getLanguage(S),L=c.languages[T];c.util.setLanguage(S,T);var $=S.parentElement;$&&$.nodeName.toLowerCase()==="pre"&&c.util.setLanguage($,T);var B=S.textContent,F={element:S,language:T,grammar:L,code:B};function j(X){F.highlightedCode=X,c.hooks.run("before-insert",F),F.element.innerHTML=F.highlightedCode,c.hooks.run("after-highlight",F),c.hooks.run("complete",F),A&&A.call(F.element)}if(c.hooks.run("before-sanity-check",F),$=F.element.parentElement,$&&$.nodeName.toLowerCase()==="pre"&&!$.hasAttribute("tabindex")&&$.setAttribute("tabindex","0"),!F.code){c.hooks.run("complete",F),A&&A.call(F.element);return}if(c.hooks.run("before-highlight",F),!F.grammar){j(c.util.encode(F.code));return}if(R&&o.Worker){var Y=new Worker(c.filename);Y.onmessage=function(X){j(X.data)},Y.postMessage(JSON.stringify({language:F.language,code:F.code,immediateClose:!0}))}else j(c.highlight(F.code,F.grammar,F.language))},highlight:function(S,R,A){var T={code:S,grammar:R,language:A};if(c.hooks.run("before-tokenize",T),!T.grammar)throw new Error('The language "'+T.language+'" has no grammar.');return T.tokens=c.tokenize(T.code,T.grammar),c.hooks.run("after-tokenize",T),p.stringify(c.util.encode(T.tokens),T.language)},tokenize:function(S,R){var A=R.rest;if(A){for(var T in A)R[T]=A[T];delete R.rest}var L=new v;return g(L,L.head,S),y(S,L,R,L.head,0),b(L)},hooks:{all:{},add:function(S,R){var A=c.hooks.all;A[S]=A[S]||[],A[S].push(R)},run:function(S,R){var A=c.hooks.all[S];if(!(!A||!A.length))for(var T=0,L;L=A[T++];)L(R)}},Token:p};o.Prism=c;function p(S,R,A,T){this.type=S,this.content=R,this.alias=A,this.length=(T||"").length|0}p.stringify=function S(R,A){if(typeof R=="string")return R;if(Array.isArray(R)){var T="";return R.forEach(function(j){T+=S(j,A)}),T}var L={type:R.type,content:S(R.content,A),tag:"span",classes:["token",R.type],attributes:{},language:A},$=R.alias;$&&(Array.isArray($)?Array.prototype.push.apply(L.classes,$):L.classes.push($)),c.hooks.run("wrap",L);var B="";for(var F in L.attributes)B+=" "+F+'="'+(L.attributes[F]||"").replace(/"/g,""")+'"';return"<"+L.tag+' class="'+L.classes.join(" ")+'"'+B+">"+L.content+""};function h(S,R,A,T){S.lastIndex=R;var L=S.exec(A);if(L&&T&&L[1]){var $=L[1].length;L.index+=$,L[0]=L[0].slice($)}return L}function y(S,R,A,T,L,$){for(var B in A)if(!(!A.hasOwnProperty(B)||!A[B])){var F=A[B];F=Array.isArray(F)?F:[F];for(var j=0;j=$.reach);Q+=K.value.length,K=K.next){var ie=K.value;if(R.length>S.length)return;if(!(ie instanceof p)){var ve=1,_e;if(J){if(_e=h(G,Q,S,ue),!_e||_e.index>=S.length)break;var we=_e.index,Ce=_e.index+_e[0].length,te=Q;for(te+=K.value.length;we>=te;)K=K.next,te+=K.value.length;if(te-=K.value.length,Q=te,K.value instanceof p)continue;for(var he=K;he!==R.tail&&(te$.reach&&($.reach=Rt);var Gt=K.prev;it&&(Gt=g(R,Gt,it),Q+=it.length),E(R,Gt,ve);var le=new p(B,X?c.tokenize(Ge,X):Ge,re,Ge);if(K=g(R,Gt,le),ar&&g(R,K,ar),ve>1){var Ze={cause:B+","+j,reach:Rt};y(S,R,A,K.prev,Q,Ze),$&&Ze.reach>$.reach&&($.reach=Ze.reach)}}}}}}function v(){var S={value:null,prev:null,next:null},R={value:null,prev:S,next:null};S.next=R,this.head=S,this.tail=R,this.length=0}function g(S,R,A){var T=R.next,L={value:A,prev:R,next:T};return R.next=L,T.prev=L,S.length++,L}function E(S,R,A){for(var T=R.next,L=0;L>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};o.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:s}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},s.inside=o.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],p=d.variable[1].inside,h=0;h/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),v)}o.languages.insertBefore("javascript","keyword",{imports:{pattern:l(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:l(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.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"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:l(/(\.\s*)#?/.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 s=["function","function-variable","method","method-variable","property-access"],d=0;d0)){var b=p(/^\{$/,/^\}$/);if(b===-1)continue;for(var I=s;I=0&&h(_,"variable-input")}}}}})}}});function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>ZP(n,t))}const i5=u.forwardRef((e,t)=>{const{children:n,...r}=e,o=u.Children.toArray(n),l=o.find(ez);if(l){const s=l.props.children,d=o.map(c=>c===l?u.Children.count(s)>1?u.Children.only(null):u.isValidElement(s)?s.props.children:null:c);return u.createElement(xp,Vt({},r,{ref:t}),u.isValidElement(s)?u.cloneElement(s,void 0,d):null)}return u.createElement(xp,Vt({},r,{ref:t}),n)});i5.displayName="Slot";const xp=u.forwardRef((e,t)=>{const{children:n,...r}=e;return u.isValidElement(n)?u.cloneElement(n,{...tz(r,n.props),ref:t?QP(t,n.ref):n.ref}):u.Children.count(n)>1?u.Children.only(null):null});xp.displayName="SlotClone";const JP=({children:e})=>u.createElement(u.Fragment,null,e);function ez(e){return u.isValidElement(e)&&e.type===JP}function tz(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...d)=>{l(...d),o(...d)}:o&&(n[r]=o):r==="style"?n[r]={...o,...l}:r==="className"&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}const{logger:nz}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:rz}=__STORYBOOK_MODULE_GLOBAL__;var oz=Ln(Vw()),az=oz.default,lz=Ln(qP()),iz=lz.default,sz=Ln(Gw()),uz=sz.default,cz=Ln(KP()),dz=cz.default,fz=Ln(YP()),pz=fz.default,hz=Ln(XP()),gz=hz.default,mz=Ln(qw()),vz=mz.default,yz=Ln(vP()),wz=yz.default,bz=Ln(yP()),xz=bz.default,Ez=Ln(wP()),Sz=Ez.default,_z=Ln(Ww()),Cz=_z.default;function Rz(e,t){if(e==null)return{};var n=o5(e,t),r,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ep(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var Zd={};function Pz(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Zd[t]||(Zd[t]=Mz(e)),Zd[t]}function zz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(l){return l!=="token"}),o=Pz(r);return o.reduce(function(l,s){return _l(_l({},l),n[s])},t)}function E4(e){return e.join(" ")}function Bz(e,t){var n=0;return function(r){return n+=1,r.map(function(o,l){return s5({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(l)})})}}function s5(e){var t=e.node,n=e.stylesheet,r=e.style,o=r===void 0?{}:r,l=e.useInlineStyles,s=e.key,d=t.properties,c=t.type,p=t.tagName,h=t.value;if(c==="text")return h;if(p){var y=Bz(n,l),v;if(!l)v=_l(_l({},d),{},{className:E4(d.className)});else{var g=Object.keys(n).reduce(function(_,x){return x.split(".").forEach(function(S){_.includes(S)||_.push(S)}),_},[]),E=d.className&&d.className.includes("token")?["token"]:[],b=d.className&&E.concat(d.className.filter(function(_){return!g.includes(_)}));v=_l(_l({},d),{},{className:E4(b)||void 0,style:zz(d.className,Object.assign({},d.style,o),n)})}var I=y(t.children);return w.createElement(p,Oe({key:s},v),I)}}var Fz=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1},Nz=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function S4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function kr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return Rc({children:A,lineNumber:T,lineNumberStyle:d,largestLineNumber:s,showInlineLineNumbers:o,lineProps:n,className:L,showLineNumbers:r,wrapLongLines:c})}function b(A,T){if(r&&T&&o){var L=t6(d,T,s);A.unshift(e6(T,L))}return A}function I(A,T){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||L.length>0?E(A,T,L):b(A,T)}for(var _=function(){var A=h[g],T=A.children[0].value,L=Dz(T);if(L){var $=T.split(` +`);$.forEach(function(B,F){var j=r&&y.length+l,Y={type:"text",value:"".concat(B,` +`)};if(F===0){var X=h.slice(v+1,g).concat(Rc({children:[Y],className:A.properties.className})),ue=I(X,j);y.push(ue)}else if(F===$.length-1){var J=h[g+1]&&h[g+1].children&&h[g+1].children[0],re={type:"text",value:"".concat(B)};if(J){var ae=Rc({children:[re],className:A.properties.className});h.splice(g+1,0,ae)}else{var G=[re],K=I(G,j,A.properties.className);y.push(K)}}else{var Q=[Y],ie=I(Q,j,A.properties.className);y.push(ie)}}),v=g}g++};g({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),o6=z.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5});o6.displayName="ActionButton";var f5=({actionItems:e,...t})=>w.createElement(Yz,{...t},e.map(({title:n,className:r,onClick:o,disabled:l},s)=>w.createElement(o6,{key:s,className:r,onClick:o,disabled:l},n))),Xz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Hs=Xz.reduce((e,t)=>{let n=u.forwardRef((r,o)=>{let{asChild:l,...s}=r,d=l?i5:t;return u.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),u.createElement(d,Oe({},s,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Zz(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Qz(...e){return t=>e.forEach(n=>Zz(n,t))}function Va(...e){return u.useCallback(Qz(...e),e)}var Sp=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{};function Jz(e,t){return u.useReducer((n,r)=>t[n][r]??n,e)}var Ds=e=>{let{present:t,children:n}=e,r=eB(t),o=typeof n=="function"?n({present:r.isPresent}):u.Children.only(n),l=Va(r.ref,o.ref);return typeof n=="function"||r.isPresent?u.cloneElement(o,{ref:l}):null};Ds.displayName="Presence";function eB(e){let[t,n]=u.useState(),r=u.useRef({}),o=u.useRef(e),l=u.useRef("none"),s=e?"mounted":"unmounted",[d,c]=Jz(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{let p=rc(r.current);l.current=d==="mounted"?p:"none"},[d]),Sp(()=>{let p=r.current,h=o.current;if(h!==e){let y=l.current,v=rc(p);e?c("MOUNT"):v==="none"||(p==null?void 0:p.display)==="none"?c("UNMOUNT"):c(h&&y!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Sp(()=>{if(t){let p=y=>{let v=rc(r.current).includes(y.animationName);y.target===t&&v&&L0.flushSync(()=>c("ANIMATION_END"))},h=y=>{y.target===t&&(l.current=rc(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:u.useCallback(p=>{p&&(r.current=getComputedStyle(p)),n(p)},[])}}function rc(e){return(e==null?void 0:e.animationName)||"none"}function tB(e,t=[]){let n=[];function r(l,s){let d=u.createContext(s),c=n.length;n=[...n,s];function p(y){let{scope:v,children:g,...E}=y,b=(v==null?void 0:v[e][c])||d,I=u.useMemo(()=>E,Object.values(E));return u.createElement(b.Provider,{value:I},g)}function h(y,v){let g=(v==null?void 0:v[e][c])||d,E=u.useContext(g);if(E)return E;if(s!==void 0)return s;throw new Error(`\`${y}\` must be used within \`${l}\``)}return p.displayName=l+"Provider",[p,h]}let o=()=>{let l=n.map(s=>u.createContext(s));return function(s){let d=(s==null?void 0:s[e])||l;return u.useMemo(()=>({[`__scope${e}`]:{...s,[e]:d}}),[s,d])}};return o.scopeName=e,[r,nB(o,...t)]}function nB(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){let l=r.reduce((s,{useScope:d,scopeName:c})=>{let p=d(o)[`__scope${c}`];return{...s,...p}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Ea(e){let t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}var rB=u.createContext(void 0);function oB(e){let t=u.useContext(rB);return e||t||"ltr"}function aB(e,[t,n]){return Math.min(n,Math.max(t,e))}function Oa(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function lB(e,t){return u.useReducer((n,r)=>t[n][r]??n,e)}var a6="ScrollArea",[l6,coe]=tB(a6),[iB,nr]=l6(a6),sB=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:l=600,...s}=e,[d,c]=u.useState(null),[p,h]=u.useState(null),[y,v]=u.useState(null),[g,E]=u.useState(null),[b,I]=u.useState(null),[_,x]=u.useState(0),[S,R]=u.useState(0),[A,T]=u.useState(!1),[L,$]=u.useState(!1),B=Va(t,j=>c(j)),F=oB(o);return u.createElement(iB,{scope:n,type:r,dir:F,scrollHideDelay:l,scrollArea:d,viewport:p,onViewportChange:h,content:y,onContentChange:v,scrollbarX:g,onScrollbarXChange:E,scrollbarXEnabled:A,onScrollbarXEnabledChange:T,scrollbarY:b,onScrollbarYChange:I,scrollbarYEnabled:L,onScrollbarYEnabledChange:$,onCornerWidthChange:x,onCornerHeightChange:R},u.createElement(Hs.div,Oe({dir:F},s,{ref:B,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":S+"px",...e.style}})))}),uB="ScrollAreaViewport",cB=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,...o}=e,l=nr(uB,n),s=u.useRef(null),d=Va(t,s,l.onViewportChange);return u.createElement(u.Fragment,null,u.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),u.createElement(Hs.div,Oe({"data-radix-scroll-area-viewport":""},o,{ref:d,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style}}),u.createElement("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"}},r)))}),fo="ScrollAreaScrollbar",dB=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=nr(fo,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:s}=o,d=e.orientation==="horizontal";return u.useEffect(()=>(d?l(!0):s(!0),()=>{d?l(!1):s(!1)}),[d,l,s]),o.type==="hover"?u.createElement(fB,Oe({},r,{ref:t,forceMount:n})):o.type==="scroll"?u.createElement(pB,Oe({},r,{ref:t,forceMount:n})):o.type==="auto"?u.createElement(i6,Oe({},r,{ref:t,forceMount:n})):o.type==="always"?u.createElement(p5,Oe({},r,{ref:t})):null}),fB=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=nr(fo,e.__scopeScrollArea),[l,s]=u.useState(!1);return u.useEffect(()=>{let d=o.scrollArea,c=0;if(d){let p=()=>{window.clearTimeout(c),s(!0)},h=()=>{c=window.setTimeout(()=>s(!1),o.scrollHideDelay)};return d.addEventListener("pointerenter",p),d.addEventListener("pointerleave",h),()=>{window.clearTimeout(c),d.removeEventListener("pointerenter",p),d.removeEventListener("pointerleave",h)}}},[o.scrollArea,o.scrollHideDelay]),u.createElement(Ds,{present:n||l},u.createElement(i6,Oe({"data-state":l?"visible":"hidden"},r,{ref:t})))}),pB=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=nr(fo,e.__scopeScrollArea),l=e.orientation==="horizontal",s=W0(()=>c("SCROLL_END"),100),[d,c]=lB("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return u.useEffect(()=>{if(d==="idle"){let p=window.setTimeout(()=>c("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(p)}},[d,o.scrollHideDelay,c]),u.useEffect(()=>{let p=o.viewport,h=l?"scrollLeft":"scrollTop";if(p){let y=p[h],v=()=>{let g=p[h];y!==g&&(c("SCROLL"),s()),y=g};return p.addEventListener("scroll",v),()=>p.removeEventListener("scroll",v)}},[o.viewport,l,c,s]),u.createElement(Ds,{present:n||d!=="hidden"},u.createElement(p5,Oe({"data-state":d==="hidden"?"hidden":"visible"},r,{ref:t,onPointerEnter:Oa(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Oa(e.onPointerLeave,()=>c("POINTER_LEAVE"))})))}),i6=u.forwardRef((e,t)=>{let n=nr(fo,e.__scopeScrollArea),{forceMount:r,...o}=e,[l,s]=u.useState(!1),d=e.orientation==="horizontal",c=W0(()=>{if(n.viewport){let p=n.viewport.offsetWidth{let{orientation:n="vertical",...r}=e,o=nr(fo,e.__scopeScrollArea),l=u.useRef(null),s=u.useRef(0),[d,c]=u.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=d6(d.viewport,d.content),h={...r,sizes:d,onSizesChange:c,hasThumb:p>0&&p<1,onThumbChange:v=>l.current=v,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:v=>s.current=v};function y(v,g){return xB(v,s.current,d,g)}return n==="horizontal"?u.createElement(hB,Oe({},h,{ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){let v=o.viewport.scrollLeft,g=_4(v,d,o.dir);l.current.style.transform=`translate3d(${g}px, 0, 0)`}},onWheelScroll:v=>{o.viewport&&(o.viewport.scrollLeft=v)},onDragScroll:v=>{o.viewport&&(o.viewport.scrollLeft=y(v,o.dir))}})):n==="vertical"?u.createElement(gB,Oe({},h,{ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){let v=o.viewport.scrollTop,g=_4(v,d);l.current.style.transform=`translate3d(0, ${g}px, 0)`}},onWheelScroll:v=>{o.viewport&&(o.viewport.scrollTop=v)},onDragScroll:v=>{o.viewport&&(o.viewport.scrollTop=y(v))}})):null}),hB=u.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...o}=e,l=nr(fo,e.__scopeScrollArea),[s,d]=u.useState(),c=u.useRef(null),p=Va(t,c,l.onScrollbarXChange);return u.useEffect(()=>{c.current&&d(getComputedStyle(c.current))},[c]),u.createElement(u6,Oe({"data-orientation":"horizontal"},o,{ref:p,sizes:n,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":U0(n)+"px",...e.style},onThumbPointerDown:h=>e.onThumbPointerDown(h.x),onDragScroll:h=>e.onDragScroll(h.x),onWheelScroll:(h,y)=>{if(l.viewport){let v=l.viewport.scrollLeft+h.deltaX;e.onWheelScroll(v),p6(v,y)&&h.preventDefault()}},onResize:()=>{c.current&&l.viewport&&s&&r({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:i0(s.paddingLeft),paddingEnd:i0(s.paddingRight)}})}}))}),gB=u.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...o}=e,l=nr(fo,e.__scopeScrollArea),[s,d]=u.useState(),c=u.useRef(null),p=Va(t,c,l.onScrollbarYChange);return u.useEffect(()=>{c.current&&d(getComputedStyle(c.current))},[c]),u.createElement(u6,Oe({"data-orientation":"vertical"},o,{ref:p,sizes:n,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":U0(n)+"px",...e.style},onThumbPointerDown:h=>e.onThumbPointerDown(h.y),onDragScroll:h=>e.onDragScroll(h.y),onWheelScroll:(h,y)=>{if(l.viewport){let v=l.viewport.scrollTop+h.deltaY;e.onWheelScroll(v),p6(v,y)&&h.preventDefault()}},onResize:()=>{c.current&&l.viewport&&s&&r({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:i0(s.paddingTop),paddingEnd:i0(s.paddingBottom)}})}}))}),[mB,s6]=l6(fo),u6=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:l,onThumbPointerUp:s,onThumbPointerDown:d,onThumbPositionChange:c,onDragScroll:p,onWheelScroll:h,onResize:y,...v}=e,g=nr(fo,n),[E,b]=u.useState(null),I=Va(t,B=>b(B)),_=u.useRef(null),x=u.useRef(""),S=g.viewport,R=r.content-r.viewport,A=Ea(h),T=Ea(c),L=W0(y,10);function $(B){if(_.current){let F=B.clientX-_.current.left,j=B.clientY-_.current.top;p({x:F,y:j})}}return u.useEffect(()=>{let B=F=>{let j=F.target;E!=null&&E.contains(j)&&A(F,R)};return document.addEventListener("wheel",B,{passive:!1}),()=>document.removeEventListener("wheel",B,{passive:!1})},[S,E,R,A]),u.useEffect(T,[r,T]),jl(E,L),jl(g.content,L),u.createElement(mB,{scope:n,scrollbar:E,hasThumb:o,onThumbChange:Ea(l),onThumbPointerUp:Ea(s),onThumbPositionChange:T,onThumbPointerDown:Ea(d)},u.createElement(Hs.div,Oe({},v,{ref:I,style:{position:"absolute",...v.style},onPointerDown:Oa(e.onPointerDown,B=>{B.button===0&&(B.target.setPointerCapture(B.pointerId),_.current=E.getBoundingClientRect(),x.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",g.viewport&&(g.viewport.style.scrollBehavior="auto"),$(B))}),onPointerMove:Oa(e.onPointerMove,$),onPointerUp:Oa(e.onPointerUp,B=>{let F=B.target;F.hasPointerCapture(B.pointerId)&&F.releasePointerCapture(B.pointerId),document.body.style.webkitUserSelect=x.current,g.viewport&&(g.viewport.style.scrollBehavior=""),_.current=null})})))}),_p="ScrollAreaThumb",vB=u.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=s6(_p,e.__scopeScrollArea);return u.createElement(Ds,{present:n||o.hasThumb},u.createElement(yB,Oe({ref:t},r)))}),yB=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...o}=e,l=nr(_p,n),s=s6(_p,n),{onThumbPositionChange:d}=s,c=Va(t,y=>s.onThumbChange(y)),p=u.useRef(),h=W0(()=>{p.current&&(p.current(),p.current=void 0)},100);return u.useEffect(()=>{let y=l.viewport;if(y){let v=()=>{if(h(),!p.current){let g=EB(y,d);p.current=g,d()}};return d(),y.addEventListener("scroll",v),()=>y.removeEventListener("scroll",v)}},[l.viewport,h,d]),u.createElement(Hs.div,Oe({"data-state":s.hasThumb?"visible":"hidden"},o,{ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:Oa(e.onPointerDownCapture,y=>{let v=y.target.getBoundingClientRect(),g=y.clientX-v.left,E=y.clientY-v.top;s.onThumbPointerDown({x:g,y:E})}),onPointerUp:Oa(e.onPointerUp,s.onThumbPointerUp)}))}),c6="ScrollAreaCorner",wB=u.forwardRef((e,t)=>{let n=nr(c6,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?u.createElement(bB,Oe({},e,{ref:t})):null}),bB=u.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,o=nr(c6,n),[l,s]=u.useState(0),[d,c]=u.useState(0),p=!!(l&&d);return jl(o.scrollbarX,()=>{var h;let y=((h=o.scrollbarX)===null||h===void 0?void 0:h.offsetHeight)||0;o.onCornerHeightChange(y),c(y)}),jl(o.scrollbarY,()=>{var h;let y=((h=o.scrollbarY)===null||h===void 0?void 0:h.offsetWidth)||0;o.onCornerWidthChange(y),s(y)}),p?u.createElement(Hs.div,Oe({},r,{ref:t,style:{width:l,height:d,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function i0(e){return e?parseInt(e,10):0}function d6(e,t){let n=e/t;return isNaN(n)?0:n}function U0(e){let t=d6(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function xB(e,t,n,r="ltr"){let o=U0(n),l=o/2,s=t||l,d=o-s,c=n.scrollbar.paddingStart+s,p=n.scrollbar.size-n.scrollbar.paddingEnd-d,h=n.content-n.viewport,y=r==="ltr"?[0,h]:[h*-1,0];return f6([c,p],y)(e)}function _4(e,t,n="ltr"){let r=U0(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,s=t.content-t.viewport,d=l-r,c=n==="ltr"?[0,s]:[s*-1,0],p=aB(e,c);return f6([0,s],[0,d])(p)}function f6(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function p6(e,t){return e>0&&e{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){let l={left:e.scrollLeft,top:e.scrollTop},s=n.left!==l.left,d=n.top!==l.top;(s||d)&&t(),n=l,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function W0(e,t){let n=Ea(e),r=u.useRef(0);return u.useEffect(()=>()=>window.clearTimeout(r.current),[]),u.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function jl(e,t){let n=Ea(t);Sp(()=>{let r=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var SB=sB,_B=cB,CB=dB,RB=vB,AB=wB,IB=z(SB)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),kB=z(_B)({width:"100%",height:"100%"}),C4=z(CB)(({offset:e,horizontal:t,vertical:n})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&n==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&n==="true"?0:e}})),R4=z(RB)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),h5=({children:e,horizontal:t=!1,vertical:n=!1,offset:r=2,scrollbarSize:o=6,className:l})=>w.createElement(IB,{scrollbarsize:o,offset:r,className:l},w.createElement(kB,null,e),t&&w.createElement(C4,{orientation:"horizontal",offset:r,horizontal:t.toString(),vertical:n.toString()},w.createElement(R4,null)),n&&w.createElement(C4,{orientation:"vertical",offset:r,horizontal:t.toString(),vertical:n.toString()},w.createElement(R4,null)),t&&n&&w.createElement(AB,null)),{navigator:oc,document:Mi,window:OB}=rz,TB={jsextra:dz,jsx:az,json:pz,yml:xz,md:wz,bash:iz,css:uz,html:vz,tsx:Sz,typescript:Cz,graphql:gz};Object.entries(TB).forEach(([e,t])=>{d5.registerLanguage(e,t)});var LB=Wa(2)(e=>Object.entries(e.code||{}).reduce((t,[n,r])=>({...t,[`* .${n}`]:r}),{})),$B=h6();function h6(){return oc!=null&&oc.clipboard?e=>oc.clipboard.writeText(e):async e=>{let t=Mi.createElement("TEXTAREA"),n=Mi.activeElement;t.value=e,Mi.body.appendChild(t),t.select(),Mi.execCommand("copy"),Mi.body.removeChild(t),n.focus()}}var MB=z.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),PB=({children:e,className:t})=>w.createElement(h5,{horizontal:!0,vertical:!0,className:t},e),zB=z(PB)({position:"relative"},({theme:e})=>LB(e)),BB=z.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),FB=z.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),g6=e=>{let t=[...e.children],n=t[0],r=n.children[0].value,o={...n,children:[],properties:{...n.properties,"data-line-number":r,style:{...n.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},NB=({rows:e,stylesheet:t,useInlineStyles:n})=>e.map((r,o)=>s5({node:g6(r),stylesheet:t,useInlineStyles:n,key:`code-segement${o}`})),HB=(e,t)=>t?e?({rows:n,...r})=>e({rows:n.map(o=>g6(o)),...r}):NB:e,g5=({children:e,language:t="jsx",copyable:n=!1,bordered:r=!1,padded:o=!1,format:l=!0,formatter:s=null,className:d=null,showLineNumbers:c=!1,...p})=>{if(typeof e!="string"||!e.trim())return null;let[h,y]=u.useState("");u.useEffect(()=>{s?s(l,e).then(y):y(e.trim())},[e,l,s]);let[v,g]=u.useState(!1),E=u.useCallback(I=>{I.preventDefault(),$B(h).then(()=>{g(!0),OB.setTimeout(()=>g(!1),1500)}).catch(nz.error)},[h]),b=HB(p.renderer,c);return w.createElement(MB,{bordered:r,padded:o,showLineNumbers:c,className:d},w.createElement(zB,null,w.createElement(d5,{padded:o||r,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:BB,CodeTag:FB,lineNumberContainerStyle:{},...p,renderer:b},h)),n?w.createElement(f5,{actionItems:[{title:v?"Copied":"Copy",onClick:E}]}):null)};g5.registerLanguage=(...e)=>d5.registerLanguage(...e);var doe=g5;const{global:DB}=__STORYBOOK_MODULE_GLOBAL__;var jB=ge({"../../node_modules/react-fast-compare/index.js"(e,t){var n=typeof Element<"u",r=typeof Map=="function",o=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function s(d,c){if(d===c)return!0;if(d&&c&&typeof d=="object"&&typeof c=="object"){if(d.constructor!==c.constructor)return!1;var p,h,y;if(Array.isArray(d)){if(p=d.length,p!=c.length)return!1;for(h=p;h--!==0;)if(!s(d[h],c[h]))return!1;return!0}var v;if(r&&d instanceof Map&&c instanceof Map){if(d.size!==c.size)return!1;for(v=d.entries();!(h=v.next()).done;)if(!c.has(h.value[0]))return!1;for(v=d.entries();!(h=v.next()).done;)if(!s(h.value[1],c.get(h.value[0])))return!1;return!0}if(o&&d instanceof Set&&c instanceof Set){if(d.size!==c.size)return!1;for(v=d.entries();!(h=v.next()).done;)if(!c.has(h.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(d)&&ArrayBuffer.isView(c)){if(p=d.length,p!=c.length)return!1;for(h=p;h--!==0;)if(d[h]!==c[h])return!1;return!0}if(d.constructor===RegExp)return d.source===c.source&&d.flags===c.flags;if(d.valueOf!==Object.prototype.valueOf&&typeof d.valueOf=="function"&&typeof c.valueOf=="function")return d.valueOf()===c.valueOf();if(d.toString!==Object.prototype.toString&&typeof d.toString=="function"&&typeof c.toString=="function")return d.toString()===c.toString();if(y=Object.keys(d),p=y.length,p!==Object.keys(c).length)return!1;for(h=p;h--!==0;)if(!Object.prototype.hasOwnProperty.call(c,y[h]))return!1;if(n&&d instanceof Element)return!1;for(h=p;h--!==0;)if(!((y[h]==="_owner"||y[h]==="__v"||y[h]==="__o")&&d.$$typeof)&&!s(d[y[h]],c[y[h]]))return!1;return!0}return d!==d&&c!==c}t.exports=function(d,c){try{return s(d,c)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}}}}),A4=function(e){return e.reduce(function(t,n){var r=n[0],o=n[1];return t[r]=o,t},{})},I4=typeof window<"u"&&window.document&&window.document.createElement?u.useLayoutEffect:u.useEffect,fn="top",er="bottom",tr="right",pn="left",m5="auto",js=[fn,er,tr,pn],Ul="start",_s="end",UB="clippingParents",m6="viewport",Pi="popper",WB="reference",k4=js.reduce(function(e,t){return e.concat([t+"-"+Ul,t+"-"+_s])},[]),v6=[].concat(js,[m5]).reduce(function(e,t){return e.concat([t,t+"-"+Ul,t+"-"+_s])},[]),VB="beforeRead",GB="read",qB="afterRead",KB="beforeMain",YB="main",XB="afterMain",ZB="beforeWrite",QB="write",JB="afterWrite",eF=[VB,GB,qB,KB,YB,XB,ZB,QB,JB];function Hr(e){return e?(e.nodeName||"").toLowerCase():null}function kn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ha(e){var t=kn(e).Element;return e instanceof t||e instanceof Element}function Zn(e){var t=kn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function v5(e){if(typeof ShadowRoot>"u")return!1;var t=kn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tF(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},l=t.elements[n];!Zn(l)||!Hr(l)||(Object.assign(l.style,r),Object.keys(o).forEach(function(s){var d=o[s];d===!1?l.removeAttribute(s):l.setAttribute(s,d===!0?"":d)}))})}function nF(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],l=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),d=s.reduce(function(c,p){return c[p]="",c},{});!Zn(o)||!Hr(o)||(Object.assign(o.style,d),Object.keys(l).forEach(function(c){o.removeAttribute(c)}))})}}var rF={name:"applyStyles",enabled:!0,phase:"write",fn:tF,effect:nF,requires:["computeStyles"]};function Nr(e){return e.split("-")[0]}var Ta=Math.max,s0=Math.min,Wl=Math.round;function Cp(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function y6(){return!/^((?!chrome|android).)*safari/i.test(Cp())}function Vl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,l=1;t&&Zn(e)&&(o=e.offsetWidth>0&&Wl(r.width)/e.offsetWidth||1,l=e.offsetHeight>0&&Wl(r.height)/e.offsetHeight||1);var s=Ha(e)?kn(e):window,d=s.visualViewport,c=!y6()&&n,p=(r.left+(c&&d?d.offsetLeft:0))/o,h=(r.top+(c&&d?d.offsetTop:0))/l,y=r.width/o,v=r.height/l;return{width:y,height:v,top:h,right:p+y,bottom:h+v,left:p,x:p,y:h}}function y5(e){var t=Vl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function w6(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v5(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function uo(e){return kn(e).getComputedStyle(e)}function oF(e){return["table","td","th"].indexOf(Hr(e))>=0}function ea(e){return((Ha(e)?e.ownerDocument:e.document)||window.document).documentElement}function V0(e){return Hr(e)==="html"?e:e.assignedSlot||e.parentNode||(v5(e)?e.host:null)||ea(e)}function O4(e){return!Zn(e)||uo(e).position==="fixed"?null:e.offsetParent}function aF(e){var t=/firefox/i.test(Cp()),n=/Trident/i.test(Cp());if(n&&Zn(e)){var r=uo(e);if(r.position==="fixed")return null}var o=V0(e);for(v5(o)&&(o=o.host);Zn(o)&&["html","body"].indexOf(Hr(o))<0;){var l=uo(o);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return o;o=o.parentNode}return null}function Us(e){for(var t=kn(e),n=O4(e);n&&oF(n)&&uo(n).position==="static";)n=O4(n);return n&&(Hr(n)==="html"||Hr(n)==="body"&&uo(n).position==="static")?t:n||aF(e)||t}function w5(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qi(e,t,n){return Ta(e,s0(t,n))}function lF(e,t,n){var r=Qi(e,t,n);return r>n?n:r}function b6(){return{top:0,right:0,bottom:0,left:0}}function x6(e){return Object.assign({},b6(),e)}function E6(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var iF=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,x6(typeof e!="number"?e:E6(e,js))};function sF(e){var t,n=e.state,r=e.name,o=e.options,l=n.elements.arrow,s=n.modifiersData.popperOffsets,d=Nr(n.placement),c=w5(d),p=[pn,tr].indexOf(d)>=0,h=p?"height":"width";if(!(!l||!s)){var y=iF(o.padding,n),v=y5(l),g=c==="y"?fn:pn,E=c==="y"?er:tr,b=n.rects.reference[h]+n.rects.reference[c]-s[c]-n.rects.popper[h],I=s[c]-n.rects.reference[c],_=Us(l),x=_?c==="y"?_.clientHeight||0:_.clientWidth||0:0,S=b/2-I/2,R=y[g],A=x-v[h]-y[E],T=x/2-v[h]/2+S,L=Qi(R,T,A),$=c;n.modifiersData[r]=(t={},t[$]=L,t.centerOffset=L-T,t)}}function uF(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||w6(t.elements.popper,o)&&(t.elements.arrow=o))}var cF={name:"arrow",enabled:!0,phase:"main",fn:sF,effect:uF,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gl(e){return e.split("-")[1]}var dF={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fF(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Wl(n*o)/o||0,y:Wl(r*o)/o||0}}function T4(e){var t,n=e.popper,r=e.popperRect,o=e.placement,l=e.variation,s=e.offsets,d=e.position,c=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,y=e.isFixed,v=s.x,g=v===void 0?0:v,E=s.y,b=E===void 0?0:E,I=typeof h=="function"?h({x:g,y:b}):{x:g,y:b};g=I.x,b=I.y;var _=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),S=pn,R=fn,A=window;if(p){var T=Us(n),L="clientHeight",$="clientWidth";if(T===kn(n)&&(T=ea(n),uo(T).position!=="static"&&d==="absolute"&&(L="scrollHeight",$="scrollWidth")),T=T,o===fn||(o===pn||o===tr)&&l===_s){R=er;var B=y&&T===A&&A.visualViewport?A.visualViewport.height:T[L];b-=B-r.height,b*=c?1:-1}if(o===pn||(o===fn||o===er)&&l===_s){S=tr;var F=y&&T===A&&A.visualViewport?A.visualViewport.width:T[$];g-=F-r.width,g*=c?1:-1}}var j=Object.assign({position:d},p&&dF),Y=h===!0?fF({x:g,y:b},kn(n)):{x:g,y:b};if(g=Y.x,b=Y.y,c){var X;return Object.assign({},j,(X={},X[R]=x?"0":"",X[S]=_?"0":"",X.transform=(A.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",X))}return Object.assign({},j,(t={},t[R]=x?b+"px":"",t[S]=_?g+"px":"",t.transform="",t))}function pF(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,l=n.adaptive,s=l===void 0?!0:l,d=n.roundOffsets,c=d===void 0?!0:d,p={placement:Nr(t.placement),variation:Gl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,T4(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,T4(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var hF={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pF,data:{}},ac={passive:!0};function gF(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,l=o===void 0?!0:o,s=r.resize,d=s===void 0?!0:s,c=kn(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&p.forEach(function(h){h.addEventListener("scroll",n.update,ac)}),d&&c.addEventListener("resize",n.update,ac),function(){l&&p.forEach(function(h){h.removeEventListener("scroll",n.update,ac)}),d&&c.removeEventListener("resize",n.update,ac)}}var mF={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:gF,data:{}},vF={left:"right",right:"left",bottom:"top",top:"bottom"};function Ac(e){return e.replace(/left|right|bottom|top/g,function(t){return vF[t]})}var yF={start:"end",end:"start"};function L4(e){return e.replace(/start|end/g,function(t){return yF[t]})}function b5(e){var t=kn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function x5(e){return Vl(ea(e)).left+b5(e).scrollLeft}function wF(e,t){var n=kn(e),r=ea(e),o=n.visualViewport,l=r.clientWidth,s=r.clientHeight,d=0,c=0;if(o){l=o.width,s=o.height;var p=y6();(p||!p&&t==="fixed")&&(d=o.offsetLeft,c=o.offsetTop)}return{width:l,height:s,x:d+x5(e),y:c}}function bF(e){var t,n=ea(e),r=b5(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Ta(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Ta(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-r.scrollLeft+x5(e),c=-r.scrollTop;return uo(o||n).direction==="rtl"&&(d+=Ta(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:s,x:d,y:c}}function E5(e){var t=uo(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function S6(e){return["html","body","#document"].indexOf(Hr(e))>=0?e.ownerDocument.body:Zn(e)&&E5(e)?e:S6(V0(e))}function Ji(e,t){var n;t===void 0&&(t=[]);var r=S6(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),l=kn(r),s=o?[l].concat(l.visualViewport||[],E5(r)?r:[]):r,d=t.concat(s);return o?d:d.concat(Ji(V0(s)))}function Rp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xF(e,t){var n=Vl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function $4(e,t,n){return t===m6?Rp(wF(e,n)):Ha(t)?xF(t,n):Rp(bF(ea(e)))}function EF(e){var t=Ji(V0(e)),n=["absolute","fixed"].indexOf(uo(e).position)>=0,r=n&&Zn(e)?Us(e):e;return Ha(r)?t.filter(function(o){return Ha(o)&&w6(o,r)&&Hr(o)!=="body"}):[]}function SF(e,t,n,r){var o=t==="clippingParents"?EF(e):[].concat(t),l=[].concat(o,[n]),s=l[0],d=l.reduce(function(c,p){var h=$4(e,p,r);return c.top=Ta(h.top,c.top),c.right=s0(h.right,c.right),c.bottom=s0(h.bottom,c.bottom),c.left=Ta(h.left,c.left),c},$4(e,s,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function _6(e){var t=e.reference,n=e.element,r=e.placement,o=r?Nr(r):null,l=r?Gl(r):null,s=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,c;switch(o){case fn:c={x:s,y:t.y-n.height};break;case er:c={x:s,y:t.y+t.height};break;case tr:c={x:t.x+t.width,y:d};break;case pn:c={x:t.x-n.width,y:d};break;default:c={x:t.x,y:t.y}}var p=o?w5(o):null;if(p!=null){var h=p==="y"?"height":"width";switch(l){case Ul:c[p]=c[p]-(t[h]/2-n[h]/2);break;case _s:c[p]=c[p]+(t[h]/2-n[h]/2);break}}return c}function Cs(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,l=n.strategy,s=l===void 0?e.strategy:l,d=n.boundary,c=d===void 0?UB:d,p=n.rootBoundary,h=p===void 0?m6:p,y=n.elementContext,v=y===void 0?Pi:y,g=n.altBoundary,E=g===void 0?!1:g,b=n.padding,I=b===void 0?0:b,_=x6(typeof I!="number"?I:E6(I,js)),x=v===Pi?WB:Pi,S=e.rects.popper,R=e.elements[E?x:v],A=SF(Ha(R)?R:R.contextElement||ea(e.elements.popper),c,h,s),T=Vl(e.elements.reference),L=_6({reference:T,element:S,strategy:"absolute",placement:o}),$=Rp(Object.assign({},S,L)),B=v===Pi?$:T,F={top:A.top-B.top+_.top,bottom:B.bottom-A.bottom+_.bottom,left:A.left-B.left+_.left,right:B.right-A.right+_.right},j=e.modifiersData.offset;if(v===Pi&&j){var Y=j[o];Object.keys(F).forEach(function(X){var ue=[tr,er].indexOf(X)>=0?1:-1,J=[fn,er].indexOf(X)>=0?"y":"x";F[X]+=Y[J]*ue})}return F}function _F(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,l=n.rootBoundary,s=n.padding,d=n.flipVariations,c=n.allowedAutoPlacements,p=c===void 0?v6:c,h=Gl(r),y=h?d?k4:k4.filter(function(E){return Gl(E)===h}):js,v=y.filter(function(E){return p.indexOf(E)>=0});v.length===0&&(v=y);var g=v.reduce(function(E,b){return E[b]=Cs(e,{placement:b,boundary:o,rootBoundary:l,padding:s})[Nr(b)],E},{});return Object.keys(g).sort(function(E,b){return g[E]-g[b]})}function CF(e){if(Nr(e)===m5)return[];var t=Ac(e);return[L4(e),t,L4(t)]}function RF(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,s=n.altAxis,d=s===void 0?!0:s,c=n.fallbackPlacements,p=n.padding,h=n.boundary,y=n.rootBoundary,v=n.altBoundary,g=n.flipVariations,E=g===void 0?!0:g,b=n.allowedAutoPlacements,I=t.options.placement,_=Nr(I),x=_===I,S=c||(x||!E?[Ac(I)]:CF(I)),R=[I].concat(S).reduce(function(Ce,te){return Ce.concat(Nr(te)===m5?_F(t,{placement:te,boundary:h,rootBoundary:y,padding:p,flipVariations:E,allowedAutoPlacements:b}):te)},[]),A=t.rects.reference,T=t.rects.popper,L=new Map,$=!0,B=R[0],F=0;F=0,J=ue?"width":"height",re=Cs(t,{placement:j,boundary:h,rootBoundary:y,altBoundary:v,padding:p}),ae=ue?X?tr:pn:X?er:fn;A[J]>T[J]&&(ae=Ac(ae));var G=Ac(ae),K=[];if(l&&K.push(re[Y]<=0),d&&K.push(re[ae]<=0,re[G]<=0),K.every(function(Ce){return Ce})){B=j,$=!1;break}L.set(j,K)}if($)for(var Q=E?3:1,ie=function(Ce){var te=R.find(function(he){var we=L.get(he);if(we)return we.slice(0,Ce).every(function(Ge){return Ge})});if(te)return B=te,"break"},ve=Q;ve>0;ve--){var _e=ie(ve);if(_e==="break")break}t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}}var AF={name:"flip",enabled:!0,phase:"main",fn:RF,requiresIfExists:["offset"],data:{_skip:!1}};function M4(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function P4(e){return[fn,tr,er,pn].some(function(t){return e[t]>=0})}function IF(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,s=Cs(t,{elementContext:"reference"}),d=Cs(t,{altBoundary:!0}),c=M4(s,r),p=M4(d,o,l),h=P4(c),y=P4(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":y})}var kF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:IF};function OF(e,t,n){var r=Nr(e),o=[pn,fn].indexOf(r)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=l[0],d=l[1];return s=s||0,d=(d||0)*o,[pn,tr].indexOf(r)>=0?{x:d,y:s}:{x:s,y:d}}function TF(e){var t=e.state,n=e.options,r=e.name,o=n.offset,l=o===void 0?[0,0]:o,s=v6.reduce(function(h,y){return h[y]=OF(y,t.rects,l),h},{}),d=s[t.placement],c=d.x,p=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=s}var LF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:TF};function $F(e){var t=e.state,n=e.name;t.modifiersData[n]=_6({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var MF={name:"popperOffsets",enabled:!0,phase:"read",fn:$F,data:{}};function PF(e){return e==="x"?"y":"x"}function zF(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,l=o===void 0?!0:o,s=n.altAxis,d=s===void 0?!1:s,c=n.boundary,p=n.rootBoundary,h=n.altBoundary,y=n.padding,v=n.tether,g=v===void 0?!0:v,E=n.tetherOffset,b=E===void 0?0:E,I=Cs(t,{boundary:c,rootBoundary:p,padding:y,altBoundary:h}),_=Nr(t.placement),x=Gl(t.placement),S=!x,R=w5(_),A=PF(R),T=t.modifiersData.popperOffsets,L=t.rects.reference,$=t.rects.popper,B=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,F=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Y={x:0,y:0};if(T){if(l){var X,ue=R==="y"?fn:pn,J=R==="y"?er:tr,re=R==="y"?"height":"width",ae=T[R],G=ae+I[ue],K=ae-I[J],Q=g?-$[re]/2:0,ie=x===Ul?L[re]:$[re],ve=x===Ul?-$[re]:-L[re],_e=t.elements.arrow,Ce=g&&_e?y5(_e):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:b6(),he=te[ue],we=te[J],Ge=Qi(0,L[re],Ce[re]),it=S?L[re]/2-Q-Ge-he-F.mainAxis:ie-Ge-he-F.mainAxis,ar=S?-L[re]/2+Q+Ge+we+F.mainAxis:ve+Ge+we+F.mainAxis,Rt=t.elements.arrow&&Us(t.elements.arrow),Gt=Rt?R==="y"?Rt.clientTop||0:Rt.clientLeft||0:0,le=(X=j==null?void 0:j[R])!=null?X:0,Ze=ae+it-le-Gt,$t=ae+ar-le,Dr=Qi(g?s0(G,Ze):G,ae,g?Ta(K,$t):K);T[R]=Dr,Y[R]=Dr-ae}if(d){var Mt,gn=R==="x"?fn:pn,qa=R==="x"?er:tr,st=T[A],gt=A==="y"?"height":"width",Pt=st+I[gn],lr=st-I[qa],Mn=[fn,pn].indexOf(_)!==-1,Pn=(Mt=j==null?void 0:j[A])!=null?Mt:0,zn=Mn?Pt:st-L[gt]-$[gt]-Pn+F.altAxis,rt=Mn?st+L[gt]+$[gt]-Pn-F.altAxis:lr,Et=g&&Mn?lF(zn,st,rt):Qi(g?zn:Pt,st,g?rt:lr);T[A]=Et,Y[A]=Et-st}t.modifiersData[r]=Y}}var BF={name:"preventOverflow",enabled:!0,phase:"main",fn:zF,requiresIfExists:["offset"]};function FF(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function NF(e){return e===kn(e)||!Zn(e)?b5(e):FF(e)}function HF(e){var t=e.getBoundingClientRect(),n=Wl(t.width)/e.offsetWidth||1,r=Wl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function DF(e,t,n){n===void 0&&(n=!1);var r=Zn(t),o=Zn(t)&&HF(t),l=ea(t),s=Vl(e,o,n),d={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Hr(t)!=="body"||E5(l))&&(d=NF(t)),Zn(t)?(c=Vl(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=x5(l))),{x:s.left+d.scrollLeft-c.x,y:s.top+d.scrollTop-c.y,width:s.width,height:s.height}}function jF(e){var t=new Map,n=new Set,r=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var s=[].concat(l.requires||[],l.requiresIfExists||[]);s.forEach(function(d){if(!n.has(d)){var c=t.get(d);c&&o(c)}}),r.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),r}function UF(e){var t=jF(e);return eF.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function WF(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function VF(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var z4={placement:"bottom",modifiers:[],strategy:"absolute"};function B4(){for(var e=arguments.length,t=new Array(e),n=0;nt.split("-")[0]===e?n:r),Co=8,nN=z.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,n=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{n=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${n}px, 0px)`}},({theme:e,color:t,placement:n})=>({bottom:`${Vn("top",n,`${Co*-1}px`,"auto")}`,top:`${Vn("bottom",n,`${Co*-1}px`,"auto")}`,right:`${Vn("left",n,`${Co*-1}px`,"auto")}`,left:`${Vn("right",n,`${Co*-1}px`,"auto")}`,borderBottomWidth:`${Vn("top",n,"0",Co)}px`,borderTopWidth:`${Vn("bottom",n,"0",Co)}px`,borderRightWidth:`${Vn("left",n,"0",Co)}px`,borderLeftWidth:`${Vn("right",n,"0",Co)}px`,borderTopColor:Vn("top",n,e.color[t]||t||e.base==="light"?ji(e.background.app):e.background.app,"transparent"),borderBottomColor:Vn("bottom",n,e.color[t]||t||e.base==="light"?ji(e.background.app):e.background.app,"transparent"),borderLeftColor:Vn("left",n,e.color[t]||t||e.base==="light"?ji(e.background.app):e.background.app,"transparent"),borderRightColor:Vn("right",n,e.color[t]||t||e.base==="light"?ji(e.background.app):e.background.app,"transparent")})),rN=z.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:n})=>n?{background:e.color[t]||t||e.base==="light"?ji(e.background.app):e.background.app,filter:` + drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) + drop-shadow(0 1px 3px rgba(0,0,0,0.1)) + `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),S5=w.forwardRef(({placement:e,hasChrome:t,children:n,arrowProps:r,tooltipRef:o,color:l,withArrows:s,...d},c)=>w.createElement(rN,{"data-testid":"tooltip",hasChrome:t,ref:c,...d,color:l},t&&s&&w.createElement(nN,{placement:e,...r,color:l}),n));S5.displayName="Tooltip";S5.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:Ic}=DB,oN=z.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,aN=z.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,A6=({svg:e,trigger:t,closeOnOutsideClick:n,placement:r,hasChrome:o,withArrows:l,offset:s,tooltip:d,children:c,closeOnTriggerHidden:p,mutationObserverOptions:h,defaultVisible:y,delayHide:v,visible:g,interactive:E,delayShow:b,modifiers:I,strategy:_,followCursor:x,onVisibleChange:S,...R})=>{let A=e?aN:oN,{getArrowProps:T,getTooltipProps:L,setTooltipRef:$,setTriggerRef:B,visible:F,state:j}=tN({trigger:t,placement:r,defaultVisible:y,delayHide:v,interactive:E,closeOnOutsideClick:n,closeOnTriggerHidden:p,onVisibleChange:S,delayShow:b,followCursor:x,mutationObserverOptions:h,visible:g,offset:s},{modifiers:I,strategy:_}),Y=w.createElement(S5,{placement:j==null?void 0:j.placement,ref:$,hasChrome:o,arrowProps:T(),withArrows:l,...L()},typeof d=="function"?d({onHide:()=>S(!1)}):d);return w.createElement(w.Fragment,null,w.createElement(A,{trigger:t,ref:B,...R},c),F&&zL.createPortal(Y,Ic.body))};A6.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var lN=({startOpen:e=!1,onVisibleChange:t,...n})=>{let[r,o]=u.useState(e),l=u.useCallback(s=>{t&&t(s)===!1||o(s)},[t]);return u.useEffect(()=>{let s=()=>l(!1);Ic.addEventListener("keydown",s,!1);let d=Array.from(Ic.getElementsByTagName("iframe")),c=[];return d.forEach(p=>{let h=()=>{try{p.contentWindow.document&&(p.contentWindow.document.addEventListener("click",s),c.push(()=>{try{p.contentWindow.document.removeEventListener("click",s)}catch{}}))}catch{}};h(),p.addEventListener("load",h),c.push(()=>{p.removeEventListener("load",h)})}),()=>{Ic.removeEventListener("keydown",s),c.forEach(p=>{p()})}}),w.createElement(A6,{...n,visible:r,onVisibleChange:l})},iN=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],sN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),uN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),cN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),dN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),fN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),u.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),pN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),hN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),I6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),k6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),O6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),T6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),L6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),u.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),gN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),$6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),mN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),vN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),yN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),wN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),u.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),bN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),xN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),EN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),SN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),M6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),_N=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),u.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),u.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),CN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),RN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),AN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),IN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),kN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),ON=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),TN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),LN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),$N=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},u.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),u.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3492"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),MN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3493"},u.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),PN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),_5=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),zN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),BN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),FN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),NN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),HN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),DN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),jN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),UN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),WN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),VN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),GN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),qN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),KN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),YN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),XN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),ZN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),QN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),JN=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),eH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),tH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),nH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),rH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),oH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),aH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),lH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),iH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),sH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),uH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),cH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),dH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},u.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3497"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),fH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),pH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3496"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),hH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),gH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},u.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3503"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),mH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),vH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),yH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),wH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),bH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),xH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),EH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),SH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),_H=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),CH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),RH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),AH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),IH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),kH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),OH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),TH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),LH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),$H=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),MH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),PH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),zH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),BH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),FH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),NH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),HH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),DH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),jH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),UH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),WH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),VH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),GH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),qH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),KH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),YH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),u.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),XH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),ZH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),QH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),JH=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),eD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),tD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),nD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),rD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),u.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),oD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),aD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),lD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),iD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),sD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),uD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),cD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),dD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3502"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),fD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},u.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3501"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),P6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),z6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),pD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),hD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),gD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),mD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),vD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),yD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),wD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),bD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),xD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),ED=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),SD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),_D=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),CD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},u.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3614"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),RD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),AD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),u.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),ID=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),kD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),u.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),OD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),TD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),LD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),$D=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),MD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),PD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),B6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),zD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),BD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),FD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),ND=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),F6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),u.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),HD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),DD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),jD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),UD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),u.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),WD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),u.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),VD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),u.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),GD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),qD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),KD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),YD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),XD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1449_588"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ZD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),QD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),JD=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),ej=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),tj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),nj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),rj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),oj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),aj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),u.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),u.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),lj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),ij=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),sj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),uj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),cj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),dj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),fj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),N6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),pj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),C5=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),H6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),R5=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),hj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),gj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),mj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),vj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),yj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),wj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),bj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),xj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),Ej=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),Sj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),_j=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),Cj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),Rj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),Aj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),Ij=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),kj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),Oj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),Tj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),u.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),u.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),Lj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),$j=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),D6=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),Mj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),Pj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),zj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Bj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),Fj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),Nj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),Hj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),Dj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),jj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Uj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),Wj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),Vj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Gj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),qj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),Kj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),Yj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),u.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),Xj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},u.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),u.createElement("defs",null,u.createElement("clipPath",{id:"prefix__clip0_1107_3594"},u.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Zj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),Qj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),Jj=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),eU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),u.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),tU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),nU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),rU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),oU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),aU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),u.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),lU=u.forwardRef(({color:e="currentColor",size:t=14,...n},r)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e})));const iU=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityAltIcon:lU,AccessibilityIcon:aU,AddIcon:P6,AdminIcon:Yj,AlertAltIcon:BD,AlertIcon:zD,AlignLeftIcon:UN,AlignRightIcon:WN,AppleIcon:uH,ArrowBottomLeftIcon:Ej,ArrowBottomRightIcon:Sj,ArrowDownIcon:vj,ArrowLeftIcon:yj,ArrowRightIcon:wj,ArrowSolidDownIcon:Cj,ArrowSolidLeftIcon:Rj,ArrowSolidRightIcon:Aj,ArrowSolidUpIcon:_j,ArrowTopLeftIcon:bj,ArrowTopRightIcon:xj,ArrowUpIcon:mj,AzureDevOpsIcon:gH,BackIcon:Fj,BasketIcon:aj,BatchAcceptIcon:aD,BatchDenyIcon:oD,BeakerIcon:lj,BellIcon:DD,BitbucketIcon:mH,BoldIcon:ZN,BookIcon:PN,BookmarkHollowIcon:KD,BookmarkIcon:YD,BottomBarIcon:jH,BottomBarToggleIcon:UH,BoxIcon:KH,BranchIcon:lH,BrowserIcon:MH,ButtonIcon:kD,CPUIcon:WH,CalendarIcon:DN,CameraIcon:SN,CategoryIcon:BN,CertificateIcon:tj,ChangedIcon:mD,ChatIcon:SD,CheckIcon:nD,ChevronDownIcon:N6,ChevronLeftIcon:pj,ChevronRightIcon:C5,ChevronSmallDownIcon:R5,ChevronSmallLeftIcon:hj,ChevronSmallRightIcon:gj,ChevronSmallUpIcon:H6,ChevronUpIcon:fj,ChromaticIcon:vH,ChromeIcon:pH,CircleHollowIcon:GD,CircleIcon:qD,ClearIcon:yD,CloseAltIcon:sD,CloseIcon:pD,CloudHollowIcon:uj,CloudIcon:cj,CogIcon:ZH,CollapseIcon:kj,CommandIcon:$D,CommentAddIcon:bD,CommentIcon:wD,CommentsIcon:ED,CommitIcon:aH,CompassIcon:jj,ComponentDrivenIcon:yH,ComponentIcon:uN,ContrastIcon:mN,ControlsIcon:lD,CopyIcon:zN,CreditIcon:ID,CrossIcon:uD,DashboardIcon:Gj,DatabaseIcon:VH,DeleteIcon:hD,DiamondIcon:XD,DirectionIcon:Xj,DiscordIcon:wH,DocChartIcon:GN,DocListIcon:qN,DocumentIcon:_5,DownloadIcon:Bj,DragIcon:KN,EditIcon:XH,EllipsisIcon:eD,EmailIcon:FD,ExpandAltIcon:Ij,ExpandIcon:Oj,EyeCloseIcon:L6,EyeIcon:T6,FaceHappyIcon:nU,FaceNeutralIcon:rU,FaceSadIcon:oU,FacebookIcon:bH,FailedIcon:vD,FastForwardIcon:kN,FigmaIcon:xH,FilterIcon:VN,FlagIcon:sj,FolderIcon:FN,FormIcon:rD,GDriveIcon:EH,GithubIcon:SH,GitlabIcon:_H,GlobeIcon:Dj,GoogleIcon:CH,GraphBarIcon:jN,GraphLineIcon:HN,GraphqlIcon:RH,GridAltIcon:pN,GridIcon:cN,GrowIcon:wN,HeartHollowIcon:ZD,HeartIcon:QD,HomeIcon:Kj,HourglassIcon:ij,InfoIcon:MD,ItalicIcon:QN,JumpToIcon:VD,KeyIcon:RD,LightningIcon:gN,LightningOffIcon:$6,LinkBrokenIcon:HD,LinkIcon:F6,LinkedinIcon:LH,LinuxIcon:cH,ListOrderedIcon:eH,ListUnorderedIcon:tH,LocationIcon:Uj,LockIcon:_D,MarkdownIcon:rH,MarkupIcon:XN,MediumIcon:AH,MemoryIcon:GH,MenuIcon:YN,MergeIcon:sH,MirrorIcon:yN,MobileIcon:zH,MoonIcon:MN,NutIcon:QH,OutboxIcon:AD,OutlineIcon:dN,PaintBrushIcon:bN,PaperClipIcon:JN,ParagraphIcon:nH,PassedIcon:gD,PhoneIcon:ND,PhotoDragIcon:fN,PhotoIcon:sN,PinAltIcon:dD,PinIcon:Wj,PlayBackIcon:RN,PlayIcon:CN,PlayNextIcon:AN,PlusIcon:iD,PointerDefaultIcon:TD,PointerHandIcon:LD,PowerIcon:YH,PrintIcon:NN,ProceedIcon:Nj,ProfileIcon:tU,PullRequestIcon:iH,QuestionIcon:PD,RSSIcon:jD,RedirectIcon:$j,ReduxIcon:IH,RefreshIcon:Hj,ReplyIcon:Mj,RepoIcon:oH,RequestChangeIcon:xD,RewindIcon:IN,RulerIcon:xN,SearchIcon:hN,ShareAltIcon:UD,ShareIcon:WD,ShieldIcon:oj,SideBySideIcon:TN,SidebarAltIcon:NH,SidebarAltToggleIcon:HH,SidebarIcon:FH,SidebarToggleIcon:DH,SpeakerIcon:_N,StackedIcon:LN,StarHollowIcon:JD,StarIcon:ej,StickerIcon:dj,StopAltIcon:ON,StopIcon:EN,StorybookIcon:hH,StructureIcon:qH,SubtractIcon:z6,SunIcon:$N,SupportIcon:B6,SwitchAltIcon:vN,SyncIcon:Pj,TabletIcon:PH,ThumbsUpIcon:rj,TimeIcon:Vj,TimerIcon:qj,TransferIcon:Lj,TrashIcon:cD,TwitterIcon:kH,TypeIcon:OD,UbuntuIcon:dH,UndoIcon:D6,UnfoldIcon:Tj,UnlockIcon:CD,UnpinIcon:fD,UploadIcon:zj,UserAddIcon:Jj,UserAltIcon:Qj,UserIcon:Zj,UsersIcon:eU,VSCodeIcon:TH,VerifiedIcon:nj,VideoIcon:M6,WandIcon:tD,WatchIcon:BH,WindowsIcon:fH,WrenchIcon:JH,XIcon:$H,YoutubeIcon:OH,ZoomIcon:I6,ZoomOutIcon:k6,ZoomResetIcon:O6,iconList:iN},Symbol.toStringTag,{value:"Module"}));var sU=Object.create,j6=Object.defineProperty,uU=Object.getOwnPropertyDescriptor,cU=Object.getOwnPropertyNames,dU=Object.getPrototypeOf,fU=Object.prototype.hasOwnProperty,pU=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),hU=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cU(t))!fU.call(e,o)&&o!==n&&j6(e,o,{get:()=>t[o],enumerable:!(r=uU(t,o))||r.enumerable});return e},gU=(e,t,n)=>(n=e!=null?sU(dU(e)):{},hU(t||!e||!e.__esModule?j6(n,"default",{value:e,enumerable:!0}):n,e)),mU=pU(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,n=Object.getPrototypeOf,r=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,l){return function s(d,c,p){var h,y,v,g=t.call(d),E=t.call(c);if(d===c)return!0;if(d==null||c==null)return!1;if(p.indexOf(d)>-1&&p.indexOf(c)>-1)return!0;if(p.push(d,c),g!=E||(h=r(d),y=r(c),h.length!=y.length||h.some(function(b){return!s(d[b],c[b],p)})))return!1;switch(g.slice(8,-1)){case"Symbol":return d.valueOf()==c.valueOf();case"Date":case"Number":return+d==+c||+d!=+d&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+d==""+c;case"Set":case"Map":h=d.entries(),y=c.entries();do if(!s((v=h.next()).value,y.next().value,p))return!1;while(!v.done);return!0;case"ArrayBuffer":d=new Uint8Array(d),c=new Uint8Array(c);case"DataView":d=new Uint8Array(d.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(d.length!=c.length)return!1;for(v=0;ve.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");const{global:vU}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:W6,logger:yU}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Ye=({...e},t)=>{let n=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...n].filter(Boolean).join(" "),e};function wU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rs(e,t){return Rs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Rs(e,t)}function bU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Rs(e,t)}function Ap(e){return Ap=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ap(e)}function xU(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function EU(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kc(e,t,n){return EU()?kc=Reflect.construct.bind():kc=function(r,o,l){var s=[null];s.push.apply(s,o);var d=Function.bind.apply(r,s),c=new d;return l&&Rs(c,l.prototype),c},kc.apply(null,arguments)}function Ip(e){var t=typeof Map=="function"?new Map:void 0;return Ip=function(n){if(n===null||!xU(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return kc(n,arguments,Ap(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Rs(r,n)},Ip(e)}var SU={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function _U(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),s=1;s=0&&o<1?(d=l,c=s):o>=1&&o<2?(d=s,c=l):o>=2&&o<3?(c=l,p=s):o>=3&&o<4?(c=s,p=l):o>=4&&o<5?(d=s,p=l):o>=5&&o<6&&(d=l,p=s);var h=n-l/2,y=d+h,v=c+h,g=p+h;return r(y,v,g)}var H4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function RU(e){if(typeof e!="string")return e;var t=e.toLowerCase();return H4[t]?"#"+H4[t]:e}var AU=/^#[a-fA-F0-9]{6}$/,IU=/^#[a-fA-F0-9]{8}$/,kU=/^#[a-fA-F0-9]{3}$/,OU=/^#[a-fA-F0-9]{4}$/,Jd=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,TU=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,LU=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$U=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function A5(e){if(typeof e!="string")throw new Mr(3);var t=RU(e);if(t.match(AU))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(IU)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(kU))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(OU)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=Jd.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=TU.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var s=LU.exec(t);if(s){var d=parseInt(""+s[1],10),c=parseInt(""+s[2],10)/100,p=parseInt(""+s[3],10)/100,h="rgb("+As(d,c,p)+")",y=Jd.exec(h);if(!y)throw new Mr(4,t,h);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var v=$U.exec(t.substring(0,50));if(v){var g=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,b=parseInt(""+v[3],10)/100,I="rgb("+As(g,E,b)+")",_=Jd.exec(I);if(!_)throw new Mr(4,t,I);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new Mr(5)}function MU(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),l=Math.min(t,n,r),s=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var d,c=o-l,p=s>.5?c/(2-o-l):c/(o+l);switch(o){case t:d=(n-r)/c+(n=1?u0(e,t,n):"rgba("+As(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?u0(e.hue,e.saturation,e.lightness):"rgba("+As(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mr(2)}function Op(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return kp("#"+wa(e)+wa(t)+wa(n));if(typeof e=="object"&&t===void 0&&n===void 0)return kp("#"+wa(e.red)+wa(e.green)+wa(e.blue));throw new Mr(6)}function I5(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var o=A5(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?Op(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?Op(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mr(7)}var NU=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},HU=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},DU=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},jU=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function G6(e){if(typeof e!="object")throw new Mr(8);if(HU(e))return I5(e);if(NU(e))return Op(e);if(jU(e))return FU(e);if(DU(e))return BU(e);throw new Mr(8)}function q6(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):q6(e,t,r)}}function k5(e){return q6(e,e.length,[])}function O5(e,t,n){return Math.max(e,Math.min(t,n))}function UU(e,t){if(t==="transparent")return t;var n=V6(t);return G6(Oe({},n,{lightness:O5(0,1,n.lightness-parseFloat(e))}))}var WU=k5(UU),Cl=WU;function VU(e,t){if(t==="transparent")return t;var n=V6(t);return G6(Oe({},n,{lightness:O5(0,1,n.lightness+parseFloat(e))}))}var GU=k5(VU),D4=GU;function qU(e,t){if(t==="transparent")return t;var n=A5(t),r=typeof n.alpha=="number"?n.alpha:1,o=Oe({},n,{alpha:O5(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return I5(o)}var KU=k5(qU),ro=KU,ni=({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),po=({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ro(.1,e.color.defaultText):ro(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),nt=({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),Ga={margin:"16px 0"},YU=({href:e,...t})=>{let n=/^\//.test(e)?`./?path=${e}`:e,r=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:n,target:r,...t})},K6=z(YU)(nt,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),Y6=z.blockquote(nt,Ga,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),XU=e=>typeof e=="string",ZU=/[\n\r]/g,QU=z.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),po),JU=z(g5)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),T5=({className:e,children:t,...n})=>{let r=(e||"").match(/lang-(\S+)/),o=u.Children.toArray(t);return o.filter(XU).some(l=>l.match(ZU))?w.createElement(JU,{bordered:!0,copyable:!0,language:(r==null?void 0:r[1])??"text",format:!1,...n},t):w.createElement(QU,{...n,className:e},o)},X6=z.div(nt),Z6=z.dl(nt,Ga,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),Q6=z.h1(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),L5=z.h2(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),$5=z.h3(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),J6=z.h4(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),e8=z.h5(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),t8=z.h6(nt,ni,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),n8=z.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),r8=z.img({maxWidth:"100%"}),o8=z.li(nt,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":po({theme:e})})),eW={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},a8=z.ol(nt,Ga,eW,{listStyle:"decimal"}),l8=z.p(nt,Ga,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":po({theme:e})})),i8=z.pre(nt,Ga,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),s8=z.span(nt,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),u8=z.table(nt,Ga,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),c8=z.title(po),tW={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},d8=z.ul(nt,Ga,tW,{listStyle:"disc"}),M5=z.div(nt),f8={h1:e=>w.createElement(Q6,{...Ye(e,"h1")}),h2:e=>w.createElement(L5,{...Ye(e,"h2")}),h3:e=>w.createElement($5,{...Ye(e,"h3")}),h4:e=>w.createElement(J6,{...Ye(e,"h4")}),h5:e=>w.createElement(e8,{...Ye(e,"h5")}),h6:e=>w.createElement(t8,{...Ye(e,"h6")}),pre:e=>w.createElement(i8,{...Ye(e,"pre")}),a:e=>w.createElement(K6,{...Ye(e,"a")}),hr:e=>w.createElement(n8,{...Ye(e,"hr")}),dl:e=>w.createElement(Z6,{...Ye(e,"dl")}),blockquote:e=>w.createElement(Y6,{...Ye(e,"blockquote")}),table:e=>w.createElement(u8,{...Ye(e,"table")}),img:e=>w.createElement(r8,{...Ye(e,"img")}),div:e=>w.createElement(X6,{...Ye(e,"div")}),span:e=>w.createElement(s8,{...Ye(e,"span")}),li:e=>w.createElement(o8,{...Ye(e,"li")}),ul:e=>w.createElement(d8,{...Ye(e,"ul")}),ol:e=>w.createElement(a8,{...Ye(e,"ol")}),p:e=>w.createElement(l8,{...Ye(e,"p")}),code:e=>w.createElement(T5,{...Ye(e,"code")}),tt:e=>w.createElement(c8,{...Ye(e,"tt")}),resetwrapper:e=>w.createElement(M5,{...Ye(e,"resetwrapper")})},nW=z.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ro(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ro(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ro(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${ro(.9,e.color.positiveText)}`:"none"};default:return{}}}),rW=({...e})=>w.createElement(nW,{...e}),oW=0,aW=e=>e.button===oW&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,lW=(e,t)=>{aW(e)&&(e.preventDefault(),t(e))},iW=z.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),sW=z.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Cl(.07,e.color.secondary),"svg path:not([fill])":{fill:Cl(.07,e.color.secondary)}},"&:active":{color:Cl(.1,e.color.secondary),"svg path:not([fill])":{fill:Cl(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let r;return t&&(r=[e.textMutedColor,e.color.dark,e.color.darker]),n&&(r=[e.color.dark,e.color.darkest,e.textMutedColor]),r?{color:r[0],"svg path:not([fill])":{fill:r[0]},"&:hover":{color:r[1],"svg path:not([fill])":{fill:r[1]}},"&:active":{color:r[2],"svg path:not([fill])":{fill:r[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),La=({cancel:e=!0,children:t,onClick:n=void 0,withArrow:r=!1,containsIcon:o=!1,className:l=void 0,style:s=void 0,...d})=>w.createElement(sW,{...d,onClick:n&&e?c=>lW(c,n):n,className:l},w.createElement(iW,{withArrow:r,containsIcon:o},t,r&&w.createElement(C5,null))),uW=z.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),$a=[],ql=null,cW=u.lazy(async()=>{let{SyntaxHighlighter:e}=await Vo(()=>import("./syntaxhighlighter-JOJW2KGS-YdNqYlUL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);return $a.length>0&&($a.forEach(t=>{e.registerLanguage(...t)}),$a=[]),ql===null&&(ql=e),{default:t=>w.createElement(e,{...t})}}),dW=u.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Vo(()=>import("./syntaxhighlighter-JOJW2KGS-YdNqYlUL.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),Vo(()=>import("./formatter-B5HCVTEV-CysnDv0c.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url)]);return $a.length>0&&($a.forEach(n=>{e.registerLanguage(...n)}),$a=[]),ql===null&&(ql=e),{default:n=>w.createElement(e,{...n,formatter:t})}}),G0=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(dW,{...e}):w.createElement(cW,{...e}));G0.registerLanguage=(...e)=>{if(ql!==null){ql.registerLanguage(...e);return}$a.push(e)};var fW=e=>typeof e=="number"?e:Number(e),pW=z.div(({theme:e,col:t,row:n=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${bp}`]:{marginLeft:0}}:{"& > *":{marginTop:n*e.layoutMargin},[`& > *:first-child${bp}`]:{marginTop:0}},({theme:e,outer:t,col:n,row:r})=>{switch(!0){case!!(t&&n):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&r):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),hW=({col:e,row:t,outer:n,children:r,...o})=>{let l=fW(typeof n=="number"||!n?n:e||t);return w.createElement(pW,{col:e,row:t,outer:l,...o},r)},gW=z.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),mW=z.div(),vW=z.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),p8=({children:e,...t})=>{let[n,r]=u.Children.toArray(e);return w.createElement(vW,{...t},w.createElement(gW,null,n),r&&w.createElement(mW,null,r))};function yW(e,t){var n=u.useRef(null),r=u.useRef(null);r.current=t;var o=u.useRef(null);u.useEffect(function(){l()});var l=u.useCallback(function(){var s=o.current,d=r.current,c=s||(d?d instanceof Element?d:d.current:null);n.current&&n.current.element===c&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return u.useEffect(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),u.useCallback(function(s){o.current=s,l()},[l])}function j4(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:t==="contentBoxSize"?e.contentRect[n==="inlineSize"?"width":"height"]:void 0}function h8(e){e===void 0&&(e={});var t=e.onResize,n=u.useRef(void 0);n.current=t;var r=e.round||Math.round,o=u.useRef(),l=u.useState({width:void 0,height:void 0}),s=l[0],d=l[1],c=u.useRef(!1);u.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var p=u.useRef({width:void 0,height:void 0}),h=yW(u.useCallback(function(y){return(!o.current||o.current.box!==e.box||o.current.round!==r)&&(o.current={box:e.box,round:r,instance:new ResizeObserver(function(v){var g=v[0],E=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",b=j4(g,E,"inlineSize"),I=j4(g,E,"blockSize"),_=b?r(b):void 0,x=I?r(I):void 0;if(p.current.width!==_||p.current.height!==x){var S={width:_,height:x};p.current.width=_,p.current.height=x,n.current?n.current(S):c.current||d(S)}})}),o.current.instance.observe(y,{box:e.box}),function(){o.current&&o.current.instance.unobserve(y)}},[e.box,r]),e.ref);return u.useMemo(function(){return{ref:h,width:s.width,height:s.height}},[h,s.width,s.height])}var wW=z.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function bW({scale:e,children:t}){let n=u.useRef(null),[r,o]=u.useState(0),l=u.useCallback(({height:s})=>{s&&o(s/e)},[e]);return u.useEffect(()=>{n.current&&o(n.current.getBoundingClientRect().height)},[e]),h8({ref:n,onResize:l}),w.createElement(wW,{scale:e,elementHeight:r},w.createElement("div",{ref:n,className:"innerZoomElementWrapper"},t))}var xW=class extends u.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:n}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),n!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return w.createElement(w.Fragment,null,e)}},g8={Element:bW,IFrame:xW},{document:EW}=vU,SW=z.strong(({theme:e})=>({color:e.color.orange})),_W=z.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),U4=z.em(({theme:e})=>({color:e.textMutedColor})),CW=/(Error): (.*)\n/,RW=/at (?:(.*) )?\(?(.+)\)?/,AW=/([^@]+)?(?:\/<)?@(.+)?/,IW=/([^@]+)?@(.+)?/,m8=({error:e})=>{if(!e)return w.createElement(u.Fragment,null,"This error has no stack or message");if(!e.stack)return w.createElement(u.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let n=t.match(CW);if(!n)return w.createElement(u.Fragment,null,t);let[,r,o]=n,l=t.split(/\n/).slice(1),[,...s]=l.map(d=>{let c=d.match(RW)||d.match(AW)||d.match(IW);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(EW.location.origin,"")}:null}).filter(Boolean);return w.createElement(u.Fragment,null,w.createElement("span",null,r),": ",w.createElement(SW,null,o),w.createElement("br",null),s.map((d,c)=>d.name?w.createElement(u.Fragment,{key:c}," ","at ",w.createElement(_W,null,d.name)," (",w.createElement(U4,null,d.location),")",w.createElement("br",null)):w.createElement(u.Fragment,{key:c}," ","at ",w.createElement(U4,null,d.location),w.createElement("br",null))))},ta=u.forwardRef(({asChild:e=!1,animation:t="none",size:n="small",variant:r="outline",padding:o="medium",disabled:l=!1,active:s=!1,onClick:d,...c},p)=>{let h="button";c.isLink&&(h="a"),e&&(h=i5);let y=r,v=n,[g,E]=u.useState(!1),b=I=>{d&&d(I),t!=="none"&&E(!0)};if(u.useEffect(()=>{let I=setTimeout(()=>{g&&E(!1)},1e3);return()=>clearTimeout(I)},[g]),c.primary&&(y="solid",v="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(y="outline",v="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let I=w.Children.toArray(c.children).filter(_=>typeof _=="string"&&_!=="");W6(`Use of deprecated props in the button ${I.length>0?`"${I.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return w.createElement(kW,{as:h,ref:p,variant:y,size:v,padding:o,disabled:l,active:s,animating:g,animation:t,onClick:b,...c})});ta.displayName="Button";var kW=z("button",{shouldForwardProp:e=>Yh(e)})(({theme:e,variant:t,size:n,disabled:r,active:o,animating:l,animation:s,padding:d})=>({border:0,cursor:r?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:d==="small"&&n==="small"?"0 7px":d==="small"&&n==="medium"?"0 9px":n==="small"?"0 10px":n==="medium"?"0 12px":0,height:n==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:r?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&o?e.background.hoverable:"transparent",color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&o?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?ro(.86,e.color.secondary):e.base==="light"?Cl(.02,c):D4(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Cl(.02,c):D4(.03,c)})()},"&:focus":{boxShadow:`${I5(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:l&&s!=="none"?`${e.animation[s]} 1000ms ease-out`:""}})),Ma=u.forwardRef(({padding:e="small",variant:t="ghost",...n},r)=>w.createElement(ta,{padding:e,variant:t,ref:r,...n}));Ma.displayName="IconButton";var OW=z.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),TW=z.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),v8=({label:e,children:t,...n})=>w.createElement(OW,{...n},e?w.createElement(TW,null,w.createElement("span",null,e)):null,t);v8.defaultProps={label:void 0};var LW=u.useLayoutEffect,$W=LW,MW=function(e){var t=u.useRef(e);return $W(function(){t.current=e}),t},W4=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},PW=function(e,t){var n=u.useRef();return u.useCallback(function(r){e.current=r,n.current&&W4(n.current,null),n.current=t,t&&W4(t,r)},[t])},zW=PW,V4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},BW=function(e){Object.keys(V4).forEach(function(t){e.style.setProperty(t,V4[t],"important")})},G4=BW,Xt=null,q4=function(e,t){var n=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?n+t.borderSize:n-t.paddingSize};function FW(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),Xt||(Xt=document.createElement("textarea"),Xt.setAttribute("tabindex","-1"),Xt.setAttribute("aria-hidden","true"),G4(Xt)),Xt.parentNode===null&&document.body.appendChild(Xt);var o=e.paddingSize,l=e.borderSize,s=e.sizingStyle,d=s.boxSizing;Object.keys(s).forEach(function(v){var g=v;Xt.style[g]=s[g]}),G4(Xt),Xt.value=t;var c=q4(Xt,e);Xt.value=t,c=q4(Xt,e),Xt.value="x";var p=Xt.scrollHeight-o,h=p*n;d==="border-box"&&(h=h+o+l),c=Math.max(h,c);var y=p*r;return d==="border-box"&&(y=y+o+l),c=Math.min(y,c),[c,p]}var K4=function(){},NW=function(e,t){return e.reduce(function(n,r){return n[r]=t[r],n},{})},HW=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],DW=!!document.documentElement.currentStyle,jW=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var n=NW(HW,t),r=n.boxSizing;if(r==="")return null;DW&&r==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),l=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:l}},UW=jW;function y8(e,t,n){var r=MW(n);u.useLayoutEffect(function(){var o=function(l){return r.current(l)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var WW=function(e){y8(window,"resize",e)},VW=function(e){y8(document.fonts,"loadingdone",e)},GW=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],qW=function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,l=e.onChange,s=l===void 0?K4:l,d=e.onHeightChange,c=d===void 0?K4:d,p=o5(e,GW),h=p.value!==void 0,y=u.useRef(null),v=zW(y,t),g=u.useRef(0),E=u.useRef(),b=function(){var _=y.current,x=n&&E.current?E.current:UW(_);if(x){E.current=x;var S=FW(x,_.value||_.placeholder||"x",o,r),R=S[0],A=S[1];g.current!==R&&(g.current=R,_.style.setProperty("height",R+"px","important"),c(R,{rowHeight:A}))}},I=function(_){h||b(),s(_)};return u.useLayoutEffect(b),WW(b),VW(b),u.createElement("textarea",Oe({},p,{onChange:I,ref:v}))},KW=u.forwardRef(qW),YW={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},P5=({theme:e})=>({...YW,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),z5=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},w8=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},B5=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},XW=Object.assign(z(u.forwardRef(function({size:e,valid:t,align:n,...r},o){return w.createElement("input",{...r,ref:o})}))(P5,z5,w8,B5,{minHeight:32}),{displayName:"Input"}),ZW=Object.assign(z(u.forwardRef(function({size:e,valid:t,align:n,...r},o){return w.createElement("select",{...r,ref:o})}))(P5,z5,B5,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),QW=Object.assign(z(u.forwardRef(function({size:e,valid:t,align:n,...r},o){return w.createElement(KW,{...r,ref:o})}))(P5,z5,w8,B5,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Da=Object.assign(z.form({boxSizing:"border-box",width:"100%"}),{Field:v8,Input:XW,Select:ZW,Textarea:QW,Button:ta}),JW=u.lazy(()=>Vo(()=>import("./WithTooltip-Y7J54OF7-Bt4c9YHV.js"),__vite__mapDeps([6,1,2,3,4]),import.meta.url).then(e=>({default:e.WithTooltip}))),eV=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(JW,{...e})),tV=u.lazy(()=>Vo(()=>import("./WithTooltip-Y7J54OF7-Bt4c9YHV.js"),__vite__mapDeps([6,1,2,3,4]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),b8=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(tV,{...e})),nV=z.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),rV=z.span(),oV=z.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),aV=z.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),lV=z.div({padding:15,width:280,boxSizing:"border-box"}),x8=({title:e,desc:t,links:n})=>w.createElement(lV,null,w.createElement(aV,null,e&&w.createElement(nV,null,e),t&&w.createElement(rV,null,t)),n&&w.createElement(oV,null,n.map(({title:r,...o})=>w.createElement(La,{...o,key:r},r))));x8.defaultProps={title:null,desc:null,links:null};var iV=z.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),sV=({note:e,...t})=>w.createElement(iV,{...t},e),uV=z(({active:e,loading:t,disabled:n,...r})=>w.createElement("span",{...r}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:ro(.7,t.color.defaultText)}:{}),cV=z.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),dV=z.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),fV=z.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),pV=z.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),hV=z.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),gV=Wa(100)((e,t,n)=>{let r={};return e&&Object.assign(r,{onClick:e}),t&&Object.assign(r,{href:t}),n&&t&&Object.assign(r,{to:t,as:n}),r}),E8=({loading:e,title:t,center:n,right:r,icon:o,active:l,disabled:s,isIndented:d,href:c,onClick:p,LinkWrapper:h,...y})=>{let v=gV(p,c,h),g={active:l,disabled:s};return w.createElement(hV,{...g,...y,...v},o&&w.createElement(pV,{...g},o),t||n?w.createElement(dV,{isIndented:!o&&d},t&&w.createElement(uV,{...g,loading:e},t),n&&w.createElement(fV,{...g},n)):null,r&&w.createElement(cV,{...g},r))};E8.defaultProps={loading:!1,title:w.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var F5=E8,mV=z.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),vV=e=>{let{LinkWrapper:t,onClick:n,id:r,isIndented:o,...l}=e,{title:s,href:d,active:c}=l,p=u.useCallback(y=>{n(y,l)},[n]),h=!!n;return w.createElement(F5,{title:s,active:c,href:d,id:`list-item-${r}`,LinkWrapper:t,isIndented:o,...l,...h?{onClick:p}:{}})},N5=({links:e,LinkWrapper:t})=>{let n=e.some(r=>r.icon);return w.createElement(mV,null,e.map(({isGatsby:r,...o})=>w.createElement(vV,{key:o.id,LinkWrapper:r?t:null,isIndented:n,...o})))};N5.defaultProps={LinkWrapper:F5.defaultProps.LinkWrapper};var yV=e=>typeof e.props.href=="string",wV=e=>typeof e.props.href!="string";function bV({children:e,...t},n){let r={props:t,ref:n};if(yV(r))return w.createElement("a",{ref:r.ref,...r.props},e);if(wV(r))return w.createElement("button",{ref:r.ref,type:"button",...r.props},e);throw new Error("invalid props")}var S8=u.forwardRef(bV);S8.displayName="ButtonOrLink";var Ws=z(S8,{shouldForwardProp:Yh})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:n})=>e?{color:t||n.barSelectedColor,borderBottomColor:n.barSelectedColor}:{color:t||n.barTextColor,borderBottomColor:"transparent"});Ws.displayName="TabButton";var xV=z.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),EV=z.div(()=>({marginTop:6,padding:7,height:28})),SV=()=>w.createElement(EV,null,w.createElement(xV,null)),Tp=z.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Tp.displayName="Side";var _V=({children:e,className:t,scrollable:n})=>n?w.createElement(h5,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),H5=z(_V)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});H5.displayName="Bar";var CV=z.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),q0=({children:e,backgroundColor:t,...n})=>{let[r,o]=u.Children.toArray(e);return w.createElement(H5,{...n},w.createElement(CV,{bgColor:t},w.createElement(Tp,{scrollable:n.scrollable,left:!0},r),o?w.createElement(Tp,{right:!0},o):null))};q0.displayName="FlexBar";var _8=z.div(({active:e})=>e?{display:"block"}:{display:"none"}),Y4=e=>u.Children.toArray(e).map(({props:{title:t,id:n,color:r,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:n,...r?{color:r}:{},render:typeof l=="function"?l:({active:s})=>w.createElement(_8,{active:s,role:"tabpanel"},l)}}),RV=z.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),AV=z(Ws)(({active:e,theme:t,preActive:n})=>` + color: ${n||e?t.color.secondary:t.color.mediumdark}; + &:hover { + color: ${t.color.secondary}; + .addon-collapsible-icon { + color: ${t.color.secondary}; + } + } + `);function IV(e){let t=u.useRef(),n=u.useRef(),r=u.useRef(new Map),{width:o=1}=h8({ref:t}),[l,s]=u.useState(e),[d,c]=u.useState([]),p=u.useRef(e),h=u.useCallback(({menuName:v,actions:g})=>{let E=d.some(({active:_})=>_),[b,I]=u.useState(!1);return w.createElement(w.Fragment,null,w.createElement(lN,{interactive:!0,visible:b,onVisibleChange:I,placement:"bottom",delayHide:100,tooltip:w.createElement(N5,{links:d.map(({title:_,id:x,color:S,active:R})=>({id:x,title:_,color:S,active:R,onClick:A=>{A.preventDefault(),g.onSelect(x)}}))})},w.createElement(AV,{ref:n,active:E,preActive:b,style:{visibility:d.length?"visible":"hidden"},"aria-hidden":!d.length,className:"tabbutton",type:"button",role:"tab"},v,w.createElement(RV,{className:"addon-collapsible-icon",isActive:E||b}))),d.map(({title:_,id:x,color:S},R)=>{let A=`index-${R}`;return w.createElement(Ws,{id:`tabbutton-${U6(x)??A}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:T=>{r.current.set(x,T)},className:"tabbutton",type:"button",key:x,textColor:S,role:"tab"},_)}))},[d]),y=u.useCallback(()=>{if(!t.current||!n.current)return;let{x:v,width:g}=t.current.getBoundingClientRect(),{width:E}=n.current.getBoundingClientRect(),b=d.length?v+g-E:v+g,I=[],_=0,x=e.filter(S=>{let{id:R}=S,A=r.current.get(R),{width:T=0}=(A==null?void 0:A.getBoundingClientRect())||{},L=v+_+T>b;return(!L||!A)&&I.push(S),_+=T,L});(I.length!==l.length||p.current!==e)&&(s(I),c(x),p.current=e)},[d.length,e,l]);return u.useLayoutEffect(y,[y,o]),{tabRefs:r,addonsRef:n,tabBarRef:t,visibleList:l,invisibleList:d,AddonTab:h}}var kV="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",OV=z.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),D5=z.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});D5.displayName="TabBar";var TV=z.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${kV}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),LV=({active:e,render:t,children:n})=>w.createElement(_8,{active:e},t?t():n),K0=u.memo(({children:e,selected:t,actions:n,absolute:r,bordered:o,tools:l,backgroundColor:s,id:d,menuName:c})=>{let p=Y4(e).map(b=>b.id).join(","),h=u.useMemo(()=>Y4(e).map((b,I)=>({...b,active:t?b.id===t:I===0})),[t,p]),{visibleList:y,tabBarRef:v,tabRefs:g,AddonTab:E}=IV(h);return h.length?w.createElement(OV,{absolute:r,bordered:o,id:d},w.createElement(q0,{scrollable:!1,border:!0,backgroundColor:s},w.createElement(D5,{style:{whiteSpace:"normal"},ref:v,role:"tablist"},y.map(({title:b,id:I,active:_,color:x},S)=>{let R=`index-${S}`;return w.createElement(Ws,{id:`tabbutton-${U6(I)??R}`,ref:A=>{g.current.set(I,A)},className:`tabbutton ${_?"tabbutton-active":""}`,type:"button",key:I,active:_,textColor:x,onClick:A=>{A.preventDefault(),n.onSelect(I)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(E,{menuName:c,actions:n})),l),w.createElement(TV,{id:"panel-tab-content",bordered:o,absolute:r},h.map(({id:b,active:I,render:_})=>w.createElement(_,{key:b,active:I},null)))):w.createElement(p8,null,w.createElement(u.Fragment,{key:"title"},"Nothing found"))});K0.displayName="Tabs";K0.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var j5=class extends u.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.state={selected:e.initial}}render(){let{bordered:e=!1,absolute:t=!1,children:n,backgroundColor:r,menuName:o}=this.props,{selected:l}=this.state;return w.createElement(K0,{bordered:e,absolute:t,selected:l,backgroundColor:r,menuName:o,actions:this.handlers},n)}};j5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var U5=z.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});U5.displayName="Separator";var $V=e=>e.reduce((t,n,r)=>n?w.createElement(u.Fragment,{key:n.id||n.key||`f-${r}`},t,r>0?w.createElement(U5,{key:`s-${r}`}):null,n.render()||n):t,null),MV=e=>{let t=u.useRef();return u.useEffect(()=>{t.current=e},[e]),t.current},PV=(e,t)=>{let n=MV(t);return e?t:n},zV=({active:e,children:t})=>w.createElement("div",{hidden:!e},PV(e,t)),BV=iU,FV=z.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,NV=({icon:e,useSymbol:t,__suppressDeprecationWarning:n=!1,...r})=>{n||W6(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=c0[e]||null;if(!o)return yU.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let l=BV[o];return w.createElement(l,{...r})},HV=u.memo(function({icons:e=Object.keys(c0)}){return w.createElement(FV,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},c0[t])))}),c0={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},DV=({alt:e,...t})=>w.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?w.createElement("title",null,e):null,w.createElement("defs",null,w.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),w.createElement("g",{fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),w.createElement("mask",{id:"b",fill:"#fff"},w.createElement("use",{xlinkHref:"#a"})),w.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),w.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),jV=e=>w.createElement("svg",{viewBox:"0 0 64 64",...e},w.createElement("title",null,"Storybook icon"),w.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},w.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),w.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),w.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),UV=ti` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,WV=z.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${UV} 0.7s linear infinite`,mixBlendMode:"difference"})),X4=z.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),VV=z.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:ro(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),GV=z.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Z4=z.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),qV=z($6)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),KV=ti` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,YV=z.span({"&::after":{content:"'...'",animation:`${KV} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),C8=({progress:e,error:t,size:n,...r})=>{if(t)return w.createElement(X4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...r},w.createElement(qV,null),w.createElement(Z4,null,t.message));if(e){let{value:o,modules:l}=e,{message:s}=e;return l&&(s+=` ${l.complete} / ${l.total} modules`),w.createElement(X4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":s,role:"progressbar",...r},w.createElement(VV,null,w.createElement(GV,{style:{width:`${o*100}%`}})),w.createElement(Z4,null,s,o<1&&w.createElement(YV,{key:s})))}return w.createElement(WV,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:n,...r})};function XV(e){let t={},n=e.split("&");for(let r=0;r{let[r,o]=e.split("?"),l=o?{...XV(o),...n,id:t}:{...n,id:t};return`${r}?${Object.entries(l).map(s=>`${s[0]}=${s[1]}`).join("&")}`},ZV=z.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${ce.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${$r.fonts.mono}; + font-size: ${$r.size.s2-1}px; +`,QV=({code:e,...t})=>w.createElement(ZV,{id:"clipboard-code",...t},e),A8=f8,I8={};Object.keys(f8).forEach(e=>{I8[e]=u.forwardRef((t,n)=>u.createElement(e,{...t,ref:n}))});const JV=Object.freeze(Object.defineProperty({__proto__:null,A:K6,ActionBar:f5,AddonPanel:zV,Badge:rW,Bar:H5,Blockquote:Y6,Button:ta,ClipboardCode:QV,Code:T5,DL:Z6,Div:X6,DocumentWrapper:uW,ErrorFormatter:m8,FlexBar:q0,Form:Da,H1:Q6,H2:L5,H3:$5,H4:J6,H5:e8,H6:t8,HR:n8,IconButton:Ma,IconButtonSkeleton:SV,Icons:NV,Img:r8,LI:o8,Link:La,ListItem:F5,Loader:C8,OL:a8,P:l8,Placeholder:p8,Pre:i8,ResetWrapper:M5,ScrollArea:h5,Separator:U5,Spaced:hW,Span:s8,StorybookIcon:jV,StorybookLogo:DV,Symbols:HV,SyntaxHighlighter:G0,TT:c8,TabBar:D5,TabButton:Ws,TabWrapper:LV,Table:u8,Tabs:K0,TabsState:j5,TooltipLinkList:N5,TooltipMessage:x8,TooltipNote:sV,UL:d8,WithTooltip:eV,WithTooltipPure:b8,Zoom:g8,codeCommon:po,components:A8,createCopyToClipboardFunction:h6,getStoryHref:R8,icons:c0,interleaveSeparators:$V,nameSpaceClassNames:Ye,resetComponents:I8,withReset:nt},Symbol.toStringTag,{value:"Module"}));function eG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){return Is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Is(e,t)}function tG(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Is(e,t)}function Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Lp(e)}function nG(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function k8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(k8=function(){return!!e})()}function rG(e,t,n){if(k8())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&Is(o,n.prototype),o}function $p(e){var t=typeof Map=="function"?new Map:void 0;return $p=function(r){if(r===null||!nG(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return rG(r,arguments,Lp(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Is(o,r)},$p(e)}var Pr=function(e){tG(t,e);function t(n){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+n+" for more information.")||this,eG(r)}return t}($p(Error));function tf(e){return Math.round(e*255)}function oG(e,t,n){return tf(e)+","+tf(t)+","+tf(n)}function ks(e,t,n,r){if(r===void 0&&(r=oG),t===0)return r(n,n,n);var o=(e%360+360)%360/60,l=(1-Math.abs(2*n-1))*t,s=l*(1-Math.abs(o%2-1)),d=0,c=0,p=0;o>=0&&o<1?(d=l,c=s):o>=1&&o<2?(d=s,c=l):o>=2&&o<3?(c=l,p=s):o>=3&&o<4?(c=s,p=l):o>=4&&o<5?(d=s,p=l):o>=5&&o<6&&(d=l,p=s);var h=n-l/2,y=d+h,v=c+h,g=p+h;return r(y,v,g)}var Q4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function aG(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Q4[t]?"#"+Q4[t]:e}var lG=/^#[a-fA-F0-9]{6}$/,iG=/^#[a-fA-F0-9]{8}$/,sG=/^#[a-fA-F0-9]{3}$/,uG=/^#[a-fA-F0-9]{4}$/,nf=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,cG=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,dG=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,fG=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Kl(e){if(typeof e!="string")throw new Pr(3);var t=aG(e);if(t.match(lG))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(iG)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(sG))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(uG)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=nf.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=cG.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var s=dG.exec(t);if(s){var d=parseInt(""+s[1],10),c=parseInt(""+s[2],10)/100,p=parseInt(""+s[3],10)/100,h="rgb("+ks(d,c,p)+")",y=nf.exec(h);if(!y)throw new Pr(4,t,h);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var v=fG.exec(t.substring(0,50));if(v){var g=parseInt(""+v[1],10),E=parseInt(""+v[2],10)/100,b=parseInt(""+v[3],10)/100,I="rgb("+ks(g,E,b)+")",_=nf.exec(I);if(!_)throw new Pr(4,t,I);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new Pr(5)}function pG(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),l=Math.min(t,n,r),s=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var d,c=o-l,p=s>.5?c/(2-o-l):c/(o+l);switch(o){case t:d=(n-r)/c+(n=1?d0(e,t,n):"rgba("+ks(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?d0(e.hue,e.saturation,e.lightness):"rgba("+ks(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pr(2)}function Pp(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return Mp("#"+ba(e)+ba(t)+ba(n));if(typeof e=="object"&&t===void 0&&n===void 0)return Mp("#"+ba(e.red)+ba(e.green)+ba(e.blue));throw new Pr(6)}function Or(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var o=Kl(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?Pp(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?Pp(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pr(7)}var yG=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},wG=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},bG=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xG=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function ra(e){if(typeof e!="object")throw new Pr(8);if(wG(e))return Or(e);if(yG(e))return Pp(e);if(xG(e))return vG(e);if(bG(e))return mG(e);throw new Pr(8)}function O8(e,t,n){return function(){var o=n.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):O8(e,t,o)}}function $n(e){return O8(e,e.length,[])}function EG(e,t){if(t==="transparent")return t;var n=na(t);return ra(Vt({},n,{hue:n.hue+parseFloat(e)}))}$n(EG);function ri(e,t,n){return Math.max(e,Math.min(t,n))}function SG(e,t){if(t==="transparent")return t;var n=na(t);return ra(Vt({},n,{lightness:ri(0,1,n.lightness-parseFloat(e))}))}var _G=$n(SG),Rr=_G;function CG(e,t){if(t==="transparent")return t;var n=na(t);return ra(Vt({},n,{saturation:ri(0,1,n.saturation-parseFloat(e))}))}$n(CG);function RG(e,t){if(t==="transparent")return t;var n=na(t);return ra(Vt({},n,{lightness:ri(0,1,n.lightness+parseFloat(e))}))}var AG=$n(RG),xa=AG;function IG(e,t,n){if(t==="transparent")return n;if(n==="transparent")return t;if(e===0)return n;var r=Kl(t),o=Vt({},r,{alpha:typeof r.alpha=="number"?r.alpha:1}),l=Kl(n),s=Vt({},l,{alpha:typeof l.alpha=="number"?l.alpha:1}),d=o.alpha-s.alpha,c=parseFloat(e)*2-1,p=c*d===-1?c:c+d,h=1+c*d,y=(p/h+1)/2,v=1-y,g={red:Math.floor(o.red*y+s.red*v),green:Math.floor(o.green*y+s.green*v),blue:Math.floor(o.blue*y+s.blue*v),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return Or(g)}var kG=$n(IG),T8=kG;function OG(e,t){if(t==="transparent")return t;var n=Kl(t),r=typeof n.alpha=="number"?n.alpha:1,o=Vt({},n,{alpha:ri(0,1,(r*100+parseFloat(e)*100)/100)});return Or(o)}var TG=$n(OG),lc=TG;function LG(e,t){if(t==="transparent")return t;var n=na(t);return ra(Vt({},n,{saturation:ri(0,1,n.saturation+parseFloat(e))}))}$n(LG);function $G(e,t){return t==="transparent"?t:ra(Vt({},na(t),{hue:parseFloat(e)}))}$n($G);function MG(e,t){return t==="transparent"?t:ra(Vt({},na(t),{lightness:parseFloat(e)}))}$n(MG);function PG(e,t){return t==="transparent"?t:ra(Vt({},na(t),{saturation:parseFloat(e)}))}$n(PG);function zG(e,t){return t==="transparent"?t:T8(parseFloat(e),"rgb(0, 0, 0)",t)}$n(zG);function BG(e,t){return t==="transparent"?t:T8(parseFloat(e),"rgb(255, 255, 255)",t)}$n(BG);function FG(e,t){if(t==="transparent")return t;var n=Kl(t),r=typeof n.alpha=="number"?n.alpha:1,o=Vt({},n,{alpha:ri(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return Or(o)}var NG=$n(FG),Ve=NG,HG=Ky,DG=xA,jG=Object.prototype,UG=jG.hasOwnProperty;function WG(e,t,n){var r=e[t];(!(UG.call(e,t)&&DG(r,n))||n===void 0&&!(t in e))&&HG(e,t,n)}var W5=WG,VG=W5,GG=m0,qG=Kp,J4=Ts,KG=Ls;function YG(e,t,n,r){if(!J4(e))return e;t=GG(t,e);for(var o=-1,l=t.length,s=l-1,d=e;d!=null&&++o()=>(t||e((t={exports:{}}).exports,t),t.exports),Hq=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zq(t))!Fq.call(e,o)&&o!==n&&P8(e,o,{get:()=>t[o],enumerable:!(r=Pq(t,o))||r.enumerable});return e},Dq=(e,t,n)=>(n=e!=null?Mq(Bq(e)):{},Hq(t||!e||!e.__esModule?P8(n,"default",{value:e,enumerable:!0}):n,e)),jq=Nq(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,n=Object.getPrototypeOf,r=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,l){return function s(d,c,p){var h,y,v,g=t.call(d),E=t.call(c);if(d===c)return!0;if(d==null||c==null)return!1;if(p.indexOf(d)>-1&&p.indexOf(c)>-1)return!0;if(p.push(d,c),g!=E||(h=r(d),y=r(c),h.length!=y.length||h.some(function(b){return!s(d[b],c[b],p)})))return!1;switch(g.slice(8,-1)){case"Symbol":return d.valueOf()==c.valueOf();case"Date":case"Number":return+d==+c||+d!=+d&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+d==""+c;case"Set":case"Map":h=d.entries(),y=c.entries();do if(!s((v=h.next()).value,y.next().value,p))return!1;while(!v.done);return!0;case"ArrayBuffer":d=new Uint8Array(d),c=new Uint8Array(c);case"DataView":d=new Uint8Array(d.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(d.length!=c.length)return!1;for(v=0;ve.map(t=>typeof t<"u").filter(Boolean).length,Uq=(e,t)=>{let{exists:n,eq:r,neq:o,truthy:l}=e;if(z8([n,r,o,l])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:r,neq:o})}`);if(typeof r<"u")return(0,ey.isEqual)(t,r);if(typeof o<"u")return!(0,ey.isEqual)(t,o);if(typeof n<"u"){let s=typeof t<"u";return n?s:!s}return typeof l>"u"||l?!!t:!t},Wq=(e,t,n)=>{if(!e.if)return!0;let{arg:r,global:o}=e.if;if(z8([r,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:r,global:o})}`);let l=r?t[r]:n[o];return Uq(e.if,l)};function Sa(){return Sa=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),ny={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Gq=["style","script"],qq=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Kq=/mailto:/i,Yq=/\n{2,}$/,B8=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,Xq=/^ *> ?/gm,Zq=/^ {2,}\n/,Qq=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,F8=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,N8=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Jq=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,eK=/^(?:\n *)*\n/,tK=/\r\n?/g,nK=/^\[\^([^\]]+)](:.*)\n/,rK=/^\[\^([^\]]+)]/,oK=/\f/g,aK=/^\s*?\[(x|\s)\]/,H8=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,D8=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,j8=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,zp=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,lK=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,U8=/^)/,iK=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Bp=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,sK=/^\{.*\}$/,uK=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,cK=/^<([^ >]+@[^ >]+)>/,dK=/^<([^ >]+:\/[^ >]+)>/,fK=/-([a-z])?/gi,W8=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pK=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,hK=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,gK=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mK=/(\[|\])/g,vK=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,yK=/\t/g,wK=/^ *\| */,bK=/(^ *\||\| *$)/g,xK=/ *$/,EK=/^ *:-+: *$/,SK=/^ *:-+ *$/,_K=/^ *-+: *$/,CK=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,RK=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,AK=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,IK=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,kK=/^\\([^0-9A-Za-z\s])/,OK=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,TK=/^\n+/,LK=/^([ \t]*)/,$K=/\\([^\\])/g,ry=/ *\n+$/,MK=/(?:^|\n)( *)$/,G5="(?:\\d+\\.)",q5="(?:[*+-])";function V8(e){return"( *)("+(e===1?G5:q5)+") +"}const G8=V8(1),q8=V8(2);function K8(e){return new RegExp("^"+(e===1?G8:q8))}const PK=K8(1),zK=K8(2);function Y8(e){return new RegExp("^"+(e===1?G8:q8)+"[^\\n]*(?:\\n(?!\\1"+(e===1?G5:q5)+" )[^\\n]*)*(\\n|$)","gm")}const X8=Y8(1),Z8=Y8(2);function Q8(e){const t=e===1?G5:q5;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const J8=Q8(1),eb=Q8(2);function oy(e,t){const n=t===1,r=n?J8:eb,o=n?X8:Z8,l=n?PK:zK;return{t(s,d,c){const p=MK.exec(c);return p&&(d.o||!d._&&!d.u)?r.exec(s=p[1]+s):null},i:ke.HIGH,l(s,d,c){const p=n?+s[2]:void 0,h=s[0].replace(Yq,` +`).match(o);let y=!1;return{p:h.map(function(v,g){const E=l.exec(v)[0].length,b=new RegExp("^ {1,"+E+"}","gm"),I=v.replace(b,"").replace(l,""),_=g===h.length-1,x=I.indexOf(` + +`)!==-1||_&&y;y=x;const S=c._,R=c.o;let A;c.o=!0,x?(c._=!1,A=I.replace(ry,` + +`)):(c._=!0,A=I.replace(ry,""));const T=d(A,c);return c._=S,c.o=R,T}),m:n,g:p}},h:(s,d,c)=>e(s.m?"ol":"ul",{key:c.k,start:s.g},s.p.map(function(p,h){return e("li",{key:h},d(p,c))}))}}const BK=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,FK=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,tb=[B8,F8,N8,H8,j8,D8,U8,W8,X8,J8,Z8,eb],NK=[...tb,/^[^\n]+(?: \n|\n{2,})/,zp,Bp];function HK(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function DK(e){return _K.test(e)?"right":EK.test(e)?"center":SK.test(e)?"left":null}function ay(e,t,n){const r=n.$;n.$=!0;const o=t(e.trim(),n);n.$=r;let l=[[]];return o.forEach(function(s,d){s.type==="tableSeparator"?d!==0&&d!==o.length-1&&l.push([]):(s.type!=="text"||o[d+1]!=null&&o[d+1].type!=="tableSeparator"||(s.v=s.v.replace(xK,"")),l[l.length-1].push(s))}),l}function jK(e,t,n){n._=!0;const r=ay(e[1],t,n),o=e[2].replace(bK,"").split("|").map(DK),l=function(s,d,c){return s.trim().split(` +`).map(function(p){return ay(p,d,c)})}(e[3],t,n);return n._=!1,{S:o,A:l,L:r,type:"table"}}function ly(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Ro(e){return function(t,n){return n._?e.exec(t):null}}function Ao(e){return function(t,n){return n._||n.u?e.exec(t):null}}function Qr(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function zi(e){return function(t){return e.exec(t)}}function UK(e,t,n){if(t._||t.u||n&&!n.endsWith(` +`))return null;let r="";e.split(` +`).every(l=>!tb.some(s=>s.test(l))&&(r+=l+` +`,l.trim()));const o=r.trimEnd();return o==""?null:[r,o]}function cl(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function iy(e){return e.replace($K,"$1")}function Oc(e,t,n){const r=n._||!1,o=n.u||!1;n._=!0,n.u=!0;const l=e(t,n);return n._=r,n.u=o,l}function WK(e,t,n){const r=n._||!1,o=n.u||!1;n._=!1,n.u=!0;const l=e(t,n);return n._=r,n.u=o,l}function VK(e,t,n){return n._=!1,e(t,n)}const of=(e,t,n)=>({v:Oc(t,e[1],n)});function af(){return{}}function lf(){return null}function GK(...e){return e.filter(Boolean).join(" ")}function sf(e,t,n){let r=e;const o=t.split(".");for(;o.length&&(r=r[o[0]],r!==void 0);)o.shift();return r||n}var ke;function qK(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||HK,t.namedCodesToUnicode=t.namedCodesToUnicode?Sa({},ny,t.namedCodesToUnicode):ny;const n=t.createElement||u.createElement;function r(g,E,...b){const I=sf(t.overrides,`${g}.props`,{});return n(function(_,x){const S=sf(x,_);return S?typeof S=="function"||typeof S=="object"&&"render"in S?S:sf(x,`${_}.component`,_):_}(g,t.overrides),Sa({},E,I,{className:GK(E==null?void 0:E.className,I.className)||void 0}),...b)}function o(g){let E=!1;t.forceInline?E=!0:t.forceBlock||(E=vK.test(g)===!1);const b=h(p(E?g:`${g.trimEnd().replace(TK,"")} + +`,{_:E}));for(;typeof b[b.length-1]=="string"&&!b[b.length-1].trim();)b.pop();if(t.wrapper===null)return b;const I=t.wrapper||(E?"span":"div");let _;if(b.length>1||t.forceWrapper)_=b;else{if(b.length===1)return _=b[0],typeof _=="string"?r("span",{key:"outer"},_):_;_=null}return u.createElement(I,{key:"outer"},_)}function l(g){const E=g.match(qq);return E?E.reduce(function(b,I,_){const x=I.indexOf("=");if(x!==-1){const S=function(L){return L.indexOf("-")!==-1&&L.match(iK)===null&&(L=L.replace(fK,function($,B){return B.toUpperCase()})),L}(I.slice(0,x)).trim(),R=function(L){const $=L[0];return($==='"'||$==="'")&&L.length>=2&&L[L.length-1]===$?L.slice(1,-1):L}(I.slice(x+1).trim()),A=ty[S]||S,T=b[A]=function(L,$){return L==="style"?$.split(/;\s?/).reduce(function(B,F){const j=F.slice(0,F.indexOf(":"));return B[j.replace(/(-[a-z])/g,Y=>Y[1].toUpperCase())]=F.slice(j.length+1).trim(),B},{}):L==="href"?cl($):($.match(sK)&&($=$.slice(1,$.length-1)),$==="true"||$!=="false"&&$)}(S,R);typeof T=="string"&&(zp.test(T)||Bp.test(T))&&(b[A]=u.cloneElement(o(T.trim()),{key:_}))}else I!=="style"&&(b[ty[I]||I]=!0);return b},{}):null}const s=[],d={},c={blockQuote:{t:Qr(B8),i:ke.HIGH,l:(g,E,b)=>({v:E(g[0].replace(Xq,""),b)}),h:(g,E,b)=>r("blockquote",{key:b.k},E(g.v,b))},breakLine:{t:zi(Zq),i:ke.HIGH,l:af,h:(g,E,b)=>r("br",{key:b.k})},breakThematic:{t:Qr(Qq),i:ke.HIGH,l:af,h:(g,E,b)=>r("hr",{key:b.k})},codeBlock:{t:Qr(N8),i:ke.MAX,l:g=>({v:g[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(g,E,b)=>r("pre",{key:b.k},r("code",Sa({},g.O,{className:g.M?`lang-${g.M}`:""}),g.v))},codeFenced:{t:Qr(F8),i:ke.MAX,l:g=>({O:l(g[3]||""),v:g[4],M:g[2]||void 0,type:"codeBlock"})},codeInline:{t:Ao(Jq),i:ke.LOW,l:g=>({v:g[2]}),h:(g,E,b)=>r("code",{key:b.k},g.v)},footnote:{t:Qr(nK),i:ke.MAX,l:g=>(s.push({I:g[2],j:g[1]}),{}),h:lf},footnoteReference:{t:Ro(rK),i:ke.HIGH,l:g=>({v:g[1],B:`#${t.slugify(g[1])}`}),h:(g,E,b)=>r("a",{key:b.k,href:cl(g.B)},r("sup",{key:b.k},g.v))},gfmTask:{t:Ro(aK),i:ke.HIGH,l:g=>({R:g[1].toLowerCase()==="x"}),h:(g,E,b)=>r("input",{checked:g.R,key:b.k,readOnly:!0,type:"checkbox"})},heading:{t:Qr(t.enforceAtxHeadings?D8:H8),i:ke.HIGH,l:(g,E,b)=>({v:Oc(E,g[2],b),T:t.slugify(g[2]),C:g[1].length}),h:(g,E,b)=>r(`h${g.C}`,{id:g.T,key:b.k},E(g.v,b))},headingSetext:{t:Qr(j8),i:ke.MAX,l:(g,E,b)=>({v:Oc(E,g[1],b),C:g[2]==="="?1:2,type:"heading"})},htmlComment:{t:zi(U8),i:ke.HIGH,l:()=>({}),h:lf},image:{t:Ao(FK),i:ke.HIGH,l:g=>({D:g[1],B:iy(g[2]),F:g[3]}),h:(g,E,b)=>r("img",{key:b.k,alt:g.D||void 0,title:g.F||void 0,src:cl(g.B)})},link:{t:Ro(BK),i:ke.LOW,l:(g,E,b)=>({v:WK(E,g[1],b),B:iy(g[2]),F:g[3]}),h:(g,E,b)=>r("a",{key:b.k,href:cl(g.B),title:g.F},E(g.v,b))},linkAngleBraceStyleDetector:{t:Ro(dK),i:ke.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],type:"link"})},linkBareUrlDetector:{t:(g,E)=>E.N?null:Ro(uK)(g,E),i:ke.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Ro(cK),i:ke.MAX,l(g){let E=g[1],b=g[1];return Kq.test(b)||(b="mailto:"+b),{v:[{v:E.replace("mailto:",""),type:"text"}],B:b,type:"link"}}},orderedList:oy(r,1),unorderedList:oy(r,2),newlineCoalescer:{t:Qr(eK),i:ke.LOW,l:af,h:()=>` +`},paragraph:{t:UK,i:ke.LOW,l:of,h:(g,E,b)=>r("p",{key:b.k},E(g.v,b))},ref:{t:Ro(pK),i:ke.MAX,l:g=>(d[g[1]]={B:g[2],F:g[4]},{}),h:lf},refImage:{t:Ao(hK),i:ke.MAX,l:g=>({D:g[1]||void 0,P:g[2]}),h:(g,E,b)=>r("img",{key:b.k,alt:g.D,src:cl(d[g.P].B),title:d[g.P].F})},refLink:{t:Ro(gK),i:ke.MAX,l:(g,E,b)=>({v:E(g[1],b),Z:E(g[0].replace(mK,"\\$1"),b),P:g[2]}),h:(g,E,b)=>d[g.P]?r("a",{key:b.k,href:cl(d[g.P].B),title:d[g.P].F},E(g.v,b)):r("span",{key:b.k},E(g.Z,b))},table:{t:Qr(W8),i:ke.HIGH,l:jK,h:(g,E,b)=>r("table",{key:b.k},r("thead",null,r("tr",null,g.L.map(function(I,_){return r("th",{key:_,style:ly(g,_)},E(I,b))}))),r("tbody",null,g.A.map(function(I,_){return r("tr",{key:_},I.map(function(x,S){return r("td",{key:S,style:ly(g,S)},E(x,b))}))})))},tableSeparator:{t:function(g,E){return E.$?(E._=!0,wK.exec(g)):null},i:ke.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:zi(OK),i:ke.MIN,l:g=>({v:g[0].replace(lK,(E,b)=>t.namedCodesToUnicode[b]?t.namedCodesToUnicode[b]:E)}),h:g=>g.v},textBolded:{t:Ao(CK),i:ke.MED,l:(g,E,b)=>({v:E(g[2],b)}),h:(g,E,b)=>r("strong",{key:b.k},E(g.v,b))},textEmphasized:{t:Ao(RK),i:ke.LOW,l:(g,E,b)=>({v:E(g[2],b)}),h:(g,E,b)=>r("em",{key:b.k},E(g.v,b))},textEscaped:{t:Ao(kK),i:ke.HIGH,l:g=>({v:g[1],type:"text"})},textMarked:{t:Ao(AK),i:ke.LOW,l:of,h:(g,E,b)=>r("mark",{key:b.k},E(g.v,b))},textStrikethroughed:{t:Ao(IK),i:ke.LOW,l:of,h:(g,E,b)=>r("del",{key:b.k},E(g.v,b))}};t.disableParsingRawHTML!==!0&&(c.htmlBlock={t:zi(zp),i:ke.HIGH,l(g,E,b){const[,I]=g[3].match(LK),_=new RegExp(`^${I}`,"gm"),x=g[3].replace(_,""),S=(R=x,NK.some($=>$.test(R))?VK:Oc);var R;const A=g[1].toLowerCase(),T=Gq.indexOf(A)!==-1;b.N=b.N||A==="a";const L=T?g[3]:S(E,x,b);return b.N=!1,{O:l(g[2]),v:L,G:T,H:T?A:g[1]}},h:(g,E,b)=>r(g.H,Sa({key:b.k},g.O),g.G?g.v:E(g.v,b))},c.htmlSelfClosing={t:zi(Bp),i:ke.HIGH,l:g=>({O:l(g[2]||""),H:g[1]}),h:(g,E,b)=>r(g.H,Sa({},g.O,{key:b.k}))});const p=function(g){let E=Object.keys(g);function b(I,_){let x=[],S="";for(;I;){let R=0;for(;R{let{children:t,options:n}=e,r=function(o,l){if(o==null)return{};var s,d,c={},p=Object.keys(o);for(d=0;d=0||(c[s]=o[s]);return c}(e,Vq);return u.cloneElement(qK(t,n),r)};function KK(e,t,n,r){for(var o=e.length,l=n+(r?1:-1);r?l--:++l-1}var iY=lY;function sY(e,t,n){for(var r=-1,o=e==null?0:e.length;++r=SY){var p=t?null:xY(e);if(p)return EY(p);s=!1,o=bY,c=new vY}else c=t?[]:d;e:for(;++r + * 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 + */p0.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",d="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",y=1,v=2,g=4,E=1,b=2,I=1,_=2,x=4,S=8,R=16,A=32,T=64,L=128,$=256,B=512,F=30,j="...",Y=800,X=16,ue=1,J=2,re=3,ae=1/0,G=9007199254740991,K=17976931348623157e292,Q=NaN,ie=4294967295,ve=ie-1,_e=ie>>>1,Ce=[["ary",L],["bind",I],["bindKey",_],["curry",S],["curryRight",R],["flip",B],["partial",A],["partialRight",T],["rearg",$]],te="[object Arguments]",he="[object Array]",we="[object AsyncFunction]",Ge="[object Boolean]",it="[object Date]",ar="[object DOMException]",Rt="[object Error]",Gt="[object Function]",le="[object GeneratorFunction]",Ze="[object Map]",$t="[object Number]",Dr="[object Null]",Mt="[object Object]",gn="[object Promise]",qa="[object Proxy]",st="[object RegExp]",gt="[object Set]",Pt="[object String]",lr="[object Symbol]",Mn="[object Undefined]",Pn="[object WeakMap]",zn="[object WeakSet]",rt="[object ArrayBuffer]",Et="[object DataView]",ot="[object Float32Array]",qe="[object Float64Array]",tn="[object Int8Array]",ho="[object Int16Array]",oa="[object Int32Array]",ir="[object Uint8Array]",jr="[object Uint8ClampedArray]",sr="[object Uint16Array]",mn="[object Uint32Array]",Gs=/\b__p \+= '';/g,aa=/\b(__p \+=) '' \+/g,Ka=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vn=/&(?:amp|lt|gt|quot|#39);/g,ut=/[&<>"']/g,la=RegExp(vn.source),e1=RegExp(ut.source),qs=/<%-([\s\S]+?)%>/g,Ks=/<%([\s\S]+?)%>/g,ii=/<%=([\s\S]+?)%>/g,si=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wb=/^\w*$/,Vb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t1=/[\\^$.*+?()[\]{}|]/g,Gb=RegExp(t1.source),n1=/^\s+/,qb=/\s/,Kb=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Yb=/\{\n\/\* \[wrapped with (.+)\] \*/,Xb=/,? & /,Zb=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qb=/[()=,{}\[\]\/\s]/,Jb=/\\(\\)?/g,ex=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,lg=/\w*$/,tx=/^[-+]0x[0-9a-f]+$/i,nx=/^0b[01]+$/i,rx=/^\[object .+?Constructor\]$/,ox=/^0o[0-7]+$/i,ax=/^(?:0|[1-9]\d*)$/,lx=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ys=/($^)/,ix=/['\n\r\u2028\u2029\\]/g,Xs="\\ud800-\\udfff",sx="\\u0300-\\u036f",ux="\\ufe20-\\ufe2f",cx="\\u20d0-\\u20ff",ig=sx+ux+cx,sg="\\u2700-\\u27bf",ug="a-z\\xdf-\\xf6\\xf8-\\xff",dx="\\xac\\xb1\\xd7\\xf7",fx="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",px="\\u2000-\\u206f",hx=" \\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",cg="A-Z\\xc0-\\xd6\\xd8-\\xde",dg="\\ufe0e\\ufe0f",fg=dx+fx+px+hx,r1="['’]",gx="["+Xs+"]",pg="["+fg+"]",Zs="["+ig+"]",hg="\\d+",mx="["+sg+"]",gg="["+ug+"]",mg="[^"+Xs+fg+hg+sg+ug+cg+"]",o1="\\ud83c[\\udffb-\\udfff]",vx="(?:"+Zs+"|"+o1+")",vg="[^"+Xs+"]",a1="(?:\\ud83c[\\udde6-\\uddff]){2}",l1="[\\ud800-\\udbff][\\udc00-\\udfff]",Ya="["+cg+"]",yg="\\u200d",wg="(?:"+gg+"|"+mg+")",yx="(?:"+Ya+"|"+mg+")",bg="(?:"+r1+"(?:d|ll|m|re|s|t|ve))?",xg="(?:"+r1+"(?:D|LL|M|RE|S|T|VE))?",Eg=vx+"?",Sg="["+dg+"]?",wx="(?:"+yg+"(?:"+[vg,a1,l1].join("|")+")"+Sg+Eg+")*",bx="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_g=Sg+Eg+wx,Ex="(?:"+[mx,a1,l1].join("|")+")"+_g,Sx="(?:"+[vg+Zs+"?",Zs,a1,l1,gx].join("|")+")",_x=RegExp(r1,"g"),Cx=RegExp(Zs,"g"),i1=RegExp(o1+"(?="+o1+")|"+Sx+_g,"g"),Rx=RegExp([Ya+"?"+gg+"+"+bg+"(?="+[pg,Ya,"$"].join("|")+")",yx+"+"+xg+"(?="+[pg,Ya+wg,"$"].join("|")+")",Ya+"?"+wg+"+"+bg,Ya+"+"+xg,xx,bx,hg,Ex].join("|"),"g"),Ax=RegExp("["+yg+Xs+ig+dg+"]"),Ix=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kx=["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"],Ox=-1,je={};je[ot]=je[qe]=je[tn]=je[ho]=je[oa]=je[ir]=je[jr]=je[sr]=je[mn]=!0,je[te]=je[he]=je[rt]=je[Ge]=je[Et]=je[it]=je[Rt]=je[Gt]=je[Ze]=je[$t]=je[Mt]=je[st]=je[gt]=je[Pt]=je[Pn]=!1;var Ne={};Ne[te]=Ne[he]=Ne[rt]=Ne[Et]=Ne[Ge]=Ne[it]=Ne[ot]=Ne[qe]=Ne[tn]=Ne[ho]=Ne[oa]=Ne[Ze]=Ne[$t]=Ne[Mt]=Ne[st]=Ne[gt]=Ne[Pt]=Ne[lr]=Ne[ir]=Ne[jr]=Ne[sr]=Ne[mn]=!0,Ne[Rt]=Ne[Gt]=Ne[Pn]=!1;var Tx={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Lx={"&":"&","<":"<",">":">",'"':""","'":"'"},$x={"&":"&","<":"<",">":">",""":'"',"'":"'"},Mx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Px=parseFloat,zx=parseInt,Cg=typeof Lo=="object"&&Lo&&Lo.Object===Object&&Lo,Bx=typeof self=="object"&&self&&self.Object===Object&&self,At=Cg||Bx||Function("return this")(),s1=t&&!t.nodeType&&t,ia=s1&&!0&&e&&!e.nodeType&&e,Rg=ia&&ia.exports===s1,u1=Rg&&Cg.process,Bn=function(){try{var N=ia&&ia.require&&ia.require("util").types;return N||u1&&u1.binding&&u1.binding("util")}catch{}}(),Ag=Bn&&Bn.isArrayBuffer,Ig=Bn&&Bn.isDate,kg=Bn&&Bn.isMap,Og=Bn&&Bn.isRegExp,Tg=Bn&&Bn.isSet,Lg=Bn&&Bn.isTypedArray;function yn(N,U,D){switch(D.length){case 0:return N.call(U);case 1:return N.call(U,D[0]);case 2:return N.call(U,D[0],D[1]);case 3:return N.call(U,D[0],D[1],D[2])}return N.apply(U,D)}function Fx(N,U,D,ne){for(var me=-1,Le=N==null?0:N.length;++me-1}function c1(N,U,D){for(var ne=-1,me=N==null?0:N.length;++ne-1;);return D}function Hg(N,U){for(var D=N.length;D--&&Xa(U,N[D],0)>-1;);return D}function qx(N,U){for(var D=N.length,ne=0;D--;)N[D]===U&&++ne;return ne}var Kx=h1(Tx),Yx=h1(Lx);function Xx(N){return"\\"+Mx[N]}function Zx(N,U){return N==null?n:N[U]}function Za(N){return Ax.test(N)}function Qx(N){return Ix.test(N)}function Jx(N){for(var U,D=[];!(U=N.next()).done;)D.push(U.value);return D}function y1(N){var U=-1,D=Array(N.size);return N.forEach(function(ne,me){D[++U]=[me,ne]}),D}function Dg(N,U){return function(D){return N(U(D))}}function vo(N,U){for(var D=-1,ne=N.length,me=0,Le=[];++D-1}function HE(a,i){var f=this.__data__,m=gu(f,a);return m<0?(++this.size,f.push([a,i])):f[m][1]=i,this}Ur.prototype.clear=zE,Ur.prototype.delete=BE,Ur.prototype.get=FE,Ur.prototype.has=NE,Ur.prototype.set=HE;function Wr(a){var i=-1,f=a==null?0:a.length;for(this.clear();++i=i?a:i)),a}function Dn(a,i,f,m,C,O){var M,P=i&y,H=i&v,W=i&g;if(f&&(M=C?f(a,m,C,O):f(a)),M!==n)return M;if(!Qe(a))return a;var V=ye(a);if(V){if(M=W9(a),!P)return nn(a,M)}else{var q=Bt(a),ee=q==Gt||q==le;if(So(a))return Sm(a,P);if(q==Mt||q==te||ee&&!C){if(M=H||ee?{}:jm(a),!P)return H?$9(a,n9(M,a)):L9(a,Jg(M,a))}else{if(!Ne[q])return C?a:{};M=V9(a,q,P)}}O||(O=new cr);var se=O.get(a);if(se)return se;O.set(a,M),vv(a)?a.forEach(function(pe){M.add(Dn(pe,i,f,pe,a,O))}):gv(a)&&a.forEach(function(pe,Se){M.set(Se,Dn(pe,i,f,Se,a,O))});var fe=W?H?W1:U1:H?on:St,xe=V?n:fe(a);return Fn(xe||a,function(pe,Se){xe&&(Se=pe,pe=a[Se]),gi(M,Se,Dn(pe,i,f,Se,a,O))}),M}function r9(a){var i=St(a);return function(f){return em(f,a,i)}}function em(a,i,f){var m=f.length;if(a==null)return!m;for(a=Fe(a);m--;){var C=f[m],O=i[C],M=a[C];if(M===n&&!(C in a)||!O(M))return!1}return!0}function tm(a,i,f){if(typeof a!="function")throw new Nn(s);return Si(function(){a.apply(n,f)},i)}function mi(a,i,f,m){var C=-1,O=Qs,M=!0,P=a.length,H=[],W=i.length;if(!P)return H;f&&(i=Ke(i,wn(f))),m?(O=c1,M=!1):i.length>=o&&(O=ui,M=!1,i=new ca(i));e:for(;++CC?0:C+f),m=m===n||m>C?C:be(m),m<0&&(m+=C),m=f>m?0:wv(m);f0&&f(P)?i>1?It(P,i-1,f,m,C):mo(C,P):m||(C[C.length]=P)}return C}var C1=km(),om=km(!0);function xr(a,i){return a&&C1(a,i,St)}function R1(a,i){return a&&om(a,i,St)}function vu(a,i){return go(i,function(f){return Yr(a[f])})}function fa(a,i){i=xo(i,a);for(var f=0,m=i.length;a!=null&&fi}function l9(a,i){return a!=null&&ze.call(a,i)}function i9(a,i){return a!=null&&i in Fe(a)}function s9(a,i,f){return a>=zt(i,f)&&a=120&&V.length>=120)?new ca(M&&V):n}V=a[0];var q=-1,ee=P[0];e:for(;++q-1;)P!==a&&su.call(P,H,1),su.call(a,H,1);return a}function gm(a,i){for(var f=a?i.length:0,m=f-1;f--;){var C=i[f];if(f==m||C!==O){var O=C;Kr(C)?su.call(a,C,1):z1(a,C)}}return a}function $1(a,i){return a+du(Yg()*(i-a+1))}function x9(a,i,f,m){for(var C=-1,O=vt(cu((i-a)/(f||1)),0),M=D(O);O--;)M[m?O:++C]=a,a+=f;return M}function M1(a,i){var f="";if(!a||i<1||i>G)return f;do i%2&&(f+=a),i=du(i/2),i&&(a+=a);while(i);return f}function Ee(a,i){return Z1(Vm(a,i,an),a+"")}function E9(a){return Qg(sl(a))}function S9(a,i){var f=sl(a);return Iu(f,da(i,0,f.length))}function bi(a,i,f,m){if(!Qe(a))return a;i=xo(i,a);for(var C=-1,O=i.length,M=O-1,P=a;P!=null&&++CC?0:C+i),f=f>C?C:f,f<0&&(f+=C),C=i>f?0:f-i>>>0,i>>>=0;for(var O=D(C);++m>>1,M=a[O];M!==null&&!xn(M)&&(f?M<=i:M=o){var W=i?null:B9(a);if(W)return eu(W);M=!1,C=ui,H=new ca}else H=i?[]:P;e:for(;++m=m?a:jn(a,i,f)}var Em=hE||function(a){return At.clearTimeout(a)};function Sm(a,i){if(i)return a.slice();var f=a.length,m=Wg?Wg(f):new a.constructor(f);return a.copy(m),m}function H1(a){var i=new a.constructor(a.byteLength);return new lu(i).set(new lu(a)),i}function I9(a,i){var f=i?H1(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.byteLength)}function k9(a){var i=new a.constructor(a.source,lg.exec(a));return i.lastIndex=a.lastIndex,i}function O9(a){return hi?Fe(hi.call(a)):{}}function _m(a,i){var f=i?H1(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.length)}function Cm(a,i){if(a!==i){var f=a!==n,m=a===null,C=a===a,O=xn(a),M=i!==n,P=i===null,H=i===i,W=xn(i);if(!P&&!W&&!O&&a>i||O&&M&&H&&!P&&!W||m&&M&&H||!f&&H||!C)return 1;if(!m&&!O&&!W&&a=P)return H;var W=f[m];return H*(W=="desc"?-1:1)}}return a.index-i.index}function Rm(a,i,f,m){for(var C=-1,O=a.length,M=f.length,P=-1,H=i.length,W=vt(O-M,0),V=D(H+W),q=!m;++P1?f[C-1]:n,M=C>2?f[2]:n;for(O=a.length>3&&typeof O=="function"?(C--,O):n,M&&Kt(f[0],f[1],M)&&(O=C<3?n:O,C=1),i=Fe(i);++m-1?C[O?i[M]:M]:n}}function Lm(a){return qr(function(i){var f=i.length,m=f,C=Hn.prototype.thru;for(a&&i.reverse();m--;){var O=i[m];if(typeof O!="function")throw new Nn(s);if(C&&!M&&Ru(O)=="wrapper")var M=new Hn([],!0)}for(m=M?m:f;++m1&&Ie.reverse(),V&&HP))return!1;var W=O.get(a),V=O.get(i);if(W&&V)return W==i&&V==a;var q=-1,ee=!0,se=f&b?new ca:n;for(O.set(a,i),O.set(i,a);++q1?"& ":"")+i[m],i=i.join(f>2?", ":" "),a.replace(Kb,`{ +/* [wrapped with `+i+`] */ +`)}function q9(a){return ye(a)||ga(a)||!!(qg&&a&&a[qg])}function Kr(a,i){var f=typeof a;return i=i??G,!!i&&(f=="number"||f!="symbol"&&ax.test(a))&&a>-1&&a%1==0&&a0){if(++i>=Y)return arguments[0]}else i=0;return a.apply(n,arguments)}}function Iu(a,i){var f=-1,m=a.length,C=m-1;for(i=i===n?m:i;++f1?a[i-1]:n;return f=typeof f=="function"?(a.pop(),f):n,rv(a,f)});function ov(a){var i=k(a);return i.__chain__=!0,i}function o_(a,i){return i(a),a}function ku(a,i){return i(a)}var a_=qr(function(a){var i=a.length,f=i?a[0]:0,m=this.__wrapped__,C=function(O){return _1(O,a)};return i>1||this.__actions__.length||!(m instanceof Re)||!Kr(f)?this.thru(C):(m=m.slice(f,+f+(i?1:0)),m.__actions__.push({func:ku,args:[C],thisArg:n}),new Hn(m,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function l_(){return ov(this)}function i_(){return new Hn(this.value(),this.__chain__)}function s_(){this.__values__===n&&(this.__values__=yv(this.value()));var a=this.__index__>=this.__values__.length,i=a?n:this.__values__[this.__index__++];return{done:a,value:i}}function u_(){return this}function c_(a){for(var i,f=this;f instanceof hu;){var m=Zm(f);m.__index__=0,m.__values__=n,i?C.__wrapped__=m:i=m;var C=m;f=f.__wrapped__}return C.__wrapped__=a,i}function d_(){var a=this.__wrapped__;if(a instanceof Re){var i=a;return this.__actions__.length&&(i=new Re(this)),i=i.reverse(),i.__actions__.push({func:ku,args:[Q1],thisArg:n}),new Hn(i,this.__chain__)}return this.thru(Q1)}function f_(){return bm(this.__wrapped__,this.__actions__)}var p_=xu(function(a,i,f){ze.call(a,f)?++a[f]:Vr(a,f,1)});function h_(a,i,f){var m=ye(a)?$g:o9;return f&&Kt(a,i,f)&&(i=n),m(a,de(i,3))}function g_(a,i){var f=ye(a)?go:rm;return f(a,de(i,3))}var m_=Tm(Qm),v_=Tm(Jm);function y_(a,i){return It(Ou(a,i),1)}function w_(a,i){return It(Ou(a,i),ae)}function b_(a,i,f){return f=f===n?1:be(f),It(Ou(a,i),f)}function av(a,i){var f=ye(a)?Fn:wo;return f(a,de(i,3))}function lv(a,i){var f=ye(a)?Nx:nm;return f(a,de(i,3))}var x_=xu(function(a,i,f){ze.call(a,f)?a[f].push(i):Vr(a,f,[i])});function E_(a,i,f,m){a=rn(a)?a:sl(a),f=f&&!m?be(f):0;var C=a.length;return f<0&&(f=vt(C+f,0)),Pu(a)?f<=C&&a.indexOf(i,f)>-1:!!C&&Xa(a,i,f)>-1}var S_=Ee(function(a,i,f){var m=-1,C=typeof i=="function",O=rn(a)?D(a.length):[];return wo(a,function(M){O[++m]=C?yn(i,M,f):yi(M,i,f)}),O}),__=xu(function(a,i,f){Vr(a,f,i)});function Ou(a,i){var f=ye(a)?Ke:um;return f(a,de(i,3))}function C_(a,i,f,m){return a==null?[]:(ye(i)||(i=i==null?[]:[i]),f=m?n:f,ye(f)||(f=f==null?[]:[f]),pm(a,i,f))}var R_=xu(function(a,i,f){a[f?0:1].push(i)},function(){return[[],[]]});function A_(a,i,f){var m=ye(a)?d1:Bg,C=arguments.length<3;return m(a,de(i,4),f,C,wo)}function I_(a,i,f){var m=ye(a)?Hx:Bg,C=arguments.length<3;return m(a,de(i,4),f,C,nm)}function k_(a,i){var f=ye(a)?go:rm;return f(a,$u(de(i,3)))}function O_(a){var i=ye(a)?Qg:E9;return i(a)}function T_(a,i,f){(f?Kt(a,i,f):i===n)?i=1:i=be(i);var m=ye(a)?JE:S9;return m(a,i)}function L_(a){var i=ye(a)?e9:C9;return i(a)}function $_(a){if(a==null)return 0;if(rn(a))return Pu(a)?Qa(a):a.length;var i=Bt(a);return i==Ze||i==gt?a.size:O1(a).length}function M_(a,i,f){var m=ye(a)?f1:R9;return f&&Kt(a,i,f)&&(i=n),m(a,de(i,3))}var P_=Ee(function(a,i){if(a==null)return[];var f=i.length;return f>1&&Kt(a,i[0],i[1])?i=[]:f>2&&Kt(i[0],i[1],i[2])&&(i=[i[0]]),pm(a,It(i,1),[])}),Tu=gE||function(){return At.Date.now()};function z_(a,i){if(typeof i!="function")throw new Nn(s);return a=be(a),function(){if(--a<1)return i.apply(this,arguments)}}function iv(a,i,f){return i=f?n:i,i=a&&i==null?a.length:i,Gr(a,L,n,n,n,n,i)}function sv(a,i){var f;if(typeof i!="function")throw new Nn(s);return a=be(a),function(){return--a>0&&(f=i.apply(this,arguments)),a<=1&&(i=n),f}}var ed=Ee(function(a,i,f){var m=I;if(f.length){var C=vo(f,ll(ed));m|=A}return Gr(a,m,i,f,C)}),uv=Ee(function(a,i,f){var m=I|_;if(f.length){var C=vo(f,ll(uv));m|=A}return Gr(i,m,a,f,C)});function cv(a,i,f){i=f?n:i;var m=Gr(a,S,n,n,n,n,n,i);return m.placeholder=cv.placeholder,m}function dv(a,i,f){i=f?n:i;var m=Gr(a,R,n,n,n,n,n,i);return m.placeholder=dv.placeholder,m}function fv(a,i,f){var m,C,O,M,P,H,W=0,V=!1,q=!1,ee=!0;if(typeof a!="function")throw new Nn(s);i=Wn(i)||0,Qe(f)&&(V=!!f.leading,q="maxWait"in f,O=q?vt(Wn(f.maxWait)||0,i):O,ee="trailing"in f?!!f.trailing:ee);function se(dt){var fr=m,Zr=C;return m=C=n,W=dt,M=a.apply(Zr,fr),M}function fe(dt){return W=dt,P=Si(Se,i),V?se(dt):M}function xe(dt){var fr=dt-H,Zr=dt-W,Tv=i-fr;return q?zt(Tv,O-Zr):Tv}function pe(dt){var fr=dt-H,Zr=dt-W;return H===n||fr>=i||fr<0||q&&Zr>=O}function Se(){var dt=Tu();if(pe(dt))return Ie(dt);P=Si(Se,xe(dt))}function Ie(dt){return P=n,ee&&m?se(dt):(m=C=n,M)}function En(){P!==n&&Em(P),W=0,m=H=C=P=n}function Yt(){return P===n?M:Ie(Tu())}function Sn(){var dt=Tu(),fr=pe(dt);if(m=arguments,C=this,H=dt,fr){if(P===n)return fe(H);if(q)return Em(P),P=Si(Se,i),se(H)}return P===n&&(P=Si(Se,i)),M}return Sn.cancel=En,Sn.flush=Yt,Sn}var B_=Ee(function(a,i){return tm(a,1,i)}),F_=Ee(function(a,i,f){return tm(a,Wn(i)||0,f)});function N_(a){return Gr(a,B)}function Lu(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new Nn(s);var f=function(){var m=arguments,C=i?i.apply(this,m):m[0],O=f.cache;if(O.has(C))return O.get(C);var M=a.apply(this,m);return f.cache=O.set(C,M)||O,M};return f.cache=new(Lu.Cache||Wr),f}Lu.Cache=Wr;function $u(a){if(typeof a!="function")throw new Nn(s);return function(){var i=arguments;switch(i.length){case 0:return!a.call(this);case 1:return!a.call(this,i[0]);case 2:return!a.call(this,i[0],i[1]);case 3:return!a.call(this,i[0],i[1],i[2])}return!a.apply(this,i)}}function H_(a){return sv(2,a)}var D_=A9(function(a,i){i=i.length==1&&ye(i[0])?Ke(i[0],wn(de())):Ke(It(i,1),wn(de()));var f=i.length;return Ee(function(m){for(var C=-1,O=zt(m.length,f);++C=i}),ga=lm(function(){return arguments}())?lm:function(a){return at(a)&&ze.call(a,"callee")&&!Gg.call(a,"callee")},ye=D.isArray,nC=Ag?wn(Ag):c9;function rn(a){return a!=null&&Mu(a.length)&&!Yr(a)}function ct(a){return at(a)&&rn(a)}function rC(a){return a===!0||a===!1||at(a)&&qt(a)==Ge}var So=vE||fd,oC=Ig?wn(Ig):d9;function aC(a){return at(a)&&a.nodeType===1&&!_i(a)}function lC(a){if(a==null)return!0;if(rn(a)&&(ye(a)||typeof a=="string"||typeof a.splice=="function"||So(a)||il(a)||ga(a)))return!a.length;var i=Bt(a);if(i==Ze||i==gt)return!a.size;if(Ei(a))return!O1(a).length;for(var f in a)if(ze.call(a,f))return!1;return!0}function iC(a,i){return wi(a,i)}function sC(a,i,f){f=typeof f=="function"?f:n;var m=f?f(a,i):n;return m===n?wi(a,i,n,f):!!m}function nd(a){if(!at(a))return!1;var i=qt(a);return i==Rt||i==ar||typeof a.message=="string"&&typeof a.name=="string"&&!_i(a)}function uC(a){return typeof a=="number"&&Kg(a)}function Yr(a){if(!Qe(a))return!1;var i=qt(a);return i==Gt||i==le||i==we||i==qa}function hv(a){return typeof a=="number"&&a==be(a)}function Mu(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=G}function Qe(a){var i=typeof a;return a!=null&&(i=="object"||i=="function")}function at(a){return a!=null&&typeof a=="object"}var gv=kg?wn(kg):p9;function cC(a,i){return a===i||k1(a,i,G1(i))}function dC(a,i,f){return f=typeof f=="function"?f:n,k1(a,i,G1(i),f)}function fC(a){return mv(a)&&a!=+a}function pC(a){if(X9(a))throw new me(l);return im(a)}function hC(a){return a===null}function gC(a){return a==null}function mv(a){return typeof a=="number"||at(a)&&qt(a)==$t}function _i(a){if(!at(a)||qt(a)!=Mt)return!1;var i=iu(a);if(i===null)return!0;var f=ze.call(i,"constructor")&&i.constructor;return typeof f=="function"&&f instanceof f&&ru.call(f)==dE}var rd=Og?wn(Og):h9;function mC(a){return hv(a)&&a>=-G&&a<=G}var vv=Tg?wn(Tg):g9;function Pu(a){return typeof a=="string"||!ye(a)&&at(a)&&qt(a)==Pt}function xn(a){return typeof a=="symbol"||at(a)&&qt(a)==lr}var il=Lg?wn(Lg):m9;function vC(a){return a===n}function yC(a){return at(a)&&Bt(a)==Pn}function wC(a){return at(a)&&qt(a)==zn}var bC=Cu(T1),xC=Cu(function(a,i){return a<=i});function yv(a){if(!a)return[];if(rn(a))return Pu(a)?ur(a):nn(a);if(ci&&a[ci])return Jx(a[ci]());var i=Bt(a),f=i==Ze?y1:i==gt?eu:sl;return f(a)}function Xr(a){if(!a)return a===0?a:0;if(a=Wn(a),a===ae||a===-ae){var i=a<0?-1:1;return i*K}return a===a?a:0}function be(a){var i=Xr(a),f=i%1;return i===i?f?i-f:i:0}function wv(a){return a?da(be(a),0,ie):0}function Wn(a){if(typeof a=="number")return a;if(xn(a))return Q;if(Qe(a)){var i=typeof a.valueOf=="function"?a.valueOf():a;a=Qe(i)?i+"":i}if(typeof a!="string")return a===0?a:+a;a=Fg(a);var f=nx.test(a);return f||ox.test(a)?zx(a.slice(2),f?2:8):tx.test(a)?Q:+a}function bv(a){return Er(a,on(a))}function EC(a){return a?da(be(a),-G,G):a===0?a:0}function Pe(a){return a==null?"":bn(a)}var SC=ol(function(a,i){if(Ei(i)||rn(i)){Er(i,St(i),a);return}for(var f in i)ze.call(i,f)&&gi(a,f,i[f])}),xv=ol(function(a,i){Er(i,on(i),a)}),zu=ol(function(a,i,f,m){Er(i,on(i),a,m)}),_C=ol(function(a,i,f,m){Er(i,St(i),a,m)}),CC=qr(_1);function RC(a,i){var f=rl(a);return i==null?f:Jg(f,i)}var AC=Ee(function(a,i){a=Fe(a);var f=-1,m=i.length,C=m>2?i[2]:n;for(C&&Kt(i[0],i[1],C)&&(m=1);++f1),O}),Er(a,W1(a),f),m&&(f=Dn(f,y|v|g,F9));for(var C=i.length;C--;)z1(f,i[C]);return f});function VC(a,i){return Sv(a,$u(de(i)))}var GC=qr(function(a,i){return a==null?{}:w9(a,i)});function Sv(a,i){if(a==null)return{};var f=Ke(W1(a),function(m){return[m]});return i=de(i),hm(a,f,function(m,C){return i(m,C[0])})}function qC(a,i,f){i=xo(i,a);var m=-1,C=i.length;for(C||(C=1,a=n);++mi){var m=a;a=i,i=m}if(f||a%1||i%1){var C=Yg();return zt(a+C*(i-a+Px("1e-"+((C+"").length-1))),i)}return $1(a,i)}var oR=al(function(a,i,f){return i=i.toLowerCase(),a+(f?Rv(i):i)});function Rv(a){return ld(Pe(a).toLowerCase())}function Av(a){return a=Pe(a),a&&a.replace(lx,Kx).replace(Cx,"")}function aR(a,i,f){a=Pe(a),i=bn(i);var m=a.length;f=f===n?m:da(be(f),0,m);var C=f;return f-=i.length,f>=0&&a.slice(f,C)==i}function lR(a){return a=Pe(a),a&&e1.test(a)?a.replace(ut,Yx):a}function iR(a){return a=Pe(a),a&&Gb.test(a)?a.replace(t1,"\\$&"):a}var sR=al(function(a,i,f){return a+(f?"-":"")+i.toLowerCase()}),uR=al(function(a,i,f){return a+(f?" ":"")+i.toLowerCase()}),cR=Om("toLowerCase");function dR(a,i,f){a=Pe(a),i=be(i);var m=i?Qa(a):0;if(!i||m>=i)return a;var C=(i-m)/2;return _u(du(C),f)+a+_u(cu(C),f)}function fR(a,i,f){a=Pe(a),i=be(i);var m=i?Qa(a):0;return i&&m>>0,f?(a=Pe(a),a&&(typeof i=="string"||i!=null&&!rd(i))&&(i=bn(i),!i&&Za(a))?Eo(ur(a),0,f):a.split(i,f)):[]}var wR=al(function(a,i,f){return a+(f?" ":"")+ld(i)});function bR(a,i,f){return a=Pe(a),f=f==null?0:da(be(f),0,a.length),i=bn(i),a.slice(f,f+i.length)==i}function xR(a,i,f){var m=k.templateSettings;f&&Kt(a,i,f)&&(i=n),a=Pe(a),i=zu({},i,m,Bm);var C=zu({},i.imports,m.imports,Bm),O=St(C),M=v1(C,O),P,H,W=0,V=i.interpolate||Ys,q="__p += '",ee=w1((i.escape||Ys).source+"|"+V.source+"|"+(V===ii?ex:Ys).source+"|"+(i.evaluate||Ys).source+"|$","g"),se="//# sourceURL="+(ze.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ox+"]")+` +`;a.replace(ee,function(pe,Se,Ie,En,Yt,Sn){return Ie||(Ie=En),q+=a.slice(W,Sn).replace(ix,Xx),Se&&(P=!0,q+=`' + +__e(`+Se+`) + +'`),Yt&&(H=!0,q+=`'; +`+Yt+`; +__p += '`),Ie&&(q+=`' + +((__t = (`+Ie+`)) == null ? '' : __t) + +'`),W=Sn+pe.length,pe}),q+=`'; +`;var fe=ze.call(i,"variable")&&i.variable;if(!fe)q=`with (obj) { +`+q+` +} +`;else if(Qb.test(fe))throw new me(d);q=(H?q.replace(Gs,""):q).replace(aa,"$1").replace(Ka,"$1;"),q="function("+(fe||"obj")+`) { +`+(fe?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(P?", __e = _.escape":"")+(H?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+q+`return __p +}`;var xe=kv(function(){return Le(O,se+"return "+q).apply(n,M)});if(xe.source=q,nd(xe))throw xe;return xe}function ER(a){return Pe(a).toLowerCase()}function SR(a){return Pe(a).toUpperCase()}function _R(a,i,f){if(a=Pe(a),a&&(f||i===n))return Fg(a);if(!a||!(i=bn(i)))return a;var m=ur(a),C=ur(i),O=Ng(m,C),M=Hg(m,C)+1;return Eo(m,O,M).join("")}function CR(a,i,f){if(a=Pe(a),a&&(f||i===n))return a.slice(0,jg(a)+1);if(!a||!(i=bn(i)))return a;var m=ur(a),C=Hg(m,ur(i))+1;return Eo(m,0,C).join("")}function RR(a,i,f){if(a=Pe(a),a&&(f||i===n))return a.replace(n1,"");if(!a||!(i=bn(i)))return a;var m=ur(a),C=Ng(m,ur(i));return Eo(m,C).join("")}function AR(a,i){var f=F,m=j;if(Qe(i)){var C="separator"in i?i.separator:C;f="length"in i?be(i.length):f,m="omission"in i?bn(i.omission):m}a=Pe(a);var O=a.length;if(Za(a)){var M=ur(a);O=M.length}if(f>=O)return a;var P=f-Qa(m);if(P<1)return m;var H=M?Eo(M,0,P).join(""):a.slice(0,P);if(C===n)return H+m;if(M&&(P+=H.length-P),rd(C)){if(a.slice(P).search(C)){var W,V=H;for(C.global||(C=w1(C.source,Pe(lg.exec(C))+"g")),C.lastIndex=0;W=C.exec(V);)var q=W.index;H=H.slice(0,q===n?P:q)}}else if(a.indexOf(bn(C),P)!=P){var ee=H.lastIndexOf(C);ee>-1&&(H=H.slice(0,ee))}return H+m}function IR(a){return a=Pe(a),a&&la.test(a)?a.replace(vn,rE):a}var kR=al(function(a,i,f){return a+(f?" ":"")+i.toUpperCase()}),ld=Om("toUpperCase");function Iv(a,i,f){return a=Pe(a),i=f?n:i,i===n?Qx(a)?lE(a):Ux(a):a.match(i)||[]}var kv=Ee(function(a,i){try{return yn(a,n,i)}catch(f){return nd(f)?f:new me(f)}}),OR=qr(function(a,i){return Fn(i,function(f){f=Sr(f),Vr(a,f,ed(a[f],a))}),a});function TR(a){var i=a==null?0:a.length,f=de();return a=i?Ke(a,function(m){if(typeof m[1]!="function")throw new Nn(s);return[f(m[0]),m[1]]}):[],Ee(function(m){for(var C=-1;++CG)return[];var f=ie,m=zt(a,ie);i=de(i),a-=ie;for(var C=m1(m,i);++f0||i<0)?new Re(f):(a<0?f=f.takeRight(-a):a&&(f=f.drop(a)),i!==n&&(i=be(i),f=i<0?f.dropRight(-i):f.take(i-a)),f)},Re.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Re.prototype.toArray=function(){return this.take(ie)},xr(Re.prototype,function(a,i){var f=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),C=k[m?"take"+(i=="last"?"Right":""):i],O=m||/^find/.test(i);C&&(k.prototype[i]=function(){var M=this.__wrapped__,P=m?[1]:arguments,H=M instanceof Re,W=P[0],V=H||ye(M),q=function(Se){var Ie=C.apply(k,mo([Se],P));return m&&ee?Ie[0]:Ie};V&&f&&typeof W=="function"&&W.length!=1&&(H=V=!1);var ee=this.__chain__,se=!!this.__actions__.length,fe=O&&!ee,xe=H&&!se;if(!O&&V){M=xe?M:new Re(this);var pe=a.apply(M,P);return pe.__actions__.push({func:ku,args:[q],thisArg:n}),new Hn(pe,ee)}return fe&&xe?a.apply(this,P):(pe=this.thru(q),fe?m?pe.value()[0]:pe.value():pe)})}),Fn(["pop","push","shift","sort","splice","unshift"],function(a){var i=tu[a],f=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);k.prototype[a]=function(){var C=arguments;if(m&&!this.__chain__){var O=this.value();return i.apply(ye(O)?O:[],C)}return this[f](function(M){return i.apply(ye(M)?M:[],C)})}}),xr(Re.prototype,function(a,i){var f=k[i];if(f){var m=f.name+"";ze.call(nl,m)||(nl[m]=[]),nl[m].push({name:i,func:f})}}),nl[Eu(n,_).name]=[{name:"wrapper",func:n}],Re.prototype.clone=IE,Re.prototype.reverse=kE,Re.prototype.value=OE,k.prototype.at=a_,k.prototype.chain=l_,k.prototype.commit=i_,k.prototype.next=s_,k.prototype.plant=c_,k.prototype.reverse=d_,k.prototype.toJSON=k.prototype.valueOf=k.prototype.value=f_,k.prototype.first=k.prototype.head,ci&&(k.prototype[ci]=u_),k},Ja=iE();ia?((ia.exports=Ja)._=Ja,s1._=Ja):At._=Ja}).call(Lo)})(p0,p0.exports);var gQ=p0.exports,mQ=Object.create,lb=Object.defineProperty,vQ=Object.getOwnPropertyDescriptor,ib=Object.getOwnPropertyNames,yQ=Object.getPrototypeOf,wQ=Object.prototype.hasOwnProperty,rr=(e,t)=>function(){return t||(0,e[ib(e)[0]])((t={exports:{}}).exports,t),t.exports},bQ=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ib(t))!wQ.call(e,o)&&o!==n&&lb(e,o,{get:()=>t[o],enumerable:!(r=vQ(t,o))||r.enumerable});return e},Y5=(e,t,n)=>(n=e!=null?mQ(yQ(e)):{},bQ(t||!e||!e.__esModule?lb(n,"default",{value:e,enumerable:!0}):n,e)),xQ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],EQ=["detail"];function SQ(e){const t=xQ.filter(n=>e[n]!==void 0).reduce((n,r)=>({...n,[r]:e[r]}),{});return e instanceof CustomEvent&&EQ.filter(n=>e[n]!==void 0).forEach(n=>{t[n]=e[n]}),t}var sb=rr({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var s=42;r[o]=s;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var d=Object.getOwnPropertySymbols(r);if(d.length!==1||d[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,o);if(c.value!==s||c.enumerable!==!0)return!1}return!0}}}),ub=rr({"node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<"u"&&Symbol,r=sb();t.exports=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()}}}),_Q=rr({"node_modules/function-bind/implementation.js"(e,t){var n="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,o=Object.prototype.toString,l="[object Function]";t.exports=function(d){var c=this;if(typeof c!="function"||o.call(c)!==l)throw new TypeError(n+c);for(var p=r.call(arguments,1),h,y=function(){if(this instanceof h){var I=c.apply(this,p.concat(r.call(arguments)));return Object(I)===I?I:this}else return c.apply(d,p.concat(r.call(arguments)))},v=Math.max(0,c.length-p.length),g=[],E=0;E"u"?n:y(Uint8Array),E={"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":h?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h?y(y([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!h?n:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!h?n:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h?y(""[Symbol.iterator]()):n,"%Symbol%":h?Symbol:n,"%SyntaxError%":r,"%ThrowTypeError%":p,"%TypedArray%":g,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet},b=function Y(X){var ue;if(X==="%AsyncFunction%")ue=s("async function () {}");else if(X==="%GeneratorFunction%")ue=s("function* () {}");else if(X==="%AsyncGeneratorFunction%")ue=s("async function* () {}");else if(X==="%AsyncGenerator%"){var J=Y("%AsyncGeneratorFunction%");J&&(ue=J.prototype)}else if(X==="%AsyncIteratorPrototype%"){var re=Y("%AsyncGenerator%");re&&(ue=y(re.prototype))}return E[X]=ue,ue},I={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=X5(),x=CQ(),S=_.call(Function.call,Array.prototype.concat),R=_.call(Function.apply,Array.prototype.splice),A=_.call(Function.call,String.prototype.replace),T=_.call(Function.call,String.prototype.slice),L=_.call(Function.call,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,F=function(X){var ue=T(X,0,1),J=T(X,-1);if(ue==="%"&&J!=="%")throw new r("invalid intrinsic syntax, expected closing `%`");if(J==="%"&&ue!=="%")throw new r("invalid intrinsic syntax, expected opening `%`");var re=[];return A(X,$,function(ae,G,K,Q){re[re.length]=K?A(Q,B,"$1"):G||ae}),re},j=function(X,ue){var J=X,re;if(x(I,J)&&(re=I[J],J="%"+re[0]+"%"),x(E,J)){var ae=E[J];if(ae===v&&(ae=b(J)),typeof ae>"u"&&!ue)throw new l("intrinsic "+X+" exists, but is not available. Please file an issue!");return{alias:re,name:J,value:ae}}throw new r("intrinsic "+X+" does not exist!")};t.exports=function(X,ue){if(typeof X!="string"||X.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ue!="boolean")throw new l('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,X)===null)throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var J=F(X),re=J.length>0?J[0]:"",ae=j("%"+re+"%",ue),G=ae.name,K=ae.value,Q=!1,ie=ae.alias;ie&&(re=ie[0],R(J,S([0,1],ie)));for(var ve=1,_e=!0;ve=J.length){var we=d(K,Ce);_e=!!we,_e&&"get"in we&&!("originalValue"in we.get)?K=we.get:K=K[Ce]}else _e=x(K,Ce),K=K[Ce];_e&&!Q&&(E[G]=K)}}return K}}}),RQ=rr({"node_modules/call-bind/index.js"(e,t){var n=X5(),r=cb(),o=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||n.call(l,o),d=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),p=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(v){var g=s(n,l,arguments);if(d&&c){var E=d(g,"length");E.configurable&&c(g,"length",{value:1+p(0,v.length-(arguments.length-1))})}return g};var h=function(){return s(n,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h}}),AQ=rr({"node_modules/call-bind/callBound.js"(e,t){var n=cb(),r=RQ(),o=r(n("String.prototype.indexOf"));t.exports=function(s,d){var c=n(s,!!d);return typeof c=="function"&&o(s,".prototype.")>-1?r(c):c}}}),IQ=rr({"node_modules/has-tostringtag/shams.js"(e,t){var n=sb();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),kQ=rr({"node_modules/is-regex/index.js"(e,t){var n=AQ(),r=IQ()(),o,l,s,d;r&&(o=n("Object.prototype.hasOwnProperty"),l=n("RegExp.prototype.exec"),s={},c=function(){throw s},d={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=c));var c,p=n("Object.prototype.toString"),h=Object.getOwnPropertyDescriptor,y="[object RegExp]";t.exports=r?function(g){if(!g||typeof g!="object")return!1;var E=h(g,"lastIndex"),b=E&&o(E,"value");if(!b)return!1;try{l(g,d)}catch(I){return I===s}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:p(g)===y}}}),OQ=rr({"node_modules/is-function/index.js"(e,t){t.exports=r;var n=Object.prototype.toString;function r(o){if(!o)return!1;var l=n.call(o);return l==="[object Function]"||typeof o=="function"&&l!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),TQ=rr({"node_modules/is-symbol/index.js"(e,t){var n=Object.prototype.toString,r=ub()();r?(o=Symbol.prototype.toString,l=/^Symbol\(.*\)$/,s=function(c){return typeof c.valueOf()!="symbol"?!1:l.test(o.call(c))},t.exports=function(c){if(typeof c=="symbol")return!0;if(n.call(c)!=="[object Symbol]")return!1;try{return s(c)}catch{return!1}}):t.exports=function(c){return!1};var o,l,s}}),LQ=Y5(kQ()),$Q=Y5(OQ()),MQ=Y5(TQ());function PQ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var zQ=typeof global=="object"&&global&&global.Object===Object&&global,BQ=zQ,FQ=typeof self=="object"&&self&&self.Object===Object&&self,NQ=BQ||FQ||Function("return this")(),Z5=NQ,HQ=Z5.Symbol,Yl=HQ,db=Object.prototype,DQ=db.hasOwnProperty,jQ=db.toString,Bi=Yl?Yl.toStringTag:void 0;function UQ(e){var t=DQ.call(e,Bi),n=e[Bi];try{e[Bi]=void 0;var r=!0}catch{}var o=jQ.call(e);return r&&(t?e[Bi]=n:delete e[Bi]),o}var WQ=UQ,VQ=Object.prototype,GQ=VQ.toString;function qQ(e){return GQ.call(e)}var KQ=qQ,YQ="[object Null]",XQ="[object Undefined]",vy=Yl?Yl.toStringTag:void 0;function ZQ(e){return e==null?e===void 0?XQ:YQ:vy&&vy in Object(e)?WQ(e):KQ(e)}var QQ=ZQ,yy=Yl?Yl.prototype:void 0;yy&&yy.toString;function JQ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var fb=JQ,eJ="[object AsyncFunction]",tJ="[object Function]",nJ="[object GeneratorFunction]",rJ="[object Proxy]";function oJ(e){if(!fb(e))return!1;var t=QQ(e);return t==tJ||t==nJ||t==eJ||t==rJ}var aJ=oJ,lJ=Z5["__core-js_shared__"],cf=lJ,wy=function(){var e=/[^.]+$/.exec(cf&&cf.keys&&cf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function iJ(e){return!!wy&&wy in e}var sJ=iJ,uJ=Function.prototype,cJ=uJ.toString;function dJ(e){if(e!=null){try{return cJ.call(e)}catch{}try{return e+""}catch{}}return""}var fJ=dJ,pJ=/[\\^$.*+?()[\]{}|]/g,hJ=/^\[object .+?Constructor\]$/,gJ=Function.prototype,mJ=Object.prototype,vJ=gJ.toString,yJ=mJ.hasOwnProperty,wJ=RegExp("^"+vJ.call(yJ).replace(pJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bJ(e){if(!fb(e)||sJ(e))return!1;var t=aJ(e)?wJ:hJ;return t.test(fJ(e))}var xJ=bJ;function EJ(e,t){return e==null?void 0:e[t]}var SJ=EJ;function _J(e,t){var n=SJ(e,t);return xJ(n)?n:void 0}var pb=_J;function CJ(e,t){return e===t||e!==e&&t!==t}var RJ=CJ,AJ=pb(Object,"create"),Os=AJ;function IJ(){this.__data__=Os?Os(null):{},this.size=0}var kJ=IJ;function OJ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var TJ=OJ,LJ="__lodash_hash_undefined__",$J=Object.prototype,MJ=$J.hasOwnProperty;function PJ(e){var t=this.__data__;if(Os){var n=t[e];return n===LJ?void 0:n}return MJ.call(t,e)?t[e]:void 0}var zJ=PJ,BJ=Object.prototype,FJ=BJ.hasOwnProperty;function NJ(e){var t=this.__data__;return Os?t[e]!==void 0:FJ.call(t,e)}var HJ=NJ,DJ="__lodash_hash_undefined__";function jJ(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Os&&t===void 0?DJ:t,this}var UJ=jJ;function oi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1}var eee=JJ;function tee(e,t){var n=this.__data__,r=X0(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var nee=tee;function ai(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{let t=null,n=!1,r=!1,o=!1,l="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;sAee(e).replace(/\n\s*/g,"").trim()),kee=function(t,n){const r=n.slice(0,n.indexOf("{")),o=n.slice(n.indexOf("{"));if(r.includes("=>")||r.includes("function"))return n;let l=r;return l=l.replace(t,"function"),l+o},Oee=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function gb(e){if(!Ree(e))return e;let t=e,n=!1;return typeof Event<"u"&&e instanceof Event&&(t=SQ(t),n=!0),t=Object.keys(t).reduce((r,o)=>{try{t[o]&&t[o].toJSON,r[o]=t[o]}catch{n=!0}return r},{}),n?t:e}var Tee=function(t){let n,r,o,l;return function(d,c){try{if(d==="")return l=[],n=new Map([[c,"[]"]]),r=new Map,o=[],c;const p=r.get(this)||this;for(;o.length&&p!==o[0];)o.shift(),l.pop();if(typeof c=="boolean")return c;if(c===void 0)return t.allowUndefined?"_undefined_":void 0;if(c===null)return null;if(typeof c=="number")return c===-1/0?"_-Infinity_":c===1/0?"_Infinity_":Number.isNaN(c)?"_NaN_":c;if(typeof c=="bigint")return`_bigint_${c.toString()}`;if(typeof c=="string")return Oee.test(c)?t.allowDate?`_date_${c}`:void 0:c;if((0,LQ.default)(c))return t.allowRegExp?`_regexp_${c.flags}|${c.source}`:void 0;if((0,$Q.default)(c)){if(!t.allowFunction)return;const{name:y}=c,v=c.toString();return v.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${y}|${(()=>{}).toString()}`:`_function_${y}|${Iee(kee(d,v))}`}if((0,MQ.default)(c)){if(!t.allowSymbol)return;const y=Symbol.keyFor(c);return y!==void 0?`_gsymbol_${y}`:`_symbol_${c.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(c)?`[Array(${c.length})]`:"[Object]";if(c===this)return`_duplicate_${JSON.stringify(l)}`;if(c instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...c.cause?{cause:c.cause}:{},...c,name:c.name,message:c.message,stack:c.stack,"_constructor-name_":c.constructor.name}};if(c.constructor&&c.constructor.name&&c.constructor.name!=="Object"&&!Array.isArray(c)&&!t.allowClass)return;const h=n.get(c);if(!h){const y=Array.isArray(c)?c:gb(c);if(c.constructor&&c.constructor.name&&c.constructor.name!=="Object"&&!Array.isArray(c)&&t.allowClass)try{Object.assign(y,{"_constructor-name_":c.constructor.name})}catch{}return l.push(d),o.unshift(y),n.set(c,JSON.stringify(l)),c!==y&&r.set(c,y),y}return`_duplicate_${h}`}catch{return}}},Lee={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},$ee=(e,t={})=>{const n={...Lee,...t};return JSON.stringify(gb(e),Tee(n),t.space)};/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + *//** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * 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 + */var mb={exports:{}},df,xy;function Mee(){return xy||(xy=1,df={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),df}var ff,Ey;function Pee(){return Ey||(Ey=1,ff=function(e){var t=[].forEach,n=[].some,r=document.body,o,l=!0,s=" ";function d(x,S){var R=S.appendChild(p(x));if(x.children.length){var A=h(x.isCollapsed);x.children.forEach(function(T){d(T,A)}),R.appendChild(A)}}function c(x,S){var R=!1,A=h(R);if(S.forEach(function(T){d(T,A)}),o=x||o,o!==null)return o.firstChild&&o.removeChild(o.firstChild),S.length===0?o:o.appendChild(A)}function p(x){var S=document.createElement("li"),R=document.createElement("a");return e.listItemClass&&S.setAttribute("class",e.listItemClass),e.onClick&&(R.onclick=e.onClick),e.includeTitleTags&&R.setAttribute("title",x.textContent),e.includeHtml&&x.childNodes.length?t.call(x.childNodes,function(A){R.appendChild(A.cloneNode(!0))}):R.textContent=x.textContent,R.setAttribute("href",e.basePath+"#"+x.id),R.setAttribute("class",e.linkClass+s+"node-name--"+x.nodeName+s+e.extraLinkClasses),S.appendChild(R),S}function h(x){var S=e.orderedList?"ol":"ul",R=document.createElement(S),A=e.listClass+s+e.extraListClasses;return x&&(A=A+s+e.collapsibleClass,A=A+s+e.isCollapsedClass),R.setAttribute("class",A),R}function y(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var x;x=document.querySelector(e.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||r.scrollTop;var S=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=o.offsetTop),x>e.fixedSidebarOffset?S.className.indexOf(e.positionFixedClass)===-1&&(S.className+=s+e.positionFixedClass):S.className=S.className.replace(s+e.positionFixedClass,"")}function v(x){var S=0;return x!==null&&(S=x.offsetTop,e.hasInnerContainers&&(S+=v(x.offsetParent))),S}function g(x,S){return x&&x.className!==S&&(x.className=S),x}function E(x){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var S;S=document.querySelector(e.scrollContainer).scrollTop}else S=document.documentElement.scrollTop||r.scrollTop;e.positionFixedSelector&&y();var R=x,A;if(l&&o!==null&&R.length>0){n.call(R,function(Y,X){if(v(Y)>S+e.headingsOffset+10){var ue=X===0?X:X-1;return A=R[ue],!0}else if(X===R.length-1)return A=R[R.length-1],!0});var T=o.querySelector("."+e.activeLinkClass),L=o.querySelector("."+e.linkClass+".node-name--"+A.nodeName+'[href="'+e.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(T===L)return;var $=o.querySelectorAll("."+e.linkClass);t.call($,function(Y){g(Y,Y.className.replace(s+e.activeLinkClass,""))});var B=o.querySelectorAll("."+e.listItemClass);t.call(B,function(Y){g(Y,Y.className.replace(s+e.activeListItemClass,""))}),L&&L.className.indexOf(e.activeLinkClass)===-1&&(L.className+=s+e.activeLinkClass);var F=L&&L.parentNode;F&&F.className.indexOf(e.activeListItemClass)===-1&&(F.className+=s+e.activeListItemClass);var j=o.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(j,function(Y){Y.className.indexOf(e.isCollapsedClass)===-1&&(Y.className+=s+e.isCollapsedClass)}),L&&L.nextSibling&&L.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&g(L.nextSibling,L.nextSibling.className.replace(s+e.isCollapsedClass,"")),b(L&&L.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(e.collapsibleClass)!==-1&&x.className.indexOf(e.isCollapsedClass)!==-1?(g(x,x.className.replace(s+e.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function I(x){var S=x.target||x.srcElement;typeof S.className!="string"||S.className.indexOf(e.linkClass)===-1||(l=!1)}function _(){l=!0}return{enableTocAnimation:_,disableTocAnimation:I,render:c,updateToc:E}}),ff}var pf,Sy;function zee(){return Sy||(Sy=1,pf=function(t){var n=[].reduce;function r(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function l(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!l(h))return h;if(t.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;const y=h.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var v={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:y};return t.includeHtml&&(v.childNodes=h.childNodes),t.headingObjectCallback?t.headingObjectCallback(v,h):v}function d(h,y){for(var v=s(h),g=v.headingLevel,E=y,b=r(E),I=b?b.headingLevel:0,_=g-I;_>0&&(b=r(E),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(E=b.children),_--;return g>=t.collapseDepth&&(v.isCollapsed=!0),E.push(v),E}function c(h,y){var v=y;t.ignoreSelector&&(v=y.split(",").map(function(E){return E.trim()+":not("+t.ignoreSelector+")"}));try{return h.querySelectorAll(v)}catch{return console.warn("Headers not found with selector: "+v),null}}function p(h){return n.call(h,function(v,g){var E=s(g);return E&&d(E,v.nest),v},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:c}}),pf}var hf,_y;function Bee(){if(_y)return hf;_y=1;const e=30;return hf=function(n){var r=n.tocElement||document.querySelector(n.tocSelector);if(r&&r.scrollHeight>r.clientHeight){var o=r.querySelector("."+n.activeListItemClass);if(o){var l=r.scrollTop,s=l+r.clientHeight,d=o.offsetTop,c=d+o.clientHeight;ds-n.tocScrollOffset-e&&(r.scrollTop+=c-s+n.tocScrollOffset+2*e)}}},hf}var gf={},Cy;function Fee(){if(Cy)return gf;Cy=1,gf.initSmoothScrolling=e;function e(n){var r=n.duration,o=n.offset,l=location.hash?c(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(y){!d(y.target)||y.target.className.indexOf("no-smooth-scroll")>-1||y.target.href.charAt(y.target.href.length-2)==="#"&&y.target.href.charAt(y.target.href.length-1)==="!"||y.target.className.indexOf(n.linkClass)===-1||t(y.target.hash,{duration:r,offset:o,callback:function(){p(y.target.hash)}})}}function d(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(c(h.href)===l||c(h.href)+"#"===l)}function c(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var y=document.getElementById(h.substring(1));y&&(/^(?:a|select|input|button|textarea)$/i.test(y.tagName)||(y.tabIndex=-1),y.focus())}}function t(n,r){var o=window.pageYOffset,l={duration:r.duration,offset:r.offset||0,callback:r.callback,easing:r.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),d=typeof n=="string"?l.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof l.duration=="function"?l.duration(d):l.duration,p,h;requestAnimationFrame(function(E){p=E,y(E)});function y(E){h=E-p,window.scrollTo(0,l.easing(h,o,d,c)),h"u"&&!y)return;var v,g=Object.prototype.hasOwnProperty;function E(){for(var x={},S=0;S({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Ve(.3,e.color.defaultText),fontSize:e.typography.size.s2})),vb=e=>w.createElement(Uee,{...e,className:"docblock-emptyblock sb-unstyled"}),Wee=z(G0)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Vee=z.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ic=z.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${bp}`]:{margin:0}})),Gee=()=>w.createElement(Vee,null,w.createElement(ic,null),w.createElement(ic,{style:{width:"80%"}}),w.createElement(ic,{style:{width:"30%"}}),w.createElement(ic,{style:{width:"80%"}})),eg=({isLoading:e,error:t,language:n,code:r,dark:o,format:l,...s})=>{let{typography:d}=Fw();if(e)return w.createElement(Gee,null);if(t)return w.createElement(vb,null,t);let c=w.createElement(Wee,{bordered:!0,copyable:!0,format:l,language:n,className:"docblock-source sb-unstyled",...s},r);if(typeof o>"u")return c;let p=o?mp.dark:mp.light;return w.createElement(Nw,{theme:wp({...p,fontCode:d.fonts.mono,fontBase:d.fonts.base})},c)};eg.defaultProps={format:!1};var yt=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,tg=600,qee=z.h1(nt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${tg}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Kee=z.h2(nt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${tg}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Ve(.25,e.color.defaultText)})),Yee=z.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},n={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},r={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Ve(.1,e.color.defaultText):Ve(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[yt("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[yt("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[yt("div")]:t,[yt("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[yt("h1")]:{...t,...n,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[yt("h2")]:{...t,...n,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[yt("h3")]:{...t,...n,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[yt("h4")]:{...t,...n,fontSize:`${e.typography.size.s3}px`},[yt("h5")]:{...t,...n,fontSize:`${e.typography.size.s2}px`},[yt("h6")]:{...t,...n,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[yt("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[yt("img")]:{maxWidth:"100%"},[yt("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":r},[yt("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[yt("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":r},[yt("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[yt("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[yt("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[yt("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Xee=z.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${tg}px)`]:{}})),Zee=({children:e,toc:t})=>w.createElement(Xee,{className:"sbdocs sbdocs-wrapper"},w.createElement(Yee,{className:"sbdocs sbdocs-content"},e),t),Q0=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),Qee=z(q0)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Jee=z.div({display:"flex",alignItems:"center",gap:4}),ete=z.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),tte=({isLoading:e,storyId:t,baseUrl:n,zoom:r,resetZoom:o,...l})=>w.createElement(Qee,{...l},w.createElement(Jee,{key:"left"},e?[1,2,3].map(s=>w.createElement(ete,{key:s})):w.createElement(w.Fragment,null,w.createElement(Ma,{key:"zoomin",onClick:s=>{s.preventDefault(),r(.8)},title:"Zoom in"},w.createElement(I6,null)),w.createElement(Ma,{key:"zoomout",onClick:s=>{s.preventDefault(),r(1.25)},title:"Zoom out"},w.createElement(k6,null)),w.createElement(Ma,{key:"zoomreset",onClick:s=>{s.preventDefault(),o()},title:"Reset zoom"},w.createElement(O6,null))))),yb=u.createContext({scale:1}),{window:nte}=Yn,rte=class extends u.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=nte.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:n,allowFullScreen:r,scale:o,...l}=this.props;return w.createElement("iframe",{id:e,title:t,src:n,...r?{allow:"fullscreen"}:{},loading:"lazy",...l})}},{PREVIEW_URL:ote}=Yn,ate=ote||"iframe.html",Fp=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,lte=e=>{let t=u.useRef(),[n,r]=u.useState(!0),[o,l]=u.useState(),{story:s,height:d,autoplay:c,forceInitialArgs:p,renderStoryToElement:h}=e;return u.useEffect(()=>{if(!(s&&t.current))return()=>{};let y=t.current,v=h(s,y,{showMain:()=>{},showError:({title:g,description:E})=>l(new Error(`${g} - ${E}`)),showException:g=>l(g)},{autoplay:c,forceInitialArgs:p});return r(!1),()=>{Promise.resolve().then(()=>v())}},[c,h,s]),o?w.createElement("pre",null,w.createElement(m8,{error:o})):w.createElement(w.Fragment,null,d?w.createElement("style",null,`#${Fp(e)} { min-height: ${d}; transform: translateZ(0); overflow: auto }`):null,n&&w.createElement(wb,null),w.createElement("div",{ref:t,id:`${Fp(e)}-inner`,"data-name":s.name}))},ite=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(yb.Consumer,null,({scale:n})=>w.createElement(rte,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:R8(ate,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:n,style:{width:"100%",height:"100%",border:"0 none"}}))),ste=e=>{let{inline:t}=e;return w.createElement("div",{id:Fp(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(lte,{...e}):w.createElement(ite,{...e}))},wb=()=>w.createElement(C8,null),ute=z.div(({isColumn:e,columns:t,layout:n})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:n!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:n!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Oy=z(eg)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rr(.05,e.background.content)}})),cte=z.div(({theme:e,withSource:t,isExpanded:n})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Q0(e),borderBottomLeftRadius:t&&n&&0,borderBottomRightRadius:t&&n&&0,borderBottomWidth:n&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),dte=(e,t,n)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>n(!1)}};case t:return{source:w.createElement(Oy,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>n(!1)}};default:return{source:w.createElement(Oy,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>n(!0)}}}};function fte(e){if(u.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var pte=z(tte)({position:"absolute",top:0,left:0,right:0,height:40}),hte=z.div({overflow:"hidden",position:"relative"}),bb=({isLoading:e,isColumn:t,columns:n,children:r,withSource:o,withToolbar:l=!1,isExpanded:s=!1,additionalActions:d,className:c,layout:p="padded",...h})=>{let[y,v]=u.useState(s),{source:g,actionItem:E}=dte(o,y,v),[b,I]=u.useState(1),_=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),x=o?[E]:[],[S,R]=u.useState(d?[...d]:[]),A=[...x,...S],{window:T}=Yn,L=u.useCallback(async B=>{let{createCopyToClipboardFunction:F}=await Vo(()=>Promise.resolve().then(()=>JV),void 0,import.meta.url);F()},[]),$=B=>{let F=T.getSelection();F&&F.type==="Range"||(B.preventDefault(),S.filter(j=>j.title==="Copied").length===0&&L(g.props.code).then(()=>{R([...S,{title:"Copied",onClick:()=>{}}]),T.setTimeout(()=>R(S.filter(j=>j.title!=="Copied")),1500)}))};return w.createElement(cte,{withSource:o,withToolbar:l,...h,className:_.join(" ")},l&&w.createElement(pte,{isLoading:e,border:!0,zoom:B=>I(b*B),resetZoom:()=>I(1),storyId:fte(r),baseUrl:"./iframe.html"}),w.createElement(yb.Provider,{value:{scale:b}},w.createElement(hte,{className:"docs-story",onCopyCapture:o&&$},w.createElement(ute,{isColumn:t||!Array.isArray(r),columns:n,layout:p},w.createElement(g8.Element,{scale:b},Array.isArray(r)?r.map((B,F)=>w.createElement("div",{key:F},B)):w.createElement("div",null,r))),w.createElement(f5,{actionItems:A}))),o&&y&&g)};z(bb)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var gte=z.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:po({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),mte=({tags:e})=>{let t=(e.params||[]).filter(l=>l.description),n=t.length!==0,r=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!n&&!o&&!r?null:w.createElement(w.Fragment,null,w.createElement(gte,null,w.createElement("tbody",null,r&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),n&&t.map(l=>w.createElement("tr",{key:l.name},w.createElement("td",null,w.createElement("code",null,l.name)),w.createElement("td",null,l.description))),o&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},Np=8,Ty=z.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),vte=z.span(po,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),yte=z.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),wte=z.div(po,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),bte=z.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),xte=z(H6)({marginLeft:4}),Ete=z(R5)({marginLeft:4}),Ste=()=>w.createElement("span",null,"-"),xb=({text:e,simple:t})=>w.createElement(vte,{simple:t},e),_te=Wa(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(n=>n.length))}ch`}),Cte=e=>{if(!e)return[e];let t=e.split("|").map(n=>n.trim());return kY(t)},Ly=(e,t=!0)=>{let n=e;return t||(n=e.slice(0,Np)),n.map(r=>w.createElement(xb,{key:r,text:r===""?'""':r}))},Rte=({value:e,initialExpandedArgs:t})=>{let{summary:n,detail:r}=e,[o,l]=u.useState(!1),[s,d]=u.useState(t||!1);if(n==null)return null;let c=typeof n.toString=="function"?n.toString():n;if(r==null){if(/[(){}[\]<>]/.test(c))return w.createElement(xb,{text:c});let p=Cte(c),h=p.length;return h>Np?w.createElement(Ty,{isExpanded:s},Ly(p,s),w.createElement(yte,{onClick:()=>d(!s)},s?"Show less...":`Show ${h-Np} more...`)):w.createElement(Ty,null,Ly(p))}return w.createElement(b8,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:p=>{l(p)},tooltip:w.createElement(bte,{width:_te(r)},w.createElement(G0,{language:"jsx",format:!1},r))},w.createElement(wte,{className:"sbdocs-expandable"},w.createElement("span",null,c),o?w.createElement(xte,null):w.createElement(Ete,null)))},mf=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(Ste,null):w.createElement(Rte,{value:e,initialExpandedArgs:t}),Ate=z.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Ve(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${lc(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${lc(.05,e.appBorderColor)} 0 0 0 2px inset`,color:lc(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${lc(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),Ite=e=>e==="true",kte=({name:e,value:t,onChange:n,onBlur:r,onFocus:o})=>{let l=u.useCallback(()=>n(!1),[n]);if(t===void 0)return w.createElement(ta,{variant:"outline",size:"medium",id:$0(e),onClick:l},"Set boolean");let s=br(e),d=typeof t=="string"?Ite(t):t;return w.createElement(Ate,{htmlFor:s,"aria-label":e},w.createElement("input",{id:s,type:"checkbox",onChange:c=>n(c.target.checked),checked:d,role:"switch",name:e,onBlur:r,onFocus:o}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},Ote=e=>{let[t,n,r]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(n,10)-1,parseInt(r,10)),o},Tte=e=>{let[t,n]=e.split(":"),r=new Date;return r.setHours(parseInt(t,10)),r.setMinutes(parseInt(n,10)),r},Lte=e=>{let t=new Date(e),n=`000${t.getFullYear()}`.slice(-4),r=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${n}-${r}-${o}`},$te=e=>{let t=new Date(e),n=`0${t.getHours()}`.slice(-2),r=`0${t.getMinutes()}`.slice(-2);return`${n}:${r}`},Mte=z.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),Pte=({name:e,value:t,onChange:n,onFocus:r,onBlur:o})=>{let[l,s]=u.useState(!0),d=u.useRef(),c=u.useRef();u.useEffect(()=>{l!==!1&&(d&&d.current&&(d.current.value=Lte(t)),c&&c.current&&(c.current.value=$te(t)))},[t]);let p=v=>{let g=Ote(v.target.value),E=new Date(t);E.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let b=E.getTime();b&&n(b),s(!!b)},h=v=>{let g=Tte(v.target.value),E=new Date(t);E.setHours(g.getHours()),E.setMinutes(g.getMinutes());let b=E.getTime();b&&n(b),s(!!b)},y=br(e);return w.createElement(Mte,null,w.createElement(Da.Input,{type:"date",max:"9999-12-31",ref:d,id:`${y}-date`,name:`${y}-date`,onChange:p,onFocus:r,onBlur:o}),w.createElement(Da.Input,{type:"time",id:`${y}-time`,name:`${y}-time`,ref:c,onChange:h,onFocus:r,onBlur:o}),l?null:w.createElement("div",null,"invalid"))},zte=z.label({display:"flex"}),Bte=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},Fte=({name:e,value:t,onChange:n,min:r,max:o,step:l,onBlur:s,onFocus:d})=>{let[c,p]=u.useState(typeof t=="number"?t:""),[h,y]=u.useState(!1),[v,g]=u.useState(null),E=u.useCallback(_=>{p(_.target.value);let x=parseFloat(_.target.value);Number.isNaN(x)?g(new Error(`'${_.target.value}' is not a number`)):(n(x),g(null))},[n,g]),b=u.useCallback(()=>{p("0"),n(0),y(!0)},[y]),I=u.useRef(null);return u.useEffect(()=>{h&&I.current&&I.current.select()},[h]),u.useEffect(()=>{c!==(typeof t=="number"?t:"")&&p(t)},[t]),!h&&t===void 0?w.createElement(ta,{variant:"outline",size:"medium",id:$0(e),onClick:b},"Set number"):w.createElement(zte,null,w.createElement(Da.Input,{ref:I,id:br(e),type:"number",onChange:E,size:"flex",placeholder:"Edit number...",value:c,valid:v?"error":null,autoFocus:h,name:e,min:r,max:o,step:l,onFocus:d,onBlur:s}))},Eb=(e,t)=>{let n=t&&Object.entries(t).find(([r,o])=>o===e);return n?n[0]:void 0},Hp=(e,t)=>e&&t?Object.entries(t).filter(n=>e.includes(n[1])).map(n=>n[0]):[],Sb=(e,t)=>e&&t&&e.map(n=>t[n]),Nte=z.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),Hte=z.span({}),Dte=z.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),$y=({name:e,options:t,value:n,onChange:r,isInline:o})=>{if(!t)return J5.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=Hp(n,t),[s,d]=u.useState(l),c=h=>{let y=h.target.value,v=[...s];v.includes(y)?v.splice(v.indexOf(y),1):v.push(y),r(Sb(v,t)),d(v)};u.useEffect(()=>{d(Hp(n,t))},[n]);let p=br(e);return w.createElement(Nte,{isInline:o},Object.keys(t).map((h,y)=>{let v=`${p}-${y}`;return w.createElement(Dte,{key:v,htmlFor:v},w.createElement("input",{type:"checkbox",id:v,name:v,value:h,onChange:c,checked:s==null?void 0:s.includes(h)}),w.createElement(Hte,null,h))}))},jte=z.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),Ute=z.span({}),Wte=z.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),My=({name:e,options:t,value:n,onChange:r,isInline:o})=>{if(!t)return J5.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let l=Eb(n,t),s=br(e);return w.createElement(jte,{isInline:o},Object.keys(t).map((d,c)=>{let p=`${s}-${c}`;return w.createElement(Wte,{key:p,htmlFor:p},w.createElement("input",{type:"radio",id:p,name:p,value:d,onChange:h=>r(t[h.currentTarget.value]),checked:d===l}),w.createElement(Ute,null,d))}))},Vte={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},_b=z.select(Vte,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Cb=z.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),Py="Choose option...",Gte=({name:e,value:t,options:n,onChange:r})=>{let o=d=>{r(n[d.currentTarget.value])},l=Eb(t,n)||Py,s=br(e);return w.createElement(Cb,null,w.createElement(R5,null),w.createElement(_b,{id:s,value:l,onChange:o},w.createElement("option",{key:"no-selection",disabled:!0},Py),Object.keys(n).map(d=>w.createElement("option",{key:d,value:d},d))))},qte=({name:e,value:t,options:n,onChange:r})=>{let o=d=>{let c=Array.from(d.currentTarget.options).filter(p=>p.selected).map(p=>p.value);r(Sb(c,n))},l=Hp(t,n),s=br(e);return w.createElement(Cb,null,w.createElement(_b,{id:s,multiple:!0,value:l,onChange:o},Object.keys(n).map(d=>w.createElement("option",{key:d,value:d},d))))},zy=e=>{let{name:t,options:n}=e;return n?e.isMulti?w.createElement(qte,{...e}):w.createElement(Gte,{...e}):(J5.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},Kte=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(n[(t==null?void 0:t[r])||String(r)]=r,n),{}):e,Yte={check:$y,"inline-check":$y,radio:My,"inline-radio":My,select:zy,"multi-select":zy},dl=e=>{let{type:t="select",labels:n,argType:r}=e,o={...e,options:r?Kte(r.options,n):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},l=Yte[t];if(l)return w.createElement(l,{...o});throw new Error(`Unknown options type: ${t}`)},ng="value",Xte="key",Zte="Error",Qte="Object",Jte="Array",ene="String",tne="Number",nne="Boolean",rne="Date",one="Null",ane="Undefined",lne="Function",ine="Symbol",Rb="ADD_DELTA_TYPE",Ab="REMOVE_DELTA_TYPE",Ib="UPDATE_DELTA_TYPE";function Aa(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function kb(e,t){let n=Aa(e),r=Aa(t);return(n==="Function"||r==="Function")&&r!==n}var rg=class extends u.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:n}=this.props;e&&typeof e.focus=="function"&&e.focus(),n&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:n,keyPath:r,deep:o}=this.props,{inputRefKey:l,inputRefValue:s}=this.state,d={};if(!t){if(!l.value)return;d.key=l.value}d.newValue=n(!1,r,o,d.key,s.value),e(d)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:n,cancelButtonElement:r,inputElementGenerator:o,keyPath:l,deep:s}=this.props,d=u.cloneElement(n,{onClick:this.onSubmit}),c=u.cloneElement(r,{onClick:e}),p=o(ng,l,s),h=u.cloneElement(p,{placeholder:"Value",ref:this.refInputValue}),y=null;if(!t){let v=o(Xte,l,s);y=u.cloneElement(v,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},y,h,c,d)}};rg.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var Ob=class extends u.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:n,keyPath:r}=this.state;n[e]=t,this.setState({data:n});let{onUpdate:o}=this.props,l=r.length;o(r[l-1],n)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:n}=this.props,{data:r,keyPath:o,nextDeep:l}=this.state,s=r[e];t(e,o,l,s).then(()=>{let d={keyPath:o,deep:l,key:e,oldValue:s,type:Ab};r.splice(e,1),this.setState({data:r});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(o[o.length-1],r),p(d)}).catch(n.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:n,nextDeep:r}=this.state,{beforeAddAction:o,logger:l}=this.props;o(t.length,n,r,e).then(()=>{let s=[...t,e];this.setState({data:s}),this.handleAddValueCancel();let{onUpdate:d,onDeltaUpdate:c}=this.props;d(n[n.length-1],s),c({type:Rb,keyPath:n,deep:r,key:s.length-1,newValue:e})}).catch(l.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((n,r)=>{let{beforeUpdateAction:o}=this.props,{data:l,keyPath:s,nextDeep:d}=this.state,c=l[e];o(e,s,d,c,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:p,onDeltaUpdate:h}=this.props;p(s[s.length-1],l),h({type:Ib,keyPath:s,deep:d,key:e,newValue:t,oldValue:c}),n(void 0)}).catch(r)})}renderCollapsed(){let{name:e,data:t,keyPath:n,deep:r}=this.state,{handleRemove:o,readOnly:l,getStyle:s,dataType:d,minusMenuElement:c}=this.props,{minus:p,collapsed:h}=s(e,t,n,r,d),y=l(e,t,n,r,d),v=u.cloneElement(c,{onClick:o,className:"rejt-minus-menu",style:p});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:h,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!y&&v)}renderNotCollapsed(){let{name:e,data:t,keyPath:n,deep:r,addFormVisible:o,nextDeep:l}=this.state,{isCollapsed:s,handleRemove:d,onDeltaUpdate:c,readOnly:p,getStyle:h,dataType:y,addButtonElement:v,cancelButtonElement:g,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:I,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:S,beforeAddAction:R,beforeUpdateAction:A,logger:T,onSubmitValueParser:L}=this.props,{minus:$,plus:B,delimiter:F,ul:j,addForm:Y}=h(e,t,n,r,y),X=p(e,t,n,r,y),ue=u.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),J=u.cloneElement(_,{onClick:d,className:"rejt-minus-menu",style:$});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:F},"["),!o&&ue,w.createElement("ul",{className:"rejt-not-collapsed-list",style:j},t.map((re,ae)=>w.createElement(J0,{key:ae,name:ae.toString(),data:re,keyPath:n,deep:l,isCollapsed:s,handleRemove:this.handleRemoveItem(ae),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:p,getStyle:h,addButtonElement:v,cancelButtonElement:g,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:I,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:S,beforeAddAction:R,beforeUpdateAction:A,logger:T,onSubmitValueParser:L}))),!X&&o&&w.createElement("div",{className:"rejt-add-form",style:Y},w.createElement(rg,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:v,cancelButtonElement:g,inputElementGenerator:b,keyPath:n,deep:r,onSubmitValueParser:L})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:F},"]"),!X&&J)}render(){let{name:e,collapsed:t,data:n,keyPath:r,deep:o}=this.state,{dataType:l,getStyle:s}=this.props,d=t?this.renderCollapsed():this.renderNotCollapsed(),c=s(e,n,r,o,l);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),d)}};Ob.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Tb=class extends u.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:n,value:r,keyPath:o,deep:l}=this.state,{readOnly:s,dataType:d}=this.props,c=s(n,r,o,l,d);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:n,onSubmitValueParser:r,keyPath:o}=this.props,{inputRef:l,name:s,deep:d}=this.state;if(!l)return;let c=r(!0,o,d,s,l.value);e({value:c,key:s}).then(()=>{kb(t,c)||this.handleCancelEdit()}).catch(n.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:n,keyPath:r,deep:o}=this.state,{handleRemove:l,originalValue:s,readOnly:d,dataType:c,getStyle:p,editButtonElement:h,cancelButtonElement:y,textareaElementGenerator:v,minusMenuElement:g,keyPath:E}=this.props,b=p(e,s,r,o,c),I=null,_=null,x=d(e,s,r,o,c);if(n&&!x){let S=v(ng,E,o,e,s,c),R=u.cloneElement(h,{onClick:this.handleEdit}),A=u.cloneElement(y,{onClick:this.handleCancelEdit}),T=u.cloneElement(S,{ref:this.refInput,defaultValue:s});I=w.createElement("span",{className:"rejt-edit-form",style:b.editForm},T," ",A,R),_=null}else{I=w.createElement("span",{className:"rejt-value",style:b.value,onClick:x?null:this.handleEditMode},t);let S=u.cloneElement(g,{onClick:l,className:"rejt-minus-menu",style:b.minus});_=x?null:S}return w.createElement("li",{className:"rejt-function-value-node",style:b.li},w.createElement("span",{className:"rejt-name",style:b.name},e," :"," "),I,_)}};Tb.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var J0=class extends u.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:n,deep:r}=this.state,{isCollapsed:o,handleRemove:l,handleUpdateValue:s,onUpdate:d,onDeltaUpdate:c,readOnly:p,getStyle:h,addButtonElement:y,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:I,plusMenuElement:_,beforeRemoveAction:x,beforeAddAction:S,beforeUpdateAction:R,logger:A,onSubmitValueParser:T}=this.props,L=()=>!0,$=Aa(e);switch($){case Zte:return w.createElement(Dp,{data:e,name:t,isCollapsed:o,keyPath:n,deep:r,handleRemove:l,onUpdate:d,onDeltaUpdate:c,readOnly:L,dataType:$,getStyle:h,addButtonElement:y,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:I,plusMenuElement:_,beforeRemoveAction:x,beforeAddAction:S,beforeUpdateAction:R,logger:A,onSubmitValueParser:T});case Qte:return w.createElement(Dp,{data:e,name:t,isCollapsed:o,keyPath:n,deep:r,handleRemove:l,onUpdate:d,onDeltaUpdate:c,readOnly:p,dataType:$,getStyle:h,addButtonElement:y,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:I,plusMenuElement:_,beforeRemoveAction:x,beforeAddAction:S,beforeUpdateAction:R,logger:A,onSubmitValueParser:T});case Jte:return w.createElement(Ob,{data:e,name:t,isCollapsed:o,keyPath:n,deep:r,handleRemove:l,onUpdate:d,onDeltaUpdate:c,readOnly:p,dataType:$,getStyle:h,addButtonElement:y,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:I,plusMenuElement:_,beforeRemoveAction:x,beforeAddAction:S,beforeUpdateAction:R,logger:A,onSubmitValueParser:T});case ene:return w.createElement(Io,{name:t,value:`"${e}"`,originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case tne:return w.createElement(Io,{name:t,value:e,originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case nne:return w.createElement(Io,{name:t,value:e?"true":"false",originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case rne:return w.createElement(Io,{name:t,value:e.toISOString(),originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:L,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case one:return w.createElement(Io,{name:t,value:"null",originalValue:"null",keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case ane:return w.createElement(Io,{name:t,value:"undefined",originalValue:"undefined",keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});case lne:return w.createElement(Tb,{name:t,value:e.toString(),originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:p,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,textareaElementGenerator:b,minusMenuElement:I,logger:A,onSubmitValueParser:T});case ine:return w.createElement(Io,{name:t,value:e.toString(),originalValue:e,keyPath:n,deep:r,handleRemove:l,handleUpdateValue:s,readOnly:L,dataType:$,getStyle:h,cancelButtonElement:v,editButtonElement:g,inputElementGenerator:E,minusMenuElement:I,logger:A,onSubmitValueParser:T});default:return null}}};J0.defaultProps={keyPath:[],deep:0};var Dp=class extends u.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:n,keyPath:r}=this.state;n[e]=t,this.setState({data:n});let{onUpdate:o}=this.props,l=r.length;o(r[l-1],n)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:n,keyPath:r,nextDeep:o}=this.state,{beforeAddAction:l,logger:s}=this.props;l(e,r,o,t).then(()=>{n[e]=t,this.setState({data:n}),this.handleAddValueCancel();let{onUpdate:d,onDeltaUpdate:c}=this.props;d(r[r.length-1],n),c({type:Rb,keyPath:r,deep:o,key:e,newValue:t})}).catch(s.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:n}=this.props,{data:r,keyPath:o,nextDeep:l}=this.state,s=r[e];t(e,o,l,s).then(()=>{let d={keyPath:o,deep:l,key:e,oldValue:s,type:Ab};delete r[e],this.setState({data:r});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(o[o.length-1],r),p(d)}).catch(n.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((n,r)=>{let{beforeUpdateAction:o}=this.props,{data:l,keyPath:s,nextDeep:d}=this.state,c=l[e];o(e,s,d,c,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:p,onDeltaUpdate:h}=this.props;p(s[s.length-1],l),h({type:Ib,keyPath:s,deep:d,key:e,newValue:t,oldValue:c}),n()}).catch(r)})}renderCollapsed(){let{name:e,keyPath:t,deep:n,data:r}=this.state,{handleRemove:o,readOnly:l,dataType:s,getStyle:d,minusMenuElement:c}=this.props,{minus:p,collapsed:h}=d(e,r,t,n,s),y=Object.getOwnPropertyNames(r),v=l(e,r,t,n,s),g=u.cloneElement(c,{onClick:o,className:"rejt-minus-menu",style:p});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:h,onClick:this.handleCollapseMode},"{...}"," ",y.length," ",y.length===1?"key":"keys"),!v&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:n,deep:r,nextDeep:o,addFormVisible:l}=this.state,{isCollapsed:s,handleRemove:d,onDeltaUpdate:c,readOnly:p,getStyle:h,dataType:y,addButtonElement:v,cancelButtonElement:g,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:I,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:S,beforeAddAction:R,beforeUpdateAction:A,logger:T,onSubmitValueParser:L}=this.props,{minus:$,plus:B,addForm:F,ul:j,delimiter:Y}=h(e,t,n,r,y),X=Object.getOwnPropertyNames(t),ue=p(e,t,n,r,y),J=u.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:B}),re=u.cloneElement(_,{onClick:d,className:"rejt-minus-menu",style:$}),ae=X.map(G=>w.createElement(J0,{key:G,name:G,data:t[G],keyPath:n,deep:o,isCollapsed:s,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:p,getStyle:h,addButtonElement:v,cancelButtonElement:g,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:I,minusMenuElement:_,plusMenuElement:x,beforeRemoveAction:S,beforeAddAction:R,beforeUpdateAction:A,logger:T,onSubmitValueParser:L}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Y},"{"),!ue&&J,w.createElement("ul",{className:"rejt-not-collapsed-list",style:j},ae),!ue&&l&&w.createElement("div",{className:"rejt-add-form",style:F},w.createElement(rg,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:v,cancelButtonElement:g,inputElementGenerator:b,keyPath:n,deep:r,onSubmitValueParser:L})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Y},"}"),!ue&&re)}render(){let{name:e,collapsed:t,data:n,keyPath:r,deep:o}=this.state,{getStyle:l,dataType:s}=this.props,d=t?this.renderCollapsed():this.renderNotCollapsed(),c=l(e,n,r,o,s);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),d)}};Dp.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Io=class extends u.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:n,value:r,keyPath:o,deep:l}=this.state,{readOnly:s,dataType:d}=this.props,c=s(n,r,o,l,d);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:n,onSubmitValueParser:r,keyPath:o}=this.props,{inputRef:l,name:s,deep:d}=this.state;if(!l)return;let c=r(!0,o,d,s,l.value);e({value:c,key:s}).then(()=>{kb(t,c)||this.handleCancelEdit()}).catch(n.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:n,keyPath:r,deep:o}=this.state,{handleRemove:l,originalValue:s,readOnly:d,dataType:c,getStyle:p,editButtonElement:h,cancelButtonElement:y,inputElementGenerator:v,minusMenuElement:g,keyPath:E}=this.props,b=p(e,s,r,o,c),I=d(e,s,r,o,c),_=n&&!I,x=v(ng,E,o,e,s,c),S=u.cloneElement(h,{onClick:this.handleEdit}),R=u.cloneElement(y,{onClick:this.handleCancelEdit}),A=u.cloneElement(x,{ref:this.refInput,defaultValue:JSON.stringify(s)}),T=u.cloneElement(g,{onClick:l,className:"rejt-minus-menu",style:b.minus});return w.createElement("li",{className:"rejt-value-node",style:b.li},w.createElement("span",{className:"rejt-name",style:b.name},e," : "),_?w.createElement("span",{className:"rejt-edit-form",style:b.editForm},A," ",R,S):w.createElement("span",{className:"rejt-value",style:b.value,onClick:I?null:this.handleEditMode},String(t)),!I&&!_&&T)}};Io.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var sne={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},une={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},cne={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function dne(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Lb=class extends u.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:n,onDeltaUpdate:r,readOnly:o,getStyle:l,addButtonElement:s,cancelButtonElement:d,editButtonElement:c,inputElement:p,textareaElement:h,minusMenuElement:y,plusMenuElement:v,beforeRemoveAction:g,beforeAddAction:E,beforeUpdateAction:b,logger:I,onSubmitValueParser:_,fallback:x=null}=this.props,S=Aa(e),R=o;Aa(o)==="Boolean"&&(R=()=>o);let A=p;p&&Aa(p)!=="Function"&&(A=()=>p);let T=h;return h&&Aa(h)!=="Function"&&(T=()=>h),S==="Object"||S==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(J0,{data:e,name:t,deep:-1,isCollapsed:n,onUpdate:this.onUpdate,onDeltaUpdate:r,readOnly:R,getStyle:l,addButtonElement:s,cancelButtonElement:d,editButtonElement:c,inputElementGenerator:A,textareaElementGenerator:T,minusMenuElement:y,plusMenuElement:v,handleRemove:this.removeRoot,beforeRemoveAction:g,beforeAddAction:E,beforeUpdateAction:b,logger:I,onSubmitValueParser:_})):x}};Lb.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,n,r,o)=>{switch(o){case"Object":case"Error":return sne;case"Array":return une;default:return cne}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,n,r,o)=>dne(o),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:fne}=Yn,pne=z.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),vf=z.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),hne=z(P6)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),gne=z(z6)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),By=z.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),mne=z(Ma)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),vne=z(Da.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),yne={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},wne=e=>{e.currentTarget.dispatchEvent(new fne.KeyboardEvent("keydown",yne))},bne=e=>{e.currentTarget.select()},xne=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Fy=({name:e,value:t,onChange:n})=>{let r=Fw(),o=u.useMemo(()=>t&&hQ(t),[t]),l=o!=null,[s,d]=u.useState(!l),[c,p]=u.useState(null),h=u.useCallback(_=>{try{_&&n(JSON.parse(_)),p(void 0)}catch(x){p(x)}},[n]),[y,v]=u.useState(!1),g=u.useCallback(()=>{n({}),v(!0)},[v]),E=u.useRef(null);if(u.useEffect(()=>{y&&E.current&&E.current.select()},[y]),!l)return w.createElement(ta,{id:$0(e),onClick:g},"Set object");let b=w.createElement(vne,{ref:E,id:br(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:_=>h(_.target.value),placeholder:"Edit JSON string...",autoFocus:y,valid:c?"error":null}),I=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(pne,null,I&&w.createElement(mne,{onClick:_=>{_.preventDefault(),d(x=>!x)}},s?w.createElement(L6,null):w.createElement(T6,null),w.createElement("span",null,"RAW")),s?b:w.createElement(Lb,{readOnly:!I,isCollapsed:I?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:n,getStyle:xne(r),cancelButtonElement:w.createElement(vf,{type:"button"},"Cancel"),editButtonElement:w.createElement(vf,{type:"submit"},"Save"),addButtonElement:w.createElement(vf,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(hne,null),minusMenuElement:w.createElement(gne,null),inputElement:(_,x,S,R)=>R?w.createElement(By,{onFocus:bne,onBlur:wne}):w.createElement(By,null),fallback:b}))},Ene=z.input(({theme:e,min:t,max:n,value:r})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Or(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Or(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Rr(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Or(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Or(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Or(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Rr(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${Rr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} ${(r-t)/(n-t)*100}%, + ${xa(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Or(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),$b=z.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),Sne=z($b)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),_ne=z.div({display:"flex",alignItems:"center",width:"100%"});function Cne(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var Rne=({name:e,value:t,onChange:n,min:r=0,max:o=100,step:l=1,onBlur:s,onFocus:d})=>{let c=y=>{n(Bte(y.target.value))},p=t!==void 0,h=u.useMemo(()=>Cne(l),[l]);return w.createElement(_ne,null,w.createElement($b,null,r),w.createElement(Ene,{id:br(e),type:"range",onChange:c,name:e,value:t,min:r,max:o,step:l,onFocus:d,onBlur:s}),w.createElement(Sne,{numberOFDecimalsPlaces:h,max:o},p?t.toFixed(h):"--"," / ",o))},Ane=z.label({display:"flex"}),Ine=z.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),kne=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,maxLength:l})=>{let s=y=>{n(y.target.value)},[d,c]=u.useState(!1),p=u.useCallback(()=>{n(""),c(!0)},[c]);if(t===void 0)return w.createElement(ta,{variant:"outline",size:"medium",id:$0(e),onClick:p},"Set string");let h=typeof t=="string";return w.createElement(Ane,null,w.createElement(Da.Textarea,{id:br(e),maxLength:l,onChange:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:r,onBlur:o}),l&&w.createElement(Ine,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},One=z(Da.Input)({padding:10});function Tne(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Lne=({onChange:e,name:t,accept:n="image/*",value:r})=>{let o=u.useRef(null);function l(s){if(!s.target.files)return;let d=Array.from(s.target.files).map(c=>URL.createObjectURL(c));e(d),Tne(r)}return u.useEffect(()=>{r==null&&o.current&&(o.current.value=null)},[r,t]),w.createElement(One,{ref:o,id:br(t),type:"file",name:t,multiple:!0,onChange:l,accept:n,size:"flex"})},$ne=u.lazy(()=>Vo(()=>import("./Color-RQJUDNI5-bADx7n9g.js"),__vite__mapDeps([7,2,3,1,4]),import.meta.url)),Mne=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement($ne,{...e})),Pne={array:Fy,object:Fy,boolean:kte,color:Mne,date:Pte,number:Fte,check:dl,"inline-check":dl,radio:dl,"inline-radio":dl,select:dl,"multi-select":dl,range:Rne,text:kne,file:Lne},Ny=()=>w.createElement(w.Fragment,null,"-"),zne=({row:e,arg:t,updateArgs:n,isHovered:r})=>{var b;let{key:o,control:l}=e,[s,d]=u.useState(!1),[c,p]=u.useState({value:t});u.useEffect(()=>{s||p({value:t})},[s,t]);let h=u.useCallback(I=>(p({value:I}),n({[o]:I}),I),[n,o]),y=u.useCallback(()=>d(!1),[]),v=u.useCallback(()=>d(!0),[]);if(!l||l.disabled){let I=(l==null?void 0:l.disabled)!==!0&&((b=e==null?void 0:e.type)==null?void 0:b.name)!=="function";return r&&I?w.createElement(La,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(Ny,null)}let g={name:o,argType:e,value:c.value,onChange:h,onBlur:y,onFocus:v},E=Pne[l.type]||Ny;return w.createElement(E,{...g,...l,controlType:l.type})},Bne=z.span({fontWeight:"bold"}),Fne=z.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),Nne=z.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...po({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Hne=z.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Ve(.1,e.color.defaultText):Ve(.2,e.color.defaultText),marginTop:t?4:0})),Dne=z.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Ve(.1,e.color.defaultText):Ve(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),jne=z.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Une=e=>e&&{summary:typeof e=="string"?e:e.name},sc=e=>{var b;let[t,n]=u.useState(!1),{row:r,updateArgs:o,compact:l,expandable:s,initialExpandedArgs:d}=e,{name:c,description:p}=r,h=r.table||{},y=h.type||Une(r.type),v=h.defaultValue||r.defaultValue,g=(b=r.type)==null?void 0:b.required,E=p!=null&&p!=="";return w.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},w.createElement(jne,{expandable:s},w.createElement(Bne,null,c),g?w.createElement(Fne,{title:"Required"},"*"):null),l?null:w.createElement("td",null,E&&w.createElement(Nne,null,w.createElement(nb,null,p)),h.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(Dne,{hasDescription:E},w.createElement(mf,{value:y,initialExpandedArgs:d})),w.createElement(mte,{tags:h.jsDocTags})):w.createElement(Hne,{hasDescription:E},w.createElement(mf,{value:y,initialExpandedArgs:d}))),l?null:w.createElement("td",null,w.createElement(mf,{value:v,initialExpandedArgs:d})),o?w.createElement("td",null,w.createElement(zne,{...e,isHovered:t})):null)},Wne=z(N6)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Ve(.25,e.color.defaultText):Ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),Vne=z(C5)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Ve(.25,e.color.defaultText):Ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),Gne=z.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),qne=z.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Ve(.4,e.color.defaultText):Ve(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Kne=z.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Yne=z.td(()=>({position:"relative"})),Xne=z.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${xa(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Hy=z.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),yf=({level:e="section",label:t,children:n,initialExpanded:r=!0,colSpan:o=3})=>{let[l,s]=u.useState(r),d=e==="subsection"?Kne:qne,c=(n==null?void 0:n.length)||0,p=e==="subsection"?`${c} item${c!==1?"s":""}`:"",h=`${l?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(Xne,{title:h},w.createElement(d,{colSpan:1},w.createElement(Hy,{onClick:y=>s(!l),tabIndex:0},h),w.createElement(Gne,null,l?w.createElement(Wne,null):w.createElement(Vne,null),t)),w.createElement(Yne,{colSpan:o-1},w.createElement(Hy,{onClick:y=>s(!l),tabIndex:-1,style:{outline:"none"}},h),l?null:p)),l?n:null)},uc=z.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ht=z.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),wt=z.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),Dt=[2,4,2,2],Zne=()=>w.createElement(w.Fragment,null,w.createElement(uc,null,w.createElement(Ht,{numColumn:Dt[0]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[1]},w.createElement(wt,{width:"30%"})),w.createElement(Ht,{numColumn:Dt[2]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[3]},w.createElement(wt,{width:"60%"}))),w.createElement(uc,null,w.createElement(Ht,{numColumn:Dt[0]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[1]},w.createElement(wt,{width:"80%"}),w.createElement(wt,{width:"30%"})),w.createElement(Ht,{numColumn:Dt[2]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[3]},w.createElement(wt,{width:"60%"}))),w.createElement(uc,null,w.createElement(Ht,{numColumn:Dt[0]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[1]},w.createElement(wt,{width:"80%"}),w.createElement(wt,{width:"30%"})),w.createElement(Ht,{numColumn:Dt[2]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[3]},w.createElement(wt,{width:"60%"}))),w.createElement(uc,null,w.createElement(Ht,{numColumn:Dt[0]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[1]},w.createElement(wt,{width:"80%"}),w.createElement(wt,{width:"30%"})),w.createElement(Ht,{numColumn:Dt[2]},w.createElement(wt,{width:"60%"})),w.createElement(Ht,{numColumn:Dt[3]},w.createElement(wt,{width:"60%"})))),Qne=z.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),Jne=z.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),ere=z.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),tre=z.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),nre=z.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),rre=z.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),ore=({inAddonPanel:e})=>{let[t,n]=u.useState(!0);return u.useEffect(()=>{let r=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(r)},[]),t?null:w.createElement(Qne,{inAddonPanel:e},w.createElement(Jne,null,w.createElement(ere,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),w.createElement(tre,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),w.createElement(nre,null,e&&w.createElement(w.Fragment,null,w.createElement(La,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(M6,null)," Watch 5m video"),w.createElement(rre,null),w.createElement(La,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(_5,null)," Read docs")),!e&&w.createElement(La,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(B6,null)," Learn how to set that up")))},are=z.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Ve(.25,e.color.defaultText):Ve(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),lre=z(Ma)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),ire=z.span({display:"flex",justifyContent:"space-between"}),sre={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var n,r;return+!!((n=t.type)!=null&&n.required)-+!!((r=e.type)!=null&&r.required)||e.name.localeCompare(t.name)},none:void 0},ure=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([l,s])=>{let{category:d,subcategory:c}=(s==null?void 0:s.table)||{};if(d){let p=n.sections[d]||{ungrouped:[],subsections:{}};if(!c)p.ungrouped.push({key:l,...s});else{let h=p.subsections[c]||[];h.push({key:l,...s}),p.subsections[c]=h}n.sections[d]=p}else if(c){let p=n.ungroupedSubsections[c]||[];p.push({key:l,...s}),n.ungroupedSubsections[c]=p}else n.ungrouped.push({key:l,...s})});let r=sre[t],o=l=>r?Object.keys(l).reduce((s,d)=>({...s,[d]:l[d].sort(r)}),{}):l;return{ungrouped:n.ungrouped.sort(r),ungroupedSubsections:o(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((l,s)=>({...l,[s]:{ungrouped:n.sections[s].ungrouped.sort(r),subsections:o(n.sections[s].subsections)}}),{})}},cre=(e,t,n)=>{try{return Wq(e,t,n)}catch(r){return Nee.warn(r.message),!1}},jp=e=>{let{updateArgs:t,resetArgs:n,compact:r,inAddonPanel:o,initialExpandedArgs:l,sort:s="none",isLoading:d}=e;if("error"in e){let{error:x}=e;return w.createElement(vb,null,x," ",w.createElement(La,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(_5,null)," Read the docs"))}if(d)return w.createElement(Zne,null);let{rows:c,args:p,globals:h}="rows"in e&&e,y=ure($q(c,x=>{var S;return!((S=x==null?void 0:x.table)!=null&&S.disable)&&cre(x,p||{},h||{})}),s),v=y.ungrouped.length===0,g=Object.entries(y.sections).length===0,E=Object.entries(y.ungroupedSubsections).length===0;if(v&&g&&E)return w.createElement(ore,{inAddonPanel:o});let b=1;t&&(b+=1),r||(b+=2);let I=Object.keys(y.sections).length>0,_={updateArgs:t,compact:r,inAddonPanel:o,initialExpandedArgs:l};return w.createElement(M5,null,w.createElement(are,{compact:r,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},w.createElement("thead",{className:"docblock-argstable-head"},w.createElement("tr",null,w.createElement("th",null,w.createElement("span",null,"Name")),r?null:w.createElement("th",null,w.createElement("span",null,"Description")),r?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(ire,null,"Control"," ",!d&&n&&w.createElement(lre,{onClick:()=>n(),title:"Reset controls"},w.createElement(D6,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},y.ungrouped.map(x=>w.createElement(sc,{key:x.key,row:x,arg:p&&p[x.key],..._})),Object.entries(y.ungroupedSubsections).map(([x,S])=>w.createElement(yf,{key:x,label:x,level:"subsection",colSpan:b},S.map(R=>w.createElement(sc,{key:R.key,row:R,arg:p&&p[R.key],expandable:I,..._})))),Object.entries(y.sections).map(([x,S])=>w.createElement(yf,{key:x,label:x,level:"section",colSpan:b},S.ungrouped.map(R=>w.createElement(sc,{key:R.key,row:R,arg:p&&p[R.key],..._})),Object.entries(S.subsections).map(([R,A])=>w.createElement(yf,{key:R,label:R,level:"subsection",colSpan:b},A.map(T=>w.createElement(sc,{key:T.key,row:T,arg:p&&p[T.key],expandable:I,..._})))))))))},dre=({tabs:e,...t})=>{let n=Object.entries(e);return n.length===1?w.createElement(jp,{...n[0][1],...t}):w.createElement(j5,null,n.map((r,o)=>{let[l,s]=r,d=`prop_table_div_${l}`,c="div",p=o===0?t:{sort:t.sort};return w.createElement(c,{key:d,id:d,title:l},({active:h})=>h?w.createElement(jp,{key:`prop_table_${l}`,...s,...p}):null)}))};z.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Ve(.4,e.color.defaultText):Ve(.6,e.color.defaultText)}));z.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});z.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});z.div(nt,({theme:e})=>({...Q0(e),margin:"25px 0 40px",padding:"30px 20px"}));z.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));z.div(({theme:e})=>({color:e.base==="light"?Ve(.2,e.color.defaultText):Ve(.6,e.color.defaultText)}));z.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});z.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Ve(.4,e.color.defaultText):Ve(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));z.div({display:"flex",flexDirection:"row"});z.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));z.div(({theme:e})=>({...Q0(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));z.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});z.div({flex:1,display:"flex",flexDirection:"row"});z.div({display:"flex",alignItems:"flex-start"});z.div({flex:"0 0 30%"});z.div({flex:1});z.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Ve(.4,e.color.defaultText):Ve(.6,e.color.defaultText)}));z.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));z.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));z.div(({theme:e})=>({...Q0(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));z.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});z.div({display:"flex",flexFlow:"row wrap"});var fre=e=>`anchor--${e}`,pre=({storyId:e,children:t})=>w.createElement("div",{id:fre(e),className:"sb-anchor"},t);Yn&&Yn.__DOCS_CONTEXT__===void 0&&(Yn.__DOCS_CONTEXT__=u.createContext(null),Yn.__DOCS_CONTEXT__.displayName="DocsContext");var or=Yn?Yn.__DOCS_CONTEXT__:u.createContext(null),Vs=(e,t)=>u.useContext(or).resolveOf(e,t),hre=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),gre=e=>{if(e)return typeof e=="string"?e.includes("-")?hre(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function mre(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function Mb(e){return $ee(e,{allowFunction:!1})}var Pb=u.createContext({sources:{}}),zb="--unknown--",vre=({children:e,channel:t})=>{let[n,r]=u.useState({});return u.useEffect(()=>{let o=(l,s=null,d=!1)=>{let{id:c,args:p=void 0,source:h,format:y}=typeof l=="string"?{id:l,source:s,format:d}:l,v=p?Mb(p):zb;r(g=>({...g,[c]:{...g[c],[v]:{code:h,format:y}}}))};return t.on(Lv,o),()=>t.off(Lv,o)},[]),w.createElement(Pb.Provider,{value:{sources:n}},e)},yre=(e,t,n)=>{let{sources:r}=n,o=r==null?void 0:r[e];return(o==null?void 0:o[Mb(t)])||(o==null?void 0:o[zb])||{code:""}},wre=({snippet:e,storyContext:t,typeFromProps:n,transformFromProps:r})=>{var c,p;let{__isArgsStory:o}=t.parameters,l=((c=t.parameters.docs)==null?void 0:c.source)||{},s=n||l.type||pd.AUTO;if(l.code!==void 0)return l.code;let d=s===pd.DYNAMIC||s===pd.AUTO&&e&&o?e:l.originalSource||"";return((p=r??l.transform)==null?void 0:p(d,t))||d},bre=(e,t,n)=>{var g,E,b,I;let r,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)r=t.resolveOf(o,["story"]).story;else try{r=t.storyById()}catch{}let l=((E=(g=r==null?void 0:r.parameters)==null?void 0:g.docs)==null?void 0:E.source)||{},{code:s}=e,d=e.format??l.format,c=e.language??l.language??"jsx",p=e.dark??l.dark??!1;if(!s&&!r)return{error:"Oh no! The source is not available."};if(s)return{code:s,format:d,language:c,dark:p};let h=t.getStoryContext(r),y=e.__forceInitialArgs?h.initialArgs:h.unmappedArgs,v=yre(r.id,y,n);return d=v.format??((I=(b=r.parameters.docs)==null?void 0:b.source)==null?void 0:I.format)??!1,{code:wre({snippet:v.code,storyContext:{...h,args:y},typeFromProps:e.type,transformFromProps:e.transform}),format:d,language:c,dark:p}};function xre(e,t){let n=Ere([e],t);return n&&n[0]}function Ere(e,t){let[n,r]=u.useState({});return u.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);r(s=>s[o]===l?s:{...s,[o]:l})}))}),e.map(o=>{if(n[o])return n[o];try{return t.storyById(o)}catch{return null}})}var Sre=(e,t)=>{let{of:n,meta:r}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return r&&t.referenceMeta(r,!1),t.resolveOf(n||"story",["story"]).story.id},_re=(e,t,n)=>{let{parameters:r={}}=t||{},{docs:o={}}=r,l=o.story||{};if(o.disable)return null;if(e.inline??l.inline??!1){let d=e.height??l.height,c=e.autoplay??l.autoplay??!1;return{story:t,inline:!0,height:d,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:n.renderStoryToElement}}let s=e.height??l.height??l.iframeHeight??"100px";return{story:t,inline:!1,height:s,primary:!!e.__primary}},Cre=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=u.useContext(or),n=Sre(e,t),r=xre(n,t);if(!r)return w.createElement(wb,null);let o=_re(e,r,t);return o?w.createElement(ste,{...o}):null},Rre=e=>{var v,g,E,b,I,_,x,S,R,A;let t=u.useContext(or),n=u.useContext(Pb),{of:r,source:o}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:l}=Vs(r||"story",["story"]),s=bre({...o,...r&&{of:r}},t,n),d=e.layout??l.parameters.layout??((g=(v=l.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.layout)??"padded",c=e.withToolbar??((b=(E=l.parameters.docs)==null?void 0:E.canvas)==null?void 0:b.withToolbar)??!1,p=e.additionalActions??((_=(I=l.parameters.docs)==null?void 0:I.canvas)==null?void 0:_.additionalActions),h=e.sourceState??((S=(x=l.parameters.docs)==null?void 0:x.canvas)==null?void 0:S.sourceState)??"hidden",y=e.className??((A=(R=l.parameters.docs)==null?void 0:R.canvas)==null?void 0:A.className);return w.createElement(bb,{withSource:h==="none"?void 0:s,isExpanded:h==="shown",withToolbar:c,additionalActions:p,className:y,layout:d},w.createElement(Cre,{of:r||l.moduleExport,meta:e.meta,...e.story}))},Are=(e,t)=>{let n=t.getStoryContext(e),[r,o]=u.useState(n.globals);return u.useEffect(()=>{let l=s=>{o(s.globals)};return t.channel.on(Iy,l),()=>t.channel.off(Iy,l)},[t.channel]),[r]},Ire=(e,t)=>{let n=kre(e,t);if(!n)throw new Error("No result when story was defined");return n},kre=(e,t)=>{let n=e?t.getStoryContext(e):{args:{}},{id:r}=e||{id:"none"},[o,l]=u.useState(n.args);u.useEffect(()=>{let c=p=>{p.storyId===r&&l(p.args)};return t.channel.on(ky,c),()=>t.channel.off(ky,c)},[r,t.channel]);let s=u.useCallback(c=>t.channel.emit(Hee,{storyId:r,updatedArgs:c}),[r,t.channel]),d=u.useCallback(c=>t.channel.emit(Dee,{storyId:r,argNames:c}),[r,t.channel]);return e&&[o,s,d]};function Ore(e,t){let{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}var Tre=e=>{var R;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=u.useContext(or),{story:r}=n.resolveOf(t||"story",["story"]),{parameters:o,argTypes:l,component:s,subcomponents:d}=r,c=((R=o.docs)==null?void 0:R.controls)||{},p=e.include??c.include,h=e.exclude??c.exclude,y=e.sort??c.sort,[v,g,E]=Ire(r,n),[b]=Are(r,n),I=Ay(l,p,h);if(!(d&&Object.keys(d).length>0))return Object.keys(I).length>0||Object.keys(v).length>0?w.createElement(jp,{rows:I,sort:y,args:v,globals:b,updateArgs:g,resetArgs:E}):null;let _=gre(s),x=gQ.mapValues(d,A=>({rows:Ay(Ore(A,o),p,h),sort:y})),S={[_]:{rows:I,sort:y},...x};return w.createElement(dre,{tabs:S,sort:y,args:v,globals:b,updateArgs:g,resetArgs:E})},{document:Bb}=Yn,Fb=({className:e,children:t,...n})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(T5,null,t);let r=e&&e.split("-");return w.createElement(eg,{language:r&&r[1]||"text",format:!1,code:t,...n})};function og(e,t){e.channel.emit(jee,t)}var Up=A8.a,Lre=({hash:e,children:t})=>{let n=u.useContext(or);return w.createElement(Up,{href:e,target:"_self",onClick:r=>{let o=e.substring(1);Bb.getElementById(o)&&og(n,e)}},t)},Nb=e=>{let{href:t,target:n,children:r,...o}=e,l=u.useContext(or);if(t){if(t.startsWith("#"))return w.createElement(Lre,{hash:t},r);if(n!=="_blank"&&!t.startsWith("https://"))return w.createElement(Up,{href:t,onClick:s=>{s.button===0&&!s.altKey&&!s.ctrlKey&&!s.metaKey&&!s.shiftKey&&(s.preventDefault(),og(l,s.currentTarget.getAttribute("href")))},target:n,...o},r)}return w.createElement(Up,{...e})},Hb=["h1","h2","h3","h4","h5","h6"],$re=Hb.reduce((e,t)=>({...e,[t]:z(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Mre=z.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Pre=({as:e,id:t,children:n,...r})=>{let o=u.useContext(or),l=$re[e],s=`#${t}`;return w.createElement(l,{id:t,...r},w.createElement(Mre,{"aria-hidden":"true",href:s,tabIndex:-1,target:"_self",onClick:d=>{Bb.getElementById(t)&&og(o,s)}},w.createElement(F6,null)),n)},ag=e=>{let{as:t,id:n,children:r,...o}=e;if(n)return w.createElement(Pre,{as:t,id:n,...o},r);let l=t,{as:s,...d}=e;return w.createElement(l,{...Ye(d,t)})},Db=Hb.reduce((e,t)=>({...e,[t]:n=>w.createElement(ag,{as:t,...n})}),{}),zre=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(kA`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return w.createElement(nb,{...e,options:{forceBlock:!0,overrides:{code:Fb,a:Nb,...Db,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Bre=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Bre||{}),Fre=e=>{var t,n,r,o,l,s,d,c;switch(e.type){case"story":return((n=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:n.story)||null;case"meta":{let{parameters:p,component:h}=e.preparedMeta;return((o=(r=p.docs)==null?void 0:r.description)==null?void 0:o.component)||((s=(l=p.docs)==null?void 0:l.extractComponentDescription)==null?void 0:s.call(l,h,{component:h,parameters:p}))||null}case"component":{let{component:p,projectAnnotations:{parameters:h}}=e;return((c=(d=h.docs)==null?void 0:d.extractComponentDescription)==null?void 0:c.call(d,p,{component:p,parameters:h}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Wp=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=Vs(t||"meta"),r=Fre(n);return r?w.createElement(zre,null,r):null},Nre=z.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Hre=z.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),Dre=z.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),jre=({title:e})=>e===null?null:typeof e=="string"?w.createElement(Dre,null,e):e,Ure=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:o,unsafeTocbotOptions:l})=>(u.useEffect(()=>{let s={tocSelector:".toc-wrapper",contentSelector:r??".sbdocs-content",headingSelector:n??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...l},d=setTimeout(()=>Ry.init(s),100);return()=>{clearTimeout(d),Ry.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(Nre,null,t?null:w.createElement(Hre,null,w.createElement(jre,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:Wre,window:Vre}=Yn,Gre=({context:e,theme:t,children:n})=>{var o,l,s,d,c;let r;try{r=(l=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:l.toc}catch{r=(c=(d=(s=e==null?void 0:e.projectAnnotations)==null?void 0:s.parameters)==null?void 0:d.docs)==null?void 0:c.toc}return u.useEffect(()=>{let p;try{if(p=new URL(Vre.parent.location.toString()),p.hash){let h=Wre.getElementById(p.hash.substring(1));h&&setTimeout(()=>{mre(h)},200)}}catch{}}),w.createElement(or.Provider,{value:e},w.createElement(vre,{channel:e.channel},w.createElement(Nw,{theme:dP(t)},w.createElement(Zee,{toc:r?w.createElement(Ure,{className:"sbdocs sbdocs-toc--custom",...r}):null},n))))},qre=/\s*\/\s*/,Kre=e=>{let t=e.trim().split(qre);return t&&t[t.length-1]||e},Yre=({children:e})=>{let t=u.useContext(or),n=e||Kre(t.storyById().title);return n?w.createElement(qee,{className:"sbdocs-title sb-unstyled"},n):null},Xre=({children:e})=>{var r;let t=u.useContext(or),n=e||((r=t.storyById().parameters)==null?void 0:r.componentSubtitle);return n?w.createElement(Kee,{className:"sbdocs-subtitle sb-unstyled"},n):null},Zre=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement($5,null,e);let n=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(ag,{as:"h3",id:n},e)},jb=({of:e,expanded:t=!0,withToolbar:n=!1,__forceInitialArgs:r=!1,__primary:o=!1})=>{var d,c;let{story:l}=Vs(e||"story",["story"]),s=((c=(d=l.parameters.docs)==null?void 0:d.canvas)==null?void 0:c.withToolbar)??n;return w.createElement(pre,{storyId:l.id},t&&w.createElement(w.Fragment,null,w.createElement(Zre,null,l.name),w.createElement(Wp,{of:e})),w.createElement(Rre,{of:e,withToolbar:s,story:{__forceInitialArgs:r,__primary:o},source:{__forceInitialArgs:r}}))},Qre=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:n}=Vs(t||"meta",["meta"]),r=u.useContext(or).componentStoriesFromCSFFile(n)[0];return r?w.createElement(jb,{of:r.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Jre=({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return w.createElement(L5,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(ag,{as:"h2",id:r,...n},e)},eoe=z(Jre)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),toe=({title:e="Stories",includePrimary:t=!0})=>{var d;let{componentStories:n,projectAnnotations:r,getStoryContext:o}=u.useContext(or),l=n(),{stories:{filter:s}={filter:void 0}}=((d=r.parameters)==null?void 0:d.docs)||{};return s&&(l=l.filter(c=>s(c,o(c)))),t||(l=l.slice(1)),!l||l.length===0?null:w.createElement(w.Fragment,null,w.createElement(eoe,null,e),l.map(c=>c&&w.createElement(jb,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},noe=()=>{let e=Vs("meta",["meta"]),{stories:t}=e.csfFile,n=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(Yre,null),w.createElement(Xre,null),w.createElement(Wp,{of:"meta"}),n?w.createElement(Wp,{of:"story"}):null,w.createElement(Qre,null),w.createElement(Tre,null),n?null:w.createElement(toe,null))};function roe({context:e,docsParameter:t}){let n=t.container||Gre,r=t.page||noe;return w.createElement(n,{context:e,theme:t.theme},w.createElement(r,null))}var Ub={code:Fb,a:Nb,...Db},ooe=class extends u.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:w.createElement(w.Fragment,null,t)}},aoe=class{constructor(){this.render=async(e,t,n)=>{let r={...Ub,...t==null?void 0:t.components},o=roe;return new Promise((l,s)=>{Vo(()=>import("./index-ex5HHbk8.js"),__vite__mapDeps([8,1,2,3,4]),import.meta.url).then(({MDXProvider:d})=>FL(w.createElement(ooe,{showException:s,key:Math.random()},w.createElement(d,{components:r},w.createElement(o,{context:e,docsParameter:t}))),n)).then(()=>l())})},this.unmount=e=>{NL(e)}}};const goe=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:aoe,defaultComponents:Ub},Symbol.toStringTag,{value:"Module"}));export{goe as D,Da as F,XN as M,w as R,g5 as S,sV as T,lN as W,TB as a,A6 as b,h6 as c,eV as d,br as g,Wa as m,z as n,u as r,doe as s}; diff --git a/storybook/assets/WithTooltip-Y7J54OF7-Bt4c9YHV.js b/storybook/assets/WithTooltip-Y7J54OF7-Bt4c9YHV.js new file mode 100644 index 000000000..3979443f9 --- /dev/null +++ b/storybook/assets/WithTooltip-Y7J54OF7-Bt4c9YHV.js @@ -0,0 +1 @@ +import{W as a,W as T,b as e}from"./DocsRenderer-K4EAMTCU-BzGl8_nh.js";import"./iframe-CPFix1n-.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DiFAUXR8.js";import"./index-DrFu-skq.js";export{a as WithToolTipState,T as WithTooltip,e as WithTooltipPure}; diff --git a/storybook/assets/_commonjsHelpers-BosuxZz1.js b/storybook/assets/_commonjsHelpers-BosuxZz1.js new file mode 100644 index 000000000..ad4f15758 --- /dev/null +++ b/storybook/assets/_commonjsHelpers-BosuxZz1.js @@ -0,0 +1 @@ +var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}export{l as a,u as c,f as g}; diff --git a/storybook/assets/add-edge-CCsz5v3R.js b/storybook/assets/add-edge-CCsz5v3R.js new file mode 100644 index 000000000..e3559c656 --- /dev/null +++ b/storybook/assets/add-edge-CCsz5v3R.js @@ -0,0 +1 @@ +var f={};f.addEdge=function(n,E,d,i,l,e){return E?d==null?n.addUndirectedEdge(i,l,e):n.addUndirectedEdgeWithKey(d,i,l,e):d==null?n.addDirectedEdge(i,l,e):n.addDirectedEdgeWithKey(d,i,l,e)};f.copyEdge=function(n,E,d,i,l,e){return e=Object.assign({},e),E?d==null?n.addUndirectedEdge(i,l,e):n.addUndirectedEdgeWithKey(d,i,l,e):d==null?n.addDirectedEdge(i,l,e):n.addDirectedEdgeWithKey(d,i,l,e)};f.mergeEdge=function(n,E,d,i,l,e){return E?d==null?n.mergeUndirectedEdge(i,l,e):n.mergeUndirectedEdgeWithKey(d,i,l,e):d==null?n.mergeDirectedEdge(i,l,e):n.mergeDirectedEdgeWithKey(d,i,l,e)};f.updateEdge=function(n,E,d,i,l,e){return E?d==null?n.updateUndirectedEdge(i,l,e):n.updateUndirectedEdgeWithKey(d,i,l,e):d==null?n.updateDirectedEdge(i,l,e):n.updateDirectedEdgeWithKey(d,i,l,e)};export{f as a}; diff --git a/storybook/assets/chroma-CKzHTTCE.js b/storybook/assets/chroma-CKzHTTCE.js new file mode 100644 index 000000000..d8acc1c49 --- /dev/null +++ b/storybook/assets/chroma-CKzHTTCE.js @@ -0,0 +1,56 @@ +import{c as wv,g as kv}from"./_commonjsHelpers-BosuxZz1.js";var Oe={exports:{}};/** + * chroma.js - JavaScript library for color conversions + * + * Copyright (c) 2011-2019, Gregor Aisch + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. The name Gregor Aisch may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ------------------------------------------------------- + * + * chroma.js includes colors from colorbrewer2.org, which are released under + * the following license: + * + * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, + * and The Pennsylvania State University. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + * ------------------------------------------------------ + * + * Named colors are taken from X11 Color Names. + * http://www.w3.org/TR/css3-color/#svg-color + * + * @preserve + */(function(De,_v){(function(xr,gr){De.exports=gr()})(wv,function(){for(var xr=function(r,a,e){return a===void 0&&(a=0),e===void 0&&(e=1),re?e:r},gr=xr,Se=function(r){r._clipped=!1,r._unclipped=r.slice(0);for(var a=0;a<=3;a++)a<3?((r[a]<0||r[a]>255)&&(r._clipped=!0),r[a]=gr(r[a],0,255)):a===3&&(r[a]=gr(r[a],0,1));return r},na={},Cr=0,ta=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];Cr=3?Array.prototype.slice.call(r):Be(r[0])=="object"&&a?a.split("").filter(function(e){return r[0][e]!==void 0}).map(function(e){return r[0][e]}):r[0]},He=hr,Xe=function(r){if(r.length<2)return null;var a=r.length-1;return He(r[a])=="string"?r[a].toLowerCase():null},or=Math.PI,g={clip_rgb:Se,limit:xr,type:hr,unpack:Ye,last:Xe,PI:or,TWOPI:or*2,PITHIRD:or/3,DEG2RAD:or/180,RAD2DEG:180/or},z={format:{},autodetect:[]},We=g.last,Ue=g.clip_rgb,va=g.type,Z=z,ua=function(){for(var a=[],e=arguments.length;e--;)a[e]=arguments[e];var n=this;if(va(a[0])==="object"&&a[0].constructor&&a[0].constructor===this.constructor)return a[0];var f=We(a),v=!1;if(!f){v=!0,Z.sorted||(Z.autodetect=Z.autodetect.sort(function(i,h){return h.p-i.p}),Z.sorted=!0);for(var t=0,u=Z.autodetect;t4?r[4]:1;return v===1?[0,0,0,t]:[e>=1?0:255*(1-e)*(1-v),n>=1?0:255*(1-n)*(1-v),f>=1?0:255*(1-f)*(1-v),t]},Ke=je,rn=L,oa=m,ia=z,an=g.unpack,en=g.type,nn=Je;oa.prototype.cmyk=function(){return nn(this._rgb)},rn.cmyk=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(oa,[null].concat(r,["cmyk"])))},ia.format.cmyk=Ke,ia.autodetect.push({p:2,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=an(r,"cmyk"),en(r)==="array"&&r.length===4)return"cmyk"}});var tn=g.unpack,fn=g.last,Nr=function(r){return Math.round(r*100)/100},vn=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=tn(r,"hsla"),n=fn(r)||"lsa";return e[0]=Nr(e[0]||0),e[1]=Nr(e[1]*100)+"%",e[2]=Nr(e[2]*100)+"%",n==="hsla"||e.length>3&&e[3]<1?(e[3]=e.length>3?e[3]:1,n="hsla"):e.length=3,n+"("+e.join(",")+")"},un=vn,ln=g.unpack,on=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=ln(r,"rgba");var e=r[0],n=r[1],f=r[2];e/=255,n/=255,f/=255;var v=Math.min(e,n,f),t=Math.max(e,n,f),u=(t+v)/2,l,o;return t===v?(l=0,o=Number.NaN):l=u<.5?(t-v)/(t+v):(t-v)/(2-t-v),e==t?o=(n-f)/(t-v):n==t?o=2+(f-e)/(t-v):f==t&&(o=4+(e-n)/(t-v)),o*=60,o<0&&(o+=360),r.length>3&&r[3]!==void 0?[o,l,u,r[3]]:[o,l,u]},ca=on,cn=g.unpack,sn=g.last,gn=un,hn=ca,Fr=Math.round,bn=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=cn(r,"rgba"),n=sn(r)||"rgb";return n.substr(0,3)=="hsl"?gn(hn(e),n):(e[0]=Fr(e[0]),e[1]=Fr(e[1]),e[2]=Fr(e[2]),(n==="rgba"||e.length>3&&e[3]<1)&&(e[3]=e.length>3?e[3]:1,n="rgba"),n+"("+e.slice(0,n==="rgb"?3:4).join(",")+")")},pn=bn,dn=g.unpack,Er=Math.round,mn=function(){for(var r,a=[],e=arguments.length;e--;)a[e]=arguments[e];a=dn(a,"hsl");var n=a[0],f=a[1],v=a[2],t,u,l;if(f===0)t=u=l=v*255;else{var o=[0,0,0],i=[0,0,0],h=v<.5?v*(1+f):v+f-v*f,c=2*v-h,p=n/360;o[0]=p+1/3,o[1]=p,o[2]=p-1/3;for(var b=0;b<3;b++)o[b]<0&&(o[b]+=1),o[b]>1&&(o[b]-=1),6*o[b]<1?i[b]=c+(h-c)*6*o[b]:2*o[b]<1?i[b]=h:3*o[b]<2?i[b]=c+(h-c)*(2/3-o[b])*6:i[b]=c;r=[Er(i[0]*255),Er(i[1]*255),Er(i[2]*255)],t=r[0],u=r[1],l=r[2]}return a.length>3?[t,u,l,a[3]]:[t,u,l,1]},sa=mn,ga=sa,ha=z,ba=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,pa=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,da=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ma=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ya=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,wa=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ka=Math.round,$a=function(r){r=r.toLowerCase().trim();var a;if(ha.format.named)try{return ha.format.named(r)}catch{}if(a=r.match(ba)){for(var e=a.slice(1,4),n=0;n<3;n++)e[n]=+e[n];return e[3]=1,e}if(a=r.match(pa)){for(var f=a.slice(1,5),v=0;v<4;v++)f[v]=+f[v];return f}if(a=r.match(da)){for(var t=a.slice(1,4),u=0;u<3;u++)t[u]=ka(t[u]*2.55);return t[3]=1,t}if(a=r.match(ma)){for(var l=a.slice(1,5),o=0;o<3;o++)l[o]=ka(l[o]*2.55);return l[3]=+l[3],l}if(a=r.match(ya)){var i=a.slice(1,4);i[1]*=.01,i[2]*=.01;var h=ga(i);return h[3]=1,h}if(a=r.match(wa)){var c=a.slice(1,4);c[1]*=.01,c[2]*=.01;var p=ga(c);return p[3]=+a[4],p}};$a.test=function(r){return ba.test(r)||pa.test(r)||da.test(r)||ma.test(r)||ya.test(r)||wa.test(r)};var yn=$a,wn=L,_a=m,Ma=z,kn=g.type,$n=pn,xa=yn;_a.prototype.css=function(r){return $n(this._rgb,r)},wn.css=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(_a,[null].concat(r,["css"])))},Ma.format.css=xa,Ma.autodetect.push({p:5,test:function(r){for(var a=[],e=arguments.length-1;e-- >0;)a[e]=arguments[e+1];if(!a.length&&kn(r)==="string"&&xa.test(r))return"css"}});var Ca=m,_n=L,Mn=z,xn=g.unpack;Mn.format.gl=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=xn(r,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e},_n.gl=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Ca,[null].concat(r,["gl"])))},Ca.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var Cn=g.unpack,Nn=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=Cn(r,"rgb"),n=e[0],f=e[1],v=e[2],t=Math.min(n,f,v),u=Math.max(n,f,v),l=u-t,o=l*100/255,i=t/(255-l)*100,h;return l===0?h=Number.NaN:(n===u&&(h=(f-v)/l),f===u&&(h=2+(v-n)/l),v===u&&(h=4+(n-f)/l),h*=60,h<0&&(h+=360)),[h,o,i]},Fn=Nn,En=g.unpack,An=Math.floor,Ln=function(){for(var r,a,e,n,f,v,t=[],u=arguments.length;u--;)t[u]=arguments[u];t=En(t,"hcg");var l=t[0],o=t[1],i=t[2],h,c,p;i=i*255;var b=o*255;if(o===0)h=c=p=i;else{l===360&&(l=0),l>360&&(l-=360),l<0&&(l+=360),l/=60;var y=An(l),$=l-y,M=i*(1-o),C=M+b*(1-$),G=M+b*$,T=M+b;switch(y){case 0:r=[T,G,M],h=r[0],c=r[1],p=r[2];break;case 1:a=[C,T,M],h=a[0],c=a[1],p=a[2];break;case 2:e=[M,T,G],h=e[0],c=e[1],p=e[2];break;case 3:n=[M,C,T],h=n[0],c=n[1],p=n[2];break;case 4:f=[G,M,T],h=f[0],c=f[1],p=f[2];break;case 5:v=[T,M,C],h=v[0],c=v[1],p=v[2];break}}return[h,c,p,t.length>3?t[3]:1]},Rn=Ln,zn=g.unpack,Pn=g.type,Tn=L,Na=m,Fa=z,Gn=Fn;Na.prototype.hcg=function(){return Gn(this._rgb)},Tn.hcg=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Na,[null].concat(r,["hcg"])))},Fa.format.hcg=Rn,Fa.autodetect.push({p:1,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=zn(r,"hcg"),Pn(r)==="array"&&r.length===3)return"hcg"}});var In=g.unpack,qn=g.last,pr=Math.round,On=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=In(r,"rgba"),n=e[0],f=e[1],v=e[2],t=e[3],u=qn(r)||"auto";t===void 0&&(t=1),u==="auto"&&(u=t<1?"rgba":"rgb"),n=pr(n),f=pr(f),v=pr(v);var l=n<<16|f<<8|v,o="000000"+l.toString(16);o=o.substr(o.length-6);var i="0"+pr(t*255).toString(16);switch(i=i.substr(i.length-2),u.toLowerCase()){case"rgba":return"#"+o+i;case"argb":return"#"+i+o;default:return"#"+o}},Ea=On,Dn=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Sn=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Bn=function(r){if(r.match(Dn)){(r.length===4||r.length===7)&&(r=r.substr(1)),r.length===3&&(r=r.split(""),r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]);var a=parseInt(r,16),e=a>>16,n=a>>8&255,f=a&255;return[e,n,f,1]}if(r.match(Sn)){(r.length===5||r.length===9)&&(r=r.substr(1)),r.length===4&&(r=r.split(""),r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]);var v=parseInt(r,16),t=v>>24&255,u=v>>16&255,l=v>>8&255,o=Math.round((v&255)/255*100)/100;return[t,u,l,o]}throw new Error("unknown hex color: "+r)},Aa=Bn,Yn=L,La=m,Hn=g.type,Ra=z,Xn=Ea;La.prototype.hex=function(r){return Xn(this._rgb,r)},Yn.hex=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(La,[null].concat(r,["hex"])))},Ra.format.hex=Aa,Ra.autodetect.push({p:4,test:function(r){for(var a=[],e=arguments.length-1;e-- >0;)a[e]=arguments[e+1];if(!a.length&&Hn(r)==="string"&&[3,4,5,6,7,8,9].indexOf(r.length)>=0)return"hex"}});var Wn=g.unpack,za=g.TWOPI,Un=Math.min,Vn=Math.sqrt,Zn=Math.acos,Jn=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=Wn(r,"rgb"),n=e[0],f=e[1],v=e[2];n/=255,f/=255,v/=255;var t,u=Un(n,f,v),l=(n+f+v)/3,o=l>0?1-u/l:0;return o===0?t=NaN:(t=(n-f+(n-v))/2,t/=Vn((n-f)*(n-f)+(n-v)*(f-v)),t=Zn(t),v>f&&(t=za-t),t/=za),[t*360,o,l]},Qn=Jn,jn=g.unpack,Ar=g.limit,K=g.TWOPI,Lr=g.PITHIRD,rr=Math.cos,Kn=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=jn(r,"hsi");var e=r[0],n=r[1],f=r[2],v,t,u;return isNaN(e)&&(e=0),isNaN(n)&&(n=0),e>360&&(e-=360),e<0&&(e+=360),e/=360,e<1/3?(u=(1-n)/3,v=(1+n*rr(K*e)/rr(Lr-K*e))/3,t=1-(u+v)):e<2/3?(e-=1/3,v=(1-n)/3,t=(1+n*rr(K*e)/rr(Lr-K*e))/3,u=1-(v+t)):(e-=2/3,t=(1-n)/3,u=(1+n*rr(K*e)/rr(Lr-K*e))/3,v=1-(t+u)),v=Ar(f*v*3),t=Ar(f*t*3),u=Ar(f*u*3),[v*255,t*255,u*255,r.length>3?r[3]:1]},rt=Kn,at=g.unpack,et=g.type,nt=L,Pa=m,Ta=z,tt=Qn;Pa.prototype.hsi=function(){return tt(this._rgb)},nt.hsi=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Pa,[null].concat(r,["hsi"])))},Ta.format.hsi=rt,Ta.autodetect.push({p:2,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=at(r,"hsi"),et(r)==="array"&&r.length===3)return"hsi"}});var ft=g.unpack,vt=g.type,ut=L,Ga=m,Ia=z,lt=ca;Ga.prototype.hsl=function(){return lt(this._rgb)},ut.hsl=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Ga,[null].concat(r,["hsl"])))},Ia.format.hsl=sa,Ia.autodetect.push({p:2,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=ft(r,"hsl"),vt(r)==="array"&&r.length===3)return"hsl"}});var ot=g.unpack,it=Math.min,ct=Math.max,st=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=ot(r,"rgb");var e=r[0],n=r[1],f=r[2],v=it(e,n,f),t=ct(e,n,f),u=t-v,l,o,i;return i=t/255,t===0?(l=Number.NaN,o=0):(o=u/t,e===t&&(l=(n-f)/u),n===t&&(l=2+(f-e)/u),f===t&&(l=4+(e-n)/u),l*=60,l<0&&(l+=360)),[l,o,i]},gt=st,ht=g.unpack,bt=Math.floor,pt=function(){for(var r,a,e,n,f,v,t=[],u=arguments.length;u--;)t[u]=arguments[u];t=ht(t,"hsv");var l=t[0],o=t[1],i=t[2],h,c,p;if(i*=255,o===0)h=c=p=i;else{l===360&&(l=0),l>360&&(l-=360),l<0&&(l+=360),l/=60;var b=bt(l),y=l-b,$=i*(1-o),M=i*(1-o*y),C=i*(1-o*(1-y));switch(b){case 0:r=[i,C,$],h=r[0],c=r[1],p=r[2];break;case 1:a=[M,i,$],h=a[0],c=a[1],p=a[2];break;case 2:e=[$,i,C],h=e[0],c=e[1],p=e[2];break;case 3:n=[$,M,i],h=n[0],c=n[1],p=n[2];break;case 4:f=[C,$,i],h=f[0],c=f[1],p=f[2];break;case 5:v=[i,$,M],h=v[0],c=v[1],p=v[2];break}}return[h,c,p,t.length>3?t[3]:1]},dt=pt,mt=g.unpack,yt=g.type,wt=L,qa=m,Oa=z,kt=gt;qa.prototype.hsv=function(){return kt(this._rgb)},wt.hsv=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(qa,[null].concat(r,["hsv"])))},Oa.format.hsv=dt,Oa.autodetect.push({p:2,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=mt(r,"hsv"),yt(r)==="array"&&r.length===3)return"hsv"}});var dr={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},ar=dr,$t=g.unpack,Da=Math.pow,_t=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=$t(r,"rgb"),n=e[0],f=e[1],v=e[2],t=Mt(n,f,v),u=t[0],l=t[1],o=t[2],i=116*l-16;return[i<0?0:i,500*(u-l),200*(l-o)]},Rr=function(r){return(r/=255)<=.04045?r/12.92:Da((r+.055)/1.055,2.4)},zr=function(r){return r>ar.t3?Da(r,1/3):r/ar.t2+ar.t0},Mt=function(r,a,e){r=Rr(r),a=Rr(a),e=Rr(e);var n=zr((.4124564*r+.3575761*a+.1804375*e)/ar.Xn),f=zr((.2126729*r+.7151522*a+.072175*e)/ar.Yn),v=zr((.0193339*r+.119192*a+.9503041*e)/ar.Zn);return[n,f,v]},Sa=_t,er=dr,xt=g.unpack,Ct=Math.pow,Nt=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=xt(r,"lab");var e=r[0],n=r[1],f=r[2],v,t,u,l,o,i;return t=(e+16)/116,v=isNaN(n)?t:t+n/500,u=isNaN(f)?t:t-f/200,t=er.Yn*Tr(t),v=er.Xn*Tr(v),u=er.Zn*Tr(u),l=Pr(3.2404542*v-1.5371385*t-.4985314*u),o=Pr(-.969266*v+1.8760108*t+.041556*u),i=Pr(.0556434*v-.2040259*t+1.0572252*u),[l,o,i,r.length>3?r[3]:1]},Pr=function(r){return 255*(r<=.00304?12.92*r:1.055*Ct(r,1/2.4)-.055)},Tr=function(r){return r>er.t1?r*r*r:er.t2*(r-er.t0)},Ba=Nt,Ft=g.unpack,Et=g.type,At=L,Ya=m,Ha=z,Lt=Sa;Ya.prototype.lab=function(){return Lt(this._rgb)},At.lab=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Ya,[null].concat(r,["lab"])))},Ha.format.lab=Ba,Ha.autodetect.push({p:2,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=Ft(r,"lab"),Et(r)==="array"&&r.length===3)return"lab"}});var Rt=g.unpack,zt=g.RAD2DEG,Pt=Math.sqrt,Tt=Math.atan2,Gt=Math.round,It=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=Rt(r,"lab"),n=e[0],f=e[1],v=e[2],t=Pt(f*f+v*v),u=(Tt(v,f)*zt+360)%360;return Gt(t*1e4)===0&&(u=Number.NaN),[n,t,u]},Xa=It,qt=g.unpack,Ot=Sa,Dt=Xa,St=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=qt(r,"rgb"),n=e[0],f=e[1],v=e[2],t=Ot(n,f,v),u=t[0],l=t[1],o=t[2];return Dt(u,l,o)},Bt=St,Yt=g.unpack,Ht=g.DEG2RAD,Xt=Math.sin,Wt=Math.cos,Ut=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=Yt(r,"lch"),n=e[0],f=e[1],v=e[2];return isNaN(v)&&(v=0),v=v*Ht,[n,Wt(v)*f,Xt(v)*f]},Wa=Ut,Vt=g.unpack,Zt=Wa,Jt=Ba,Qt=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=Vt(r,"lch");var e=r[0],n=r[1],f=r[2],v=Zt(e,n,f),t=v[0],u=v[1],l=v[2],o=Jt(t,u,l),i=o[0],h=o[1],c=o[2];return[i,h,c,r.length>3?r[3]:1]},Ua=Qt,jt=g.unpack,Kt=Ua,rf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=jt(r,"hcl").reverse();return Kt.apply(void 0,e)},af=rf,ef=g.unpack,nf=g.type,Va=L,mr=m,Gr=z,Za=Bt;mr.prototype.lch=function(){return Za(this._rgb)},mr.prototype.hcl=function(){return Za(this._rgb).reverse()},Va.lch=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(mr,[null].concat(r,["lch"])))},Va.hcl=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(mr,[null].concat(r,["hcl"])))},Gr.format.lch=Ua,Gr.format.hcl=af,["lch","hcl"].forEach(function(r){return Gr.autodetect.push({p:2,test:function(){for(var a=[],e=arguments.length;e--;)a[e]=arguments[e];if(a=ef(a,r),nf(a)==="array"&&a.length===3)return r}})});var tf={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",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#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",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Ja=tf,ff=m,Qa=z,vf=g.type,ir=Ja,uf=Aa,lf=Ea;ff.prototype.name=function(){for(var r=lf(this._rgb,"rgb"),a=0,e=Object.keys(ir);a0;)a[e]=arguments[e+1];if(!a.length&&vf(r)==="string"&&ir[r.toLowerCase()])return"named"}});var of=g.unpack,cf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=of(r,"rgb"),n=e[0],f=e[1],v=e[2];return(n<<16)+(f<<8)+v},sf=cf,gf=g.type,hf=function(r){if(gf(r)=="number"&&r>=0&&r<=16777215){var a=r>>16,e=r>>8&255,n=r&255;return[a,e,n,1]}throw new Error("unknown num color: "+r)},bf=hf,pf=L,ja=m,Ka=z,df=g.type,mf=sf;ja.prototype.num=function(){return mf(this._rgb)},pf.num=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(ja,[null].concat(r,["num"])))},Ka.format.num=bf,Ka.autodetect.push({p:5,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r.length===1&&df(r[0])==="number"&&r[0]>=0&&r[0]<=16777215)return"num"}});var yf=L,Ir=m,re=z,ae=g.unpack,ee=g.type,ne=Math.round;Ir.prototype.rgb=function(r){return r===void 0&&(r=!0),r===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ne)},Ir.prototype.rgba=function(r){return r===void 0&&(r=!0),this._rgb.slice(0,4).map(function(a,e){return e<3?r===!1?a:ne(a):a})},yf.rgb=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(Ir,[null].concat(r,["rgb"])))},re.format.rgb=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=ae(r,"rgba");return e[3]===void 0&&(e[3]=1),e},re.autodetect.push({p:3,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=ae(r,"rgba"),ee(r)==="array"&&(r.length===3||r.length===4&&ee(r[3])=="number"&&r[3]>=0&&r[3]<=1))return"rgb"}});var yr=Math.log,wf=function(r){var a=r/100,e,n,f;return a<66?(e=255,n=a<6?0:-155.25485562709179-.44596950469579133*(n=a-2)+104.49216199393888*yr(n),f=a<20?0:-254.76935184120902+.8274096064007395*(f=a-10)+115.67994401066147*yr(f)):(e=351.97690566805693+.114206453784165*(e=a-55)-40.25366309332127*yr(e),n=325.4494125711974+.07943456536662342*(n=a-50)-28.0852963507957*yr(n),f=255),[e,n,f,1]},te=wf,kf=te,$f=g.unpack,_f=Math.round,Mf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];for(var e=$f(r,"rgb"),n=e[0],f=e[2],v=1e3,t=4e4,u=.4,l;t-v>u;){l=(t+v)*.5;var o=kf(l);o[2]/o[0]>=f/n?t=l:v=l}return _f(l)},xf=Mf,qr=L,wr=m,Or=z,Cf=xf;wr.prototype.temp=wr.prototype.kelvin=wr.prototype.temperature=function(){return Cf(this._rgb)},qr.temp=qr.kelvin=qr.temperature=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(wr,[null].concat(r,["temp"])))},Or.format.temp=Or.format.kelvin=Or.format.temperature=te;var Nf=g.unpack,Dr=Math.cbrt,Ff=Math.pow,Ef=Math.sign,Af=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=Nf(r,"rgb"),n=e[0],f=e[1],v=e[2],t=[Sr(n/255),Sr(f/255),Sr(v/255)],u=t[0],l=t[1],o=t[2],i=Dr(.4122214708*u+.5363325363*l+.0514459929*o),h=Dr(.2119034982*u+.6806995451*l+.1073969566*o),c=Dr(.0883024619*u+.2817188376*l+.6299787005*o);return[.2104542553*i+.793617785*h-.0040720468*c,1.9779984951*i-2.428592205*h+.4505937099*c,.0259040371*i+.7827717662*h-.808675766*c]},fe=Af;function Sr(r){var a=Math.abs(r);return a<.04045?r/12.92:(Ef(r)||1)*Ff((a+.055)/1.055,2.4)}var Lf=g.unpack,kr=Math.pow,Rf=Math.sign,zf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=Lf(r,"lab");var e=r[0],n=r[1],f=r[2],v=kr(e+.3963377774*n+.2158037573*f,3),t=kr(e-.1055613458*n-.0638541728*f,3),u=kr(e-.0894841775*n-1.291485548*f,3);return[255*Br(4.0767416621*v-3.3077115913*t+.2309699292*u),255*Br(-1.2684380046*v+2.6097574011*t-.3413193965*u),255*Br(-.0041960863*v-.7034186147*t+1.707614701*u),r.length>3?r[3]:1]},ve=zf;function Br(r){var a=Math.abs(r);return a>.0031308?(Rf(r)||1)*(1.055*kr(a,1/2.4)-.055):r*12.92}var Pf=g.unpack,Tf=g.type,Gf=L,ue=m,le=z,If=fe;ue.prototype.oklab=function(){return If(this._rgb)},Gf.oklab=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(ue,[null].concat(r,["oklab"])))},le.format.oklab=ve,le.autodetect.push({p:3,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=Pf(r,"oklab"),Tf(r)==="array"&&r.length===3)return"oklab"}});var qf=g.unpack,Of=fe,Df=Xa,Sf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];var e=qf(r,"rgb"),n=e[0],f=e[1],v=e[2],t=Of(n,f,v),u=t[0],l=t[1],o=t[2];return Df(u,l,o)},Bf=Sf,Yf=g.unpack,Hf=Wa,Xf=ve,Wf=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];r=Yf(r,"lch");var e=r[0],n=r[1],f=r[2],v=Hf(e,n,f),t=v[0],u=v[1],l=v[2],o=Xf(t,u,l),i=o[0],h=o[1],c=o[2];return[i,h,c,r.length>3?r[3]:1]},Uf=Wf,Vf=g.unpack,Zf=g.type,Jf=L,oe=m,ie=z,Qf=Bf;oe.prototype.oklch=function(){return Qf(this._rgb)},Jf.oklch=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];return new(Function.prototype.bind.apply(oe,[null].concat(r,["oklch"])))},ie.format.oklch=Uf,ie.autodetect.push({p:3,test:function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];if(r=Vf(r,"oklch"),Zf(r)==="array"&&r.length===3)return"oklch"}});var ce=m,jf=g.type;ce.prototype.alpha=function(r,a){return a===void 0&&(a=!1),r!==void 0&&jf(r)==="number"?a?(this._rgb[3]=r,this):new ce([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb"):this._rgb[3]};var Kf=m;Kf.prototype.clipped=function(){return this._rgb._clipped||!1};var J=m,r0=dr;J.prototype.darken=function(r){r===void 0&&(r=1);var a=this,e=a.lab();return e[0]-=r0.Kn*r,new J(e,"lab").alpha(a.alpha(),!0)},J.prototype.brighten=function(r){return r===void 0&&(r=1),this.darken(-r)},J.prototype.darker=J.prototype.darken,J.prototype.brighter=J.prototype.brighten;var a0=m;a0.prototype.get=function(r){var a=r.split("."),e=a[0],n=a[1],f=this[e]();if(n){var v=e.indexOf(n)-(e.substr(0,2)==="ok"?2:0);if(v>-1)return f[v];throw new Error("unknown channel "+n+" in mode "+e)}else return f};var nr=m,e0=g.type,n0=Math.pow,t0=1e-7,f0=20;nr.prototype.luminance=function(r){if(r!==void 0&&e0(r)==="number"){if(r===0)return new nr([0,0,0,this._rgb[3]],"rgb");if(r===1)return new nr([255,255,255,this._rgb[3]],"rgb");var a=this.luminance(),e="rgb",n=f0,f=function(t,u){var l=t.interpolate(u,.5,e),o=l.luminance();return Math.abs(r-o)r?f(t,l):f(l,u)},v=(a>r?f(new nr([0,0,0]),this):f(this,new nr([255,255,255]))).rgb();return new nr(v.concat([this._rgb[3]]))}return v0.apply(void 0,this._rgb.slice(0,3))};var v0=function(r,a,e){return r=Yr(r),a=Yr(a),e=Yr(e),.2126*r+.7152*a+.0722*e},Yr=function(r){return r/=255,r<=.03928?r/12.92:n0((r+.055)/1.055,2.4)},O={},se=m,ge=g.type,$r=O,he=function(r,a,e){e===void 0&&(e=.5);for(var n=[],f=arguments.length-3;f-- >0;)n[f]=arguments[f+3];var v=n[0]||"lrgb";if(!$r[v]&&!n.length&&(v=Object.keys($r)[0]),!$r[v])throw new Error("interpolation mode "+v+" is not defined");return ge(r)!=="object"&&(r=new se(r)),ge(a)!=="object"&&(a=new se(a)),$r[v](r,a,e).alpha(r.alpha()+e*(a.alpha()-r.alpha()))},be=m,u0=he;be.prototype.mix=be.prototype.interpolate=function(r,a){a===void 0&&(a=.5);for(var e=[],n=arguments.length-2;n-- >0;)e[n]=arguments[n+2];return u0.apply(void 0,[this,r,a].concat(e))};var pe=m;pe.prototype.premultiply=function(r){r===void 0&&(r=!1);var a=this._rgb,e=a[3];return r?(this._rgb=[a[0]*e,a[1]*e,a[2]*e,e],this):new pe([a[0]*e,a[1]*e,a[2]*e,e],"rgb")};var Hr=m,l0=dr;Hr.prototype.saturate=function(r){r===void 0&&(r=1);var a=this,e=a.lch();return e[1]+=l0.Kn*r,e[1]<0&&(e[1]=0),new Hr(e,"lch").alpha(a.alpha(),!0)},Hr.prototype.desaturate=function(r){return r===void 0&&(r=1),this.saturate(-r)};var de=m,me=g.type;de.prototype.set=function(r,a,e){e===void 0&&(e=!1);var n=r.split("."),f=n[0],v=n[1],t=this[f]();if(v){var u=f.indexOf(v)-(f.substr(0,2)==="ok"?2:0);if(u>-1){if(me(a)=="string")switch(a.charAt(0)){case"+":t[u]+=+a;break;case"-":t[u]+=+a;break;case"*":t[u]*=+a.substr(1);break;case"/":t[u]/=+a.substr(1);break;default:t[u]=+a}else if(me(a)==="number")t[u]=a;else throw new Error("unsupported value for Color.set");var l=new de(t,f);return e?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+v+" in mode "+f)}else return t};var o0=m,i0=function(r,a,e){var n=r._rgb,f=a._rgb;return new o0(n[0]+e*(f[0]-n[0]),n[1]+e*(f[1]-n[1]),n[2]+e*(f[2]-n[2]),"rgb")};O.rgb=i0;var c0=m,Xr=Math.sqrt,tr=Math.pow,s0=function(r,a,e){var n=r._rgb,f=n[0],v=n[1],t=n[2],u=a._rgb,l=u[0],o=u[1],i=u[2];return new c0(Xr(tr(f,2)*(1-e)+tr(l,2)*e),Xr(tr(v,2)*(1-e)+tr(o,2)*e),Xr(tr(t,2)*(1-e)+tr(i,2)*e),"rgb")};O.lrgb=s0;var g0=m,h0=function(r,a,e){var n=r.lab(),f=a.lab();return new g0(n[0]+e*(f[0]-n[0]),n[1]+e*(f[1]-n[1]),n[2]+e*(f[2]-n[2]),"lab")};O.lab=h0;var ye=m,fr=function(r,a,e,n){var f,v,t,u;n==="hsl"?(t=r.hsl(),u=a.hsl()):n==="hsv"?(t=r.hsv(),u=a.hsv()):n==="hcg"?(t=r.hcg(),u=a.hcg()):n==="hsi"?(t=r.hsi(),u=a.hsi()):n==="lch"||n==="hcl"?(n="hcl",t=r.hcl(),u=a.hcl()):n==="oklch"&&(t=r.oklch().reverse(),u=a.oklch().reverse());var l,o,i,h,c,p;(n.substr(0,1)==="h"||n==="oklch")&&(f=t,l=f[0],i=f[1],c=f[2],v=u,o=v[0],h=v[1],p=v[2]);var b,y,$,M;return!isNaN(l)&&!isNaN(o)?(o>l&&o-l>180?M=o-(l+360):o180?M=o+360-l:M=o-l,y=l+e*M):isNaN(l)?isNaN(o)?y=Number.NaN:(y=o,(c==1||c==0)&&n!="hsv"&&(b=h)):(y=l,(p==1||p==0)&&n!="hsv"&&(b=i)),b===void 0&&(b=i+e*(h-i)),$=c+e*(p-c),n==="oklch"?new ye([$,b,y],n):new ye([y,b,$],n)},b0=fr,we=function(r,a,e){return b0(r,a,e,"lch")};O.lch=we,O.hcl=we;var p0=m,d0=function(r,a,e){var n=r.num(),f=a.num();return new p0(n+e*(f-n),"num")};O.num=d0;var m0=fr,y0=function(r,a,e){return m0(r,a,e,"hcg")};O.hcg=y0;var w0=fr,k0=function(r,a,e){return w0(r,a,e,"hsi")};O.hsi=k0;var $0=fr,_0=function(r,a,e){return $0(r,a,e,"hsl")};O.hsl=_0;var M0=fr,x0=function(r,a,e){return M0(r,a,e,"hsv")};O.hsv=x0;var C0=m,N0=function(r,a,e){var n=r.oklab(),f=a.oklab();return new C0(n[0]+e*(f[0]-n[0]),n[1]+e*(f[1]-n[1]),n[2]+e*(f[2]-n[2]),"oklab")};O.oklab=N0;var F0=fr,E0=function(r,a,e){return F0(r,a,e,"oklch")};O.oklch=E0;var Wr=m,A0=g.clip_rgb,Ur=Math.pow,Vr=Math.sqrt,Zr=Math.PI,ke=Math.cos,$e=Math.sin,L0=Math.atan2,R0=function(r,a,e){a===void 0&&(a="lrgb"),e===void 0&&(e=null);var n=r.length;e||(e=Array.from(new Array(n)).map(function(){return 1}));var f=n/e.reduce(function(y,$){return y+$});if(e.forEach(function(y,$){e[$]*=f}),r=r.map(function(y){return new Wr(y)}),a==="lrgb")return z0(r,e);for(var v=r.shift(),t=v.get(a),u=[],l=0,o=0,i=0;i=360;)b-=360;t[p]=b}else t[p]=t[p]/u[p];return c/=n,new Wr(t,a).alpha(c>.99999?1:c,!0)},z0=function(r,a){for(var e=r.length,n=[0,0,0,0],f=0;f.9999999&&(n[3]=1),new Wr(A0(n))},D=L,vr=g.type,P0=Math.pow,Jr=function(r){var a="rgb",e=D("#ccc"),n=0,f=[0,1],v=[],t=[0,0],u=!1,l=[],o=!1,i=0,h=1,c=!1,p={},b=!0,y=1,$=function(s){if(s=s||["#fff","#000"],s&&vr(s)==="string"&&D.brewer&&D.brewer[s.toLowerCase()]&&(s=D.brewer[s.toLowerCase()]),vr(s)==="array"){s.length===1&&(s=[s[0],s[0]]),s=s.slice(0);for(var d=0;d=u[k];)k++;return k-1}return 0},C=function(s){return s},G=function(s){return s},T=function(s,d){var k,w;if(d==null&&(d=!1),isNaN(s)||s===null)return e;if(d)w=s;else if(u&&u.length>2){var I=M(s);w=I/(u.length-2)}else h!==i?w=(s-i)/(h-i):w=1;w=G(w),d||(w=C(w)),y!==1&&(w=P0(w,y)),w=t[0]+w*(1-t[0]-t[1]),w=Math.min(1,Math.max(0,w));var A=Math.floor(w*1e4);if(b&&p[A])k=p[A];else{if(vr(l)==="array")for(var x=0;x=N&&x===v.length-1){k=l[x];break}if(w>N&&w2){var x=s.map(function(F,E){return E/(s.length-1)}),N=s.map(function(F){return(F-i)/(h-i)});N.every(function(F,E){return x[E]===F})||(G=function(F){if(F<=0||F>=1)return F;for(var E=0;F>=N[E+1];)E++;var B=(F-N[E])/(N[E+1]-N[E]),U=x[E]+B*(x[E+1]-x[E]);return U})}}return f=[i,h],_},_.mode=function(s){return arguments.length?(a=s,q(),_):a},_.range=function(s,d){return $(s),_},_.out=function(s){return o=s,_},_.spread=function(s){return arguments.length?(n=s,_):n},_.correctLightness=function(s){return s==null&&(s=!0),c=s,q(),c?C=function(d){for(var k=T(0,!0).lab()[0],w=T(1,!0).lab()[0],I=k>w,A=T(d,!0).lab()[0],x=k+(w-k)*d,N=A-x,F=0,E=1,B=20;Math.abs(N)>.01&&B-- >0;)(function(){return I&&(N*=-1),N<0?(F=d,d+=(E-d)*.5):(E=d,d+=(F-d)*.5),A=T(d,!0).lab()[0],N=A-x})();return d}:C=function(d){return d},_},_.padding=function(s){return s!=null?(vr(s)==="number"&&(s=[s,s]),t=s,_):t},_.colors=function(s,d){arguments.length<2&&(d="hex");var k=[];if(arguments.length===0)k=l.slice(0);else if(s===1)k=[_(.5)];else if(s>1){var w=f[0],I=f[1]-w;k=T0(0,s,!1).map(function(E){return _(w+E/(s-1)*I)})}else{r=[];var A=[];if(u&&u.length>2)for(var x=1,N=u.length,F=1<=N;F?xN;F?x++:x--)A.push((u[x-1]+u[x])*.5);else A=f;k=A.map(function(E){return _(E)})}return D[d]&&(k=k.map(function(E){return E[d]()})),k},_.cache=function(s){return s!=null?(b=s,_):b},_.gamma=function(s){return s!=null?(y=s,_):y},_.nodata=function(s){return s!=null?(e=D(s),_):e},_};function T0(r,a,e){for(var n=[],f=rv;f?t++:t--)n.push(t);return n}var cr=m,G0=Jr,I0=function(r){for(var a=[1,1],e=1;e=5){var o,i,h;o=r.map(function(c){return c.lab()}),h=r.length-1,i=I0(h),f=function(c){var p=1-c,b=[0,1,2].map(function(y){return o.reduce(function($,M,C){return $+i[C]*Math.pow(p,h-C)*Math.pow(c,C)*M[y]},0)});return new cr(b,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return f},O0=function(r){var a=q0(r);return a.scale=function(){return G0(a)},a},Qr=L,S=function(r,a,e){if(!S[e])throw new Error("unknown blend mode "+e);return S[e](r,a)},X=function(r){return function(a,e){var n=Qr(e).rgb(),f=Qr(a).rgb();return Qr.rgb(r(n,f))}},W=function(r){return function(a,e){var n=[];return n[0]=r(a[0],e[0]),n[1]=r(a[1],e[1]),n[2]=r(a[2],e[2]),n}},D0=function(r){return r},S0=function(r,a){return r*a/255},B0=function(r,a){return r>a?a:r},Y0=function(r,a){return r>a?r:a},H0=function(r,a){return 255*(1-(1-r/255)*(1-a/255))},X0=function(r,a){return a<128?2*r*a/255:255*(1-2*(1-r/255)*(1-a/255))},W0=function(r,a){return 255*(1-(1-a/255)/(r/255))},U0=function(r,a){return r===255?255:(r=255*(a/255)/(1-r/255),r>255?255:r)};S.normal=X(W(D0)),S.multiply=X(W(S0)),S.screen=X(W(H0)),S.overlay=X(W(X0)),S.darken=X(W(B0)),S.lighten=X(W(Y0)),S.dodge=X(W(U0)),S.burn=X(W(W0));for(var V0=S,jr=g.type,Z0=g.clip_rgb,J0=g.TWOPI,Q0=Math.pow,j0=Math.sin,K0=Math.cos,_e=L,rv=function(r,a,e,n,f){r===void 0&&(r=300),a===void 0&&(a=-1.5),e===void 0&&(e=1),n===void 0&&(n=1),f===void 0&&(f=[0,1]);var v=0,t;jr(f)==="array"?t=f[1]-f[0]:(t=0,f=[f,f]);var u=function(l){var o=J0*((r+120)/360+a*l),i=Q0(f[0]+t*l,n),h=v!==0?e[0]+l*v:e,c=h*i*(1-i)/2,p=K0(o),b=j0(o),y=i+c*(-.14861*p+1.78277*b),$=i+c*(-.29227*p-.90649*b),M=i+c*(1.97294*p);return _e(Z0([y*255,$*255,M*255,1]))};return u.start=function(l){return l==null?r:(r=l,u)},u.rotations=function(l){return l==null?a:(a=l,u)},u.gamma=function(l){return l==null?n:(n=l,u)},u.hue=function(l){return l==null?e:(e=l,jr(e)==="array"?(v=e[1]-e[0],v===0&&(e=e[1])):v=0,u)},u.lightness=function(l){return l==null?f:(jr(l)==="array"?(f=l,t=l[1]-l[0]):(f=[l,l],t=0),u)},u.scale=function(){return _e.scale(u)},u.hue(e),u},av=m,ev="0123456789abcdef",nv=Math.floor,tv=Math.random,fv=function(){for(var r="#",a=0;a<6;a++)r+=ev.charAt(nv(tv()*16));return new av(r,"hex")},Kr=hr,Me=Math.log,vv=Math.pow,uv=Math.floor,lv=Math.abs,xe=function(r,a){a===void 0&&(a=null);var e={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return Kr(r)==="object"&&(r=Object.values(r)),r.forEach(function(n){a&&Kr(n)==="object"&&(n=n[a]),n!=null&&!isNaN(n)&&(e.values.push(n),e.sum+=n,ne.max&&(e.max=n),e.count+=1)}),e.domain=[e.min,e.max],e.limits=function(n,f){return Ce(e,n,f)},e},Ce=function(r,a,e){a===void 0&&(a="equal"),e===void 0&&(e=7),Kr(r)=="array"&&(r=xe(r));var n=r.min,f=r.max,v=r.values.sort(function(aa,ea){return aa-ea});if(e===1)return[n,f];var t=[];if(a.substr(0,1)==="c"&&(t.push(n),t.push(f)),a.substr(0,1)==="e"){t.push(n);for(var u=1;u 0");var l=Math.LOG10E*Me(n),o=Math.LOG10E*Me(f);t.push(n);for(var i=1;i200&&(G=!1)}for(var V={},ur=0;urn?(e+.05)/(n+.05):(n+.05)/(e+.05)},Ee=m,Y=Math.sqrt,R=Math.pow,iv=Math.min,cv=Math.max,Ae=Math.atan2,Le=Math.abs,_r=Math.cos,Re=Math.sin,sv=Math.exp,ze=Math.PI,gv=function(r,a,e,n,f){e===void 0&&(e=1),n===void 0&&(n=1),f===void 0&&(f=1);var v=function(j){return 360*j/(2*ze)},t=function(j){return 2*ze*j/360};r=new Ee(r),a=new Ee(a);var u=Array.from(r.lab()),l=u[0],o=u[1],i=u[2],h=Array.from(a.lab()),c=h[0],p=h[1],b=h[2],y=(l+c)/2,$=Y(R(o,2)+R(i,2)),M=Y(R(p,2)+R(b,2)),C=($+M)/2,G=.5*(1-Y(R(C,7)/(R(C,7)+R(25,7)))),T=o*(1+G),q=p*(1+G),_=Y(R(T,2)+R(i,2)),s=Y(R(q,2)+R(b,2)),d=(_+s)/2,k=v(Ae(i,T)),w=v(Ae(b,q)),I=k>=0?k:k+360,A=w>=0?w:w+360,x=Le(I-A)>180?(I+A+360)/2:(I+A)/2,N=1-.17*_r(t(x-30))+.24*_r(t(2*x))+.32*_r(t(3*x+6))-.2*_r(t(4*x-63)),F=A-I;F=Le(F)<=180?F:A<=I?F+360:F-360,F=2*Y(_*s)*Re(t(F)/2);var E=c-l,B=s-_,U=1+.015*R(y-50,2)/Y(20+R(y-50,2)),V=1+.045*d,ur=1+.015*d*N,lr=30*sv(-R((x-275)/25,2)),H=2*Y(R(d,7)/(R(d,7)+R(25,7))),Q=-H*Re(2*t(lr)),sr=Y(R(E/(e*U),2)+R(B/(n*V),2)+R(F/(f*ur),2)+Q*(B/(n*V))*(F/(f*ur)));return cv(0,iv(100,sr))},Pe=m,hv=function(r,a,e){e===void 0&&(e="lab"),r=new Pe(r),a=new Pe(a);var n=r.get(e),f=a.get(e),v=0;for(var t in n){var u=(n[t]||0)-(f[t]||0);v+=u*u}return Math.sqrt(v)},bv=m,pv=function(){for(var r=[],a=arguments.length;a--;)r[a]=arguments[a];try{return new(Function.prototype.bind.apply(bv,[null].concat(r))),!0}catch{return!1}},Te=L,Ge=Jr,dv={cool:function(){return Ge([Te.hsl(180,1,.9),Te.hsl(250,.7,.4)])},hot:function(){return Ge(["#000","#f00","#ff0","#fff"]).mode("rgb")}},Mr={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},ra=0,Ie=Object.keys(Mr);race?(x-=(fe-ce)/2,re=x+fe):(B-=(ce-fe)/2,ee=B+ce),n[0+b]=-1,n[0+S]=(B+ee)/2,n[0+G]=(x+re)/2,n[0+W]=Math.max(ee-B,re-x),n[0+m]=-1,n[0+C]=-1,n[0+O]=0,n[0+T]=0,n[0+U]=0,Ee=1,r=0;r=0){e[r+i]=0)if(g=Math.pow(e[r+i]-n[u+T],2)+Math.pow(e[r+f]-n[u+U],2),ke=n[u+W],4*ke*ke/g0?(o=R*e[r+y]*n[u+O]/g,e[r+v]+=E*o,e[r+c]+=k*o):g<0&&(o=-R*e[r+y]*n[u+O]/Math.sqrt(g),e[r+v]+=E*o,e[r+c]+=k*o):g>0&&(o=R*e[r+y]*n[u+O]/g,e[r+v]+=E*o,e[r+c]+=k*o),u=n[u+m],u<0)break;continue}else{u=n[u+C];continue}else{if(K=n[u+b],K>=0&&K!==r&&(E=e[r+i]-e[K+i],k=e[r+f]-e[K+f],g=E*E+k*k,le===!0?g>0?(o=R*e[r+y]*e[K+y]/g,e[r+v]+=E*o,e[r+c]+=k*o):g<0&&(o=-R*e[r+y]*e[K+y]/Math.sqrt(g),e[r+v]+=E*o,e[r+c]+=k*o):g>0&&(o=R*e[r+y]*e[K+y]/g,e[r+v]+=E*o,e[r+c]+=k*o)),u=n[u+m],u<0)break;continue}else for(R=I.scalingRatio,_=0;_0?(o=R*e[_+y]*e[A+y]/g/g,e[_+v]+=E*o,e[_+c]+=k*o,e[A+v]-=E*o,e[A+c]-=k*o):g<0&&(o=100*R*e[_+y]*e[A+y],e[_+v]+=E*o,e[_+c]+=k*o,e[A+v]-=E*o,e[A+c]-=k*o)):(g=Math.sqrt(E*E+k*k),g>0&&(o=R*e[_+y]*e[A+y]/g/g,e[_+v]+=E*o,e[_+c]+=k*o,e[A+v]-=E*o,e[A+c]-=k*o));for(p=I.gravity/I.scalingRatio,R=I.scalingRatio,r=0;r0&&(o=R*e[r+y]*p):g>0&&(o=R*e[r+y]*p/g),e[r+v]-=E*o,e[r+c]-=k*o;for(R=1*(I.outboundAttractionDistribution?ue:1),N=0;N0&&(o=-R*q*Math.log(1+g)/g/e[_+y]):g>0&&(o=-R*q*Math.log(1+g)/g):I.outboundAttractionDistribution?g>0&&(o=-R*q/e[_+y]):g>0&&(o=-R*q)):(g=Math.sqrt(Math.pow(E,2)+Math.pow(k,2)),I.linLogMode?I.outboundAttractionDistribution?g>0&&(o=-R*q*Math.log(1+g)/g/e[_+y]):g>0&&(o=-R*q*Math.log(1+g)/g):I.outboundAttractionDistribution?(g=1,o=-R*q/e[_+y]):(g=1,o=-R*q)),g>0&&(e[_+v]+=E*o,e[_+c]+=k*o,e[A+v]-=E*o,e[A+c]-=k*o);var ve,he,oe,M,ge,pe;if(le===!0)for(r=0;rwe&&(e[r+v]=e[r+v]*we/ve,e[r+c]=e[r+c]*we/ve),he=e[r+y]*Math.sqrt((e[r+w]-e[r+v])*(e[r+w]-e[r+v])+(e[r+D]-e[r+c])*(e[r+D]-e[r+c])),oe=Math.sqrt((e[r+w]+e[r+v])*(e[r+w]+e[r+v])+(e[r+D]+e[r+c])*(e[r+D]+e[r+c]))/2,M=.1*Math.log(1+oe)/(1+Math.sqrt(he)),ge=e[r+i]+e[r+v]*(M/I.slowDown),e[r+i]=ge,pe=e[r+f]+e[r+c]*(M/I.slowDown),e[r+f]=pe);else for(r=0;r0};j.prototype.addChild=function(t,l){this.children[t]=l,++this.countChildren};j.prototype.getChild=function(t){if(!this.children.hasOwnProperty(t)){var l=new j;this.children[t]=l,++this.countChildren}return this.children[t]};j.prototype.applyPositionToChildren=function(){if(this.hasChildren()){var t=this;for(var l in t.children){var s=t.children[l];s.x+=t.x,s.y+=t.y,s.applyPositionToChildren()}}};function me(t,l,s){for(var h in l.children){var a=l.children[h];a.hasChildren()?me(t,a,s):s[a.id]={x:a.x,y:a.y}}}function ye(t,l){var s=t.r-l.r,h=l.x-t.x,a=l.y-t.y;return s<0||s*s0&&s*s>h*h+a*a}function Ce(t,l){for(var s=0;sc?(a=(w+c-i)/(2*w),v=Math.sqrt(Math.max(0,c/w-a*a)),s.x=t.x-a*h-v*f,s.y=t.y-a*f+v*h):(a=(w+i-c)/(2*w),v=Math.sqrt(Math.max(0,i/w-a*a)),s.x=l.x+a*h-v*f,s.y=l.y+a*f+v*h)):(s.x=l.x+s.r,s.y=l.y)}function be(t,l){var s=t.r+l.r-1e-6,h=l.x-t.x,a=l.y-t.y;return s>0&&s*s>h*h+a*a}function hr(t,l){var s=t.length;if(s===0)return 0;var h,a,i,f,v,c,w,D,y,P;if(h=t[0],h.x=0,h.y=0,s<=1)return h.r;if(a=t[1],h.x=-a.r,a.x=h.r,a.y=0,s<=2)return h.r+a.r;i=t[2],Ie(a,h,i),h=new j(null,null,null,null,h),a=new j(null,null,null,null,a),i=new j(null,null,null,null,i),h.next=i.previous=a,a.next=h.previous=i,i.next=a.previous=h;e:for(c=3;c"u"?u:e};typeof u=="function"&&(f=u);var i=function(e){return f(e[r])},o=function(){return f(void 0)};return typeof r=="string"?(t.fromAttributes=i,t.fromGraph=function(e,n){return i(e.getNodeAttributes(n))},t.fromEntry=function(e,n){return i(n)}):typeof r=="function"?(t.fromAttributes=function(){throw new Error("graphology-utils/getters/createNodeValueGetter: irrelevant usage.")},t.fromGraph=function(e,n){return f(r(n,e.getNodeAttributes(n)))},t.fromEntry=function(e,n){return f(r(e,n))}):(t.fromAttributes=o,t.fromGraph=o,t.fromEntry=o),t}function y(r,u){var t={},f=function(e){return typeof e>"u"?u:e};typeof u=="function"&&(f=u);var i=function(e){return f(e[r])},o=function(){return f(void 0)};return typeof r=="string"?(t.fromAttributes=i,t.fromGraph=function(e,n){return i(e.getEdgeAttributes(n))},t.fromEntry=function(e,n){return i(n)},t.fromPartialEntry=t.fromEntry,t.fromMinimalEntry=t.fromEntry):typeof r=="function"?(t.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},t.fromGraph=function(e,n){var c=e.extremities(n);return f(r(n,e.getEdgeAttributes(n),c[0],c[1],e.getNodeAttributes(c[0]),e.getNodeAttributes(c[1]),e.isUndirected(n)))},t.fromEntry=function(e,n,c,a,g,m,p){return f(r(e,n,c,a,g,m,p))},t.fromPartialEntry=function(e,n,c,a){return f(r(e,n,c,a))},t.fromMinimalEntry=function(e,n){return f(r(e,n))}):(t.fromAttributes=o,t.fromGraph=o,t.fromEntry=o,t.fromMinimalEntry=o),t}s.createNodeValueGetter=l;s.createEdgeValueGetter=y;s.createEdgeWeightGetter=function(r){return y(r,d)};function b(r){return!r||typeof r!="object"||typeof r=="function"||Array.isArray(r)||r instanceof Set||r instanceof Map||r instanceof RegExp||r instanceof Date}function E(r,u){r=r||{};var t={};for(var f in u){var i=r[f],o=u[f];if(!b(o)){t[f]=E(i,o);continue}i===void 0?t[f]=o:t[f]=i}return t}var v=E;export{v as d,s as g}; diff --git a/storybook/assets/entry-preview-D5Ui7gv5.js b/storybook/assets/entry-preview-D5Ui7gv5.js new file mode 100644 index 000000000..86c8df1a9 --- /dev/null +++ b/storybook/assets/entry-preview-D5Ui7gv5.js @@ -0,0 +1,7 @@ +import{d as f}from"./index-DrFu-skq.js";const{global:p}=__STORYBOOK_MODULE_GLOBAL__,{simulatePageLoad:l,simulateDOMContentLoaded:u}=__STORYBOOK_MODULE_PREVIEW_API__;var{Node:O}=p,c=(e,d)=>{let{id:s,component:t}=d;if(typeof t=="string"){let o=t;return Object.keys(e).forEach(r=>{o=o.replace(`{{${r}}}`,e[r])}),o}if(t instanceof HTMLElement){let o=t.cloneNode(!0);return Object.keys(e).forEach(r=>{o.setAttribute(r,typeof e[r]=="string"?e[r]:JSON.stringify(e[r]))}),o}if(typeof t=="function")return t(e,d);throw console.warn(f` + Storybook's HTML renderer only supports rendering DOM elements and strings. + Received: ${t} + `),new Error(`Unable to render story ${s}`)};function L({storyFn:e,kind:d,name:s,showMain:t,showError:o,forceRemount:r},n){let i=e();if(t(),typeof i=="string")n.innerHTML=i,l(n);else if(i instanceof O){if(n.firstChild===i&&r===!1)return;n.innerHTML="",n.appendChild(i),u()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${s}" of "${d}".`,description:f` + Did you forget to return the HTML snippet from the story? + Use "() => " or when defining the story. + `})}var h={renderer:"html"};export{h as parameters,c as render,L as renderToCanvas}; diff --git a/storybook/assets/entry-preview-docs-BPH4o_O_.js b/storybook/assets/entry-preview-docs-BPH4o_O_.js new file mode 100644 index 000000000..4c0f2bd63 --- /dev/null +++ b/storybook/assets/entry-preview-docs-BPH4o_O_.js @@ -0,0 +1 @@ +import{S as o,e as y,a as l}from"./index-DiFAUXR8.js";import"./_commonjsHelpers-BosuxZz1.js";const{useEffect:E,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__;function D(e){var s;let r=(s=e==null?void 0:e.parameters.docs)==null?void 0:s.source,a=e==null?void 0:e.parameters.__isArgsStory;return(r==null?void 0:r.type)===o.DYNAMIC?!1:!a||(r==null?void 0:r.code)||(r==null?void 0:r.type)===o.CODE}var S=(e,r)=>{var p,i;let a=e(),s=(i=(p=r==null?void 0:r.parameters.docs)==null?void 0:p.source)!=null&&i.excludeDecorators?r.originalStoryFn(r.args,r):a,d;return D(r)||(typeof s=="string"?d=s:s instanceof Element&&(d=s.outerHTML)),E(()=>{let{id:g,unmappedArgs:u}=r;d&&_.getChannel().emit(l,{id:g,args:u,source:d})}),a},m=[S],n={docs:{story:{inline:!0},source:{type:o.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}},T=[y];export{T as argTypesEnhancers,m as decorators,n as parameters}; diff --git a/storybook/assets/factory-fWm_FWXa.js b/storybook/assets/factory-fWm_FWXa.js new file mode 100644 index 000000000..97941eacf --- /dev/null +++ b/storybook/assets/factory-fWm_FWXa.js @@ -0,0 +1,131 @@ +var z=Object.defineProperty;var D=(a,r,e)=>r in a?z(a,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[r]=e;var c=(a,r,e)=>(D(a,typeof r!="symbol"?r+"":r,e),e);import{e as P,N as U,f as G}from"./utils-C5QP6GGe.js";const V=` +precision highp float; + +varying vec4 v_color; +varying vec2 v_diffVector; +varying float v_radius; +varying vec4 v_texture; + +uniform sampler2D u_atlas; +uniform float u_correctionRatio; +uniform float u_cameraAngle; +uniform float u_percentagePadding; +uniform bool u_colorizeImages; +uniform bool u_keepWithinCircle; + +const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + +const float radius = 0.5; + +void main(void) { + float border = 2.0 * u_correctionRatio; + float dist = length(v_diffVector); + vec4 color = gl_FragColor; + + float c = cos(-u_cameraAngle); + float s = sin(-u_cameraAngle); + vec2 diffVector = mat2(c, s, -s, c) * (v_diffVector); + + // No antialiasing for picking mode: + #ifdef PICKING_MODE + border = 0.0; + color = v_color; + + #else + // First case: No image to display + if (v_texture.w <= 0.0) { + if (!u_colorizeImages) { + color = v_color; + } + } + + // Second case: Image loaded into the texture + else { + float paddingRatio = 1.0 + 2.0 * u_percentagePadding; + float coef = u_keepWithinCircle ? 1.0 : ${Math.SQRT2}; + vec2 coordinateInTexture = diffVector * vec2(paddingRatio, -paddingRatio) / v_radius / 2.0 * coef + vec2(0.5, 0.5); + vec4 texel = texture2D(u_atlas, (v_texture.xy + coordinateInTexture * v_texture.zw), -1.0); + + // Colorize all visible image pixels: + if (u_colorizeImages) { + color = mix(gl_FragColor, v_color, texel.a); + } + + // Colorize background pixels, keep image pixel colors: + else { + color = vec4(mix(v_color, texel, texel.a).rgb, max(texel.a, v_color.a)); + } + + // Erase pixels "in the padding": + if (abs(diffVector.x) > v_radius / paddingRatio || abs(diffVector.y) > v_radius / paddingRatio) { + color = u_colorizeImages ? gl_FragColor : v_color; + } + } + #endif + + // Crop in a circle when u_keepWithinCircle is truthy: + if (u_keepWithinCircle) { + if (dist < v_radius - border) { + gl_FragColor = color; + } else if (dist < v_radius) { + gl_FragColor = mix(transparent, color, (v_radius - dist) / border); + } + } + + // Crop in a square else: + else { + float squareHalfSize = v_radius * ${Math.SQRT1_2*Math.cos(Math.PI/12)}; + if (abs(diffVector.x) > squareHalfSize || abs(diffVector.y) > squareHalfSize) { + gl_FragColor = transparent; + } else { + gl_FragColor = color; + } + } +} +`,L=V,O=` +attribute vec4 a_id; +attribute vec4 a_color; +attribute vec2 a_position; +attribute float a_size; +attribute float a_angle; +attribute vec4 a_texture; + +uniform mat3 u_matrix; +uniform float u_sizeRatio; +uniform float u_correctionRatio; + +varying vec4 v_color; +varying vec2 v_diffVector; +varying float v_radius; +varying vec4 v_texture; + +const float bias = 255.0 / 254.0; +const float marginRatio = 1.05; + +void main() { + float size = a_size * u_correctionRatio / u_sizeRatio * 4.0; + vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle)); + vec2 position = a_position + diffVector * marginRatio; + gl_Position = vec4( + (u_matrix * vec3(position, 1)).xy, + 0, + 1 + ); + + v_diffVector = diffVector; + v_radius = size / 2.0 / marginRatio; + + #ifdef PICKING_MODE + // For picking mode, we use the ID as the color: + v_color = a_id; + #else + // For normal mode, we use the color: + v_color = a_color; + + // Pass the texture coordinates: + v_texture = a_texture; + #endif + + v_color.a *= bias; +} +`,X=O,M={size:{mode:"max",value:512},objectFit:"cover",correctCentering:!1},k=100,F=1;function I(a){return new Promise((r,e)=>{const o=new Image;o.addEventListener("load",()=>{r(o)},{once:!0}),o.addEventListener("error",n=>{e(n.error)},{once:!0}),o.setAttribute("crossOrigin",""),o.src=a})}async function W(a,{size:r}={}){const o=await(await fetch(a)).text(),n=new DOMParser().parseFromString(o,"image/svg+xml"),l=n.documentElement,E=l.getAttribute("width"),x=l.getAttribute("height");if(!E||!x)throw new Error("loadSVGImage: cannot use `size` if target SVG has no definite dimensions.");typeof r=="number"&&(l.setAttribute("width",""+r),l.setAttribute("height",""+r));const _=new XMLSerializer().serializeToString(n),s=new Blob([_],{type:"image/svg+xml"}),u=URL.createObjectURL(s),m=I(u);return m.finally(()=>URL.revokeObjectURL(u)),m}async function H(a,{size:r}={}){var n;const e=((n=a.split(/[#?]/)[0].split(".").pop())==null?void 0:n.trim().toLowerCase())==="svg";let o;if(e&&r)try{o=await W(a,{size:r})}catch{o=await I(a)}else o=await I(a);return o}function Y(a,r,{objectFit:e,size:o,correctCentering:n}){const l=e==="contain"?Math.max(a.width,a.height):Math.min(a.width,a.height),E=o.mode==="auto"?l:o.mode==="force"?o.value:Math.min(o.value,l);let x=(a.width-l)/2,_=(a.height-l)/2;if(n){const s=r.getCorrectionOffset(a,l);x=s.x,_=s.y}return{sourceX:x,sourceY:_,sourceSize:l,destinationSize:E}}function B(a,r){const n=[];let l=0,E=0;for(const h in r){const f=r[h];f.status==="ready"&&(E=Math.max(E,f.destinationSize),l+=f.destinationSize**2,n.push({key:h,...f}))}n.sort((h,f)=>h.destinationSize>f.destinationSize?-1:1);const x=l/.6,_=Math.min(Math.max(Math.sqrt(x),E),3072),s=[];let u=0,m=0,i=0,t=0;const d={};for(let h=0,f=n.length;h_&&(t=Math.max(t,u),u=0,m+=i,i=A),s.push({key:v,image:T,sourceX:b,sourceY:p,sourceSize:R,destinationX:u,destinationY:m,destinationSize:S}),d[v]={x:u,y:m,size:S},u+=A,i=Math.max(i,A)}t=Math.max(t,u);const g=a.canvas;g.width=t,g.height=m+i;for(let h=0,f=s.length;h{this.generateTexture(),this.frameId=void 0},k))}generateTexture(){this.atlas=B(this.ctx,this.imageStates),this.texture=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),this.emit(y.NEW_TEXTURE_EVENT,{atlas:this.atlas,texture:this.texture})}async registerImage(e){if(!this.imageStates[e]){this.imageStates[e]={status:"loading"};try{const{size:o}=this.options,n=await H(e,{size:o.mode==="force"?o.value:void 0});this.imageStates[e]={status:"ready",image:n,...Y(n,this.corrector,this.options)},this.scheduleGenerateTexture()}catch{this.imageStates[e]={status:"error"}}}}getAtlas(){return this.atlas}getTexture(){return this.texture}};c(y,"NEW_TEXTURE_EVENT","newTexture");let w=y;const{UNSIGNED_BYTE:N,FLOAT:C}=WebGLRenderingContext,j={...M,drawingMode:"background",keepWithinCircle:!0,drawLabel:void 0,drawHover:void 0,padding:0,colorAttribute:"color"},Q=["u_sizeRatio","u_correctionRatio","u_cameraAngle","u_percentagePadding","u_matrix","u_colorizeImages","u_keepWithinCircle","u_atlas"];function J(a){var s;const{drawHover:r,drawLabel:e,drawingMode:o,keepWithinCircle:n,padding:l,colorAttribute:E,...x}={...j,...a||{},drawLabel:void 0,drawHover:void 0},_=new w(x);return s=class extends U{constructor(i,t,d){super(i,t,d);c(this,"atlas");c(this,"texture");c(this,"textureImage");c(this,"latestRenderParams");c(this,"textureManagerCallback");this.textureManagerCallback=()=>{this&&(this.bindTexture&&(this.atlas=_.getAtlas(),this.textureImage=_.getTexture(),this.bindTexture(),this.latestRenderParams&&this.render(this.latestRenderParams)),d&&d.refresh&&d.refresh())},_.on(w.NEW_TEXTURE_EVENT,this.textureManagerCallback),this.atlas=_.getAtlas(),this.textureImage=_.getTexture(),this.texture=i.createTexture(),this.bindTexture()}getDefinition(){return{VERTICES:3,VERTEX_SHADER_SOURCE:X,FRAGMENT_SHADER_SOURCE:L,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Q,ATTRIBUTES:[{name:"a_position",size:2,type:C},{name:"a_size",size:1,type:C},{name:"a_color",size:4,type:N,normalized:!0},{name:"a_id",size:4,type:N,normalized:!0},{name:"a_texture",size:4,type:C}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:C}],CONSTANT_DATA:[[s.ANGLE_1],[s.ANGLE_2],[s.ANGLE_3]]}}kill(){_.off(w.NEW_TEXTURE_EVENT,this.textureManagerCallback)}bindTexture(){const i=this.normalProgram.gl;i.bindTexture(i.TEXTURE_2D,this.texture),i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,this.textureImage),i.generateMipmap(i.TEXTURE_2D)}renderProgram(i,t){if(!t.isPicking){const d=t.gl;d.bindTexture(d.TEXTURE_2D,this.texture)}super.renderProgram(i,t)}processVisibleItem(i,t,d){const g=this.array,h=G(d[E]),f=d.image,v=f?this.atlas[f]:void 0;if(typeof f=="string"&&!v&&_.registerImage(f),g[t++]=d.x,g[t++]=d.y,g[t++]=d.size,g[t++]=h,g[t++]=i,v){const{width:T,height:R}=this.textureImage;g[t++]=v.x/T,g[t++]=v.y/R,g[t++]=v.size/T,g[t++]=v.size/R}else g[t++]=0,g[t++]=0,g[t++]=0,g[t++]=0}setUniforms(i,{gl:t,uniformLocations:d}){const{u_sizeRatio:g,u_correctionRatio:h,u_matrix:f,u_atlas:v,u_colorizeImages:T,u_keepWithinCircle:R,u_cameraAngle:b,u_percentagePadding:p}=d;this.latestRenderParams=i,t.uniform1f(h,i.correctionRatio),t.uniform1f(g,n?i.sizeRatio:i.sizeRatio/Math.SQRT2),t.uniform1f(b,i.cameraAngle),t.uniform1f(p,l),t.uniformMatrix3fv(f,!1,i.matrix),t.uniform1i(v,0),t.uniform1i(T,o==="color"?1:0),t.uniform1i(R,n?1:0)}},c(s,"ANGLE_1",0),c(s,"ANGLE_2",2*Math.PI/3),c(s,"ANGLE_3",4*Math.PI/3),c(s,"drawLabel",e),c(s,"drawHover",r),s}export{J as g}; diff --git a/storybook/assets/formatter-B5HCVTEV-CysnDv0c.js b/storybook/assets/formatter-B5HCVTEV-CysnDv0c.js new file mode 100644 index 000000000..1ad6f5fad --- /dev/null +++ b/storybook/assets/formatter-B5HCVTEV-CysnDv0c.js @@ -0,0 +1,58 @@ +var Qi=Object.defineProperty;var Zi=(e,t,r)=>t in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>(Zi(e,typeof t!="symbol"?t+"":t,r),r);import{m as ea}from"./DocsRenderer-K4EAMTCU-BzGl8_nh.js";import"./iframe-CPFix1n-.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-DiFAUXR8.js";import"./index-DrFu-skq.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),r?r.call(e):t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Ir(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=aa([...Du].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var oa=class extends Error{constructor(t){super(sa(t));_e(this,"name","InvalidDocError");this.doc=t}},fu=oa,la=()=>{},ca=la;function we(e){return{type:Bt,contents:e}}function mu(e,t){return{type:xt,contents:t,n:e}}function q(e,t={}){return ca(t.expandedStates),{type:Ye,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function pa(e){return mu(Number.NEGATIVE_INFINITY,e)}function ha(e){return mu({type:"root"},e)}function gu(e){return{type:Tt,parts:e}}function bt(e,t="",r={}){return{type:Lt,breakContents:e,flatContents:t,groupId:r.groupId}}function da(e,t){return{type:Nt,contents:e,groupId:t.groupId,negate:t.negate}}var Ze={type:qt},Da={type:be,hard:!0},fa={type:be,hard:!0,literal:!0},L={type:be},I={type:be,soft:!0},A=[Da,Ze],ma=[fa,Ze];function et(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Pt=ga;function Or(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(Ir(i)){case xr:return t(i.map(n));case Tt:return t({...i,parts:i.parts.map(n)});case Lt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case Ye:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case xt:case Bt:case Nt:case Pr:case Nr:return t({...i,contents:n(i.contents)});case Br:case Tr:case Lr:case qr:case be:case qt:return t(i);default:throw new fu(i)}}}function Ca(e){switch(Ir(e)){case Tt:if(e.parts.every(t=>t===""))return"";break;case Ye:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ye&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Bt:case Nt:case Nr:if(!e.contents)return"";break;case Lt:if(!e.flatContents&&!e.breakContents)return"";break;case xr:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Pt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Br:case Tr:case Lr:case qr:case be:case Pr:case qt:break;default:throw new fu(e)}return e}function Fa(e){return Or(e,t=>Ca(t))}function G(e,t=ma){return Or(e,r=>typeof r=="string"?et(t,r.split(` +`)):r)}var va=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_e(this,"name","UnexpectedNodeError");this.node=t}},ya=va,lt="'",cn='"';function Ea(e,t){let r=t===!0||t===lt?lt:cn,n=r===lt?cn:lt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var ba=Ea;function wa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,Sa=class{constructor(e){ra(this,U,void 0),na(this,U,new Set(e))}getLeadingWhitespaceCount(e){let t=se(this,U),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return se(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return se(this,U).has(Pt(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${wa([...se(this,U)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=se(this,U);return Array.prototype.every.call(e,r=>t.has(r))}};U=new WeakMap;var Aa=Sa,ka=[" ",` +`,"\f","\r"," "],_a=new Aa(ka),ce=_a;function Ba(e){return(e==null?void 0:e.type)==="front-matter"}var It=Ba,xa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]),Ta=new Set(["if","else if","for","switch","case"]);function Cu(e,t){var r;if(e.type==="text"||e.type==="comment"||It(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=t.parameters)!=null&&r.children)for(let n of t.parameters.children)Ta.has(e.name)?delete n.expression:n.expression=n.expression.trim()}Cu.ignoredProperties=xa;var La=Cu,Na=e=>String(e).split(/[/\\]/).pop();function pn(e,t){if(!t)return;let r=Na(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function qa(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Pa(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=qa(r,t.language)??pn(r,t.physicalFile)??pn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Ot=Pa,Ia="inline",Oa={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Ma="normal",Ra={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ha(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var Xe=Ha,ja=e=>O(!1,e,/^[\t\f\r ]*\n/g,""),Fu=e=>ja(ce.trimEnd(e)),$a=e=>{let t=e,r=ce.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ce.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function vu(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Pe(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Hr(e,t)&&!ee(e)&&e.type!=="interpolation")}function Mr(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Wa(e.prev)}function Wa(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function H(e){return e.type==="text"||e.type==="comment"}function ee(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Xe(e)&&(e.name==="script"||e.name==="style"))}function Va(e){return e.children&&!ee(e)}function Ua(e){return ee(e)||e.type==="interpolation"||yu(e)}function yu(e){return _u(e).startsWith("pre")}function za(e,t){var r,n;let u=i();if(u&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return u;function i(){return It(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Pe(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!ts(e.parent.cssDisplay))||e.prev&&!us(e.prev.cssDisplay))}}function Ga(e,t){return It(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Pe(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!rs(e.parent.cssDisplay))||e.next&&!ns(e.next.cssDisplay))}function Ka(e){return is(e.cssDisplay)&&!ee(e)}function ct(e){return It(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Xa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&wu(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Su(e.lastChild))}function Eu(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function nr(e){return Au(e)||e.prev&&Ya(e.prev)||bu(e)}function Ya(e){return Au(e)||e.type==="element"&&e.fullName==="br"||bu(e)}function bu(e){return wu(e)&&Su(e)}function wu(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Au(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Rr(e){return e.lastChild?Rr(e.lastChild):e}function Xa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function ku(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function Qa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:u,lang:i}=e.attrMap;return!i&&!u?"babel":Ot(t,{language:i})??ku(u)}function Za(e,t){if(!Hr(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:u}=r;return Ot(t,{language:u})??ku(n)}function es(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Ot(t,{language:r}):"css"}function hn(e,t){return Qa(e,t)??es(e,t)??Za(e,t)}function tt(e){return e==="block"||e==="list-item"||e.startsWith("table")}function ts(e){return!tt(e)&&e!=="inline-block"}function rs(e){return!tt(e)&&e!=="inline-block"}function ns(e){return!tt(e)}function us(e){return!tt(e)}function is(e){return!tt(e)&&e!=="inline-block"}function Pe(e){return _u(e).startsWith("pre")}function as(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ss(e,t){var r;if(Me(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let u=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(u)return u[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(as(e,u=>u.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Xe(e))&&Oa[e.name]||Ia}}function _u(e){return e.type==="element"&&(!e.namespace||Xe(e))&&Ra[e.name]||Ma}function os(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=ce.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function xu(e){return O(!1,O(!1,e,"'","'"),""",'"')}function de(e){return xu(e.value)}var ls=new Set(["template","style","script"]);function Mt(e,t){return Me(e,t)&&!ls.has(e.fullName)}function Me(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Hr(e,t){return Me(e,t)&&(Mt(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function cs(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function ps(e,t){let r=e.parent;if(!Me(r,t))return!1;let n=r.fullName,u=e.fullName;return n==="script"&&u==="setup"||n==="style"&&u==="vars"}function Tu(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?G(t):G(Bu(Fu(t)),A):et(L,ce.split(t))}function Lu(e,t){return Me(e,t)&&e.name==="script"}function jr(e){return e>=9&&e<=32||e==160}function Nu(e){return 48<=e&&e<=57}function $r(e){return e>=97&&e<=122||e>=65&&e<=90}function hs(e){return e>=97&&e<=102||e>=65&&e<=70||Nu(e)}function qu(e){return e===10||e===13}function dn(e){return 48<=e&&e<=55}function Dn(e){return e===39||e===34||e===96}var ds=/-+([a-z0-9])/g;function Ds(e){return e.replace(ds,(...t)=>t[1].toUpperCase())}var fr=class Pu{constructor(t,r,n,u){this.file=t,this.offset=r,this.line=n,this.col=u}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,u=this.offset,i=this.line,a=this.col;for(;u>0&&t<0;)if(u--,t++,r.charCodeAt(u)==10){i--;let s=r.substring(0,u-1).lastIndexOf(` +`);a=s>0?u-s:u}else a--;for(;u0;){let s=r.charCodeAt(u);u++,t--,s==10?(i++,a=0):a++}return new Pu(this.file,u,i,a)}getContext(t,r){let n=this.file.content,u=this.offset;if(u!=null){u>n.length-1&&(u=n.length-1);let i=u,a=0,s=0;for(;a0&&(u--,a++,!(n[u]==` +`&&++s==r)););for(a=0,s=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},fs=[gs,Cs,vs,Es,bs,As,ws,Ss,ks,ys];function ms(e,t){for(let r of fs)r(e,t);return e}function gs(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Cs(e){let t=r=>{var n,u;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((u=r.firstChild)==null?void 0:u.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let u=0;ut.type==="cdata",t=>``)}function ys(e){let t=r=>{var n,u;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ce.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((u=r.next)==null?void 0:u.type)==="text"};e.walk(r=>{if(r.children)for(let n=0;n`+u.firstChild.value+``+a.value,i.sourceSpan=new b(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(u),n--,r.removeChild(a)}})}function Es(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(Va(n))for(let u of n.children){if(u.type!=="text")continue;let i=u.sourceSpan.start,a=null,s=u.value.split(r);for(let o=0;o0&&n.insertChildBefore(u,{type:"text",value:l,sourceSpan:new b(i,a)});continue}a=i.moveBy(l.length+4),n.insertChildBefore(u,{type:"interpolation",sourceSpan:new b(i,a),children:l.length===0?[]:[{type:"text",value:l,sourceSpan:new b(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(u)}})}function bs(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ce.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=Ua(t),n=yu(t);if(!r)for(let u=0;u{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Ss(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function As(e,t){e.walk(r=>{r.cssDisplay=ss(r,t)})}function ks(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=Ka(r);return}for(let u of n)u.isLeadingSpaceSensitive=za(u,t),u.isTrailingSpaceSensitive=Ga(u,t);for(let u=0;u/.test(e)}function xs(e){return` + +`+e}function Rt(e){return e.sourceSpan.start.offset}function Ht(e){return e.sourceSpan.end.offset}async function Ts(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ha([e.startDelimiter,A,n,n?A:"",e.endDelimiter])}}var Ls=Ts,Mu=new Proxy(()=>{},{get:()=>Mu}),Ru=Mu;function Ns(e){return Array.isArray(e)&&e.length>0}var Hu=Ns;function mr(e,t){return[e.isSelfClosing?"":qs(e,t),ft(e,t)]}function qs(e,t){return e.lastChild&&Qe(e.lastChild)?"":[Ps(e,t),Wr(e,t)]}function ft(e,t){return(e.next?ve(e.next):nt(e.parent))?"":[rt(e,t),Fe(e,t)]}function Ps(e,t){return nt(e)?rt(e.lastChild,t):""}function Fe(e,t){return Qe(e)?Wr(e.parent,t):jt(e)?Vr(e.next):""}function Wr(e,t){if(Ru(!e.isSelfClosing),ju(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function ju(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Mr(e)||vu(e.parent,t))}function ve(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!H(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function nt(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!H(Rr(e.lastChild))&&!Pe(e)}function Qe(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&H(Rr(e))}function jt(e){return e.next&&!H(e.next)&&H(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Is(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function $t(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Os(e,t,r){var n;let{node:u}=e;if(!Hu(u.attrs))return u.isSelfClosing?" ":"";let i=((n=u.prev)==null?void 0:n.type)==="comment"&&Is(u.prev.value),a=typeof i=="boolean"?()=>i:Array.isArray(i)?D=>i.includes(D.rawName):()=>!1,s=e.map(({node:D})=>a(D)?G(t.originalText.slice(Rt(D),Ht(D))):r(),"attrs"),o=u.type==="element"&&u.fullName==="script"&&u.attrs.length===1&&u.attrs[0].fullName==="src"&&u.children.length===0,l=t.singleAttributePerLine&&u.attrs.length>1&&!Me(u,t)?A:L,c=[we([o?" ":L,et(l,s)])];return u.firstChild&&$t(u.firstChild)||u.isSelfClosing&&nt(u.parent)||o?c.push(u.isSelfClosing?" ":""):c.push(t.bracketSameLine?u.isSelfClosing?" ":"":u.isSelfClosing?L:I),c}function Ms(e){return e.firstChild&&$t(e.firstChild)?"":Ur(e)}function gr(e,t,r){let{node:n}=e;return[mt(n,t),Os(e,t,r),n.isSelfClosing?"":Ms(n)]}function mt(e,t){return e.prev&&jt(e.prev)?"":[ye(e,t),Vr(e)]}function ye(e,t){return $t(e)?Ur(e.parent):ve(e)?rt(e.prev,t):""}function Vr(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ur(e){switch(Ru(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}var ur=new WeakMap;function Rs(e,t){let{root:r}=e;return ur.has(r)||ur.set(r,r.children.some(n=>Lu(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ur.get(r)}var zr=Rs;function Hs(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&$t(e.firstChild)&&(r-=Ur(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Qe(e.lastChild)?n+=Wr(e,t).length:nt(e)&&(n-=rt(e.lastChild,t).length),t.originalText.slice(r,n)}var $u=Hs;function fn(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}var js=/^[ \t\n\r\u000c]+/,$s=/^[, \t\n\r\u000c]+/,Ws=/^[^ \t\n\r\u000c]+/,Vs=/[,]+$/,mn=/^\d+$/,Us=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function zs(e){let t=e.length,r,n,u,i,a,s=0,o;function l(h){let d,m=h.exec(e.substring(s));if(m)return[d]=m,s+=d.length,d}let c=[];for(;;){if(l($s),s>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=s,r=l(Ws),n=[],r.slice(-1)===","?(r=r.replace(Vs,""),p()):D()}function D(){for(l(js),u="",i="in descriptor";;){if(a=e.charAt(s),i==="in descriptor")if(fn(a))u&&(n.push(u),u="",i="after descriptor");else if(a===","){s+=1,u&&n.push(u),p();return}else if(a==="(")u+=a,i="in parens";else if(a===""){u&&n.push(u),p();return}else u+=a;else if(i==="in parens")if(a===")")u+=a,i="in descriptor";else if(a===""){n.push(u),p();return}else u+=a;else if(i==="after descriptor"&&!fn(a))if(a===""){p();return}else i="in descriptor",s-=1;s+=1}}function p(){let h=!1,d,m,g,F,f={},C,y,v,w,S;for(F=0;F{u=n(a,s)});let i=await t(e,r,t);return u?q(i):Wt(i)}function Ks(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>Ys(de(e.node))}var Wu={width:"w",height:"h",density:"x"},Js=Object.keys(Wu);function Ys(e){let t=Gs(e),r=Js.filter(c=>t.some(D=>Object.prototype.hasOwnProperty.call(D,c)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,u=Wu[n],i=t.map(c=>c.source.value),a=Math.max(...i.map(c=>c.length)),s=t.map(c=>c[n]?String(c[n].value):""),o=s.map(c=>{let D=c.indexOf(".");return D===-1?c.length:D}),l=Math.max(...o);return Wt(et([",",L],i.map((c,D)=>{let p=[c],h=s[D];if(h){let d=a-c.length+1,m=l-o[D],g=" ".repeat(d+m);p.push(bt(g," "),h+u)}return p})))}var Xs=Ks;function Qs(e,t){let{node:r}=e,n=de(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var Zs=Qs;function eo(e,t){let{node:r}=e,n=de(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async u=>Wt(await u(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function to(e,t,r,n){let u=de(r.node),{left:i,operator:a,right:s}=ro(u),o=zr(r,n);return[q(await X(`function _(${i}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await X(s,e,{parser:o?"__ts_expression":"__js_expression"})]}function ro(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let a=O(!1,u[1].trim(),n,""),s=a.match(r);s?(i.alias=a.replace(r,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((l,c)=>!l&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:u[2],right:i.for}}function no(e,t,r){let{node:n}=r,u=de(n);return X(`type T<${u}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Re)}function uo(e,t,{parseWithTs:r}){return X(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function io(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}function ao(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return to;if(n==="generic"&&Lu(r.parent,t))return no;let u=de(r),i=zr(e,t);if(cs(r)||ps(r,t))return a=>uo(u,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>so(u,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>oo(u,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Vu(u,a,{parseWithTs:i})}function so(e,t,{parseWithTs:r}){return io(e)?Vu(e,t,{parseWithTs:r}):X(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Re)}function oo(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Re)}function Vu(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__ts_expression":"__js_expression"},Re)}var lo=ao,Uu=/{{(.+?)}}/s;async function co(e,t){let r=[];for(let[n,u]of e.split(Uu).entries())if(n%2===0)r.push(G(u));else try{r.push(q(["{{",we([L,await X(u,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),L,"}}"]))}catch{r.push("{{",G(u),"}}")}return r}function Gr({parser:e}){return(t,r,n)=>X(de(n.node),t,{parser:e,trailingComma:"none"},Re)}var po=Gr({parser:"__ng_action"}),ho=Gr({parser:"__ng_binding"}),Do=Gr({parser:"__ng_directive"});function fo(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return po;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return ho;if(n.startsWith("*"))return Do;let u=de(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Wt(gu(Tu(r,u.trim())),!u.includes("@@"));if(Uu.test(u))return i=>co(u,i)}var mo=fo;function go(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Xs,eo,Zs,lo,mo]){let u=n(e,t);if(u)return Co(u)}}}function Co(e){return async(t,r,n,u)=>{let i=await e(t,r,n,u);if(i)return i=Or(i,a=>typeof a=="string"?O(!1,a,'"',"""):a),[n.node.rawName,'="',q(i),'"']}}var Fo=go;function vo(e,t,r,n){let{node:u}=r,i=n.originalText.slice(u.sourceSpan.start.offset,u.sourceSpan.end.offset);return/^\s*$/.test(i)?"":X(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},Re)}var yo=vo,Eo=new Set(["if","else if","for","switch","case"]);function bo(e,t){let{node:r}=e;switch(r.type){case"element":if(ee(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Hr(r,t)){let n=hn(r,t);return n?async(u,i)=>{let a=$u(r,t),s=/^\s*$/.test(a),o="";return s||(o=await u(Fu(a),{parser:n,__embeddedInHtml:!0}),s=o===""),[ye(r,t),q(gr(e,t,i)),s?"":A,o,s?"":A,mr(r,t),Fe(r,t)]}:void 0}break;case"text":if(ee(r.parent)){let n=hn(r.parent,t);if(n)return async u=>{let i=n==="markdown"?Bu(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(s="module"),a.__babelSourceType=s}return[Ze,ye(r,t),await u(i,a,{stripTrailingHardline:!0}),Fe(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let u={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(u.parser="__ng_interpolation",u.trailingComma="none"):t.parser==="vue"?u.parser=zr(e,t)?"__vue_ts_expression":"__vue_expression":u.parser="__js_expression",[we([L,await n(r.value,u)]),r.parent.next&&ve(r.parent.next)?" ":L]};break;case"attribute":return Fo(e,t);case"front-matter":return n=>Ls(r,n);case"angularControlFlowBlockParameters":return Eo.has(e.parent.name)?yo:void 0}}var wo=bo;function je(e,t,r){let n=e.node;return Mr(n)?[ye(n,t),G(t.originalText.slice(Rt(n)+(n.prev&&jt(n.prev)?Vr(n).length:0),Ht(n)-(n.next&&ve(n.next)?rt(n,t).length:0))),Fe(n,t)]:r()}function pt(e,t){return H(e)&&H(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?nr(t)?A:L:"":nr(t)?A:I:jt(e)&&(Mr(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ve(t)?"":!t.isLeadingSpaceSensitive||nr(t)||ve(t)&&e.lastChild&&Qe(e.lastChild)&&e.lastChild.lastChild&&Qe(e.lastChild.lastChild)?A:t.hasLeadingSpaces?L:I}function Kr(e,t,r){let{node:n}=e;if(Eu(n))return[Ze,...e.map(i=>{let a=i.node,s=a.prev?pt(a.prev,a):"";return[s?[s,ct(a.prev)?A:""]:"",je(i,t,r)]},"children")];let u=n.children.map(()=>Symbol(""));return e.map((i,a)=>{let s=i.node;if(H(s)){if(s.prev&&H(s.prev)){let d=pt(s.prev,s);if(d)return ct(s.prev)?[A,A,je(i,t,r)]:[d,je(i,t,r)]}return je(i,t,r)}let o=[],l=[],c=[],D=[],p=s.prev?pt(s.prev,s):"",h=s.next?pt(s,s.next):"";return p&&(ct(s.prev)?o.push(A,A):p===A?o.push(A):H(s.prev)?l.push(p):l.push(bt("",I,{groupId:u[a-1]}))),h&&(ct(s)?H(s.next)&&D.push(A,A):h===A?H(s.next)&&D.push(A):c.push(h)),[...o,q([...l,q([je(i,t,r),...c],{id:u[a]})]),...D]},"children")}function So(e,t,r){let{node:n}=e;if(vu(n,t))return[ye(n,t),q(gr(e,t,r)),G($u(n,t)),...mr(n,t),Fe(n,t)];let u=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>q([q(gr(e,t,r),{id:i}),c,mr(n,t)]),s=c=>u?da(c,{groupId:i}):(ee(n)||Mt(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:we(c),o=()=>u?bt(I,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?L:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?pa(I):I,l=()=>(n.next?ve(n.next):nt(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":u?bt(I,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?L:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":I;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?L:""):a([Ja(n)?Ze:"",s([o(),Kr(e,t,r)]),l()])}var Ao=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function ko(e,t,r){let{node:n}=e,u=[];_o(e)&&u.push("} "),u.push("@",n.name),n.parameters&&u.push(" (",q(r("parameters")),")"),u.push(" {");let i=zu(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,u.push(we([A,Kr(e,t,r)])),i&&u.push(A,"}")):i&&u.push("}"),q(u,{shouldBreak:!0})}function zu(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=Ao.get(e.name))!=null&&r.has(e.next.name))}function _o(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!zu(e.previous)}function Bo(e,t,r){return[we([I,et([";",L],e.map(r,"children"))]),I]}var $e=null;function Ge(e){if($e!==null&&typeof $e.property){let t=$e;return $e=Ge.prototype=null,t}return $e=Ge.prototype=e??Object.create(null),new Ge}var xo=10;for(let e=0;e<=xo;e++)Ge();function To(e){return Ge(e)}function Lo(e,t="type"){To(e);function r(n){let u=n[t],i=e[u];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:n});return i}return r}var No=Lo,qo={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[]},Po=qo,Io=No(Po),Oo=Io;function Mo(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return G(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[q(Kr(e,t,r)),A];case"element":case"ieConditionalComment":return So(e,t,r);case"angularControlFlowBlock":return ko(e,t,r);case"angularControlFlowBlockParameters":return Bo(e,t,r);case"angularControlFlowBlockParameter":return ce.trim(n.expression);case"ieConditionalStartComment":case"ieConditionalEndComment":return[mt(n),ft(n)];case"interpolation":return[mt(n,t),...e.map(r,"children"),ft(n,t)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),s=a?n.value.replace(i,""):n.value;return[G(s),a?A:""]}let u=Fa([ye(n,t),...Tu(n),Fe(n,t)]);return Array.isArray(u)?gu(u):u}case"docType":return[q([mt(n,t)," ",O(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ft(n,t)];case"comment":return[ye(n,t),G(t.originalText.slice(Rt(n),Ht(n))),Fe(n,t)];case"attribute":{if(n.value===null)return n.rawName;let u=xu(n.value),i=ba(u,'"');return[n.rawName,"=",i,G(i==='"'?O(!1,u,'"',"""):O(!1,u,"'","'")),i]}case"cdata":default:throw new ya(n,"HTML")}}var Ro={preprocess:_s,print:Mo,insertPragma:xs,massageAstNode:La,embed:wo,getVisitorKeys:Oo},Ho=Ro,Gu={};pu(Gu,{angular:()=>jl,html:()=>Hl,lwc:()=>Wl,vue:()=>$l});var gn;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(gn||(gn={}));var Cn;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(Cn||(Cn={}));var Fn={name:"custom-elements"},vn={name:"no-errors-schema"},ge;(function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"})(ge||(ge={}));var yn;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(yn||(yn={}));var z;(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(z||(z={}));function Vt(e){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function En(e){return Vt(e)[1]==="ng-container"}function bn(e){return Vt(e)[1]==="ng-content"}function gt(e){return e===null?null:Vt(e)[0]}function St(e,t){return e?`:${e}:${t}`:t}var Ct;function wn(){return Ct||(Ct={},ht(ge.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),ht(ge.STYLE,["*|style"]),ht(ge.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),ht(ge.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Ct}function ht(e,t){for(let r of t)Ct[r.toLowerCase()]=e}var jo=class{},$o="boolean",Wo="number",Vo="string",Uo="object",zo=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Ku=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Go=Array.from(Ku).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Ko=class extends jo{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,zo.forEach(e=>{let t=new Map,r=new Set,[n,u]=e.split("|"),i=u.split(","),[a,s]=n.split("^");a.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),r)});let o=s&&this._schema.get(s.toLowerCase());if(o){for(let[l,c]of o)t.set(l,c);for(let l of this._eventSchema.get(s.toLowerCase()))r.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":r.add(l.substring(1));break;case"!":t.set(l.substring(1),$o);break;case"#":t.set(l.substring(1),Wo);break;case"%":t.set(l.substring(1),Uo);break;default:t.set(l,Vo)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===vn.name))return!0;if(e.indexOf("-")>-1){if(En(e)||bn(e))return!1;if(r.some(n=>n.name===Fn.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===vn.name)||e.indexOf("-")>-1&&(En(e)||bn(e)||t.some(r=>r.name===Fn.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=wn()[e+"|"+t];return n||(n=wn()["*|"+t],n||ge.NONE)}getMappedPropName(e){return Ku.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>Go.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Ds(e)}normalizeAnimationStyleValue(e,t,r){let n="",u=r.toString().trim(),i=null;if(Jo(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:u+n}}};function Jo(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var E=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=z.PARSABLE_DATA,closedByParent:n=!1,isVoid:u=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:a=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(o=>this.closedByChildren[o]=!0),this.isVoid=u,this.closedByParent=n||u,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=a,this.canSelfClose=s??u}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Sn,We;function Cr(e){return We||(Sn=new E({canSelfClose:!0}),We=Object.assign(Object.create(null),{base:new E({isVoid:!0}),meta:new E({isVoid:!0}),area:new E({isVoid:!0}),embed:new E({isVoid:!0}),link:new E({isVoid:!0}),img:new E({isVoid:!0}),input:new E({isVoid:!0}),param:new E({isVoid:!0}),hr:new E({isVoid:!0}),br:new E({isVoid:!0}),source:new E({isVoid:!0}),track:new E({isVoid:!0}),wbr:new E({isVoid:!0}),p:new E({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new E({closedByChildren:["tbody","tfoot"]}),tbody:new E({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new E({closedByChildren:["tbody"],closedByParent:!0}),tr:new E({closedByChildren:["tr"],closedByParent:!0}),td:new E({closedByChildren:["td","th"],closedByParent:!0}),th:new E({closedByChildren:["td","th"],closedByParent:!0}),col:new E({isVoid:!0}),svg:new E({implicitNamespacePrefix:"svg"}),foreignObject:new E({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new E({implicitNamespacePrefix:"math"}),li:new E({closedByChildren:["li"],closedByParent:!0}),dt:new E({closedByChildren:["dt","dd"]}),dd:new E({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new E({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new E({closedByChildren:["optgroup"],closedByParent:!0}),option:new E({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new E({ignoreFirstLf:!0}),listing:new E({ignoreFirstLf:!0}),style:new E({contentType:z.RAW_TEXT}),script:new E({contentType:z.RAW_TEXT}),title:new E({contentType:{default:z.ESCAPABLE_RAW_TEXT,svg:z.PARSABLE_DATA}}),textarea:new E({contentType:z.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Ko().allKnownElementNames().forEach(t=>{!We[t]&>(t)===null&&(We[t]=new E({canSelfClose:!1}))})),We[e]??Sn}var ut=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Yo=class extends ut{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},Xo=class extends ut{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},Qo=class extends ut{constructor(e,t,r,n,u,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}},Zo=class{constructor(e,t,r,n,u){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}},el=class extends ut{constructor(e,t,r,n,u,i,a){super(r,a),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=u,this.valueTokens=i,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},oe=class extends ut{constructor(e,t,r,n,u,i=null,a=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=u,this.endSourceSpan=i,this.nameSpan=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}},tl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},rl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},Be=class{constructor(e,t,r,n,u,i=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=u,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},An=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}};function Ju(e,t,r=null){let n=[],u=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let a=u(i);a&&n.push(a)}),n}var nl=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitChildren(e,t){let r=[],n=this;function u(i){i&&r.push(Ju(n,i,e))}return t(u),Array.prototype.concat.apply([],r)}},At={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ul="";At.ngsp=ul;var il=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function al(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];il.forEach(u=>{if(u.test(r)||u.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var sl=class Yu{static fromArray(t){return t?(al("interpolation",t),new Yu(t[0],t[1])):Xu}constructor(t,r){this.start=t,this.end=r}},Xu=new sl("{{","}}"),ir=class extends Ou{constructor(e,t,r){super(r,e),this.tokenType=t}},ol=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function ll(e,t,r,n={}){let u=new hl(new Iu(e,t),r,n);return u.tokenize(),new ol(Cl(u.tokens),u.errors,u.nonNormalizedIcuExpressions)}var cl=/\r\n?/g;function xe(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function kn(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function pl(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var kt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(kt||(kt={}));var ar=class{constructor(e){this.error=e}},hl=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Xu,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(u=>u.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Fl(e,n):new Qu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(cl,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>jr(r)?!e:xn(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(_),this._attemptCharCode(41))this._attemptCharCodeUntilFn(_);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Tn);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Dn(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Tn)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ml(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new ir("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new ir("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new ir(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ar(r)}handleError(e){if(e instanceof Jr&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ar)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return gl(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!dl(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(_n,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,u=[];try{if(!$r(this._cursor.peek()))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(_);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[a,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(_),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(_);let o=this._consumeAttributeValue();u.push({prefix:a,name:s,value:o})}else u.push({prefix:a,name:s});this._attemptCharCodeUntilFn(_)}this._consumeTagOpenEnd()}catch(a){if(a instanceof ar){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw a}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let i=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),i===z.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):i===z.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(_),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(_),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(xe(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>_n(this._cursor.peek());e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(_),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let u=[];for(;!r();){let a=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(u.join(""))],a),u.length=0,this._consumeInterpolation(t,a,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(u.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let u=this._cursor.clone(),i=null,a=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(u,s)),this._endToken(n);return}if(i===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(u,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(a=!0);let o=this._cursor.peek();this._cursor.advance(),o===92?this._cursor.advance():o===i?i=null:!a&&i===null&&Dn(o)&&(i=o)}n.push(this._getProcessedChars(u,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),xn(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=St(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=St(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _(e){return!jr(e)||e===0}function _n(e){return jr(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function dl(e){return(e<97||12257)}function Dl(e){return e===59||e===0||!hs(e)}function fl(e){return e===59||e===0||!$r(e)}function ml(e){return e!==125}function gl(e,t){return Bn(e)===Bn(t)}function Bn(e){return e>=97&&e<=122?e-97+65:e}function xn(e){return $r(e)||Nu(e)||e===95}function Tn(e){return e!==59&&_(e)}function Cl(e){let t=[],r;for(let n=0;n0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let u=this.locationFromCursor(t),i=this.locationFromCursor(this),a=n!==t?this.locationFromCursor(n):u;return new b(u,i,a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Jr('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):qu(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new fr(t.file,t.state.offset,t.state.line,t.state.column)}},Fl=class vr extends Qu{constructor(t,r){t instanceof vr?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new vr(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(dn(t())){let r="",n=0,u=this.clone();for(;dn(t())&&n<3;)u=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=u.internalState}else qu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),u=parseInt(n,16);if(isNaN(u))throw t.state=t.internalState,new Jr("Invalid hexadecimal escape sequence",t);return u}},Jr=class{constructor(e,t){this.msg=e,this.cursor=t}},R=class Zu extends Ou{static create(t,r,n){return new Zu(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},vl=class{constructor(e,t){this.rootNodes=e,this.errors=t}},yl=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,u){let i=h=>(d,...m)=>h(d.toLowerCase(),...m),a=n?this.getTagDefinition:i(this.getTagDefinition),s=h=>a(h).getContentType(),o=n?u:i(u),l=ll(e,t,u?(h,d,m,g)=>{let F=o(h,d,m,g);return F!==void 0?F:s(h)}:s,r),c=r&&r.canSelfClose||!1,D=r&&r.allowHtmComponentClosingTags||!1,p=new El(l.tokens,a,c,D,n);return p.build(),new vl(p.rootNodes,l.errors.concat(p.errors))}},El=class ei{constructor(t,r,n,u,i){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=u,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==30;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Be&&this.errors.push(R.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new b(t.sourceSpan.start,u.sourceSpan.end,t.sourceSpan.fullStart),s=new b(r.sourceSpan.start,u.sourceSpan.end,r.sourceSpan.fullStart);return new Zo(t.parts[0],i.rootNodes,a,t.sourceSpan,s)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Ln(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ln(n,20))n.pop();else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==` +`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,u=t.parts[0];if(u.length>0&&u[0]===` +`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(u=u.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[u]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?u+=t.parts.join("").replace(/&([^;]+);/g,Nn):t.type===9?u+=t.parts[0]:u+=t.parts.join("");if(u.length>0){let i=t.sourceSpan;this._addToParent(new Yo(u,new b(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof oe&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,u=[];for(;this._peek.type===14;)u.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||gt(i)!==null||h.isVoid||this.errors.push(R.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let s=this._peek.sourceSpan.fullStart,o=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),l=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),c=new b(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),D=new oe(i,u,[],o,l,void 0,c),p=this._getContainer();this._pushContainer(D,p instanceof oe&&this.getTagDefinition(p.name).isClosedByChild(D.name)),a?this._popContainer(i,oe,o):t.type===4&&(this._popContainer(i,oe,null),this.errors.push(R.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(R.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,oe,t.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(R.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let u=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(gt(a.name)?a.name===t:(t==null||a.name.toLowerCase()===t.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!u;(a instanceof Be||a instanceof oe&&!this.getTagDefinition(a.name).closedByParent)&&(u=!0)}return!1}_consumeAttr(t){let r=St(t.parts[0],t.parts[1]),n=t.sourceSpan.end,u;this._peek.type===15&&(u=this._advance());let i="",a=[],s,o;if(this._peek.type===16)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let c=this._advance();a.push(c),c.type===17?i+=c.parts.join("").replace(/&([^;]+);/g,Nn):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),o=n=c.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let l=s&&o&&new b((u==null?void 0:u.sourceSpan.start)??s.start,o,(u==null?void 0:u.sourceSpan.fullStart)??s.fullStart);return new el(r,i,new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1)}_consumeBlockClose(t){this._popContainer(null,Be,t.sourceSpan)||this.errors.push(R.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1),this._popContainer(null,Be,null),this.errors.push(R.create(t.parts[0],u,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof oe)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(t===""&&(t=this.getTagDefinition(r).implicitNamespacePrefix||"",t===""&&n!=null)){let u=Vt(n.name)[1];this.getTagDefinition(u).preventNamespaceInheritance||(t=gt(n.name))}return St(t,r)}};function Ln(e,t){return e.length>0&&e[e.length-1]===t}function Nn(e,t){return At[t]!==void 0?At[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var bl=class extends yl{constructor(){super(Cr)}parse(e,t,r,n=!1,u){return super.parse(e,t,r,n,u)}},sr=null,wl=()=>(sr||(sr=new bl),sr);function qn(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:u=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1}=t;return wl().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a},u,i)}var Sl=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Al(e){let t=e.match(Sl);if(!t)return{content:e};let{startDelimiter:r,language:n,value:u="",endDelimiter:i}=t.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:a,value:u,startDelimiter:r,endDelimiter:i,raw:s.replace(/\n$/,"")},content:O(!1,s,/[^\n]/g," ")+e.slice(s.length)}}var kl=Al;function _l(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var Bl=_l,xl=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),dt={attrs:!0,children:!0},Pn=new Set(["parent"]),Tl=class Ue{constructor(t={}){for(let r of new Set([...Pn,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in dt&&(r=r.map(n=>this.createChild(n))),!Pn.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in dt){let u=this[n];if(u){let i=Ll(u,a=>a.map(t));r!==u&&(r||(r=new Ue({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in dt||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in dt){let n=this[r];if(n)for(let u=0;u[t.fullName,t.value]))}};function Ll(e,t){let r=e.map(t);return r.some((n,u)=>n!==e[u])?r:e}var Nl=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,t(i,s).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new b(s,o)}]]}})();return{type:"ieConditionalComment",complete:l,children:c,condition:O(!1,u.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new b(e.sourceSpan.start,s),endSourceSpan:new b(o,e.sourceSpan.end)}}function Il(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:O(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Ol(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Ml(e){if(e.type==="block"){if(e.name=O(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Hu(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new b(e.parameters[0].sourceSpan.start,Pt(!1,e.parameters,-1).sourceSpan.end)}}}function ti(e,t,r){let{name:n,canSelfClose:u=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:l}=t,{rootNodes:c,errors:D}=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o,getTagContentType:l?(...f)=>l(...f)?z.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(c.some(v=>v.type==="docType"&&v.value==="html"||v.type==="element"&&v.name.toLowerCase()==="html"))return ti(e,ni,r);let f,C=()=>f??(f=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o})),y=v=>C().rootNodes.find(({startSourceSpan:w})=>w&&w.start.offset===v.startSourceSpan.start.offset)??v;for(let[v,w]of c.entries()){let{endSourceSpan:S,startSourceSpan:x}=w;if(S===null)D=C().errors,c[v]=y(w);else if(Rl(w,r)){let K=C().errors.find(W=>W.span.start.offset>x.start.offset&&W.span.start.offset0&&In(D[0]);let p=f=>{let C=f.name.startsWith(":")?f.name.slice(1).split(":")[0]:null,y=f.nameSpan.toString(),v=C!==null&&y.startsWith(`${C}:`),w=v?y.slice(C.length+1):y;f.name=w,f.namespace=C,f.hasExplicitNamespace=v},h=f=>{switch(f.type){case"element":p(f);for(let C of f.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":f.value=f.sourceSpan.toString().slice(4,-3);break;case"text":f.value=f.sourceSpan.toString();break}},d=(f,C)=>{let y=f.toLowerCase();return C(y)?y:f},m=f=>{if(f.type==="element"&&(i&&(!f.namespace||f.namespace===f.tagDefinition.implicitNamespacePrefix||Xe(f))&&(f.name=d(f.name,C=>xl.has(C))),a))for(let C of f.attrs)C.namespace||(C.name=d(C.name,y=>or.has(f.name)&&(or.get("*").has(y)||or.get(f.name).has(y))))},g=f=>{f.sourceSpan&&f.endSourceSpan&&(f.sourceSpan=new b(f.sourceSpan.start,f.endSourceSpan.end))},F=f=>{if(f.type==="element"){let C=Cr(o?f.name:f.name.toLowerCase());!f.namespace||f.namespace===C.implicitNamespacePrefix||Xe(f)?f.tagDefinition=C:f.tagDefinition=Cr("")}};return Ju(new class extends nl{visit(f){h(f),F(f),m(f),g(f)}},c),c}function Rl(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(u=>u.name==="lang"))==null?void 0:r.value;return!n||Ot(t,{language:n})==="html"}function In(e){let{msg:t,span:{start:r,end:n}}=e;throw Bl(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ri(e,t,r={},n=!0){let{frontMatter:u,content:i}=n?kl(e):{frontMatter:null,content:e},a=new Iu(e,r.filepath),s=new fr(a,0,0,0),o=s.moveBy(e.length),l={type:"root",sourceSpan:new b(s,o),children:ti(i,t,r)};if(u){let p=new fr(a,0,0,0),h=p.moveBy(u.raw.length);u.sourceSpan=new b(p,h),l.children.unshift(u)}let c=new Tl(l),D=(p,h)=>{let{offset:d}=h,m=O(!1,e.slice(0,d),/[^\n\r]/g," "),g=ri(m+p,t,r,!1);g.sourceSpan=new b(h,Pt(!1,g.children,-1).sourceSpan.end);let F=g.children[0];return F.length===d?g.children.shift():(F.sourceSpan=new b(F.sourceSpan.start.moveBy(d),F.sourceSpan.end),F.value=F.value.slice(d)),g};return c.walk(p=>{if(p.type==="comment"){let h=ql(p,D);h&&p.parent.replaceChild(p,h)}Ml(p)}),c}function Ut(e){return{parse:(t,r)=>ri(t,e,r),hasPragma:Bs,astFormat:"html",locStart:Rt,locEnd:Ht}}var ni={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Hl=Ut(ni),jl=Ut({name:"angular"}),$l=Ut({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:u,value:i})=>u==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Wl=Ut({name:"lwc",canSelfClose:!1}),Vl=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],On={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Mn="HTML",Ul={bracketSameLine:On.bracketSameLine,htmlWhitespaceSensitivity:{category:Mn,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:On.singleAttributePerLine,vueIndentScriptAndStyle:{category:Mn,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},zl=Ul,Gl={html:Ho},Kl=du,Jl=Object.create,zt=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,Xl=Object.getOwnPropertyNames,Ql=Object.getPrototypeOf,Zl=Object.prototype.hasOwnProperty,ec=(e,t)=>()=>(e&&(t=e(e=0)),t),Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},ui=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Xl(t))!Zl.call(e,u)&&u!==r&&zt(e,u,{get:()=>t[u],enumerable:!(n=Yl(t,u))||n.enumerable});return e},it=(e,t,r)=>(r=e!=null?Jl(Ql(e)):{},ui(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),tc=e=>ui(zt({},"__esModule",{value:!0}),e),rc=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},Rn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Ve=(e,t,r)=>(rc(e,t,"access private method"),r),nc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(u,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(f){return s?(setTimeout(function(){s(void 0,f)},0),!0):f}u=this.castInput(u),i=this.castInput(i),u=this.removeEmpty(this.tokenize(u)),i=this.removeEmpty(this.tokenize(i));var c=i.length,D=u.length,p=1,h=c+D;a.maxEditLength&&(h=Math.min(h,a.maxEditLength));var d=[{newPos:-1,components:[]}],m=this.extractCommon(d[0],i,u,0);if(d[0].newPos+1>=c&&m+1>=D)return l([{value:this.join(i),count:i.length}]);function g(){for(var f=-1*p;f<=p;f+=2){var C=void 0,y=d[f-1],v=d[f+1],w=(v?v.newPos:0)-f;y&&(d[f-1]=void 0);var S=y&&y.newPos+1=c&&w+1>=D)return l(r(o,C.components,i,u,o.useLongestToken));d[f]=C}p++}if(s)(function f(){setTimeout(function(){if(p>h)return s();g()||f()},0)})();else for(;p<=h;){var F=g();if(F)return F}},pushComponent:function(u,i,a){var s=u[u.length-1];s&&s.added===i&&s.removed===a?u[u.length-1]={count:s.count+1,added:i,removed:a}:u.push({count:1,added:i,removed:a})},extractCommon:function(u,i,a,s){for(var o=i.length,l=a.length,c=u.newPos,D=c-s,p=0;c+1F.length?C:F}),h.value=u.join(m)}else h.value=u.join(a.slice(D,D+h.count));D+=h.count,h.added||(p+=h.count)}}var g=i[c-1];return c>1&&typeof g.value=="string"&&(g.added||g.removed)&&u.equals("",g.value)&&(i[c-2].value+=g.value,i.pop()),i}function n(u){return{newPos:u.newPos,components:u.components.slice(0)}}}),uc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=u,e.arrayDiff=void 0;var t=r(nc());function r(i){return i&&i.__esModule?i:{default:i}}var n=new t.default;e.arrayDiff=n,n.tokenize=function(i){return i.slice()},n.join=n.removeEmpty=function(i){return i};function u(i,a,s){return n.diff(i,a,s)}}),Jt=Gt((e,t)=>{var r=new Proxy(String,{get:()=>r});t.exports=r}),ii={};Kt(ii,{default:()=>si,shouldHighlight:()=>ai});var ai,si,ic=ec(()=>{ai=()=>!1,si=String}),ac=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=D,e.default=p;var t=(ic(),tc(ii)),r=u(Jt(),!0);function n(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(d);if(m&&m.has(h))return m.get(h);var g={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in h)if(f!=="default"&&Object.prototype.hasOwnProperty.call(h,f)){var C=F?Object.getOwnPropertyDescriptor(h,f):null;C&&(C.get||C.set)?Object.defineProperty(g,f,C):g[f]=h[f]}return g.default=h,m&&m.set(h,g),g}var i;function a(h){return h?(i!=null||(i=new r.default.constructor({enabled:!0,level:1})),i):r.default}var s=!1;function o(h){return{gutter:h.grey,marker:h.red.bold,message:h.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(h,d,m){let g=Object.assign({column:0,line:-1},h.start),F=Object.assign({},g,h.end),{linesAbove:f=2,linesBelow:C=3}=m||{},y=g.line,v=g.column,w=F.line,S=F.column,x=Math.max(y-(f+1),0),K=Math.min(d.length,w+C);y===-1&&(x=0),w===-1&&(K=d.length);let W=w-y,T={};if(W)for(let V=0;V<=W;V++){let J=V+y;if(!v)T[J]=!0;else if(V===0){let fe=d[J-1].length;T[J]=[v,fe-v+1]}else if(V===W)T[J]=[0,S];else{let fe=d[J-V].length;T[J]=[0,fe]}}else v===S?v?T[y]=[v,0]:T[y]=!0:T[y]=[v,S-v];return{start:x,end:K,markerLines:T}}function D(h,d,m={}){let g=(m.highlightCode||m.forceColor)&&(0,t.shouldHighlight)(m),F=a(m.forceColor),f=o(F),C=(T,V)=>g?T(V):V,y=h.split(l),{start:v,end:w,markerLines:S}=c(d,y,m),x=d.start&&typeof d.start.column=="number",K=String(w).length,W=(g?(0,t.default)(h,m):h).split(l,w).slice(v,w).map((T,V)=>{let J=v+1+V,fe=` ${` ${J}`.slice(-K)} |`,ot=S[J],Ji=!S[J+1];if(ot){let rr="";if(Array.isArray(ot)){let Yi=T.slice(0,Math.max(ot[0]-1,0)).replace(/[^\t]/g," "),Xi=ot[1]||1;rr=[` + `,C(f.gutter,fe.replace(/\d/g," "))," ",Yi,C(f.marker,"^").repeat(Xi)].join(""),Ji&&m.message&&(rr+=" "+C(f.message,m.message))}return[C(f.marker,">"),C(f.gutter,fe),T.length>0?` ${T}`:"",rr].join("")}else return` ${C(f.gutter,fe)}${T.length>0?` ${T}`:""}`}).join(` +`);return m.message&&!x&&(W=`${" ".repeat(K+1)}${m.message} +${W}`),g?F.reset(W):W}function p(h,d,m,g={}){if(!s){s=!0;let F="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let f=new Error(F);f.name="DeprecationWarning",console.warn(new Error(F))}}return m=Math.max(m,0),D(h,{start:{column:m,line:d}},g)}}),oi={};Kt(oi,{__debug:()=>rh,check:()=>eh,doc:()=>zi,format:()=>Ki,formatWithCursor:()=>Gi,getSupportInfo:()=>th,util:()=>Ui,version:()=>Z2});var sc=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},Yt=sc,oc=it(uc(),1),Se="string",pe="array",Ae="cursor",te="indent",re="align",ne="trim",P="group",j="fill",M="if-break",ue="indent-if-break",ie="line-suffix",ae="line-suffix-boundary",B="line",Q="label",$="break-parent",li=new Set([Ae,te,re,ne,P,j,M,ue,ie,ae,B,Q,$]);function lc(e){if(typeof e=="string")return Se;if(Array.isArray(e))return pe;if(!e)return;let{type:t}=e;if(li.has(t))return t}var ke=lc,cc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function pc(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(ke(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=cc([...li].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var hc=class extends Error{constructor(t){super(pc(t));_e(this,"name","InvalidDocError");this.doc=t}},Ie=hc,Hn={};function dc(e,t,r,n){let u=[e];for(;u.length>0;){let i=u.pop();if(i===Hn){r(u.pop());continue}r&&u.push(i,Hn);let a=ke(i);if(!a)throw new Ie(i);if((t==null?void 0:t(i))!==!1)switch(a){case pe:case j:{let s=a===pe?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)u.push(s[l]);break}case M:u.push(i.flatContents,i.breakContents);break;case P:if(n&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)u.push(i.expandedStates[o]);else u.push(i.contents);break;case re:case te:case ue:case Q:case ie:u.push(i.contents);break;case Se:case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(i)}}}var Yr=dc,Dc=()=>{},fc=Dc;function _t(e){return{type:te,contents:e}}function Oe(e,t){return{type:re,contents:t,n:e}}function ci(e,t={}){return fc(t.expandedStates),{type:P,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function mc(e){return Oe(Number.NEGATIVE_INFINITY,e)}function gc(e){return Oe({type:"root"},e)}function Cc(e){return Oe(-1,e)}function Fc(e,t){return ci(e[0],{...t,expandedStates:e})}function pi(e){return{type:j,parts:e}}function vc(e,t="",r={}){return{type:M,breakContents:e,flatContents:t,groupId:r.groupId}}function yc(e,t){return{type:ue,contents:e,groupId:t.groupId,negate:t.negate}}function yr(e){return{type:ie,contents:e}}var Ec={type:ae},Xt={type:$},bc={type:ne},Xr={type:B,hard:!0},hi={type:B,hard:!0,literal:!0},di={type:B},wc={type:B,soft:!0},Ce=[Xr,Xt],Di=[hi,Xt],Er={type:Ae};function fi(e,t){let r=[];for(let n=0;n0){for(let u=0;u{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},k=Ac;function kc(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Qr(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function gi(e,t){let r;switch(t){case` +`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r +`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function _c(e){return Yt(!1,e,/\r\n?/g,` +`)}var Bc=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function xc(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tc(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Lc=e=>!(xc(e)||Tc(e)),Nc=/[^\x20-\x7F]/;function qc(e){if(!e)return 0;if(!Nc.test(e))return e.length;e=e.replace(Bc()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Lc(n)?1:2)}return t}var Zr=qc,Pc=e=>{if(Array.isArray(e))return e;if(e.type!==j)throw new Error(`Expect doc to be 'array' or '${j}'.`);return e.parts};function Qt(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(ke(i)){case pe:return t(i.map(n));case j:return t({...i,parts:i.parts.map(n)});case M:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case P:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case re:case te:case ue:case Q:case ie:return t({...i,contents:n(i.contents)});case Se:case Ae:case ne:case ae:case B:case $:return t(i);default:throw new Ie(i)}}}function en(e,t,r){let n=r,u=!1;function i(a){if(u)return!1;let s=t(a);s!==void 0&&(u=!0,n=s)}return Yr(e,i),n}function Ic(e){if(e.type===P&&e.break||e.type===B&&e.hard||e.type===$)return!0}function Oc(e){return en(e,Ic,!1)}function jn(e){if(e.length>0){let t=k(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Mc(e){let t=new Set,r=[];function n(i){if(i.type===$&&jn(r),i.type===P){if(r.push(i),t.has(i))return!1;t.add(i)}}function u(i){i.type===P&&r.pop().break&&jn(r)}Yr(e,n,u,!0)}function Rc(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===M?e.flatContents:e}function Hc(e){return Qt(e,Rc)}function $n(e){for(e=[...e];e.length>=2&&k(!1,e,-2).type===B&&k(!1,e,-1).type===$;)e.length-=2;if(e.length>0){let t=Ke(k(!1,e,-1));e[e.length-1]=t}return e}function Ke(e){switch(ke(e)){case re:case te:case ue:case P:case ie:case Q:{let t=Ke(e.contents);return{...e,contents:t}}case M:return{...e,breakContents:Ke(e.breakContents),flatContents:Ke(e.flatContents)};case j:return{...e,parts:$n(e.parts)};case pe:return $n(e);case Se:return e.replace(/[\n\r]*$/,"");case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(e)}return e}function Ci(e){return Ke($c(e))}function jc(e){switch(ke(e)){case j:if(e.parts.every(t=>t===""))return"";break;case P:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===P&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case re:case te:case ue:case ie:if(!e.contents)return"";break;case M:if(!e.flatContents&&!e.breakContents)return"";break;case pe:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof k(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Se:case Ae:case ne:case ae:case B:case Q:case $:break;default:throw new Ie(e)}return e}function $c(e){return Qt(e,t=>jc(t))}function Wc(e,t=Di){return Qt(e,r=>typeof r=="string"?fi(t,r.split(` +`)):r)}function Vc(e){if(e.type===B)return!0}function Uc(e){return en(e,Vc,!1)}function Fi(e,t){return e.type===Q?{...e,contents:t(e.contents)}:t(e)}var N=Symbol("MODE_BREAK"),Y=Symbol("MODE_FLAT"),Je=Symbol("cursor");function vi(){return{value:"",length:0,queue:[]}}function zc(e,t){return br(e,{type:"indent"},t)}function Gc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vi():t<0?br(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:br(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function br(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,a=0,s=0;for(let d of n)switch(d.type){case"indent":c(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":c(),u+=d.n,i+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error(`Unexpected type '${d.type}'`)}return p(),{...e,value:u,length:i,queue:n};function o(d){u+=" ".repeat(d),i+=r.tabWidth*d}function l(d){u+=" ".repeat(d),i+=d}function c(){r.useTabs?D():p()}function D(){a>0&&o(a),h()}function p(){s>0&&l(s),h()}function h(){a=0,s=0}}function wr(e){let t=0,r=0,n=e.length;e:for(;n--;){let u=e[n];if(u===Je){r++;continue}for(let i=u.length-1;i>=0;i--){let a=u[i];if(a===" "||a===" ")t++;else{e[n]=u.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Je);return t}function Dt(e,t,r,n,u,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop();switch(ke(c)){case Se:o.push(c),r-=Zr(c);break;case pe:case j:{let D=Pc(c);for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case te:case re:case ue:case Q:s.push({mode:l,doc:c.contents});break;case ne:r+=wr(o);break;case P:{if(i&&c.break)return!1;let D=c.break?N:l,p=c.expandedStates&&D===N?k(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case M:{let D=(c.groupId?u[c.groupId]||Y:l)===N?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case B:if(l===N||c.hard)return!0;c.soft||(o.push(" "),r--);break;case ie:n=!0;break;case ae:if(n)return!1;break}}return!1}function Zt(e,t){let r={},n=t.printWidth,u=Qr(t.endOfLine),i=0,a=[{ind:vi(),mode:N,doc:e}],s=[],o=!1,l=[],c=0;for(Mc(e);a.length>0;){let{ind:p,mode:h,doc:d}=a.pop();switch(ke(d)){case Se:{let m=u!==` +`?Yt(!1,d,` +`,u):d;s.push(m),a.length>0&&(i+=Zr(m));break}case pe:for(let m=d.length-1;m>=0;m--)a.push({ind:p,mode:h,doc:d[m]});break;case Ae:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Je),c++;break;case te:a.push({ind:zc(p,t),mode:h,doc:d.contents});break;case re:a.push({ind:Gc(p,d.n,t),mode:h,doc:d.contents});break;case ne:i-=wr(s);break;case P:switch(h){case Y:if(!o){a.push({ind:p,mode:d.break?N:Y,doc:d.contents});break}case N:{o=!1;let m={ind:p,mode:Y,doc:d.contents},g=n-i,F=l.length>0;if(!d.break&&Dt(m,a,g,F,r))a.push(m);else if(d.expandedStates){let f=k(!1,d.expandedStates,-1);if(d.break){a.push({ind:p,mode:N,doc:f});break}else for(let C=1;C=d.expandedStates.length){a.push({ind:p,mode:N,doc:f});break}else{let y=d.expandedStates[C],v={ind:p,mode:Y,doc:y};if(Dt(v,a,g,F,r)){a.push(v);break}}}else a.push({ind:p,mode:N,doc:d.contents});break}}d.id&&(r[d.id]=k(!1,a,-1).mode);break;case j:{let m=n-i,{parts:g}=d;if(g.length===0)break;let[F,f]=g,C={ind:p,mode:Y,doc:F},y={ind:p,mode:N,doc:F},v=Dt(C,[],m,l.length>0,r,!0);if(g.length===1){v?a.push(C):a.push(y);break}let w={ind:p,mode:Y,doc:f},S={ind:p,mode:N,doc:f};if(g.length===2){v?a.push(w,C):a.push(S,y);break}g.splice(0,2);let x={ind:p,mode:h,doc:pi(g)},K=g[0];Dt({ind:p,mode:Y,doc:[F,f,K]},[],m,l.length>0,r,!0)?a.push(x,w,C):v?a.push(x,S,C):a.push(x,S,y);break}case M:case ue:{let m=d.groupId?r[d.groupId]:h;if(m===N){let g=d.type===M?d.breakContents:d.negate?d.contents:_t(d.contents);g&&a.push({ind:p,mode:h,doc:g})}if(m===Y){let g=d.type===M?d.flatContents:d.negate?_t(d.contents):d.contents;g&&a.push({ind:p,mode:h,doc:g})}break}case ie:l.push({ind:p,mode:h,doc:d.contents});break;case ae:l.length>0&&a.push({ind:p,mode:h,doc:Xr});break;case B:switch(h){case Y:if(d.hard)o=!0;else{d.soft||(s.push(" "),i+=1);break}case N:if(l.length>0){a.push({ind:p,mode:h,doc:d},...l.reverse()),l.length=0;break}d.literal?p.root?(s.push(u,p.root.value),i=p.root.length):(s.push(u),i=0):(i-=wr(s),s.push(u+p.value),i=p.length);break}break;case Q:a.push({ind:p,mode:h,doc:d.contents});break;case $:break;default:throw new Ie(d)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let D=s.indexOf(Je);if(D!==-1){let p=s.indexOf(Je,D+1),h=s.slice(0,D).join(""),d=s.slice(D+1,p).join(""),m=s.slice(p+1).join("");return{formatted:h+d+m,cursorNodeStart:h.length,cursorNodeText:d}}return{formatted:s.join("")}}function Z(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...Z(n));else{let u=Z(n);u!==""&&r.push(u)}return r}return e.type===M?{...e,breakContents:Z(e.breakContents),flatContents:Z(e.flatContents)}:e.type===P?{...e,contents:Z(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(Z)}:e.type===j?{type:"fill",parts:e.parts.map(Z)}:e.contents?{...e,contents:Z(e.contents)}:e}function Kc(e){let t=Object.create(null),r=new Set;return n(Z(e));function n(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let c=i.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(i.type===B){let c=((o=s==null?void 0:s[a+1])==null?void 0:o.type)===$;return i.literal?c?"literalline":"literallineWithoutBreakParent":i.hard?c?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===$)return((l=s==null?void 0:s[a-1])==null?void 0:l.type)===B&&s[a-1].hard?void 0:"breakParent";if(i.type===ne)return"trim";if(i.type===te)return"indent("+n(i.contents)+")";if(i.type===re)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(i.contents)+")":i.n<0?"dedent("+n(i.contents)+")":i.n.type==="root"?"markAsRoot("+n(i.contents)+")":"align("+JSON.stringify(i.n)+", "+n(i.contents)+")";if(i.type===M)return"ifBreak("+n(i.breakContents)+(i.flatContents?", "+n(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${u(i.groupId)} }`:"")+")";if(i.type===ue){let c=[];i.negate&&c.push("negate: true"),i.groupId&&c.push(`groupId: ${u(i.groupId)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${D})`}if(i.type===P){let c=[];i.break&&i.break!=="propagated"&&c.push("shouldBreak: true"),i.id&&c.push(`id: ${u(i.id)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(p=>n(p)).join(",")}]${D})`:`group(${n(i.contents)}${D})`}if(i.type===j)return`fill([${i.parts.map(c=>n(c)).join(", ")}])`;if(i.type===ie)return"lineSuffix("+n(i.contents)+")";if(i.type===ae)return"lineSuffixBoundary";if(i.type===Q)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function u(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}function Jc(e,t,r=0){let n=0;for(let u=r;utypeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Ei({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(u=>u.languages??[]),n=[];for(let u of Qc(Object.assign({},...e.map(({options:i})=>i),Yc)))!t&&u.deprecated||(Array.isArray(u.choices)&&(t||(u.choices=u.choices.filter(i=>!i.deprecated)),u.name==="parser"&&(u.choices=[...u.choices,...Xc(u.choices,r,e)])),u.pluginDefaults=Object.fromEntries(e.filter(i=>{var a;return((a=i.defaultOptions)==null?void 0:a[u.name])!==void 0}).map(i=>[i.name,i.defaultOptions[u.name]])),n.push(u));return{languages:r,options:n}}function*Xc(e,t,r){let n=new Set(e.map(u=>u.value));for(let u of t)if(u.parsers){for(let i of u.parsers)if(!n.has(i)){n.add(i);let a=r.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,i)),s=u.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:i,description:s}}}}function Qc(e){let t=[];for(let[r,n]of Object.entries(e)){let u={name:r,...n};Array.isArray(u.default)&&(u.default=k(!1,u.default,-1).value),t.push(u)}return t}var Zc=e=>String(e).split(/[/\\]/).pop();function Vn(e,t){if(!t)return;let r=Zc(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function ep(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function tp(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=ep(r,t.language)??Vn(r,t.physicalFile)??Vn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var rp=tp,Te={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Te.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Te.key(r)}: ${Te.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Te.value({[e]:t})},Un=it(Jt(),1),np=(e,t,{descriptor:r})=>{let n=[`${Un.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Un.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},Le=it(Jt(),1),bi=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ft=Symbol.for("vnopts.VALUE_UNCHANGED"),zn=" ".repeat(2),up=(e,t,r)=>{let{text:n,list:u}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return n&&i.push(Gn(e,t,n,r.descriptor)),u&&i.push([Gn(e,t,u.title,r.descriptor)].concat(u.values.map(a=>wi(a,r.loggerPrintWidth))).join(` +`)),Si(i,r.loggerPrintWidth)};function Gn(e,t,r,n){return[`Invalid ${Le.default.red(n.key(e))} value.`,`Expected ${Le.default.blue(r)},`,`but received ${t===bi?Le.default.gray("nothing"):Le.default.red(n.value(t))}.`].join(" ")}function wi({text:e,list:t},r){let n=[];return e&&n.push(`- ${Le.default.blue(e)}`),t&&n.push([`- ${Le.default.blue(t.title)}:`].concat(t.values.map(u=>wi(u,r-zn.length).replace(/^|\n/g,`$&${zn}`))).join(` +`)),Si(n,r)}function Si(e,t){if(e.length===1)return e[0];let[r,n]=e,[u,i]=e.map(a=>a.split(` +`,1)[0].length);return u>t&&u>i?n:r}var Kn=it(Jt(),1),lr=[],Jn=[];function ip(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,u=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;let i=0;for(;is?l>s?s+1:l:l>o?o+1:l;return s}var Ai=(e,t,{descriptor:r,logger:n,schemas:u})=>{let i=[`Ignored unknown option ${Kn.default.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(u).sort().find(s=>ip(e,s)<3);a&&i.push(`Did you mean ${Kn.default.blue(r.key(a))}?`),n.warn(i.join(" "))},ap=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function sp(e,t){let r=new e(t),n=Object.create(r);for(let u of ap)u in t&&(n[u]=op(t[u],r,De.prototype[u].length));return n}var De=class{static create(e){return sp(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Ft}};function op(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var lp=class extends De{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},cp=class extends De{expected(){return"anything"}validate(){return!0}},pp=class extends De{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let u=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);u!==!0&&r.push(u.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let u=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);u!==!1&&r.push(...u.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let n of e){let u=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...u.map(Yn))}return r}redirect(e,t){let r=[],n=[];for(let u of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(u,t),u);"remain"in i&&r.push(i.remain),n.push(...i.redirect.map(Yn))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function Yn({from:e,to:t}){return{from:[e],to:t}}var hp=class extends De{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function dp(e,t){let r=Object.create(null);for(let n of e){let u=n[t];if(r[u])throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r[u]=n}return r}function Dp(e,t){let r=new Map;for(let n of e){let u=n[t];if(r.has(u))throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r.set(u,n)}return r}function fp(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function mp(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]}function gp(e){return e===Math.floor(e)}function Cp(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Fp(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Xn(e){return e===void 0?{}:e}function ki(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return vp((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(ki)}}:{text:t}}function Qn(e,t){return e===!0?!0:e===!1?{value:t}:e}function Zn(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function eu(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Sr(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>eu(r,t)):[eu(e,t)]}function tu(e,t){let r=Sr(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function vp(e,t){if(!e)throw new Error(t)}var yp=class extends De{constructor(e){super(e),this._choices=Dp(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(({hidden:u})=>!u).map(u=>u.value).sort(Cp).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Ep=class extends De{expected(){return"a number"}validate(e,t){return typeof e=="number"}},bp=class extends Ep{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&gp(e)}},ru=class extends De{expected(){return"a string"}validate(e){return typeof e=="string"}},wp=Te,Sp=Ai,Ap=up,kp=np,_p=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:u=wp,unknown:i=Sp,invalid:a=Ap,deprecated:s=kp,missing:o=()=>!1,required:l=()=>!1,preprocess:c=p=>p,postprocess:D=()=>Ft}=t||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},loggerPrintWidth:n,schemas:dp(e,"name"),normalizeDefaultResult:Xn,normalizeExpectedResult:ki,normalizeDeprecatedResult:Zn,normalizeForwardResult:Sr,normalizeRedirectResult:tu,normalizeValidateResult:Qn},this._unknownHandler=i,this._invalidHandler=Fp(a),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||o(p,h),this._identifyRequired=l,this._preprocess=c,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fp()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=()=>{for(;r.length!==0;){let u=r.shift(),i=this._applyNormalization(u,t);r.push(...i)}};n();for(let u of Object.keys(this._utils.schemas)){let i=this._utils.schemas[u];if(!(u in t)){let a=Xn(i.default(this._utils));"value"in a&&r.push({[u]:a.value})}}n();for(let u of Object.keys(this._utils.schemas)){if(!(u in t))continue;let i=this._utils.schemas[u],a=t[u],s=i.postprocess(a,this._utils);s!==Ft&&(this._applyValidation(s,u,i),t[u]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:u}=this._partitionOptionKeys(e);for(let i of n){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:D,to:p})=>{r.push(typeof p=="string"?{[p]:D}:{[p.key]:p.value})},l=({value:D,redirectTo:p})=>{let h=Zn(a.deprecated(D,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:d}of h){let m={key:i,value:d};if(!this._hasDeprecationWarned(m)){let g=typeof p=="string"?{key:p,value:d}:p;this._utils.logger.warn(this._deprecatedHandler(m,g,this._utils))}}};Sr(a.forward(s,this._utils),s).forEach(o);let c=tu(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let D=c.remain;t[i]=i in t?a.overlap(t[i],D,this._utils):D,l({value:D})}for(let{from:D,to:p}of c.redirect)l({value:D,redirectTo:p})}for(let i of u){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,bi,this._utils)}_partitionOptionKeys(e){let[t,r]=mp(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Qn(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let u=this._unknownHandler(e,t,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let a=u[i];i in this._utils.schemas?n(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ft){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let u of r){let i=t.override[u];this._applyValidation(i,u,this._utils.schemas[u]),e[u]=i}for(let u of n){let i=t.override[u];this._applyUnknownHandler(u,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},cr;function Bp(e,t,{logger:r=!1,isCLI:n=!1,passThrough:u=!1,FlagSchema:i,descriptor:a}={}){if(n){if(!i)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=Te;let s=u?Array.isArray(u)?(p,h)=>u.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,d)=>{let{_:m,...g}=d.schemas;return Ai(p,h,{...d,schemas:g})},o=xp(t,{isCLI:n,FlagSchema:i}),l=new _p(o,{logger:r,unknown:s,descriptor:a}),c=r!==!1;c&&cr&&(l._hasDeprecationWarned=cr);let D=l.normalize(e);return c&&(cr=l._hasDeprecationWarned),D}function xp(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(cp.create({name:"_"}));for(let u of e)n.push(Tp(u,{isCLI:t,optionInfos:e,FlagSchema:r})),u.alias&&t&&n.push(lp.create({name:u.alias,sourceName:u.name}));return n}function Tp(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:u}=e,i={name:u},a,s={};switch(e.type){case"int":a=bp,t&&(i.preprocess=Number);break;case"string":a=ru;break;case"choice":a=yp,i.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hp;break;case"flag":a=n,i.flags=r.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=ru;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):i.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=i.preprocess||(l=>l);i.preprocess=(l,c,D)=>c.preprocess(o(Array.isArray(l)?k(!1,l,-1):l),D)}return e.array?pp.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(i)}):a.create({...i,...s})}var Lp=Bp;function _i(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,t))return u}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Np(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.printers&&Object.prototype.hasOwnProperty.call(u.printers,t))return u}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Bi({plugins:e,parser:t}){let r=_i(e,t);return xi(r,t)}function xi(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function qp(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var nu={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Pp(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=rp(n,{physicalFile:n.filepath}),!n.parser)throw new Wn(`No parser could be inferred for file "${n.filepath}".`)}else throw new Wn("No parser and no file path given, couldn't infer a parser.");let u=Ei({plugins:e.plugins,showDeprecated:!0}).options,i={...nu,...Object.fromEntries(u.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},a=_i(n.plugins,n.parser),s=await xi(a,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let o=(r=a.printers)!=null&&r[s.astFormat]?a:Np(n.plugins,s.astFormat),l=await qp(o,s.astFormat);n.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,p])=>p!==void 0)):{},D={...i,...c};for(let[p,h]of Object.entries(D))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),Lp(n,u,{passThrough:Object.keys(nu),...t})}var He=Pp,Ti=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Ip=e=>Object.keys(e).filter(t=>!Ti.has(t));function Op(e){return e?t=>e(t,Ti):Ip}var er=Op;function Mp(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let u=er(n),i=r.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>a(p,o)).filter(Boolean);let l={},c=new Set(u(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||i.has(p)||(c.has(p)?l[p]=a(s[p],s):l[p]=s[p]);let D=r(s,l,o);if(D!==null)return D??l}}var Rp=Mp,Hp=it(ac(),1);async function jp(e,t){let r=await Bi(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let u;try{u=await r.parse(n,t,t)}catch(i){$p(i,e)}return{text:n,ast:u}}function $p(e,t){let{loc:r}=e;if(r){let n=(0,Hp.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}var at=jp,vt,Ar,ze,yt,Wp=class{constructor(e){Rn(this,vt),Rn(this,ze),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return k(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:k(!1,this.stack,-2)}get node(){return k(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=k(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Ve(this,ze,yt).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?k(!1,e,-2):null}getValue(){return k(!1,this.stack,-1)}getNode(e=0){let t=Ve(this,vt,Ar).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Ve(this,vt,Ar).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{for(let i=0;i{r[u]=e(n,u,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let u of e){if(n===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],n=this.stack[t--]),u&&!u(n,r,i))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return t}hasAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return!0;return!1}};vt=new WeakSet,Ar=function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},ze=new WeakSet,yt=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Vp=Wp,Li=new Proxy(()=>{},{get:()=>Li}),kr=Li;function st(e){return(t,r,n)=>{let u=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a0}var Jp=Kp;function Yp(e){return e!==null&&typeof e=="object"}var Xp=Yp;function*Pi(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,u=i=>Xp(i)&&n(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)u(s)&&(yield s);else u(a)&&(yield a)}}function*Qp(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function rn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Zp(e)}function Ne(e,t){t.leading=!0,t.trailing=!1,rn(e,t)}function Et(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),rn(e,t)}function qe(e,t){t.leading=!1,t.trailing=!0,rn(e,t)}var pr=new WeakMap;function nn(e,t){if(pr.has(e))return pr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:u},locStart:i,locEnd:a}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Pi(e,{getVisitorKeys:er(u)})]).flatMap(o=>n(o)?[o]:nn(o,t));return s.sort((o,l)=>i(o)-i(l)||a(o)-a(l)),pr.set(e,s),s}function Ii(e,t,r,n){let{locStart:u,locEnd:i}=r,a=u(t),s=i(t),o=nn(e,r),l,c,D=0,p=o.length;for(;D>1,d=o[h],m=u(d),g=i(d);if(m<=a&&s<=g)return Ii(d,t,r,d);if(g<=a){l=d,D=h+1;continue}if(s<=m){c=d,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,d=dr(h,t,r);l&&dr(h,l,r)!==d&&(l=null),c&&dr(h,c,r)!==d&&(c=null)}return{enclosingNode:n,precedingNode:l,followingNode:c}}var hr=()=>!1;function e2(e,t){let{comments:r}=e;if(delete e.comments,!Jp(r)||!t.printer.canAttachComment)return;let n=[],{locStart:u,locEnd:i,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=hr,endOfLine:c=hr,remaining:D=hr}=s,p=r.map((h,d)=>({...Ii(e,h,t),comment:h,text:o,options:t,ast:e,isLastComment:r.length-1===d}));for(let[h,d]of p.entries()){let{comment:m,precedingNode:g,enclosingNode:F,followingNode:f,text:C,options:y,ast:v,isLastComment:w}=d;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(u(m)-u(v)<=0){Ne(v,m);continue}if(i(m)-i(v)>=0){qe(v,m);continue}}let S;if(a?S=[d]:(m.enclosingNode=F,m.precedingNode=g,m.followingNode=f,S=[m,C,y,v,w]),t2(C,y,p,h))m.placement="ownLine",l(...S)||(f?Ne(f,m):g?qe(g,m):Et(F||v,m));else if(r2(C,y,p,h))m.placement="endOfLine",c(...S)||(g?qe(g,m):f?Ne(f,m):Et(F||v,m));else if(m.placement="remaining",!D(...S))if(g&&f){let x=n.length;x>0&&n[x-1].followingNode!==f&&uu(n,y),n.push(d)}else g?qe(g,m):f?Ne(f,m):Et(F||v,m)}if(uu(n,t),!a)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}var Oi=e=>!/[\S\n\u2028\u2029]/.test(e);function t2(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=a(u);if(i)for(let l=n-1;l>=0;l--){let{comment:c,precedingNode:D}=r[l];if(D!==i||!Oi(e.slice(s(c),o)))break;o=a(c)}return le(e,o,{backwards:!0})}function r2(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=s(u);if(i)for(let l=n+1;l0;--o){let{comment:l,precedingNode:c,followingNode:D}=e[o-1];kr.strictEqual(c,i),kr.strictEqual(D,a);let p=t.originalText.slice(t.locEnd(l),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/.test(p))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,D)=>t.locStart(c)-t.locStart(D));e.length=0}function dr(e,t,r){let n=r.locStart(t)-1;for(let u=1;u!n.has(s)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:o,trailing:l}=s;o?u.push(u2(e,t)):l&&(a=i2(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function s2(e,t,r){let{leading:n,trailing:u}=a2(e,r);return!n&&!u?t:Fi(t,i=>[n,i,u])}function o2(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}async function l2(e,t,r,n,u){let{embeddedLanguageFormatting:i,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=r;if(!a||i!=="auto")return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let l=er(a.getVisitorKeys??o),c=[];h();let D=e.stack;for(let{print:d,node:m,pathStack:g}of c)try{e.stack=g;let F=await d(p,t,e,r);F&&u.set(m,F)}catch(F){if(globalThis.PRETTIER_DEBUG)throw F}e.stack=D;function p(d,m){return c2(d,m,r,n)}function h(){let{node:d}=e;if(d===null||typeof d!="object"||s(e))return;for(let g of l(d))Array.isArray(d[g])?e.each(h,g):e.call(h,g);let m=a(e,r);if(m){if(typeof m=="function"){c.push({print:m,node:d,pathStack:[...e.stack]});return}u.set(d,m)}}}async function c2(e,t,r,n){let u=await He({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:i}=await at(e,u),a=await n(i,u);return Ci(a)}function p2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=u(s),l=i(s);for(let c of n)u(c)>=o&&i(c)<=l&&a.add(c);return r.slice(o,l)}var h2=p2;async function tr(e,t){({ast:e}=await Ri(e,t));let r=new Map,n=new Vp(e),u=new Map;await l2(n,a,t,tr,u);let i=await iu(n,t,a,void 0,u);return o2(t),i;function a(o,l){return o===void 0||o===n?s(l):Array.isArray(o)?n.call(()=>s(l),...o):n.call(()=>s(l),o)}function s(o){let l=n.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&r.has(l))return r.get(l);let D=iu(n,t,a,o,u);return c&&r.set(l,D),D}}function iu(e,t,r,n,u){var i;let{node:a}=e,{printer:s}=t,o;return(i=s.hasPrettierIgnore)!=null&&i.call(s,e)?o=h2(e,t):u.has(a)?o=u.get(a):o=s.print(e,t,r,n),a===t.cursorNode&&(o=Fi(o,l=>[Er,l,Er])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=s2(e,o,t)),o}async function Ri(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,e2(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var d2=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function D2(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(u=>Hi.has(u.type)&&n.has(u))}function au(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function f2(e,t,{locStart:r,locEnd:n}){let u=e.node,i=t.node;if(u===i)return{startNode:u,endNode:i};let a=r(e.node);for(let o of au(t.parentNodes))if(r(o)>=a)i=o;else break;let s=n(t.node);for(let o of au(e.parentNodes)){if(n(o)<=s)u=o;else break;if(u===i)break}return{startNode:u,endNode:i}}function _r(e,t,r,n,u=[],i){let{locStart:a,locEnd:s}=r,o=a(e),l=s(e);if(!(t>l||tn);let s=e.slice(n,u).search(/\S/),o=s===-1;if(!o)for(n+=s;u>n&&!/\S/.test(e[u-1]);--u);let l=_r(r,n,t,(h,d)=>su(t,h,d),[],"rangeStart"),c=o?l:_r(r,u,t,h=>su(t,h),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let D,p;if(d2(t)){let h=D2(l,c);D=h,p=h}else({startNode:D,endNode:p}=f2(l,c,t));return{rangeStart:Math.min(i(D),i(p)),rangeEnd:Math.max(a(D),a(p))}}function F2(e,t){let{cursorOffset:r,locStart:n,locEnd:u}=t,i=er(t.printer.getVisitorKeys),a=o=>n(o)<=r&&u(o)>=r,s=e;for(let o of Qp(e,{getVisitorKeys:i,filter:a}))s=o;return s}var v2=F2,ji="\uFEFF",ou=Symbol("cursor");async function $i(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:u}=await at(e,t);t.cursorOffset>=0&&(t.cursorNode=v2(n,t));let i=await tr(n,t);r>0&&(i=mi([Ce,i],r,t.tabWidth));let a=Zt(i,t);if(r>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+Qr(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,D,p;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=u.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,D=a.cursorNodeStart,p=a.cursorNodeText):(o=0,l=u,c=t.cursorOffset,D=0,p=a.formatted),l===p)return{formatted:a.formatted,cursorOffset:D+c,comments:s};let h=l.split("");h.splice(c,0,ou);let d=p.split(""),m=(0,oc.diffArrays)(h,d),g=D;for(let F of m)if(F.removed){if(F.value.includes(ou))break}else g+=F.count;return{formatted:a.formatted,cursorOffset:g,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function y2(e,t){let{ast:r,text:n}=await at(e,t),{rangeStart:u,rangeEnd:i}=C2(n,t,r),a=n.slice(u,i),s=Math.min(u,n.lastIndexOf(` +`,u)+1),o=n.slice(s,u).match(/^\s*/)[0],l=tn(o,t.tabWidth),c=await $i(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>u&&t.cursorOffset<=i?t.cursorOffset-u:-1,endOfLine:"lf"},l),D=c.formatted.trimEnd(),{cursorOffset:p}=t;p>i?p+=D.length-a.length:c.cursorOffset>=0&&(p=c.cursorOffset+u);let h=n.slice(0,u)+D+n.slice(i);if(t.endOfLine!=="lf"){let d=Qr(t.endOfLine);p>=0&&d===`\r +`&&(p+=gi(h.slice(0,p),` +`)),h=Yt(!1,h,` +`,d)}return{formatted:h,cursorOffset:p,comments:c.comments}}function Dr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function lu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=Dr(e,r,-1),n=Dr(e,n,0),u=Dr(e,u,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:u}}function Wi(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=lu(e,t),a=e.charAt(0)===ji;if(a&&(e=e.slice(1),r--,n--,u--),i==="auto"&&(i=kc(e)),e.includes("\r")){let s=o=>gi(e.slice(0,Math.max(o,0)),`\r +`);r-=s(r),n-=s(n),u-=s(u),e=_c(e)}return{hasBOM:a,text:e,options:lu(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i})}}async function cu(e,t){let r=await Bi(t);return!r.hasPragma||r.hasPragma(e)}async function Vi(e,t){let{hasBOM:r,text:n,options:u}=Wi(e,await He(t));if(u.rangeStart>=u.rangeEnd&&n!==""||u.requirePragma&&!await cu(n,u))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return u.rangeStart>0||u.rangeEnd=0&&i.cursorOffset++),i}async function E2(e,t,r){let{text:n,options:u}=Wi(e,await He(t)),i=await at(n,u);return r&&(r.preprocessForPrint&&(i.ast=await Ri(i.ast,u)),r.massage&&(i.ast=Rp(i.ast,u))),i}async function b2(e,t){t=await He(t);let r=await tr(e,t);return Zt(r,t)}async function w2(e,t){let r=Kc(e),{formatted:n}=await Vi(r,{...t,parser:"__js_expression"});return n}async function S2(e,t){t=await He(t);let{ast:r}=await at(e,t);return tr(r,t)}async function A2(e,t){return Zt(e,await He(t))}var Ui={};Kt(Ui,{addDanglingComment:()=>Et,addLeadingComment:()=>Ne,addTrailingComment:()=>qe,getAlignmentSize:()=>tn,getIndentSize:()=>P2,getMaxContinuousCount:()=>N2,getNextNonSpaceNonCommentCharacter:()=>j2,getNextNonSpaceNonCommentCharacterIndex:()=>U2,getStringWidth:()=>Zr,hasNewline:()=>le,hasNewlineInRange:()=>O2,hasSpaces:()=>R2,isNextLineEmpty:()=>J2,isNextLineEmptyAfterIndex:()=>ln,isPreviousLineEmpty:()=>G2,makeString:()=>W2,skip:()=>st,skipEverythingButNewLine:()=>qi,skipInlineComment:()=>an,skipNewline:()=>Ee,skipSpaces:()=>he,skipToLineEnd:()=>Ni,skipTrailingComment:()=>sn,skipWhitespace:()=>Up});function k2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,u.length/t.length),0)}var N2=L2;function q2(e,t){let r=e.lastIndexOf(` +`);return r===-1?0:tn(e.slice(r+1).match(/^[\t ]*/)[0],t)}var P2=q2;function I2(e,t,r){for(let n=t;na===n?a:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var W2=$2;function V2(e,t,r){return on(e,r(t))}function U2(e,t){return arguments.length===2||typeof t=="number"?on(e,t):V2(...arguments)}function z2(e,t,r){return un(e,r(t))}function G2(e,t){return arguments.length===2||typeof t=="number"?un(e,t):z2(...arguments)}function K2(e,t,r){return ln(e,r(t))}function J2(e,t){return arguments.length===2||typeof t=="number"?ln(e,t):K2(...arguments)}var zi={};Kt(zi,{builders:()=>Y2,printer:()=>X2,utils:()=>Q2});var Y2={join:fi,line:di,softline:wc,hardline:Ce,literalline:Di,group:ci,conditionalGroup:Fc,fill:pi,lineSuffix:yr,lineSuffixBoundary:Ec,cursor:Er,breakParent:Xt,ifBreak:vc,trim:bc,indent:_t,indentIfBreak:yc,align:Oe,addAlignmentToDoc:mi,markAsRoot:gc,dedentToRoot:mc,dedent:Cc,hardlineWithoutBreakParent:Xr,literallineWithoutBreakParent:hi,label:Sc,concat:e=>e},X2={printDocToString:Zt},Q2={willBreak:Oc,traverseDoc:Yr,findInDoc:en,mapDoc:Qt,removeLines:Hc,stripTrailingHardline:Ci,replaceEndOfLine:Wc,canBreak:Uc},Z2="3.1.1";function me(e,t=1){return async(...r)=>{let n=r[t]??{},u=n.plugins??[];return r[t]={...n,plugins:Array.isArray(u)?u:Object.values(u)},e(...r)}}var Gi=me(Vi);async function Ki(e,t){let{formatted:r}=await Gi(e,{...t,cursorOffset:-1});return r}async function eh(e,t){return await Ki(e,t)===e}var th=me(Ei,0),rh={parse:me(E2),formatAST:me(b2),formatDoc:me(w2),printToDoc:me(S2),printDocToString:me(A2)},nh=oi;function uh(e){for(var t=[],r=1;re===!1?t:e==="dedent"||e===!0?uh(t):(await nh.format(t,{parser:e,plugins:[Kl],htmlWhitespaceSensitivity:"ignore"})).trim());export{hh as formatter}; diff --git a/storybook/assets/iframe-CPFix1n-.js b/storybook/assets/iframe-CPFix1n-.js new file mode 100644 index 000000000..1be0a3668 --- /dev/null +++ b/storybook/assets/iframe-CPFix1n-.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./stories-DkM6A94K.js","./utils-C5QP6GGe.js","./_commonjsHelpers-BosuxZz1.js","./stories-N8t_U2MW.js","./add-edge-CCsz5v3R.js","./index-CGsErLzW.js","./defaults-9mJNxk8k.js","./circular-CiQY0nuG.js","./stories-BZAy80sE.js","./worker-B2VycAgJ.js","./factory-fWm_FWXa.js","./stories-BWAfmrUB.js","./stories-C0He4THV.js","./stories-CNqanQRt.js","./stories-CcJyVaN0.js","./is-graph-constructor-C6mKuIz0.js","./circlepack-DSfg5Lq4.js","./stories-B3RMbE06.js","./stories-xpQaN_ro.js","./stories-C9QiTCiY.js","./chroma-CKzHTTCE.js","./v4-D8aEg3BZ.js","./stories-BZej6ZTH.js","./stories-E5knyXJi.js","./stories-C6AHsaqd.js","./stories-CPR8iE1X.js","./stories-DJhJzYnx.js","./entry-preview-D5Ui7gv5.js","./index-DrFu-skq.js","./entry-preview-docs-BPH4o_O_.js","./index-DiFAUXR8.js","./preview-K4_qCkL4.js","./preview-CwqMn10d.js","./preview-BAz7FMXc.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import"../sb-preview/runtime.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))u(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&u(o)}).observe(document,{childList:!0,subtree:!0});function m(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(e){if(e.ep)return;e.ep=!0;const r=m(e);fetch(e.href,r)}})();const R="modulepreload",f=function(_,n){return new URL(_,n).href},d={},t=function(n,m,u){let e=Promise.resolve();if(m&&m.length>0){const r=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),p=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));e=Promise.all(m.map(i=>{if(i=f(i,u),i in d)return;d[i]=!0;const a=i.endsWith(".css"),O=a?'[rel="stylesheet"]':"";if(!!u)for(let l=r.length-1;l>=0;l--){const c=r[l];if(c.href===i&&(!a||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${O}`))return;const s=document.createElement("link");if(s.rel=a?"stylesheet":R,a||(s.as="script",s.crossOrigin=""),s.href=i,p&&s.setAttribute("nonce",p),document.head.appendChild(s),a)return new Promise((l,c)=>{s.addEventListener("load",l),s.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})}))}return e.then(()=>n()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},{createBrowserChannel:P}=__STORYBOOK_MODULE_CHANNELS__,{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,E=P({page:"preview"});v.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const T={"./stories/cluster-label/stories.ts":async()=>t(()=>import("./stories-DkM6A94K.js"),__vite__mapDeps([0,1,2]),import.meta.url),"./stories/csv-to-network-map/stories.ts":async()=>t(()=>import("./stories-N8t_U2MW.js"),__vite__mapDeps([3,1,2,4,5,6,7]),import.meta.url),"./stories/custom-rendering/stories.ts":async()=>t(()=>import("./stories-BZAy80sE.js"),__vite__mapDeps([8,1,2,9,6,10]),import.meta.url),"./stories/edge-curve/stories.ts":async()=>t(()=>import("./stories-BWAfmrUB.js"),__vite__mapDeps([11,1,2]),import.meta.url),"./stories/events/stories.ts":async()=>t(()=>import("./stories-C0He4THV.js"),__vite__mapDeps([12,1,2]),import.meta.url),"./stories/fit-sizes-to-positions/stories.ts":async()=>t(()=>import("./stories-CNqanQRt.js"),__vite__mapDeps([13,1,2]),import.meta.url),"./stories/large-graphs/stories.ts":async()=>t(()=>import("./stories-CcJyVaN0.js"),__vite__mapDeps([14,1,2,15,5,6,16]),import.meta.url),"./stories/layouts/stories.ts":async()=>t(()=>import("./stories-B3RMbE06.js"),__vite__mapDeps([17,1,2,16,6,5,7]),import.meta.url),"./stories/load-gexf-file/stories.ts":async()=>t(()=>import("./stories-xpQaN_ro.js"),__vite__mapDeps([18,1,2,15,4]),import.meta.url),"./stories/mouse-manipulations/stories.ts":async()=>t(()=>import("./stories-C9QiTCiY.js"),__vite__mapDeps([19,20,2,1,9,6,21]),import.meta.url),"./stories/node-border/stories.ts":async()=>t(()=>import("./stories-BZej6ZTH.js"),__vite__mapDeps([22,1,2,10]),import.meta.url),"./stories/node-image/stories.ts":async()=>t(()=>import("./stories-E5knyXJi.js"),__vite__mapDeps([23,10,1,2,20]),import.meta.url),"./stories/node-piechart/stories.ts":async()=>t(()=>import("./stories-C6AHsaqd.js"),__vite__mapDeps([24,1,2]),import.meta.url),"./stories/png-snapshot/stories.ts":async()=>t(()=>import("./stories-CPR8iE1X.js"),__vite__mapDeps([25,1,2,9,6]),import.meta.url),"./stories/use-reducers/stories.ts":async()=>t(()=>import("./stories-DJhJzYnx.js"),__vite__mapDeps([26,1,2]),import.meta.url)};async function L(_){return T[_]()}const{composeConfigs:A,PreviewWeb:y,ClientApi:w}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const _=await Promise.all([t(()=>import("./entry-preview-D5Ui7gv5.js"),__vite__mapDeps([27,28]),import.meta.url),t(()=>import("./entry-preview-docs-BPH4o_O_.js"),__vite__mapDeps([29,30,2]),import.meta.url),t(()=>import("./preview-CAqAUYrJ.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-BeVWVWLc.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-K4_qCkL4.js"),__vite__mapDeps([31,21]),import.meta.url),t(()=>import("./preview-CwqMn10d.js"),__vite__mapDeps([32,28]),import.meta.url),t(()=>import("./preview-B4GcaC1c.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-Db4Idchh.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-BAz7FMXc.js"),__vite__mapDeps([33,28]),import.meta.url),t(()=>import("./preview-Cv3rAi2i.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-BjivwLRH.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-DKaZ_Whs.js"),__vite__mapDeps([]),import.meta.url)]);return A(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(L,I);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/storybook/assets/index-CGsErLzW.js b/storybook/assets/index-CGsErLzW.js new file mode 100644 index 000000000..05af0b255 --- /dev/null +++ b/storybook/assets/index-CGsErLzW.js @@ -0,0 +1 @@ +import{g as ye}from"./_commonjsHelpers-BosuxZz1.js";import{i as Ee}from"./utils-C5QP6GGe.js";import{g as we}from"./defaults-9mJNxk8k.js";var R=0,D=1,v=2,g=3,k=4,P=5,b=6,ve=7,re=8,ge=9,De=0,Oe=1,Re=2,I=0,m=1,T=2,q=3,F=4,O=5,L=6,H=7,C=8,ce=3,z=10,_e=3,G=9,he=10,Se=function(f,e,y){var E,u,n,o,h,_,W,S,r,X,p=e.length,x=y.length,U=f.adjustSizes,Y=f.barnesHutTheta*f.barnesHutTheta,ee,w,c,i,j,a,l,s=[];for(n=0;nse?(V-=(ne-se)/2,K=V+ne):($-=(se-ne)/2,J=$+se),s[0+I]=-1,s[0+m]=($+J)/2,s[0+T]=(V+K)/2,s[0+q]=Math.max(J-$,K-V),s[0+F]=-1,s[0+O]=-1,s[0+L]=0,s[0+H]=0,s[0+C]=0,E=1,n=0;n=0){e[n+R]=0)if(a=Math.pow(e[n+R]-s[u+H],2)+Math.pow(e[n+D]-s[u+C],2),X=s[u+q],4*X*X/a0?(l=w*e[n+b]*s[u+L]/a,e[n+v]+=c*l,e[n+g]+=i*l):a<0&&(l=-w*e[n+b]*s[u+L]/Math.sqrt(a),e[n+v]+=c*l,e[n+g]+=i*l):a>0&&(l=w*e[n+b]*s[u+L]/a,e[n+v]+=c*l,e[n+g]+=i*l),u=s[u+F],u<0)break;continue}else{u=s[u+O];continue}else{if(_=s[u+I],_>=0&&_!==n&&(c=e[n+R]-e[_+R],i=e[n+D]-e[_+D],a=c*c+i*i,U===!0?a>0?(l=w*e[n+b]*e[_+b]/a,e[n+v]+=c*l,e[n+g]+=i*l):a<0&&(l=-w*e[n+b]*e[_+b]/Math.sqrt(a),e[n+v]+=c*l,e[n+g]+=i*l):a>0&&(l=w*e[n+b]*e[_+b]/a,e[n+v]+=c*l,e[n+g]+=i*l)),u=s[u+F],u<0)break;continue}else for(w=f.scalingRatio,o=0;o0?(l=w*e[o+b]*e[h+b]/a/a,e[o+v]+=c*l,e[o+g]+=i*l,e[h+v]-=c*l,e[h+g]-=i*l):a<0&&(l=100*w*e[o+b]*e[h+b],e[o+v]+=c*l,e[o+g]+=i*l,e[h+v]-=c*l,e[h+g]-=i*l)):(a=Math.sqrt(c*c+i*i),a>0&&(l=w*e[o+b]*e[h+b]/a/a,e[o+v]+=c*l,e[o+g]+=i*l,e[h+v]-=c*l,e[h+g]-=i*l));for(r=f.gravity/f.scalingRatio,w=f.scalingRatio,n=0;n0&&(l=w*e[n+b]*r):a>0&&(l=w*e[n+b]*r/a),e[n+v]-=c*l,e[n+g]-=i*l;for(w=1*(f.outboundAttractionDistribution?ee:1),W=0;W0&&(l=-w*j*Math.log(1+a)/a/e[o+b]):a>0&&(l=-w*j*Math.log(1+a)/a):f.outboundAttractionDistribution?a>0&&(l=-w*j/e[o+b]):a>0&&(l=-w*j)):(a=Math.sqrt(Math.pow(c,2)+Math.pow(i,2)),f.linLogMode?f.outboundAttractionDistribution?a>0&&(l=-w*j*Math.log(1+a)/a/e[o+b]):a>0&&(l=-w*j*Math.log(1+a)/a):f.outboundAttractionDistribution?(a=1,l=-w*j/e[o+b]):(a=1,l=-w*j)),a>0&&(e[o+v]+=c*l,e[o+g]+=i*l,e[h+v]-=c*l,e[h+g]-=i*l);var ue,d,fe,Z,le,te;if(U===!0)for(n=0;nhe&&(e[n+v]=e[n+v]*he/ue,e[n+g]=e[n+g]*he/ue),d=e[n+b]*Math.sqrt((e[n+k]-e[n+v])*(e[n+k]-e[n+v])+(e[n+P]-e[n+g])*(e[n+P]-e[n+g])),fe=Math.sqrt((e[n+k]+e[n+v])*(e[n+k]+e[n+v])+(e[n+P]+e[n+g])*(e[n+P]+e[n+g]))/2,Z=.1*Math.log(1+fe)/(1+Math.sqrt(d)),le=e[n+R]+e[n+v]*(Z/f.slowDown),e[n+R]=le,te=e[n+D]+e[n+g]*(Z/f.slowDown),e[n+D]=te);else for(n=0;n=0)?{message:"the `scalingRatio` setting should be a number >= 0."}:"strongGravityMode"in t&&typeof t.strongGravityMode!="boolean"?{message:"the `strongGravityMode` setting should be a boolean."}:"gravity"in t&&!(typeof t.gravity=="number"&&t.gravity>=0)?{message:"the `gravity` setting should be a number >= 0."}:"slowDown"in t&&!(typeof t.slowDown=="number"||t.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in t&&typeof t.barnesHutOptimize!="boolean"?{message:"the `barnesHutOptimize` setting should be a boolean."}:"barnesHutTheta"in t&&!(typeof t.barnesHutTheta=="number"&&t.barnesHutTheta>=0)?{message:"the `barnesHutTheta` setting should be a number >= 0."}:null};B.graphToByteArrays=function(t,f){var e=t.order,y=t.size,E={},u,n=new Float32Array(e*N),o=new Float32Array(y*ie);return u=0,t.forEachNode(function(h,_){E[h]=u,n[u]=_.x,n[u+1]=_.y,n[u+2]=0,n[u+3]=0,n[u+4]=0,n[u+5]=0,n[u+6]=1,n[u+7]=1,n[u+8]=_.size||1,n[u+9]=_.fixed?1:0,u+=N}),u=0,t.forEachEdge(function(h,_,W,S,r,X,p){var x=E[W],U=E[S],Y=f(h,_,W,S,r,X,p);n[x+6]+=Y,n[U+6]+=Y,o[u]=x,o[u+1]=U,o[u+2]=Y,u+=ie}),{nodes:n,edges:o}};B.assignLayoutChanges=function(t,f,e){var y=0;t.updateEachNodeAttributes(function(E,u){return u.x=f[y],u.y=f[y+1],y+=N,e?e(E,u):u})};B.readGraphPositions=function(t,f){var e=0;t.forEachNode(function(y,E){f[e]=E.x,f[e+1]=E.y,e+=N})};B.collectLayoutChanges=function(t,f,e){for(var y=t.nodes(),E={},u=0,n=0,o=f.length;u2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(f)}}var oe=be.bind(null,!1);oe.assign=be.bind(null,!0);oe.inferSettings=Ae;var me=oe;const We=ye(me);export{Ie as d,We as f,B as h}; diff --git a/storybook/assets/index-DiFAUXR8.js b/storybook/assets/index-DiFAUXR8.js new file mode 100644 index 000000000..c134585da --- /dev/null +++ b/storybook/assets/index-DiFAUXR8.js @@ -0,0 +1,3 @@ +import{c as Cu}from"./_commonjsHelpers-BosuxZz1.js";var oe=typeof Cu=="object"&&Cu&&Cu.Object===Object&&Cu,Xu=oe,Ee=Xu,ce=typeof self=="object"&&self&&self.Object===Object&&self,Be=Ee||ce||Function("return this")(),z=Be,pe=z,le=pe.Symbol,Bu=le,$u=Bu,ue=Object.prototype,fe=ue.hasOwnProperty,he=ue.toString,tu=$u?$u.toStringTag:void 0;function de(u){var e=fe.call(u,tu),D=u[tu];try{u[tu]=void 0;var A=!0}catch{}var s=he.call(u);return A&&(e?u[tu]=D:delete u[tu]),s}var ye=de,ge=Object.prototype,ve=ge.toString;function xe(u){return ve.call(u)}var me=xe,Ru=Bu,_e=ye,Te=me,be="[object Null]",Se="[object Undefined]",Iu=Ru?Ru.toStringTag:void 0;function Ne(u){return u==null?u===void 0?Se:be:Iu&&Iu in Object(u)?_e(u):Te(u)}var nu=Ne;function we(u){var e=typeof u;return u!=null&&(e=="object"||e=="function")}var ee=we,Oe=nu,$e=ee,Re="[object AsyncFunction]",Ie="[object Function]",Pe="[object GeneratorFunction]",Le="[object Proxy]";function ke(u){if(!$e(u))return!1;var e=Oe(u);return e==Ie||e==Pe||e==Re||e==Le}var Me=ke,je=z,Ue=je["__core-js_shared__"],Ge=Ue,vu=Ge,Pu=function(){var u=/[^.]+$/.exec(vu&&vu.keys&&vu.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function ze(u){return!!Pu&&Pu in u}var He=ze,We=Function.prototype,Ke=We.toString;function qe(u){if(u!=null){try{return Ke.call(u)}catch{}try{return u+""}catch{}}return""}var re=qe,Ve=Me,Qe=He,Je=ee,Ye=re,Ze=/[\\^$.*+?()[\]{}|]/g,Xe=/^\[object .+?Constructor\]$/,u0=Function.prototype,e0=Object.prototype,r0=u0.toString,t0=e0.hasOwnProperty,a0=RegExp("^"+r0.call(t0).replace(Ze,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function D0(u){if(!Je(u)||Qe(u))return!1;var e=Ve(u)?a0:Xe;return e.test(Ye(u))}var n0=D0;function i0(u,e){return u==null?void 0:u[e]}var s0=i0,A0=n0,F0=s0;function C0(u,e){var D=F0(u,e);return A0(D)?D:void 0}var V=C0,o0=V,E0=function(){try{var u=o0(Object,"defineProperty");return u({},"",{}),u}catch{}}(),Fn=E0;function c0(u){return u!=null&&typeof u=="object"}var pu=c0,B0=nu,p0=pu,l0="[object Arguments]";function f0(u){return p0(u)&&B0(u)==l0}var h0=f0,Lu=h0,d0=pu,te=Object.prototype,y0=te.hasOwnProperty,g0=te.propertyIsEnumerable,v0=Lu(function(){return arguments}())?Lu:function(u){return d0(u)&&y0.call(u,"callee")&&!g0.call(u,"callee")},Cn=v0,x0=Array.isArray,m0=x0,ou={exports:{}};function _0(){return!1}var T0=_0;ou.exports;(function(u,e){var D=z,A=T0,s=e&&!e.nodeType&&e,F=s&&!0&&u&&!u.nodeType&&u,t=F&&F.exports===s,l=t?D.Buffer:void 0,g=l?l.isBuffer:void 0,x=g||A;u.exports=x})(ou,ou.exports);var on=ou.exports,b0=9007199254740991;function S0(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=b0}var N0=S0,w0=nu,O0=N0,$0=pu,R0="[object Arguments]",I0="[object Array]",P0="[object Boolean]",L0="[object Date]",k0="[object Error]",M0="[object Function]",j0="[object Map]",U0="[object Number]",G0="[object Object]",z0="[object RegExp]",H0="[object Set]",W0="[object String]",K0="[object WeakMap]",q0="[object ArrayBuffer]",V0="[object DataView]",Q0="[object Float32Array]",J0="[object Float64Array]",Y0="[object Int8Array]",Z0="[object Int16Array]",X0="[object Int32Array]",ur="[object Uint8Array]",er="[object Uint8ClampedArray]",rr="[object Uint16Array]",tr="[object Uint32Array]",T={};T[Q0]=T[J0]=T[Y0]=T[Z0]=T[X0]=T[ur]=T[er]=T[rr]=T[tr]=!0;T[R0]=T[I0]=T[q0]=T[P0]=T[V0]=T[L0]=T[k0]=T[M0]=T[j0]=T[U0]=T[G0]=T[z0]=T[H0]=T[W0]=T[K0]=!1;function ar(u){return $0(u)&&O0(u.length)&&!!T[w0(u)]}var Dr=ar;function nr(u){return function(e){return u(e)}}var ir=nr,Eu={exports:{}};Eu.exports;(function(u,e){var D=Xu,A=e&&!e.nodeType&&e,s=A&&!0&&u&&!u.nodeType&&u,F=s&&s.exports===A,t=F&&D.process,l=function(){try{var g=s&&s.require&&s.require("util").types;return g||t&&t.binding&&t.binding("util")}catch{}}();u.exports=l})(Eu,Eu.exports);var sr=Eu.exports,Ar=Dr,Fr=ir,ku=sr,Mu=ku&&ku.isTypedArray,Cr=Mu?Fr(Mu):Ar,En=Cr;function or(){this.__data__=[],this.size=0}var Er=or;function cr(u,e){return u===e||u!==u&&e!==e}var ae=cr,Br=ae;function pr(u,e){for(var D=u.length;D--;)if(Br(u[D][0],e))return D;return-1}var lu=pr,lr=lu,fr=Array.prototype,hr=fr.splice;function dr(u){var e=this.__data__,D=lr(e,u);if(D<0)return!1;var A=e.length-1;return D==A?e.pop():hr.call(e,D,1),--this.size,!0}var yr=dr,gr=lu;function vr(u){var e=this.__data__,D=gr(e,u);return D<0?void 0:e[D][1]}var xr=vr,mr=lu;function _r(u){return mr(this.__data__,u)>-1}var Tr=_r,br=lu;function Sr(u,e){var D=this.__data__,A=br(D,u);return A<0?(++this.size,D.push([u,e])):D[A][1]=e,this}var Nr=Sr,wr=Er,Or=yr,$r=xr,Rr=Tr,Ir=Nr;function J(u){var e=-1,D=u==null?0:u.length;for(this.clear();++el))return!1;var x=F.get(u),R=F.get(e);if(x&&R)return x==e&&R==u;var S=-1,o=!0,v=D&ya?new la:void 0;for(F.set(u,e),F.set(e,u);++S=48&&p<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function x(p){return p===32||p===9||p===11||p===12||p===160||p>=5760&&D.indexOf(p)>=0}function R(p){return p===10||p===13||p===8232||p===8233}function S(p){if(p<=65535)return String.fromCharCode(p);var P=String.fromCharCode(Math.floor((p-65536)/1024)+55296),k=String.fromCharCode((p-65536)%1024+56320);return P+k}for(A=new Array(128),F=0;F<128;++F)A[F]=F>=97&&F<=122||F>=65&&F<=90||F===36||F===95;for(s=new Array(128),F=0;F<128;++F)s[F]=F>=97&&F<=122||F>=65&&F<=90||F>=48&&F<=57||F===36||F===95;function o(p){return p<128?A[p]:e.NonAsciiIdentifierStart.test(S(p))}function v(p){return p<128?s[p]:e.NonAsciiIdentifierPart.test(S(p))}function y(p){return p<128?A[p]:u.NonAsciiIdentifierStart.test(S(p))}function E(p){return p<128?s[p]:u.NonAsciiIdentifierPart.test(S(p))}Ae.exports={isDecimalDigit:t,isHexDigit:l,isOctalDigit:g,isWhiteSpace:x,isLineTerminator:R,isIdentifierStartES5:o,isIdentifierPartES5:v,isIdentifierStartES6:y,isIdentifierPartES6:E}})();var Fe=Ae.exports,Ce={exports:{}};(function(){var u=Fe;function e(o){switch(o){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(o,v){return!v&&o==="yield"?!1:A(o,v)}function A(o,v){if(v&&e(o))return!0;switch(o.length){case 2:return o==="if"||o==="in"||o==="do";case 3:return o==="var"||o==="for"||o==="new"||o==="try";case 4:return o==="this"||o==="else"||o==="case"||o==="void"||o==="with"||o==="enum";case 5:return o==="while"||o==="break"||o==="catch"||o==="throw"||o==="const"||o==="yield"||o==="class"||o==="super";case 6:return o==="return"||o==="typeof"||o==="delete"||o==="switch"||o==="export"||o==="import";case 7:return o==="default"||o==="finally"||o==="extends";case 8:return o==="function"||o==="continue"||o==="debugger";case 10:return o==="instanceof";default:return!1}}function s(o,v){return o==="null"||o==="true"||o==="false"||D(o,v)}function F(o,v){return o==="null"||o==="true"||o==="false"||A(o,v)}function t(o){return o==="eval"||o==="arguments"}function l(o){var v,y,E;if(o.length===0||(E=o.charCodeAt(0),!u.isIdentifierStartES5(E)))return!1;for(v=1,y=o.length;v=y||(p=o.charCodeAt(v),!(56320<=p&&p<=57343)))return!1;E=g(E,p)}if(!P(E))return!1;P=u.isIdentifierPartES6}return!0}function R(o,v){return l(o)&&!s(o,v)}function S(o,v){return x(o)&&!F(o,v)}Ce.exports={isKeywordES5:D,isKeywordES6:A,isReservedWordES5:s,isReservedWordES6:F,isRestrictedWord:t,isIdentifierNameES5:l,isIdentifierNameES6:x,isIdentifierES5:R,isIdentifierES6:S}})();var jD=Ce.exports;(function(){Du.ast=MD,Du.code=Fe,Du.keyword=jD})();var au={},Q={};const UD="doctrine",GD="JSDoc parser",zD="https://github.com/eslint/doctrine",HD="lib/doctrine.js",WD="3.0.0",KD={node:">=6.0.0"},qD={lib:"./lib"},VD=["lib"],QD=[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],JD="eslint/doctrine",YD={coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},ZD="Apache-2.0",XD={pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},un={esutils:"^2.0.2"},en={name:UD,description:GD,homepage:zD,main:HD,version:WD,engines:KD,directories:qD,files:VD,maintainers:QD,repository:JD,devDependencies:YD,license:ZD,scripts:XD,dependencies:un};function rn(u,e){if(!u)throw new Error(e||"unknown assertion error")}var tn=rn;(function(){var u;u=en.version,Q.VERSION=u;function e(A){this.name="DoctrineError",this.message=A}e.prototype=function(){var A=function(){};return A.prototype=Error.prototype,new A}(),e.prototype.constructor=e,Q.DoctrineError=e;function D(A){throw new e(A)}Q.throwError=D,Q.assert=tn})();(function(){var u,e,D,A,s,F,t,l,g,x,R,S;g=Du,x=Q,u={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},e={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function o(r){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(r))===-1&&!g.code.isWhiteSpace(r)&&!g.code.isLineTerminator(r)}function v(r,a,f,i){this._previous=r,this._index=a,this._token=f,this._value=i}v.prototype.restore=function(){F=this._previous,s=this._index,t=this._token,l=this._value},v.save=function(){return new v(F,s,t,l)};function y(r,a){return S&&(r.range=[a[0]+R,a[1]+R]),r}function E(){var r=D.charAt(s);return s+=1,r}function p(r){var a,f,i,n=0;for(f=r==="u"?4:2,a=0;a=0&&s=A)return e.ILLEGAL;if(a=D.charCodeAt(s+1),a===60)break}l+=E()}return e.NAME}function M(){var r;for(F=s;s=A)return t=e.EOF,t;switch(r=D.charCodeAt(s),r){case 39:case 34:return t=P(),t;case 58:return E(),t=e.COLON,t;case 44:return E(),t=e.COMMA,t;case 40:return E(),t=e.LPAREN,t;case 41:return E(),t=e.RPAREN,t;case 91:return E(),t=e.LBRACK,t;case 93:return E(),t=e.RBRACK,t;case 123:return E(),t=e.LBRACE,t;case 125:return E(),t=e.RBRACE,t;case 46:if(s+1=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57}function x(C){return C==="param"||C==="argument"||C==="arg"}function R(C){return C==="return"||C==="returns"}function S(C){return C==="property"||C==="prop"}function o(C){return x(C)||S(C)||C==="alias"||C==="this"||C==="mixes"||C==="requires"}function v(C){return o(C)||C==="const"||C==="constant"}function y(C){return S(C)||x(C)}function E(C){return S(C)||x(C)}function p(C){return x(C)||R(C)||C==="define"||C==="enum"||C==="implements"||C==="this"||C==="type"||C==="typedef"||S(C)}function P(C){return p(C)||C==="throws"||C==="const"||C==="constant"||C==="namespace"||C==="member"||C==="var"||C==="module"||C==="constructor"||C==="class"||C==="extends"||C==="augments"||C==="public"||C==="private"||C==="protected"}var k="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",iu="("+k+"*(?:\\*"+k+`?)?)(.+|[\r +\u2028\u2029])`;function M(C){return C.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(iu,"g"),"$2").replace(/\s*$/,"")}function m(C,I){for(var c=C.replace(/^\/\*\*?/,""),j=0,U=new RegExp(iu,"g"),d;d=U.exec(c);)if(j+=d[1].length,d.index+d[0].length>I+j)return I+j+C.length-c.length;return C.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(C){var I,c,j,U,d,eu,su,W,Au;function b(){var i=d.charCodeAt(c);return c+=1,s.code.isLineTerminator(i)&&!(i===13&&d.charCodeAt(c)===10)&&(j+=1),String.fromCharCode(i)}function yu(){var i="";for(b();c=i)return null;if(d.charCodeAt(c)===91)if(n)O=!0,h=b();else return null;if(h+=G(i),B)for(d.charCodeAt(c)===58&&(h==="module"||h==="external"||h==="event")&&(h+=b(),h+=G(i)),d.charCodeAt(c)===91&&d.charCodeAt(c+1)===93&&(h+=b(),h+=b());d.charCodeAt(c)===46||d.charCodeAt(c)===47||d.charCodeAt(c)===35||d.charCodeAt(c)===45||d.charCodeAt(c)===126;)h+=b(),h+=G(i);if(O){if(K(i),d.charCodeAt(c)===61){h+=b(),K(i);for(var $,H=1;c=i||d.charCodeAt(c)!==93)return null;h+=b()}return h}function gu(){for(;c=U?!1:(D.assert(d.charCodeAt(c)===64),!0)}function N(i){return d===eu?i:m(eu,i)}function w(i,n){this._options=i,this._title=n.toLowerCase(),this._tag={title:n,description:null},this._options.lineNumbers&&(this._tag.lineNumber=j),this._first=c-n.length-1,this._last=0,this._extra={}}w.prototype.addError=function(n){var B=Array.prototype.slice.call(arguments,1),h=n.replace(/%(\d)/g,function(O,_){return D.assert(_1&&(this._tag.default=i.slice(1).join("=")),this._tag.name=i[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!o(this._title))return!0;if(x(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},w.prototype.parseDescription=function(){var n=t(d,c,this._last).trim();return n&&(/^-\s+/.test(n)&&(n=n.substring(2)),this._tag.description=n),!0},w.prototype.parseCaption=function(){var n=t(d,c,this._last).trim(),B="",h="",O=n.indexOf(B),_=n.indexOf(h);return O>=0&&_>=0?(this._tag.caption=n.substring(O+B.length,_).trim(),this._tag.description=n.substring(_+h.length).trim()):this._tag.description=n,!0},w.prototype.parseKind=function(){var n,B;return B={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},n=t(d,c,this._last).trim(),this._tag.kind=n,!(!F(B,n)&&!this.addError("Invalid kind name '%0'",n))},w.prototype.parseAccess=function(){var n;return n=t(d,c,this._last).trim(),this._tag.access=n,!(n!=="private"&&n!=="protected"&&n!=="public"&&!this.addError("Invalid access name '%0'",n))},w.prototype.parseThis=function(){var n=t(d,c,this._last).trim();if(n&&n.charAt(0)==="{"){var B=this.parseType();return B&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},w.prototype.parseVariation=function(){var n,B;return B=t(d,c,this._last).trim(),n=parseFloat(B,10),this._tag.variation=n,!(isNaN(n)&&!this.addError("Invalid variation '%0'",B))},w.prototype.ensureEnd=function(){var i=t(d,c,this._last).trim();return!(i&&!this.addError("Unknown content '%0'",i))},w.prototype.epilogue=function(){var n;return n=this._tag.description,!(E(this._title)&&!this._tag.type&&n&&n.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!W&&!this.addError("Missing or invalid tag name")))},I={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},w.prototype.parse=function(){var n,B,h,O;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=ru(this._title),this._options.range&&(this._tag.range=[this._first,d.slice(0,this._last).replace(/\s*$/,"").length].map(N)),F(I,this._title)?h=I[this._title]:h=["parseType","parseName","parseDescription","epilogue"],n=0,B=h.length;n(u.JAVASCRIPT="JavaScript",u.FLOW="Flow",u.TYPESCRIPT="TypeScript",u.UNKNOWN="Unknown",u))(Dn||{}),hn=u=>{let{component:e,argTypes:D,parameters:{docs:A={}}}=u,{extractArgTypes:s}=A,F=s&&e?s(e):{};return F?an(F,D):D},nn="storybook/docs",dn=`${nn}/snippet-rendered`,sn=(u=>(u.AUTO="auto",u.CODE="code",u.DYNAMIC="dynamic",u))(sn||{});export{sr as A,ir as B,sn as S,z as _,dn as a,yD as b,Fn as c,Cn as d,hn as e,on as f,En as g,m0 as h,ee as i,Me as j,N0 as k,cn as l,va as m,Bn as n,pn as o,pu as p,fn as q,ln as r,ae as s,$D as t,nD as u,Na as v,oa as w,pa as x,_a as y,Bu as z}; diff --git a/storybook/assets/index-DrFu-skq.js b/storybook/assets/index-DrFu-skq.js new file mode 100644 index 000000000..37c96b437 --- /dev/null +++ b/storybook/assets/index-DrFu-skq.js @@ -0,0 +1,6 @@ +function l(o){for(var f=[],i=1;i{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}},m="outline";function s(i){return $` + ${i} body { + outline: 1px solid #2980b9 !important; + } + + ${i} article { + outline: 1px solid #3498db !important; + } + + ${i} nav { + outline: 1px solid #0088c3 !important; + } + + ${i} aside { + outline: 1px solid #33a0ce !important; + } + + ${i} section { + outline: 1px solid #66b8da !important; + } + + ${i} header { + outline: 1px solid #99cfe7 !important; + } + + ${i} footer { + outline: 1px solid #cce7f3 !important; + } + + ${i} h1 { + outline: 1px solid #162544 !important; + } + + ${i} h2 { + outline: 1px solid #314e6e !important; + } + + ${i} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${i} h4 { + outline: 1px solid #449baf !important; + } + + ${i} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${i} h6 { + outline: 1px solid #4371d0 !important; + } + + ${i} main { + outline: 1px solid #2f4f90 !important; + } + + ${i} address { + outline: 1px solid #1a2c51 !important; + } + + ${i} div { + outline: 1px solid #036cdb !important; + } + + ${i} p { + outline: 1px solid #ac050b !important; + } + + ${i} hr { + outline: 1px solid #ff063f !important; + } + + ${i} pre { + outline: 1px solid #850440 !important; + } + + ${i} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${i} ol { + outline: 1px solid #ff050c !important; + } + + ${i} ul { + outline: 1px solid #d90416 !important; + } + + ${i} li { + outline: 1px solid #d90416 !important; + } + + ${i} dl { + outline: 1px solid #fd3427 !important; + } + + ${i} dt { + outline: 1px solid #ff0043 !important; + } + + ${i} dd { + outline: 1px solid #e80174 !important; + } + + ${i} figure { + outline: 1px solid #ff00bb !important; + } + + ${i} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${i} table { + outline: 1px solid #00cc99 !important; + } + + ${i} caption { + outline: 1px solid #37ffc4 !important; + } + + ${i} thead { + outline: 1px solid #98daca !important; + } + + ${i} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${i} tfoot { + outline: 1px solid #22746b !important; + } + + ${i} tr { + outline: 1px solid #86c0b2 !important; + } + + ${i} th { + outline: 1px solid #a1e7d6 !important; + } + + ${i} td { + outline: 1px solid #3f5a54 !important; + } + + ${i} col { + outline: 1px solid #6c9a8f !important; + } + + ${i} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${i} button { + outline: 1px solid #da8301 !important; + } + + ${i} datalist { + outline: 1px solid #c06000 !important; + } + + ${i} fieldset { + outline: 1px solid #d95100 !important; + } + + ${i} form { + outline: 1px solid #d23600 !important; + } + + ${i} input { + outline: 1px solid #fca600 !important; + } + + ${i} keygen { + outline: 1px solid #b31e00 !important; + } + + ${i} label { + outline: 1px solid #ee8900 !important; + } + + ${i} legend { + outline: 1px solid #de6d00 !important; + } + + ${i} meter { + outline: 1px solid #e8630c !important; + } + + ${i} optgroup { + outline: 1px solid #b33600 !important; + } + + ${i} option { + outline: 1px solid #ff8a00 !important; + } + + ${i} output { + outline: 1px solid #ff9619 !important; + } + + ${i} progress { + outline: 1px solid #e57c00 !important; + } + + ${i} select { + outline: 1px solid #e26e0f !important; + } + + ${i} textarea { + outline: 1px solid #cc5400 !important; + } + + ${i} details { + outline: 1px solid #33848f !important; + } + + ${i} summary { + outline: 1px solid #60a1a6 !important; + } + + ${i} command { + outline: 1px solid #438da1 !important; + } + + ${i} menu { + outline: 1px solid #449da6 !important; + } + + ${i} del { + outline: 1px solid #bf0000 !important; + } + + ${i} ins { + outline: 1px solid #400000 !important; + } + + ${i} img { + outline: 1px solid #22746b !important; + } + + ${i} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${i} embed { + outline: 1px solid #98daca !important; + } + + ${i} object { + outline: 1px solid #00cc99 !important; + } + + ${i} param { + outline: 1px solid #37ffc4 !important; + } + + ${i} video { + outline: 1px solid #6ee866 !important; + } + + ${i} audio { + outline: 1px solid #027353 !important; + } + + ${i} source { + outline: 1px solid #012426 !important; + } + + ${i} canvas { + outline: 1px solid #a2f570 !important; + } + + ${i} track { + outline: 1px solid #59a600 !important; + } + + ${i} map { + outline: 1px solid #7be500 !important; + } + + ${i} area { + outline: 1px solid #305900 !important; + } + + ${i} a { + outline: 1px solid #ff62ab !important; + } + + ${i} em { + outline: 1px solid #800b41 !important; + } + + ${i} strong { + outline: 1px solid #ff1583 !important; + } + + ${i} i { + outline: 1px solid #803156 !important; + } + + ${i} b { + outline: 1px solid #cc1169 !important; + } + + ${i} u { + outline: 1px solid #ff0430 !important; + } + + ${i} s { + outline: 1px solid #f805e3 !important; + } + + ${i} small { + outline: 1px solid #d107b2 !important; + } + + ${i} abbr { + outline: 1px solid #4a0263 !important; + } + + ${i} q { + outline: 1px solid #240018 !important; + } + + ${i} cite { + outline: 1px solid #64003c !important; + } + + ${i} dfn { + outline: 1px solid #b4005a !important; + } + + ${i} sub { + outline: 1px solid #dba0c8 !important; + } + + ${i} sup { + outline: 1px solid #cc0256 !important; + } + + ${i} time { + outline: 1px solid #d6606d !important; + } + + ${i} code { + outline: 1px solid #e04251 !important; + } + + ${i} kbd { + outline: 1px solid #5e001f !important; + } + + ${i} samp { + outline: 1px solid #9c0033 !important; + } + + ${i} var { + outline: 1px solid #d90047 !important; + } + + ${i} mark { + outline: 1px solid #ff0053 !important; + } + + ${i} bdi { + outline: 1px solid #bf3668 !important; + } + + ${i} bdo { + outline: 1px solid #6f1400 !important; + } + + ${i} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${i} rt { + outline: 1px solid #ff2f54 !important; + } + + ${i} rp { + outline: 1px solid #803e49 !important; + } + + ${i} span { + outline: 1px solid #cc2643 !important; + } + + ${i} br { + outline: 1px solid #db687d !important; + } + + ${i} wbr { + outline: 1px solid #db175b !important; + }`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},g=[e],h={[m]:!1};export{g as decorators,h as globals}; diff --git a/storybook/assets/preview-BeVWVWLc.js b/storybook/assets/preview-BeVWVWLc.js new file mode 100644 index 000000000..49d6c2146 --- /dev/null +++ b/storybook/assets/preview-BeVWVWLc.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./DocsRenderer-K4EAMTCU-BzGl8_nh.js","./iframe-CPFix1n-.js","./_commonjsHelpers-BosuxZz1.js","./index-DiFAUXR8.js","./index-DrFu-skq.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as a}from"./iframe-CPFix1n-.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),n={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-K4EAMTCU-BzGl8_nh.js").then(r=>r.D),__vite__mapDeps([0,1,2,3,4]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{n as parameters}; diff --git a/storybook/assets/preview-BjivwLRH.js b/storybook/assets/preview-BjivwLRH.js new file mode 100644 index 000000000..e6dcb2c8e --- /dev/null +++ b/storybook/assets/preview-BjivwLRH.js @@ -0,0 +1,203 @@ +var vf=Object.defineProperty;var _f=(e,t,r)=>t in e?vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ht=(e,t,r)=>(_f(e,typeof t!="symbol"?t+"":t,r),r);var wf={};const{addons:Ef}=__STORYBOOK_MODULE_PREVIEW_API__,{once:zl}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:ai,STORY_RENDER_PHASE_CHANGED:Rf,SET_CURRENT_STORY:Cf}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:tt}=__STORYBOOK_MODULE_GLOBAL__;var rt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),qf=Object.create,Wl=Object.defineProperty,Pf=Object.getOwnPropertyDescriptor,Gl=Object.getOwnPropertyNames,Of=Object.getPrototypeOf,Sf=Object.prototype.hasOwnProperty,Tf=(e=>typeof rt<"u"?rt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof rt<"u"?rt:t)[r]}):e)(function(e){if(typeof rt<"u")return rt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),He=(e,t)=>function(){return t||(0,e[Gl(e)[0]])((t={exports:{}}).exports,t),t.exports},Af=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gl(t))!Sf.call(e,a)&&a!==r&&Wl(e,a,{get:()=>t[a],enumerable:!(n=Pf(t,a))||n.enumerable});return e},Yt=(e,t,r)=>(r=e!=null?qf(Of(e)):{},Af(t||!e||!e.__esModule?Wl(r,"default",{value:e,enumerable:!0}):r,e)),xf=He({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>o=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,i,l)=>`\x1B[${38+u};2;${o};${i};${l}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[i,l]of Object.entries(o)){for(let[s,c]of Object.entries(l))o[s]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[s]=o[s],u.set(c[0],c[1]);Object.defineProperty(o,i,{value:l,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(f=>f+f).join(""));let c=Number.parseInt(s,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:i=>o.rgbToAnsi256(...o.hexToRgb(i)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),In=He({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,i)=>{let l=Object.keys(o),s=i!==null?l.sort(i):l;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(c=>{Object.getOwnPropertyDescriptor(o,c).enumerable&&s.push(c)}),s};function r(o,i,l,s,c,f,d=": "){let p="",m=0,b=o.next();if(!b.done){p+=i.spacingOuter;let _=l+i.indent;for(;!b.done;){if(p+=_,m++===i.maxWidth){p+="…";break}let h=f(b.value[0],i,_,s,c),g=f(b.value[1],i,_,s,c);p+=h+d+g,b=o.next(),b.done?i.min||(p+=","):p+=`,${i.spacingInner}`}p+=i.spacingOuter+l}return p}function n(o,i,l,s,c,f){let d="",p=0,m=o.next();if(!m.done){d+=i.spacingOuter;let b=l+i.indent;for(;!m.done;){if(d+=b,p++===i.maxWidth){d+="…";break}d+=f(m.value,i,b,s,c),m=o.next(),m.done?i.min||(d+=","):d+=`,${i.spacingInner}`}d+=i.spacingOuter+l}return d}function a(o,i,l,s,c,f){let d="";if(o.length){d+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let b=s.toString();if(b==="ArrayContaining"||b==="ArrayNotContaining")return++d>c.maxDepth?`[${b}]`:`${b+a}[${(0,t.printListItems)(s.sample,c,f,d,p,m)}]`;if(b==="ObjectContaining"||b==="ObjectNotContaining")return++d>c.maxDepth?`[${b}]`:`${b+a}{${(0,t.printObjectProperties)(s.sample,c,f,d,p,m)}}`;if(b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining")return b+a+m(s.sample,c,f,d,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var i={serialize:u,test:o},l=i;e.default=l}}),jf=He({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=In(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=f=>n.indexOf(f)!==-1||a.test(f),o=f=>f&&f.constructor&&!!f.constructor.name&&u(f.constructor.name);e.test=o;var i=f=>f.constructor.name==="NamedNodeMap",l=(f,d,p,m,b,_)=>{let h=f.constructor.name;return++m>d.maxDepth?`[${h}]`:(d.min?"":h+r)+(n.indexOf(h)!==-1?`{${(0,t.printObjectProperties)(i(f)?Array.from(f).reduce((g,R)=>(g[R.name]=R.value,g),{}):{...f},d,p,m,b,_)}}`:`[${(0,t.printListItems)(Array.from(f),d,p,m,b,_)}]`)};e.serialize=l;var s={serialize:l,test:o},c=s;e.default=c}}),Nf=He({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),ua=He({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Nf());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,c,f,d,p,m,b)=>{let _=d+f.indent,h=f.colors;return s.map(g=>{let R=c[g],w=b(R,f,_,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=f.spacingOuter+_+w+f.spacingOuter+d),w=`{${w}}`),`${f.spacingInner+d+h.prop.open+g+h.prop.close}=${h.value.open}${w}${h.value.close}`}).join("")};e.printProps=n;var a=(s,c,f,d,p,m)=>s.map(b=>c.spacingOuter+f+(typeof b=="string"?u(b,c):m(b,c,f,d,p))).join("");e.printChildren=a;var u=(s,c)=>{let f=c.colors.content;return f.open+(0,t.default)(s)+f.close};e.printText=u;var o=(s,c)=>{let f=c.colors.comment;return`${f.open}${f.close}`};e.printComment=o;var i=(s,c,f,d,p)=>{let m=d.colors.tag;return`${m.open}<${s}${c&&m.close+c+d.spacingOuter+p+m.open}${f?`>${m.close}${f}${d.spacingOuter}${p}${m.open}${m.close}`};e.printElement=i;var l=(s,c)=>{let f=c.colors.tag;return`${f.open}<${s}${f.close} …${f.open} />${f.close}`};e.printElementAsLeaf=l}}),If=He({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ua(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,i=_=>{try{return typeof _.hasAttribute=="function"&&_.hasAttribute("is")}catch{return!1}},l=_=>{let h=_.constructor.name,{nodeType:g,tagName:R}=_,w=typeof R=="string"&&R.includes("-")||i(_);return g===r&&(o.test(h)||w)||g===n&&h==="Text"||g===a&&h==="Comment"||g===u&&h==="DocumentFragment"},s=_=>{var h;return((h=_==null?void 0:_.constructor)==null?void 0:h.name)&&l(_)};e.test=s;function c(_){return _.nodeType===n}function f(_){return _.nodeType===a}function d(_){return _.nodeType===u}var p=(_,h,g,R,w,P)=>{if(c(_))return(0,t.printText)(_.data,h);if(f(_))return(0,t.printComment)(_.data,h);let S=d(_)?"DocumentFragment":_.tagName.toLowerCase();return++R>h.maxDepth?(0,t.printElementAsLeaf)(S,h):(0,t.printElement)(S,(0,t.printProps)(d(_)?[]:Array.from(_.attributes,q=>q.name).sort(),d(_)?{}:Array.from(_.attributes).reduce((q,y)=>(q[y.name]=y.value,q),{}),h,g+h.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(_.childNodes||_.children),h,g+h.indent,R,w,P),h,g)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),kf=He({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=In(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",f=y=>`Immutable.${y}`,d=y=>`[${y}]`,p=" ",m="…",b=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):`${f(H)+p}{${(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U)}}`;function _(y){let C=0;return{next(){if(C{let H=f(y._name||"Record");return++j>C.maxDepth?d(H):`${H+p}{${(0,t.printIteratorEntries)(_(y),C,x,j,L,U)}}`},g=(y,C,x,j,L,U)=>{let H=f("Seq");return++j>C.maxDepth?d(H):y[a]?`${H+p}{${y._iter||y._object?(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U):m}}`:`${H+p}[${y._iter||y._array||y._collection||y._iterable?(0,t.printIteratorValues)(y.values(),C,x,j,L,U):m}]`},R=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):`${f(H)+p}[${(0,t.printIteratorValues)(y.values(),C,x,j,L,U)}]`,w=(y,C,x,j,L,U)=>y[u]?b(y,C,x,j,L,U,y[o]?"OrderedMap":"Map"):y[n]?R(y,C,x,j,L,U,"List"):y[s]?R(y,C,x,j,L,U,y[o]?"OrderedSet":"Set"):y[c]?R(y,C,x,j,L,U,"Stack"):y[l]?g(y,C,x,j,L,U):h(y,C,x,j,L,U);e.serialize=w;var P=y=>y&&(y[r]===!0||y[i]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),Bf=He({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,_=!1,h=!1,g=!1,R=!1,w;w=Symbol.for("react.module.reference");function P(V){return!!(typeof V=="string"||typeof V=="function"||V===n||V===u||R||V===a||V===c||V===f||g||V===m||b||_||h||typeof V=="object"&&V!==null&&(V.$$typeof===p||V.$$typeof===d||V.$$typeof===o||V.$$typeof===i||V.$$typeof===s||V.$$typeof===w||V.getModuleId!==void 0))}function S(V){if(typeof V=="object"&&V!==null){var ie=V.$$typeof;switch(ie){case t:var se=V.type;switch(se){case n:case u:case a:case c:case f:return se;default:var pe=se&&se.$$typeof;switch(pe){case l:case i:case s:case p:case d:case o:return pe;default:return ie}}case r:return ie}}}var q=i,y=o,C=t,x=s,j=n,L=p,U=d,H=r,ee=u,J=a,oe=c,ae=f,ue=!1,ce=!1;function A(V){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(V){return ce||(ce=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(V){return S(V)===i}function N(V){return S(V)===o}function G(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function B(V){return S(V)===s}function $(V){return S(V)===n}function z(V){return S(V)===p}function Q(V){return S(V)===d}function v(V){return S(V)===r}function I(V){return S(V)===u}function D(V){return S(V)===a}function K(V){return S(V)===c}function W(V){return S(V)===f}e.ContextConsumer=q,e.ContextProvider=y,e.Element=C,e.ForwardRef=x,e.Fragment=j,e.Lazy=L,e.Memo=U,e.Portal=H,e.Profiler=ee,e.StrictMode=J,e.Suspense=oe,e.SuspenseList=ae,e.isAsyncMode=A,e.isConcurrentMode=M,e.isContextConsumer=F,e.isContextProvider=N,e.isElement=G,e.isForwardRef=B,e.isFragment=$,e.isLazy=z,e.isMemo=Q,e.isPortal=v,e.isProfiler=I,e.isStrictMode=D,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=P,e.typeOf=S})()}}),$f=He({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=Bf()}}),Df=He({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a($f()),r=ua();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(p);if(m&&m.has(d))return m.get(d);var b={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in d)if(h!=="default"&&Object.prototype.hasOwnProperty.call(d,h)){var g=_?Object.getOwnPropertyDescriptor(d,h):null;g&&(g.get||g.set)?Object.defineProperty(b,h,g):b[h]=d[h]}return b.default=d,m&&m.set(d,b),b}var u=(d,p=[])=>(Array.isArray(d)?d.forEach(m=>{u(m,p)}):d!=null&&d!==!1&&p.push(d),p),o=d=>{let p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(d)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},i=d=>{let{props:p}=d;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(d,p,m,b,_,h)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(d),p):(0,r.printElement)(o(d),(0,r.printProps)(i(d),d.props,p,m+p.indent,b,_,h),(0,r.printChildren)(u(d.props.children),p,m+p.indent,b,_,h),p,m);e.serialize=l;var s=d=>d!=null&&t.isElement(d);e.test=s;var c={serialize:l,test:s},f=c;e.default=f}}),Lf=He({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ua(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:c}=s;return c?Object.keys(c).filter(f=>c[f]!==void 0).sort():[]},u=(s,c,f,d,p,m)=>++d>c.maxDepth?(0,t.printElementAsLeaf)(s.type,c):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,c,f+c.indent,d,p,m):"",s.children?(0,t.printChildren)(s.children,c,f+c.indent,d,p,m):"",c,f);e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var i={serialize:u,test:o},l=i;e.default=l}}),ca=He({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=$,e.plugins=void 0;var t=s(xf()),r=In(),n=s(Mf()),a=s(jf()),u=s(If()),o=s(kf()),i=s(Df()),l=s(Lf());function s(v){return v&&v.__esModule?v:{default:v}}var c=Object.prototype.toString,f=Date.prototype.toISOString,d=Error.prototype.toString,p=RegExp.prototype.toString,m=v=>typeof v.constructor=="function"&&v.constructor.name||"Object",b=v=>typeof window<"u"&&v===window,_=/^Symbol\((.*)\)(.*)$/,h=/\n/gi,g=class extends Error{constructor(v,I){super(v),this.stack=I,this.name=this.constructor.name}};function R(v){return v==="[object Array]"||v==="[object ArrayBuffer]"||v==="[object DataView]"||v==="[object Float32Array]"||v==="[object Float64Array]"||v==="[object Int8Array]"||v==="[object Int16Array]"||v==="[object Int32Array]"||v==="[object Uint8Array]"||v==="[object Uint8ClampedArray]"||v==="[object Uint16Array]"||v==="[object Uint32Array]"}function w(v){return Object.is(v,-0)?"-0":String(v)}function P(v){return`${v}n`}function S(v,I){return I?`[Function ${v.name||"anonymous"}]`:"[Function]"}function q(v){return String(v).replace(_,"Symbol($1)")}function y(v){return`[${d.call(v)}]`}function C(v,I,D,K){if(v===!0||v===!1)return`${v}`;if(v===void 0)return"undefined";if(v===null)return"null";let W=typeof v;if(W==="number")return w(v);if(W==="bigint")return P(v);if(W==="string")return K?`"${v.replace(/"|\\/g,"\\$&")}"`:`"${v}"`;if(W==="function")return S(v,I);if(W==="symbol")return q(v);let V=c.call(v);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?S(v,I):V==="[object Symbol]"?q(v):V==="[object Date]"?isNaN(+v)?"Date { NaN }":f.call(v):V==="[object Error]"?y(v):V==="[object RegExp]"?D?p.call(v).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(v):v instanceof Error?y(v):null}function x(v,I,D,K,W,V){if(W.indexOf(v)!==-1)return"[Circular]";W=W.slice(),W.push(v);let ie=++K>I.maxDepth,se=I.min;if(I.callToJSON&&!ie&&v.toJSON&&typeof v.toJSON=="function"&&!V)return H(v.toJSON(),I,D,K,W,!0);let pe=c.call(v);return pe==="[object Arguments]"?ie?"[Arguments]":`${se?"":"Arguments "}[${(0,r.printListItems)(v,I,D,K,W,H)}]`:R(pe)?ie?`[${v.constructor.name}]`:`${se||!I.printBasicPrototype&&v.constructor.name==="Array"?"":`${v.constructor.name} `}[${(0,r.printListItems)(v,I,D,K,W,H)}]`:pe==="[object Map]"?ie?"[Map]":`Map {${(0,r.printIteratorEntries)(v.entries(),I,D,K,W,H," => ")}}`:pe==="[object Set]"?ie?"[Set]":`Set {${(0,r.printIteratorValues)(v.values(),I,D,K,W,H)}}`:ie||b(v)?`[${m(v)}]`:`${se||!I.printBasicPrototype&&m(v)==="Object"?"":`${m(v)} `}{${(0,r.printObjectProperties)(v,I,D,K,W,H)}}`}function j(v){return v.serialize!=null}function L(v,I,D,K,W,V){let ie;try{ie=j(v)?v.serialize(I,D,K,W,V,H):v.print(I,se=>H(se,D,K,W,V),se=>{let pe=K+D.indent;return pe+se.replace(h,` +${pe}`)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(se){throw new g(se.message,se.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function U(v,I){for(let D=0;Dv,ae=oe({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ee});e.DEFAULT_OPTIONS=ae;function ue(v){if(Object.keys(v).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),v.min&&v.indent!==void 0&&v.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(v.theme!==void 0){if(v.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof v.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof v.theme}".`)}}var ce=v=>J.reduce((I,D)=>{let K=v.theme&&v.theme[D]!==void 0?v.theme[D]:ee[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>J.reduce((v,I)=>(v[I]={close:"",open:""},v),Object.create(null)),M=v=>(v==null?void 0:v.printFunctionName)??ae.printFunctionName,F=v=>(v==null?void 0:v.escapeRegex)??ae.escapeRegex,N=v=>(v==null?void 0:v.escapeString)??ae.escapeString,G=v=>({callToJSON:(v==null?void 0:v.callToJSON)??ae.callToJSON,colors:v!=null&&v.highlight?ce(v):A(),compareKeys:typeof(v==null?void 0:v.compareKeys)=="function"||(v==null?void 0:v.compareKeys)===null?v.compareKeys:ae.compareKeys,escapeRegex:F(v),escapeString:N(v),indent:v!=null&&v.min?"":B((v==null?void 0:v.indent)??ae.indent),maxDepth:(v==null?void 0:v.maxDepth)??ae.maxDepth,maxWidth:(v==null?void 0:v.maxWidth)??ae.maxWidth,min:(v==null?void 0:v.min)??ae.min,plugins:(v==null?void 0:v.plugins)??ae.plugins,printBasicPrototype:(v==null?void 0:v.printBasicPrototype)??!0,printFunctionName:M(v),spacingInner:v!=null&&v.min?" ":` +`,spacingOuter:v!=null&&v.min?"":` +`});function B(v){return new Array(v+1).join(" ")}function $(v,I){if(I&&(ue(I),I.plugins)){let K=U(I.plugins,v);if(K!==null)return L(K,v,G(I),"",0,[])}let D=C(v,M(I),F(I),N(I));return D!==null?D:x(v,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,DOMCollection:a.default,DOMElement:u.default,Immutable:o.default,ReactElement:i.default,ReactTestComponent:l.default};e.plugins=z;var Q=$;e.default=Q}}),Kl=He({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,n=(m,b,_,h,g)=>{let R=0;for(;m{let R=0;for(;m<=b&&_<=h&&g(b,h);)b-=1,h-=1,R+=1;return R},u=(m,b,_,h,g,R,w)=>{let P=0,S=-m,q=R[P],y=q;R[P]+=n(q+1,b,h+q-S+1,_,g);let C=m{let P=0,S=m,q=R[P],y=q;R[P]-=a(b,q-1,_,h+q-S-1,g);let C=m{let C=h-b,x=_-b,j=g-h-x,L=-j-(m-1),U=-j+(m-1),H=r,ee=m{let C=g-_,x=_-b,j=g-h-x,L=j-m,U=j+m,H=r,ee=m{let q=h-b,y=g-_,C=_-b,x=g-h,j=x-C,L=C,U=C;if(w[0]=b-1,P[0]=_,j%2===0){let H=(m||j)/2,ee=(C+x)/2;for(let J=1;J<=ee;J+=1)if(L=u(J,_,g,q,R,w,L),J{if(g-h<_-b){if(R=!R,R&&w.length===1){let{foundSubsequence:N,isCommon:G}=w[0];w[1]={foundSubsequence:(B,$,z)=>{N(B,z,$)},isCommon:(B,$)=>G($,B)}}let M=b,F=_;b=h,_=g,h=M,g=F}let{foundSubsequence:y,isCommon:C}=w[R?1:0];s(m,b,_,h,g,C,P,S,q);let{nChangePreceding:x,aEndPreceding:j,bEndPreceding:L,nCommonPreceding:U,aCommonPreceding:H,bCommonPreceding:ee,nCommonFollowing:J,aCommonFollowing:oe,bCommonFollowing:ae,nChangeFollowing:ue,aStartFollowing:ce,bStartFollowing:A}=q;b{if(typeof b!="number")throw new TypeError(`${t}: ${m} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${t}: ${m} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${t}: ${m} value ${b} is a negative integer`)},d=(m,b)=>{let _=typeof b;if(_!=="function")throw new TypeError(`${t}: ${m} typeof ${_} is not a function`)};function p(m,b,_,h){f("aLength",m),f("bLength",b),d("isCommon",_),d("foundSubsequence",h);let g=n(0,m,0,b,_);if(g!==0&&h(g,0,0),m!==g||b!==g){let R=g,w=g,P=a(R,m-1,w,b-1,_),S=m-P,q=b-P,y=g+P;m!==y&&b!==y&&c(0,R,S,w,q,!1,[{foundSubsequence:h,isCommon:_}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),P!==0&&h(P,S,q)}}}}),Yl=He({"../../node_modules/loupe/loupe.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.loupe={}))})(e,function(r){function n(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(T){return typeof T}:n=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},n(O)}function a(O,T){return u(O)||o(O,T)||i(O,T)||s()}function u(O){if(Array.isArray(O))return O}function o(O,T){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var k=[],X=!0,re=!1,le=void 0;try{for(var de=O[Symbol.iterator](),fe;!(X=(fe=de.next()).done)&&(k.push(fe.value),!(T&&k.length===T));X=!0);}catch(me){re=!0,le=me}finally{try{!X&&de.return!=null&&de.return()}finally{if(re)throw le}}return k}}function i(O,T){if(O){if(typeof O=="string")return l(O,T);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return l(O,T)}}function l(O,T){(T==null||T>O.length)&&(T=O.length);for(var k=0,X=new Array(T);k0&&arguments[0]!==void 0?arguments[0]:{},T=O.showHidden,k=T===void 0?!1:T,X=O.depth,re=X===void 0?2:X,le=O.colors,de=le===void 0?!1:le,fe=O.customInspect,me=fe===void 0?!0:fe,te=O.showProxy,ne=te===void 0?!1:te,qe=O.maxArrayLength,Ne=qe===void 0?1/0:qe,Pe=O.breakLength,Ie=Pe===void 0?1/0:Pe,Be=O.seen,Ft=Be===void 0?[]:Be,ht=O.truncate,or=ht===void 0?1/0:ht,At=O.stylize,Ut=At===void 0?String:At,ct={showHidden:!!k,depth:Number(re),colors:!!de,customInspect:!!me,showProxy:!!ne,maxArrayLength:Number(Ne),breakLength:Number(Ie),truncate:Number(or),seen:Ft,stylize:Ut};return ct.colors&&(ct.stylize=p),ct}function b(O,T){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;O=String(O);var X=k.length,re=O.length;return X>T&&re>X?k:re>T&&re>X?"".concat(O.slice(0,T-X)).concat(k):O}function _(O,T,k){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";k=k||T.inspect;var re=O.length;if(re===0)return"";for(var le=T.truncate,de="",fe="",me="",te=0;tele&&de.length+me.length<=le||!ne&&!qe&&Be>le||(fe=ne?"":k(O[te+1],T)+(qe?"":X),!ne&&qe&&Be>le&&Ie+fe.length>le))break;if(de+=Pe,!ne&&!qe&&Ie+fe.length>=le){me="".concat(d,"(").concat(O.length-te-1,")");break}me=""}return"".concat(de).concat(me)}function h(O){return O.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?O:JSON.stringify(O).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function g(O,T){var k=a(O,2),X=k[0],re=k[1];return T.truncate-=2,typeof X=="string"?X=h(X):typeof X!="number"&&(X="[".concat(T.inspect(X,T),"]")),T.truncate-=X.length,re=T.inspect(re,T),"".concat(X,": ").concat(re)}function R(O,T){var k=Object.keys(O).slice(O.length);if(!O.length&&!k.length)return"[]";T.truncate-=4;var X=_(O,T);T.truncate-=X.length;var re="";return k.length&&(re=_(k.map(function(le){return[le,O[le]]}),T,g)),"[ ".concat(X).concat(re?", ".concat(re):""," ]")}var w=Function.prototype.toString,P=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,S=512;function q(O){if(typeof O!="function")return null;var T="";if(typeof Function.prototype.name>"u"&&typeof O.name>"u"){var k=w.call(O);if(k.indexOf("(")>S)return T;var X=k.match(P);X&&(T=X[1])}else T=O.name;return T}var y=q,C=function(O){return typeof Buffer=="function"&&O instanceof Buffer?"Buffer":O[Symbol.toStringTag]?O[Symbol.toStringTag]:y(O.constructor)};function x(O,T){var k=C(O);T.truncate-=k.length+4;var X=Object.keys(O).slice(O.length);if(!O.length&&!X.length)return"".concat(k,"[]");for(var re="",le=0;le ").concat(re)}function H(O){var T=[];return O.forEach(function(k,X){T.push([X,k])}),T}function ee(O,T){var k=O.size-1;return k<=0?"Map{}":(T.truncate-=7,"Map{ ".concat(_(H(O),T,U)," }"))}var J=Number.isNaN||function(O){return O!==O};function oe(O,T){return J(O)?T.stylize("NaN","number"):O===1/0?T.stylize("Infinity","number"):O===-1/0?T.stylize("-Infinity","number"):O===0?T.stylize(1/O===1/0?"+0":"-0","number"):T.stylize(b(O,T.truncate),"number")}function ae(O,T){var k=b(O.toString(),T.truncate-1);return k!==d&&(k+="n"),T.stylize(k,"bigint")}function ue(O,T){var k=O.toString().split("/")[2],X=T.truncate-(2+k.length),re=O.source;return T.stylize("/".concat(b(re,X),"/").concat(k),"regexp")}function ce(O){var T=[];return O.forEach(function(k){T.push(k)}),T}function A(O,T){return O.size===0?"Set{}":(T.truncate-=7,"Set{ ".concat(_(ce(O),T)," }"))}var M=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),F={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},N=16,G=4;function B(O){return F[O]||"\\u".concat("0000".concat(O.charCodeAt(0).toString(N)).slice(-G))}function $(O,T){return M.test(O)&&(O=O.replace(M,B)),T.stylize("'".concat(b(O,T.truncate-2),"'"),"string")}function z(O){return"description"in Symbol.prototype?O.description?"Symbol(".concat(O.description,")"):"Symbol()":O.toString()}var Q=function(){return"Promise{…}"};try{var v=process.binding("util"),I=v.getPromiseDetails,D=v.kPending,K=v.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(O,T){var k=I(O),X=a(k,2),re=X[0],le=X[1];return re===D?"Promise{}":"Promise".concat(re===K?"!":"","{").concat(T.inspect(le,T),"}")})}catch{}var W=Q;function V(O,T){var k=Object.getOwnPropertyNames(O),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(O):[];if(k.length===0&&X.length===0)return"{}";if(T.truncate-=4,T.seen=T.seen||[],T.seen.indexOf(O)>=0)return"[Circular]";T.seen.push(O);var re=_(k.map(function(fe){return[fe,O[fe]]}),T,g),le=_(X.map(function(fe){return[fe,O[fe]]}),T,g);T.seen.pop();var de="";return re&&le&&(de=", "),"{ ".concat(re).concat(de).concat(le," }")}var ie=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function se(O,T){var k="";return ie&&ie in O&&(k=O[ie]),k=k||y(O.constructor),(!k||k==="_class")&&(k=""),T.truncate-=k.length,"".concat(k).concat(V(O,T))}function pe(O,T){return O.length===0?"Arguments[]":(T.truncate-=13,"Arguments[ ".concat(_(O,T)," ]"))}var Oe=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Ye(O,T){var k=Object.getOwnPropertyNames(O).filter(function(de){return Oe.indexOf(de)===-1}),X=O.name;T.truncate-=X.length;var re="";typeof O.message=="string"?re=b(O.message,T.truncate):k.unshift("message"),re=re?": ".concat(re):"",T.truncate-=re.length+5;var le=_(k.map(function(de){return[de,O[de]]}),T,g);return"".concat(X).concat(re).concat(le?" { ".concat(le," }"):"")}function Je(O,T){var k=a(O,2),X=k[0],re=k[1];return T.truncate-=3,re?"".concat(T.stylize(X,"yellow"),"=").concat(T.stylize('"'.concat(re,'"'),"string")):"".concat(T.stylize(X,"yellow"))}function ke(O,T){return _(O,T,Ve,` +`)}function Ve(O,T){var k=O.getAttributeNames(),X=O.tagName.toLowerCase(),re=T.stylize("<".concat(X),"special"),le=T.stylize(">","special"),de=T.stylize(""),"special");T.truncate-=X.length*2+5;var fe="";k.length>0&&(fe+=" ",fe+=_(k.map(function(ne){return[ne,O.getAttribute(ne)]}),T,Je," ")),T.truncate-=fe.length;var me=T.truncate,te=ke(O.children,T);return te&&te.length>me&&(te="".concat(d,"(").concat(O.children.length,")")),"".concat(re).concat(fe).concat(le).concat(te).concat(de)}var Xe=typeof Symbol=="function"&&typeof Symbol.for=="function",xe=Xe?Symbol.for("chai/inspect"):"@@chai/inspect",Re=!1;try{var ze=Tf("util");Re=ze.inspect?ze.inspect.custom:!1}catch{Re=!1}function Ce(){this.key="chai/loupe__"+Math.random()+Date.now()}Ce.prototype={get:function(O){return O[this.key]},has:function(O){return this.key in O},set:function(O,T){Object.isExtensible(O)&&Object.defineProperty(O,this.key,{value:T,configurable:!0})}};var Se=new(typeof WeakMap=="function"?WeakMap:Ce),Te={},We={undefined:function(O,T){return T.stylize("undefined","undefined")},null:function(O,T){return T.stylize(null,"null")},boolean:function(O,T){return T.stylize(O,"boolean")},Boolean:function(O,T){return T.stylize(O,"boolean")},number:oe,Number:oe,bigint:ae,BigInt:ae,string:$,String:$,function:L,Function:L,symbol:z,Symbol:z,Array:R,Date:j,Map:ee,Set:A,RegExp:ue,Promise:W,WeakSet:function(O,T){return T.stylize("WeakSet{…}","special")},WeakMap:function(O,T){return T.stylize("WeakMap{…}","special")},Arguments:pe,Int8Array:x,Uint8Array:x,Uint8ClampedArray:x,Int16Array:x,Uint16Array:x,Int32Array:x,Uint32Array:x,Float32Array:x,Float64Array:x,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Ye,HTMLCollection:ke,NodeList:ke},bt=function(O,T,k){return xe in O&&typeof O[xe]=="function"?O[xe](T):Re&&Re in O&&typeof O[Re]=="function"?O[Re](T.depth,T):"inspect"in O&&typeof O.inspect=="function"?O.inspect(T.depth,T):"constructor"in O&&Se.has(O.constructor)?Se.get(O.constructor)(O,T):Te[k]?Te[k](O,T):""},ot=Object.prototype.toString;function Me(O,T){T=m(T),T.inspect=Me;var k=T,X=k.customInspect,re=O===null?"null":n(O);if(re==="object"&&(re=ot.call(O).slice(8,-1)),We[re])return We[re](O,T);if(X&&O){var le=bt(O,T,re);if(le)return typeof le=="string"?le:Me(le,T)}var de=O?Object.getPrototypeOf(O):!1;return de===Object.prototype||de===null?V(O,T):O&&typeof HTMLElement=="function"&&O instanceof HTMLElement?Ve(O,T):"constructor"in O?O.constructor!==Object?se(O,T):V(O,T):O===Object(O)?V(O,T):T.stylize(String(O),re)}function Y(O,T){return Se.has(O)?!1:(Se.set(O,T),!0)}function Z(O,T){return O in Te?!1:(Te[O]=T,!0)}var be=xe;r.custom=be,r.default=Me,r.inspect=Me,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),vt=Yt(ca(),1),ii=Yt(Kl(),1),Ff=Symbol("vitest:SAFE_COLORS"),Uf={bold:["\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"],dim:["\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"],italic:["\x1B[3m","\x1B[23m"],underline:["\x1B[4m","\x1B[24m"],inverse:["\x1B[7m","\x1B[27m"],hidden:["\x1B[8m","\x1B[28m"],strikethrough:["\x1B[9m","\x1B[29m"],black:["\x1B[30m","\x1B[39m"],red:["\x1B[31m","\x1B[39m"],green:["\x1B[32m","\x1B[39m"],yellow:["\x1B[33m","\x1B[39m"],blue:["\x1B[34m","\x1B[39m"],magenta:["\x1B[35m","\x1B[39m"],cyan:["\x1B[36m","\x1B[39m"],white:["\x1B[37m","\x1B[39m"],gray:["\x1B[90m","\x1B[39m"],bgBlack:["\x1B[40m","\x1B[49m"],bgRed:["\x1B[41m","\x1B[49m"],bgGreen:["\x1B[42m","\x1B[49m"],bgYellow:["\x1B[43m","\x1B[49m"],bgBlue:["\x1B[44m","\x1B[49m"],bgMagenta:["\x1B[45m","\x1B[49m"],bgCyan:["\x1B[46m","\x1B[49m"],bgWhite:["\x1B[47m","\x1B[49m"]},Hf=Object.entries(Uf);function da(e){return String(e)}da.open="";da.close="";var Vf=Hf.reduce((e,[t])=>(e[t]=da,e),{isColorSupported:!1});function zf(){return globalThis[Ff]||Vf}function li(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var mr=-1,br=1,hn=0,Ar=class{constructor(e,t){Ht(this,0);Ht(this,1);this[0]=e,this[1]=t}},Jl="Compared values have no visual difference.",Wf="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function Gf(e,t){return e.replace(/\s+$/,r=>t(r))}function fa(e,t,r,n,a,u){return e.length!==0?r(`${n} ${Gf(e,a)}`):n!==" "?r(n):t&&u.length!==0?r(`${n} ${u}`):""}function Xl(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return fa(e,t,r,n,a,u)}function Ql(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return fa(e,t,r,n,a,u)}function Zl(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return fa(e,t,r,n,a,u)}function si(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Kf(e,t){let r=e.length,n=t.contextLines,a=n+n,u=r,o=!1,i=0,l=0;for(;l!==r;){let w=l;for(;l!==r&&e[l][0]===hn;)l+=1;if(w!==l)if(w===0)l>n&&(u-=l-n,o=!0);else if(l===r){let P=l-w;P>n&&(u-=P-n,o=!0)}else{let P=l-w;P>a&&(u-=P-a,i+=1)}for(;l!==r&&e[l][0]!==hn;)l+=1}let s=i!==0||o;i!==0?u+=i+1:o&&(u+=1);let c=u-1,f=[],d=0;s&&f.push("");let p=0,m=0,b=0,_=0,h=w=>{let P=f.length;f.push(Zl(w,P===0||P===c,t)),b+=1,_+=1},g=w=>{let P=f.length;f.push(Xl(w,P===0||P===c,t)),b+=1},R=w=>{let P=f.length;f.push(Ql(w,P===0||P===c,t)),_+=1};for(l=0;l!==r;){let w=l;for(;l!==r&&e[l][0]===hn;)l+=1;if(w!==l)if(w===0){l>n&&(w=l-n,p=w,m=w,b=p,_=m);for(let P=w;P!==l;P+=1)h(e[P][1])}else if(l===r){let P=l-w>n?w+n:l;for(let S=w;S!==P;S+=1)h(e[S][1])}else{let P=l-w;if(P>a){let S=w+n;for(let y=w;y!==S;y+=1)h(e[y][1]);f[d]=si(p,b,m,_,t),d=f.length,f.push("");let q=P-a;p=b+q,m=_+q,b=p,_=m;for(let y=l-n;y!==l;y+=1)h(e[y][1])}else for(let S=w;S!==l;S+=1)h(e[S][1])}for(;l!==r&&e[l][0]===mr;)g(e[l][1]),l+=1;for(;l!==r&&e[l][0]===br;)R(e[l][1]),l+=1}return s&&(f[d]=si(p,b,m,_,t)),f.join(` +`)}function Yf(e,t){return e.map((r,n,a)=>{let u=r[1],o=n===0||n===a.length-1;switch(r[0]){case mr:return Xl(u,o,t);case br:return Ql(u,o,t);default:return Zl(u,o,t)}}).join(` +`)}var ui=e=>e,es=5;function Jf(){let e=zf();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:ui,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:ui,compareKeys:void 0,contextLines:es,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow}}function Xf(e){return e&&typeof e=="function"?e:void 0}function Qf(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:es}function rn(e={}){return{...Jf(),...e,compareKeys:Xf(e.compareKeys),contextLines:Qf(e.contextLines)}}function lr(e){return e.length===1&&e[0].length===0}function Zf(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case mr:t+=1;break;case br:r+=1;break}}),{a:t,b:r}}function ep({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:u,includeChangeCounts:o,omitAnnotationLines:i},l){if(i)return"";let s="",c="";if(o){let p=String(l.a),m=String(l.b),b=n.length-e.length,_=" ".repeat(Math.max(0,b)),h=" ".repeat(Math.max(0,-b)),g=m.length-p.length,R=" ".repeat(Math.max(0,g)),w=" ".repeat(Math.max(0,-g));s=`${_} ${r} ${R}${p}`,c=`${h} ${u} ${w}${m}`}let f=`${r} ${e}${s}`,d=`${u} ${n}${c}`;return`${t(f)} +${a(d)} + +`}function ts(e,t){return ep(t,Zf(e))+(t.expand?Yf(e,t):Kf(e,t))}function pa(e,t,r){return ts(rs(lr(e)?[]:e,lr(t)?[]:t),rn(r))}function tp(e,t,r,n,a){if(lr(e)&&lr(r)&&(e=[],r=[]),lr(t)&&lr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return pa(e,t,a);let u=rs(r,n),o=0,i=0;return u.forEach(l=>{switch(l[0]){case mr:l[1]=e[o],o+=1;break;case br:l[1]=t[i],i+=1;break;default:l[1]=t[i],o+=1,i+=1}}),ts(u,rn(a))}function rs(e,t){let r=e.length,n=t.length,a=(s,c)=>e[s]===t[c],u=[],o=0,i=0,l=(s,c,f)=>{for(;o!==c;o+=1)u.push(new Ar(mr,e[o]));for(;i!==f;i+=1)u.push(new Ar(br,t[i]));for(;s!==0;s-=1,o+=1,i+=1)u.push(new Ar(hn,t[i]))};for((ii.default.default||ii.default)(r,n,a,l);o!==r;o+=1)u.push(new Ar(mr,e[o]));for(;i!==n;i+=1)u.push(new Ar(br,t[i]));return u}function Eo(e,t){let{commonColor:r}=rn(t);return r(e)}var{AsymmetricMatcher:rp,DOMCollection:np,DOMElement:op,Immutable:ap,ReactElement:ip,ReactTestComponent:lp}=vt.plugins,ns=[lp,ip,op,np,ap,rp],Ro={plugins:ns},os={callToJSON:!1,maxDepth:10,plugins:ns};function sp(e,t,r){if(Object.is(e,t))return"";let n=li(e),a=n,u=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==li(t)){let{aAnnotation:o,aColor:i,aIndicator:l,bAnnotation:s,bColor:c,bIndicator:f}=rn(r),d=Co(os,r),p=(0,vt.format)(e,d),m=(0,vt.format)(t,d),b=`${i(`${l} ${o}:`)} +${p}`,_=`${c(`${f} ${s}:`)} +${m}`;return`${b} + +${_}`}if(u)return null;switch(n){case"string":return pa(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return up(e,t,r);case"map":return so(ci(e),ci(t),r);case"set":return so(di(e),di(t),r);default:return so(e,t,r)}}function up(e,t,r){let n=(0,vt.format)(e,Ro),a=(0,vt.format)(t,Ro);return n===a?"":pa(n.split(` +`),a.split(` +`),r)}function ci(e){return new Map(Array.from(e.entries()).sort())}function di(e){return new Set(Array.from(e.values()).sort())}function so(e,t,r){let n,a=!1;try{let o=Co(Ro,r);n=fi(e,t,o,r)}catch{a=!0}let u=Eo(Jl,r);if(n===void 0||n===u){let o=Co(os,r);n=fi(e,t,o,r),n!==u&&!a&&(n=`${Eo(Wf,r)} + +${n}`)}return n}function Co(e,t){let{compareKeys:r}=rn(t);return{...e,compareKeys:r}}function fi(e,t,r,n){let a={...r,indent:0},u=(0,vt.format)(e,a),o=(0,vt.format)(t,a);if(u===o)return Eo(Jl,n);{let i=(0,vt.format)(e,r),l=(0,vt.format)(t,r);return tp(i.split(` +`),l.split(` +`),u.split(` +`),o.split(` +`),n)}}var qo=Yt(ca(),1),cp=Yt(Yl(),1),{AsymmetricMatcher:dp,DOMCollection:fp,DOMElement:pp,Immutable:mp,ReactElement:bp,ReactTestComponent:hp}=qo.plugins,pi=[hp,bp,pp,fp,mp,dp];function Po(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,u;try{u=(0,qo.format)(e,{maxDepth:t,escapeString:!1,plugins:pi,...n})}catch{u=(0,qo.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:pi,...n})}return u.length>=a&&t>1?Po(e,Math.floor(t/2)):u}var yp=/%[sdjifoOcj%]/g;function gp(...e){if(typeof e[0]!="string"){let u=[];for(let o=0;o{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?xr(o,{depth:0,colors:!1,compact:3}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return xr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return xr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let i=o.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw o}default:return u}});for(let u=e[r];rt.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function as(e){let t=new Set;return vp(e)?[]:(_p(e,t),Array.from(t))}var is={forceWritable:!1};function mi(e,t=is){return So(e,new WeakMap,t)}function So(e,t,r=is){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=So(e[n],t);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=as(e);for(let o of u){let i=Object.getOwnPropertyDescriptor(e,o);if(!i)continue;let l=So(e[o],t);"get"in i?Object.defineProperty(a,o,{...i,get(){return l}}):Object.defineProperty(a,o,{...i,writable:r.forceWritable?!0:i.writable,value:l})}return a}return e}Yt(ca(),1);Yt(Kl(),1);Yt(Yl(),1);var wp="@@__IMMUTABLE_RECORD__@@",Ep="@@__IMMUTABLE_ITERABLE__@@";function Rp(e){return e&&(e[Ep]||e[wp])}var Cp=Object.getPrototypeOf({});function bi(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function $r(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Rp(e))return $r(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${gp(e.sample)}`;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=$r(n,t)}catch(u){r[a]=bi(u)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Cp;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=$r(e[a],t)}catch(u){delete r[a],r[a]=bi(u)}}),n=Object.getPrototypeOf(n);return r}}function hi(e){return e.replace(/__vite_ssr_import_\d+__\./g,"")}function qp(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=mi(e.actual,{forceWritable:!0}),n=mi(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=ls(r,n);e.diff=sp(u,a,t)}typeof e.expected!="string"&&(e.expected=Po(e.expected,10)),typeof e.actual!="string"&&(e.actual=Po(e.actual,10));try{typeof e.message=="string"&&(e.message=hi(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=hi(e.cause.message))}catch{}try{return $r(e)}catch(r){return $r(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} +Inner error message: ${e==null?void 0:e.message}`))}}function yi(e){return Oo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function gi(e,t){let r=Oo(e),n=Oo(t);return r===n&&r==="Object"}function ls(e,t,r=new WeakSet,n=new WeakSet){return gi(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),as(t).forEach(a=>{let u=t[a],o=e[a];if(yi(u))u.asymmetricMatch(o)&&(e[a]=u);else if(yi(o))o.asymmetricMatch(u)&&(t[a]=o);else if(gi(o,u)){let i=ls(o,u,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var Pp=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Pp||{}),yt={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},vi={start:!1,back:!1,goto:!1,next:!1,end:!1},Op=new Error("This function ran after the play function completed. Did you forget to `await` it?"),_i=e=>Object.prototype.toString.call(e)==="[object Object]",Sp=e=>Object.prototype.toString.call(e)==="[object Module]",Tp=e=>{if(!_i(e)&&!Sp(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!_i(t)},Ap=e=>{try{return new e.constructor}catch{return{}}},uo=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),wi=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},xp=class{constructor(){this.initialized=!1,this.channel=Ef.getChannel(),this.state=tt.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:o,isPlaying:i=!0,isDebugging:l=!1})=>{let s=this.getState(o);this.setState(o,{...uo(),...wi(s,l),shadowCalls:l?s.shadowCalls:[],chainedCallIds:l?s.chainedCallIds:new Set,playUntil:l?s.playUntil:void 0,isPlaying:i,isDebugging:l}),this.sync(o)};this.channel.on(ai,e),this.channel.on(Rf,({storyId:o,newPhase:i})=>{let{isDebugging:l}=this.getState(o);this.setState(o,{renderPhase:i}),i==="preparing"&&l&&e({storyId:o}),i==="playing"&&e({storyId:o,isDebugging:l}),i==="played"&&this.setState(o,{isLocked:!1,isPlaying:!1,isDebugging:!1}),i==="errored"&&this.setState(o,{isLocked:!1,isPlaying:!1})}),this.channel.on(Cf,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:o,playUntil:i})=>{this.getState(o).isDebugging||this.setState(o,({calls:s})=>({calls:[],shadowCalls:s.map(c=>({...c,status:"waiting"})),isDebugging:!0}));let l=this.getLog(o);this.setState(o,({shadowCalls:s})=>{var f;if(i||!l.length)return{playUntil:i};let c=s.findIndex(d=>d.id===l[0].callId);return{playUntil:(f=s.slice(0,c).filter(d=>d.interceptable&&!d.ancestors.length).slice(-1)[0])==null?void 0:f.id}}),this.channel.emit(ai,{storyId:o,isDebugging:!0})},r=({storyId:o})=>{var s;let i=this.getLog(o).filter(c=>!c.ancestors.length),l=i.reduceRight((c,f,d)=>c>=0||f.status==="waiting"?c:d,-1);t({storyId:o,playUntil:(s=i[l-1])==null?void 0:s.callId})},n=({storyId:o,callId:i})=>{var p;let{calls:l,shadowCalls:s,resolvers:c}=this.getState(o),f=l.find(({id:m})=>m===i),d=s.find(({id:m})=>m===i);if(!f&&d&&Object.values(c).length>0){let m=(p=this.getLog(o).find(b=>b.status==="waiting"))==null?void 0:p.callId;d.id!==m&&this.setState(o,{playUntil:d.id}),Object.values(c).forEach(b=>b())}else t({storyId:o,playUntil:i})},a=({storyId:o})=>{var l;let{resolvers:i}=this.getState(o);if(Object.values(i).length>0)Object.values(i).forEach(s=>s());else{let s=(l=this.getLog(o).find(c=>c.status==="waiting"))==null?void 0:l.callId;s?t({storyId:o,playUntil:s}):u({storyId:o})}},u=({storyId:o})=>{this.setState(o,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(o).resolvers).forEach(i=>i())};this.channel.on(yt.START,t),this.channel.on(yt.BACK,r),this.channel.on(yt.GOTO,n),this.channel.on(yt.NEXT,a),this.channel.on(yt.END,u)}getState(e){return this.state[e]||uo()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},tt.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let a=wi(n);return a&&(t[r]=Object.assign(uo(),a)),t},{});let e={controlStates:vi,logItems:[]};this.channel.emit(yt.SYNC,e),tt.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((u,o)=>{n[o]=u});let a=new Set;return n.reduceRight((u,o)=>(o.args.forEach(i=>{i!=null&&i.__callId__&&a.add(i.__callId__)}),o.path.forEach(i=>{i.__callId__&&a.add(i.__callId__)}),(o.interceptable||o.exception)&&!a.has(o.id)&&(u.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),a.add(o.id)),u),[])}instrument(e,t,r=0){if(!Tp(e))return e;let{mutate:n=!1,path:a=[]}=t,u=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,u.reduce((o,i)=>{let l=Mp(e,i);if(typeof(l==null?void 0:l.get)=="function"){let c=()=>{var f,d;return(d=(f=l==null?void 0:l.get)==null?void 0:f.bind(e))==null?void 0:d()};return Object.defineProperty(o,i,{get:()=>this.instrument(c(),{...t,path:a.concat(i)},r)}),o}let s=e[i];return typeof s!="function"?(o[i]=this.instrument(s,{...t,path:a.concat(i)},r),o):"__originalFn__"in s&&typeof s.__originalFn__=="function"?(o[i]=s,o):(o[i]=(...c)=>this.track(i,s,e,c,t),o[i].__originalFn__=s,Object.defineProperty(o[i],"name",{value:i,writable:!1}),Object.keys(s).length>0&&Object.assign(o[i],this.instrument({...s},{...t,path:a.concat(i)},r)),o)},n?e:Ap(e))}track(e,t,r,n,a){var b,_,h,g;let u=((b=n==null?void 0:n[0])==null?void 0:b.__storyId__)||((g=(h=(_=tt.__STORYBOOK_PREVIEW__)==null?void 0:_.selectionStore)==null?void 0:h.selection)==null?void 0:g.storyId),{cursor:o,ancestors:i}=this.getState(u);this.setState(u,{cursor:o+1});let l=`${i.slice(-1)[0]||u} [${o}] ${e}`,{path:s=[],intercept:c=!1,retain:f=!1}=a,d=typeof c=="function"?c(e,s):c,p={id:l,cursor:o,storyId:u,ancestors:i,path:s,method:e,args:n,interceptable:d,retain:f},m=(d&&!i.length?this.intercept:this.invoke).call(this,t,r,p,a);return this.instrument(m,{...a,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:u,playUntil:o}=this.getState(r.storyId),i=a.has(r.id);return!u||i||o?(o===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:s})=>({isLocked:!1,resolvers:{...s,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:s,...c}=l.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:u}=this.getState(r.storyId),o=s=>{var c,f;if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(o);if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:d,message:p,stack:m}=s;return{__error__:{name:d,message:p,stack:m}}}if(s instanceof RegExp){let{flags:d,source:p}=s;return{__regexp__:{flags:d,source:p}}}if(s instanceof tt.window.HTMLElement){let{prefix:d,localName:p,id:m,classList:b,innerText:_}=s,h=Array.from(b);return{__element__:{prefix:d,localName:p,id:m,classNames:h,innerText:_}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((c=s==null?void 0:s.constructor)!=null&&c.name)&&((f=s==null?void 0:s.constructor)==null?void 0:f.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([d,p])=>[d,o(p)])):s},i={...r,args:r.args.map(o)};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:c})=>({chainedCallIds:new Set(Array.from(c).concat(s.__callId__))}))});let l=s=>{if(s instanceof Error){let{name:c,message:f,stack:d,callId:p=r.id}=s,{showDiff:m=void 0,diff:b=void 0,actual:_=void 0,expected:h=void 0}=s.name==="AssertionError"?qp(s):s,g={name:c,message:f,stack:d,callId:p,showDiff:m,diff:b,actual:_,expected:h};if(this.update({...i,status:"error",exception:g}),this.setState(r.storyId,R=>({callRefsByResult:new Map([...Array.from(R.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(u==="played"&&!r.retain)throw Op;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||Object.keys(f).length?f:(...d)=>{let{cursor:p,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let b=()=>this.setState(r.storyId,{cursor:p,ancestors:m}),_=!1;try{let h=f(...d);return h instanceof Promise?(_=!0,h.finally(b)):h}finally{_||b()}}),c=e.apply(t,s);return c&&["object","function","symbol"].includes(typeof c)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),this.update({...i,status:c instanceof Promise?"active":"done"}),c instanceof Promise?c.then(f=>(this.update({...i,status:"done"}),f),l):c}catch(s){return l(s)}}update(e){this.channel.emit(yt.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var s;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),u=(s=a.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting"))==null?void 0:s.callId,o=a.some(c=>c.status==="active");if(r||o||a.length===0){let c={controlStates:vi,logItems:a};this.channel.emit(yt.SYNC,c);return}let i=a.some(c=>c.status==="done"||c.status==="error"),l={controlStates:{start:i,back:i,goto:!0,next:n,end:n},logItems:a,pausedAt:u};this.channel.emit(yt.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function kn(e,t={}){var r,n,a,u;try{let o=!1,i=!1;return(n=(r=tt.window.location)==null?void 0:r.search)!=null&&n.includes("instrument=true")?o=!0:(u=(a=tt.window.location)==null?void 0:a.search)!=null&&u.includes("instrument=false")&&(i=!0),tt.window.parent===tt.window&&!o||i?e:(tt.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(tt.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new xp),tt.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(e,t))}catch(o){return zl.warn(o),e}}function Mp(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var jp=Object.create,ma=Object.defineProperty,Np=Object.getOwnPropertyDescriptor,ss=Object.getOwnPropertyNames,Ip=Object.getPrototypeOf,kp=Object.prototype.hasOwnProperty,Bp=(e=>typeof rt<"u"?rt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof rt<"u"?rt:t)[r]}):e)(function(e){if(typeof rt<"u")return rt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),E=(e,t)=>function(){return t||(0,e[ss(e)[0]])((t={exports:{}}).exports,t),t.exports},ba=(e,t)=>{for(var r in t)ma(e,r,{get:t[r],enumerable:!0})},$p=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ss(t))!kp.call(e,a)&&a!==r&&ma(e,a,{get:()=>t[a],enumerable:!(n=Np(t,a))||n.enumerable});return e},ve=(e,t,r)=>(r=e!=null?jp(Ip(e)):{},$p(t||!e||!e.__esModule?ma(r,"default",{value:e,enumerable:!0}):r,e)),us=E({"../../node_modules/assertion-error/index.js"(e,t){function r(){var a=[].slice.call(arguments);function u(o,i){Object.keys(i).forEach(function(l){~a.indexOf(l)||(o[l]=i[l])})}return function(){for(var o=[].slice.call(arguments),i=0,l={};i"u"||s===null?!1:c in Object(s)}function n(s){var c=s.replace(/([^\\])\[/g,"$1.["),f=c.match(/(\\\.|[^.]+?)+/g);return f.map(function(d){if(d==="constructor"||d==="__proto__"||d==="prototype")return{};var p=/^\[(\d+)\]$/,m=p.exec(d),b=null;return m?b={i:parseFloat(m[1])}:b={p:d.replace(/\\([.[\]])/g,"$1")},b})}function a(s,c,f){var d=s,p=null;f=typeof f>"u"?c.length:f;for(var m=0;m"u"?d=d[b.i]:d=d[b.p],m===f-1&&(p=d))}return p}function u(s,c,f){for(var d=s,p=f.length,m=null,b=0;b"u"?m.i:m.p,d[_]=c;else if(typeof m.p<"u"&&d[m.p])d=d[m.p];else if(typeof m.i<"u"&&d[m.i])d=d[m.i];else{var g=f[b+1];_=typeof m.p>"u"?m.i:m.p,h=typeof g.p>"u"?[]:{},d[_]=h,d=d[_]}}}function o(s,c){var f=n(c),d=f[f.length-1],p={parent:f.length>1?a(s,f,f.length-1):s,name:d.p||d.i,value:a(s,f)};return p.exists=r(p.parent,p.name),p}function i(s,c){var f=o(s,c);return f.value}function l(s,c,f){var d=n(c);return u(s,f,d),s}t.exports={hasProperty:r,getPathInfo:o,getPathValue:i,setPathValue:l}}}),st=E({"../../node_modules/chai/lib/chai/utils/flag.js"(e,t){t.exports=function(r,n,a){var u=r.__flags||(r.__flags=Object.create(null));if(arguments.length===3)u[n]=a;else return u[n]}}}),Lp=E({"../../node_modules/chai/lib/chai/utils/test.js"(e,t){var r=st();t.exports=function(n,a){var u=r(n,"negate"),o=a[0];return u?!o:o}}}),Bn=E({"../../node_modules/type-detect/type-detect.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.typeDetect=n()})(e,function(){var r=typeof Promise=="function",n=typeof self=="object"?self:global,a=typeof Symbol<"u",u=typeof Map<"u",o=typeof Set<"u",i=typeof WeakMap<"u",l=typeof WeakSet<"u",s=typeof DataView<"u",c=a&&typeof Symbol.iterator<"u",f=a&&typeof Symbol.toStringTag<"u",d=o&&typeof Set.prototype.entries=="function",p=u&&typeof Map.prototype.entries=="function",m=d&&Object.getPrototypeOf(new Set().entries()),b=p&&Object.getPrototypeOf(new Map().entries()),_=c&&typeof Array.prototype[Symbol.iterator]=="function",h=_&&Object.getPrototypeOf([][Symbol.iterator]()),g=c&&typeof String.prototype[Symbol.iterator]=="function",R=g&&Object.getPrototypeOf(""[Symbol.iterator]()),w=8,P=-1;function S(q){var y=typeof q;if(y!=="object")return y;if(q===null)return"null";if(q===n)return"global";if(Array.isArray(q)&&(f===!1||!(Symbol.toStringTag in q)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&q===window.location)return"Location";if(typeof window.document=="object"&&q===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&q===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&q===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&q instanceof window.HTMLElement){if(q.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(q.tagName==="TD")return"HTMLTableDataCellElement";if(q.tagName==="TH")return"HTMLTableHeaderCellElement"}}var C=f&&q[Symbol.toStringTag];if(typeof C=="string")return C;var x=Object.getPrototypeOf(q);return x===RegExp.prototype?"RegExp":x===Date.prototype?"Date":r&&x===Promise.prototype?"Promise":o&&x===Set.prototype?"Set":u&&x===Map.prototype?"Map":l&&x===WeakSet.prototype?"WeakSet":i&&x===WeakMap.prototype?"WeakMap":s&&x===DataView.prototype?"DataView":u&&x===b?"Map Iterator":o&&x===m?"Set Iterator":_&&x===h?"Array Iterator":g&&x===R?"String Iterator":x===null?"Object":Object.prototype.toString.call(q).slice(w,P)}return S})}}),Fp=E({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(e,t){var r=us(),n=st(),a=Bn();t.exports=function(u,o){var i=n(u,"message"),l=n(u,"ssfi");i=i?i+": ":"",u=n(u,"object"),o=o.map(function(f){return f.toLowerCase()}),o.sort();var s=o.map(function(f,d){var p=~["a","e","i","o","u"].indexOf(f.charAt(0))?"an":"a",m=o.length>1&&d===o.length-1?"or ":"";return m+p+" "+f}).join(", "),c=a(u).toLowerCase();if(!o.some(function(f){return c===f}))throw new r(i+"object tested must be "+s+", but "+c+" given",void 0,l)}}}),cs=E({"../../node_modules/chai/lib/chai/utils/getActual.js"(e,t){t.exports=function(r,n){return n.length>4?n[4]:r._obj}}}),ha=E({"../../node_modules/get-func-name/index.js"(e,t){var r=Function.prototype.toString,n=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,a=512;function u(o){if(typeof o!="function")return null;var i="";if(typeof Function.prototype.name>"u"&&typeof o.name>"u"){var l=r.call(o);if(l.indexOf("(")>a)return i;var s=l.match(n);s&&(i=s[1])}else i=o.name;return i}t.exports=u}}),$n=E({"../../node_modules/loupe/loupe.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.loupe={}))})(e,function(r){function n(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(T){return typeof T}:n=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},n(O)}function a(O,T){return u(O)||o(O,T)||i(O,T)||s()}function u(O){if(Array.isArray(O))return O}function o(O,T){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var k=[],X=!0,re=!1,le=void 0;try{for(var de=O[Symbol.iterator](),fe;!(X=(fe=de.next()).done)&&(k.push(fe.value),!(T&&k.length===T));X=!0);}catch(me){re=!0,le=me}finally{try{!X&&de.return!=null&&de.return()}finally{if(re)throw le}}return k}}function i(O,T){if(O){if(typeof O=="string")return l(O,T);var k=Object.prototype.toString.call(O).slice(8,-1);if(k==="Object"&&O.constructor&&(k=O.constructor.name),k==="Map"||k==="Set")return Array.from(O);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return l(O,T)}}function l(O,T){(T==null||T>O.length)&&(T=O.length);for(var k=0,X=new Array(T);k0&&arguments[0]!==void 0?arguments[0]:{},T=O.showHidden,k=T===void 0?!1:T,X=O.depth,re=X===void 0?2:X,le=O.colors,de=le===void 0?!1:le,fe=O.customInspect,me=fe===void 0?!0:fe,te=O.showProxy,ne=te===void 0?!1:te,qe=O.maxArrayLength,Ne=qe===void 0?1/0:qe,Pe=O.breakLength,Ie=Pe===void 0?1/0:Pe,Be=O.seen,Ft=Be===void 0?[]:Be,ht=O.truncate,or=ht===void 0?1/0:ht,At=O.stylize,Ut=At===void 0?String:At,ct={showHidden:!!k,depth:Number(re),colors:!!de,customInspect:!!me,showProxy:!!ne,maxArrayLength:Number(Ne),breakLength:Number(Ie),truncate:Number(or),seen:Ft,stylize:Ut};return ct.colors&&(ct.stylize=p),ct}function b(O,T){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d;O=String(O);var X=k.length,re=O.length;return X>T&&re>X?k:re>T&&re>X?"".concat(O.slice(0,T-X)).concat(k):O}function _(O,T,k){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";k=k||T.inspect;var re=O.length;if(re===0)return"";for(var le=T.truncate,de="",fe="",me="",te=0;tele&&de.length+me.length<=le||!ne&&!qe&&Be>le||(fe=ne?"":k(O[te+1],T)+(qe?"":X),!ne&&qe&&Be>le&&Ie+fe.length>le))break;if(de+=Pe,!ne&&!qe&&Ie+fe.length>=le){me="".concat(d,"(").concat(O.length-te-1,")");break}me=""}return"".concat(de).concat(me)}function h(O){return O.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?O:JSON.stringify(O).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function g(O,T){var k=a(O,2),X=k[0],re=k[1];return T.truncate-=2,typeof X=="string"?X=h(X):typeof X!="number"&&(X="[".concat(T.inspect(X,T),"]")),T.truncate-=X.length,re=T.inspect(re,T),"".concat(X,": ").concat(re)}function R(O,T){var k=Object.keys(O).slice(O.length);if(!O.length&&!k.length)return"[]";T.truncate-=4;var X=_(O,T);T.truncate-=X.length;var re="";return k.length&&(re=_(k.map(function(le){return[le,O[le]]}),T,g)),"[ ".concat(X).concat(re?", ".concat(re):""," ]")}var w=Function.prototype.toString,P=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,S=512;function q(O){if(typeof O!="function")return null;var T="";if(typeof Function.prototype.name>"u"&&typeof O.name>"u"){var k=w.call(O);if(k.indexOf("(")>S)return T;var X=k.match(P);X&&(T=X[1])}else T=O.name;return T}var y=q,C=function(O){return typeof Buffer=="function"&&O instanceof Buffer?"Buffer":O[Symbol.toStringTag]?O[Symbol.toStringTag]:y(O.constructor)};function x(O,T){var k=C(O);T.truncate-=k.length+4;var X=Object.keys(O).slice(O.length);if(!O.length&&!X.length)return"".concat(k,"[]");for(var re="",le=0;le ").concat(re)}function H(O){var T=[];return O.forEach(function(k,X){T.push([X,k])}),T}function ee(O,T){var k=O.size-1;return k<=0?"Map{}":(T.truncate-=7,"Map{ ".concat(_(H(O),T,U)," }"))}var J=Number.isNaN||function(O){return O!==O};function oe(O,T){return J(O)?T.stylize("NaN","number"):O===1/0?T.stylize("Infinity","number"):O===-1/0?T.stylize("-Infinity","number"):O===0?T.stylize(1/O===1/0?"+0":"-0","number"):T.stylize(b(O,T.truncate),"number")}function ae(O,T){var k=b(O.toString(),T.truncate-1);return k!==d&&(k+="n"),T.stylize(k,"bigint")}function ue(O,T){var k=O.toString().split("/")[2],X=T.truncate-(2+k.length),re=O.source;return T.stylize("/".concat(b(re,X),"/").concat(k),"regexp")}function ce(O){var T=[];return O.forEach(function(k){T.push(k)}),T}function A(O,T){return O.size===0?"Set{}":(T.truncate-=7,"Set{ ".concat(_(ce(O),T)," }"))}var M=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),F={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},N=16,G=4;function B(O){return F[O]||"\\u".concat("0000".concat(O.charCodeAt(0).toString(N)).slice(-G))}function $(O,T){return M.test(O)&&(O=O.replace(M,B)),T.stylize("'".concat(b(O,T.truncate-2),"'"),"string")}function z(O){return"description"in Symbol.prototype?O.description?"Symbol(".concat(O.description,")"):"Symbol()":O.toString()}var Q=function(){return"Promise{…}"};try{var v=process.binding("util"),I=v.getPromiseDetails,D=v.kPending,K=v.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(O,T){var k=I(O),X=a(k,2),re=X[0],le=X[1];return re===D?"Promise{}":"Promise".concat(re===K?"!":"","{").concat(T.inspect(le,T),"}")})}catch{}var W=Q;function V(O,T){var k=Object.getOwnPropertyNames(O),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(O):[];if(k.length===0&&X.length===0)return"{}";if(T.truncate-=4,T.seen=T.seen||[],T.seen.indexOf(O)>=0)return"[Circular]";T.seen.push(O);var re=_(k.map(function(fe){return[fe,O[fe]]}),T,g),le=_(X.map(function(fe){return[fe,O[fe]]}),T,g);T.seen.pop();var de="";return re&&le&&(de=", "),"{ ".concat(re).concat(de).concat(le," }")}var ie=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function se(O,T){var k="";return ie&&ie in O&&(k=O[ie]),k=k||y(O.constructor),(!k||k==="_class")&&(k=""),T.truncate-=k.length,"".concat(k).concat(V(O,T))}function pe(O,T){return O.length===0?"Arguments[]":(T.truncate-=13,"Arguments[ ".concat(_(O,T)," ]"))}var Oe=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Ye(O,T){var k=Object.getOwnPropertyNames(O).filter(function(de){return Oe.indexOf(de)===-1}),X=O.name;T.truncate-=X.length;var re="";typeof O.message=="string"?re=b(O.message,T.truncate):k.unshift("message"),re=re?": ".concat(re):"",T.truncate-=re.length+5;var le=_(k.map(function(de){return[de,O[de]]}),T,g);return"".concat(X).concat(re).concat(le?" { ".concat(le," }"):"")}function Je(O,T){var k=a(O,2),X=k[0],re=k[1];return T.truncate-=3,re?"".concat(T.stylize(X,"yellow"),"=").concat(T.stylize('"'.concat(re,'"'),"string")):"".concat(T.stylize(X,"yellow"))}function ke(O,T){return _(O,T,Ve,` +`)}function Ve(O,T){var k=O.getAttributeNames(),X=O.tagName.toLowerCase(),re=T.stylize("<".concat(X),"special"),le=T.stylize(">","special"),de=T.stylize(""),"special");T.truncate-=X.length*2+5;var fe="";k.length>0&&(fe+=" ",fe+=_(k.map(function(ne){return[ne,O.getAttribute(ne)]}),T,Je," ")),T.truncate-=fe.length;var me=T.truncate,te=ke(O.children,T);return te&&te.length>me&&(te="".concat(d,"(").concat(O.children.length,")")),"".concat(re).concat(fe).concat(le).concat(te).concat(de)}var Xe=typeof Symbol=="function"&&typeof Symbol.for=="function",xe=Xe?Symbol.for("chai/inspect"):"@@chai/inspect",Re=!1;try{var ze=Bp("util");Re=ze.inspect?ze.inspect.custom:!1}catch{Re=!1}function Ce(){this.key="chai/loupe__"+Math.random()+Date.now()}Ce.prototype={get:function(O){return O[this.key]},has:function(O){return this.key in O},set:function(O,T){Object.isExtensible(O)&&Object.defineProperty(O,this.key,{value:T,configurable:!0})}};var Se=new(typeof WeakMap=="function"?WeakMap:Ce),Te={},We={undefined:function(O,T){return T.stylize("undefined","undefined")},null:function(O,T){return T.stylize(null,"null")},boolean:function(O,T){return T.stylize(O,"boolean")},Boolean:function(O,T){return T.stylize(O,"boolean")},number:oe,Number:oe,bigint:ae,BigInt:ae,string:$,String:$,function:L,Function:L,symbol:z,Symbol:z,Array:R,Date:j,Map:ee,Set:A,RegExp:ue,Promise:W,WeakSet:function(O,T){return T.stylize("WeakSet{…}","special")},WeakMap:function(O,T){return T.stylize("WeakMap{…}","special")},Arguments:pe,Int8Array:x,Uint8Array:x,Uint8ClampedArray:x,Int16Array:x,Uint16Array:x,Int32Array:x,Uint32Array:x,Float32Array:x,Float64Array:x,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Ye,HTMLCollection:ke,NodeList:ke},bt=function(O,T,k){return xe in O&&typeof O[xe]=="function"?O[xe](T):Re&&Re in O&&typeof O[Re]=="function"?O[Re](T.depth,T):"inspect"in O&&typeof O.inspect=="function"?O.inspect(T.depth,T):"constructor"in O&&Se.has(O.constructor)?Se.get(O.constructor)(O,T):Te[k]?Te[k](O,T):""},ot=Object.prototype.toString;function Me(O,T){T=m(T),T.inspect=Me;var k=T,X=k.customInspect,re=O===null?"null":n(O);if(re==="object"&&(re=ot.call(O).slice(8,-1)),We[re])return We[re](O,T);if(X&&O){var le=bt(O,T,re);if(le)return typeof le=="string"?le:Me(le,T)}var de=O?Object.getPrototypeOf(O):!1;return de===Object.prototype||de===null?V(O,T):O&&typeof HTMLElement=="function"&&O instanceof HTMLElement?Ve(O,T):"constructor"in O?O.constructor!==Object?se(O,T):V(O,T):O===Object(O)?V(O,T):T.stylize(String(O),re)}function Y(O,T){return Se.has(O)?!1:(Se.set(O,T),!0)}function Z(O,T){return O in Te?!1:(Te[O]=T,!0)}var be=xe;r.custom=be,r.default=Me,r.inspect=Me,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),qr=E({"../../node_modules/chai/lib/chai/config.js"(e,t){t.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"]}}}),ya=E({"../../node_modules/chai/lib/chai/utils/inspect.js"(e,t){ha();var r=$n(),n=qr();t.exports=a;function a(u,o,i,l){var s={colors:l,depth:typeof i>"u"?2:i,showHidden:o,truncate:n.truncateThreshold?n.truncateThreshold:1/0};return r.inspect(u,s)}}}),ds=E({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(e,t){var r=ya(),n=qr();t.exports=function(a){var u=r(a),o=Object.prototype.toString.call(a);if(n.truncateThreshold&&u.length>=n.truncateThreshold){if(o==="[object Function]")return!a.name||a.name===""?"[Function]":"[Function: "+a.name+"]";if(o==="[object Array]")return"[ Array("+a.length+") ]";if(o==="[object Object]"){var i=Object.keys(a),l=i.length>2?i.splice(0,2).join(", ")+", ...":i.join(", ");return"{ Object ("+l+") }"}else return u}else return u}}}),Up=E({"../../node_modules/chai/lib/chai/utils/getMessage.js"(e,t){var r=st(),n=cs(),a=ds();t.exports=function(u,o){var i=r(u,"negate"),l=r(u,"object"),s=o[3],c=n(u,o),f=i?o[2]:o[1],d=r(u,"message");return typeof f=="function"&&(f=f()),f=f||"",f=f.replace(/#\{this\}/g,function(){return a(l)}).replace(/#\{act\}/g,function(){return a(c)}).replace(/#\{exp\}/g,function(){return a(s)}),d?d+": "+f:f}}}),Jt=E({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(e,t){t.exports=function(r,n,a){var u=r.__flags||(r.__flags=Object.create(null));n.__flags||(n.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var o in u)(a||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(n.__flags[o]=u[o])}}}),Hp=E({"../../node_modules/deep-eql/index.js"(e,t){var r=Bn();function n(){this._key="chai/deep-eql__"+Math.random()+Date.now()}n.prototype={get:function(y){return y[this._key]},set:function(y,C){Object.isExtensible(y)&&Object.defineProperty(y,this._key,{value:C,configurable:!0})}};var a=typeof WeakMap=="function"?WeakMap:n;function u(y,C,x){if(!x||S(y)||S(C))return null;var j=x.get(y);if(j){var L=j.get(C);if(typeof L=="boolean")return L}return null}function o(y,C,x,j){if(!(!x||S(y)||S(C))){var L=x.get(y);L?L.set(C,j):(L=new a,L.set(C,j),x.set(y,L))}}t.exports=i,t.exports.MemoizeMap=a;function i(y,C,x){if(x&&x.comparator)return s(y,C,x);var j=l(y,C);return j!==null?j:s(y,C,x)}function l(y,C){return y===C?y!==0||1/y===1/C:y!==y&&C!==C?!0:S(y)||S(C)?!1:null}function s(y,C,x){x=x||{},x.memoize=x.memoize===!1?!1:x.memoize||new a;var j=x&&x.comparator,L=u(y,C,x.memoize);if(L!==null)return L;var U=u(C,y,x.memoize);if(U!==null)return U;if(j){var H=j(y,C);if(H===!1||H===!0)return o(y,C,x.memoize,H),H;var ee=l(y,C);if(ee!==null)return ee}var J=r(y);if(J!==r(C))return o(y,C,x.memoize,!1),!1;o(y,C,x.memoize,!0);var oe=c(y,C,J,x);return o(y,C,x.memoize,oe),oe}function c(y,C,x,j){switch(x){case"String":case"Number":case"Boolean":case"Date":return i(y.valueOf(),C.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return y===C;case"Error":return w(y,C,["name","message","code"],j);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return p(y,C,j);case"RegExp":return f(y,C);case"Generator":return m(y,C,j);case"DataView":return p(new Uint8Array(y.buffer),new Uint8Array(C.buffer),j);case"ArrayBuffer":return p(new Uint8Array(y),new Uint8Array(C),j);case"Set":return d(y,C,j);case"Map":return d(y,C,j);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return y.equals(C);case"Temporal.Duration":return y.total("nanoseconds")===C.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return y.toString()===C.toString();default:return P(y,C,j)}}function f(y,C){return y.toString()===C.toString()}function d(y,C,x){if(y.size!==C.size)return!1;if(y.size===0)return!0;var j=[],L=[];return y.forEach(function(U,H){j.push([U,H])}),C.forEach(function(U,H){L.push([U,H])}),p(j.sort(),L.sort(),x)}function p(y,C,x){var j=y.length;if(j!==C.length)return!1;if(j===0)return!0;for(var L=-1;++L=c)return c;for(var f=[],d=0;d<=l.length;d++)f[d]=Array(s.length+1).fill(0),f[d][0]=d;for(var p=0;p=c){f[d][p]=c;continue}f[d][p]=Math.min(f[d-1][p]+1,f[d][p-1]+1,f[d-1][p-1]+(m===s.charCodeAt(p-1)?0:1))}return f[l.length][s.length]}}}),Wp=E({"../../node_modules/chai/lib/chai/utils/addMethod.js"(e,t){var r=Ln(),n=Xt(),a=st(),u=Fn(),o=Jt();t.exports=function(i,l,s){var c=function(){a(this,"lockSsfi")||a(this,"ssfi",c);var f=s.apply(this,arguments);if(f!==void 0)return f;var d=new n.Assertion;return o(this,d),d};r(c,l,!1),i[l]=u(c,l)}}}),Gp=E({"../../node_modules/chai/lib/chai/utils/overwriteProperty.js"(e,t){var r=Xt(),n=st(),a=Dn(),u=Jt();t.exports=function(o,i,l){var s=Object.getOwnPropertyDescriptor(o,i),c=function(){};s&&typeof s.get=="function"&&(c=s.get),Object.defineProperty(o,i,{get:function f(){!a()&&!n(this,"lockSsfi")&&n(this,"ssfi",f);var d=n(this,"lockSsfi");n(this,"lockSsfi",!0);var p=l(c).call(this);if(n(this,"lockSsfi",d),p!==void 0)return p;var m=new r.Assertion;return u(this,m),m},configurable:!0})}}}),Kp=E({"../../node_modules/chai/lib/chai/utils/overwriteMethod.js"(e,t){var r=Ln(),n=Xt(),a=st(),u=Fn(),o=Jt();t.exports=function(i,l,s){var c=i[l],f=function(){throw new Error(l+" is not a function")};c&&typeof c=="function"&&(f=c);var d=function(){a(this,"lockSsfi")||a(this,"ssfi",d);var p=a(this,"lockSsfi");a(this,"lockSsfi",!0);var m=s(f).apply(this,arguments);if(a(this,"lockSsfi",p),m!==void 0)return m;var b=new n.Assertion;return o(this,b),b};r(d,l,!1),i[l]=u(d,l)}}}),Yp=E({"../../node_modules/chai/lib/chai/utils/addChainableMethod.js"(e,t){var r=Ln(),n=Xt(),a=st(),u=Fn(),o=Jt(),i=typeof Object.setPrototypeOf=="function",l=function(){},s=Object.getOwnPropertyNames(l).filter(function(d){var p=Object.getOwnPropertyDescriptor(l,d);return typeof p!="object"?!0:!p.configurable}),c=Function.prototype.call,f=Function.prototype.apply;t.exports=function(d,p,m,b){typeof b!="function"&&(b=function(){});var _={method:m,chainingBehavior:b};d.__methods||(d.__methods={}),d.__methods[p]=_,Object.defineProperty(d,p,{get:function(){_.chainingBehavior.call(this);var h=function(){a(this,"lockSsfi")||a(this,"ssfi",h);var w=_.method.apply(this,arguments);if(w!==void 0)return w;var P=new n.Assertion;return o(this,P),P};if(r(h,p,!0),i){var g=Object.create(this);g.call=c,g.apply=f,Object.setPrototypeOf(h,g)}else{var R=Object.getOwnPropertyNames(d);R.forEach(function(w){if(s.indexOf(w)===-1){var P=Object.getOwnPropertyDescriptor(d,w);Object.defineProperty(h,w,P)}})}return o(this,h),u(h)},configurable:!0})}}}),Jp=E({"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js"(e,t){var r=Xt(),n=Jt();t.exports=function(a,u,o,i){var l=a.__methods[u],s=l.chainingBehavior;l.chainingBehavior=function(){var f=i(s).call(this);if(f!==void 0)return f;var d=new r.Assertion;return n(this,d),d};var c=l.method;l.method=function(){var f=o(c).apply(this,arguments);if(f!==void 0)return f;var d=new r.Assertion;return n(this,d),d}}}}),Xp=E({"../../node_modules/chai/lib/chai/utils/compareByInspect.js"(e,t){var r=ya();t.exports=function(n,a){return r(n)1&&W===D.length)throw K;return}this.assert(v,"expected #{this} to "+Q+"include "+n.inspect(A),"expected #{this} to not "+Q+"include "+n.inspect(A))}a.addChainableMethod("include",c,s),a.addChainableMethod("contain",c,s),a.addChainableMethod("contains",c,s),a.addChainableMethod("includes",c,s),a.addProperty("ok",function(){this.assert(o(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),a.addProperty("true",function(){this.assert(o(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!o(this,"negate"))}),a.addProperty("false",function(){this.assert(o(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!o(this,"negate"))}),a.addProperty("null",function(){this.assert(o(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),a.addProperty("undefined",function(){this.assert(o(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),a.addProperty("NaN",function(){this.assert(n.isNaN(o(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function f(){var A=o(this,"object");this.assert(A!=null,"expected #{this} to exist","expected #{this} to not exist")}a.addProperty("exist",f),a.addProperty("exists",f),a.addProperty("empty",function(){var A=o(this,"object"),M=o(this,"ssfi"),F=o(this,"message"),N;switch(F=F?F+": ":"",n.type(A).toLowerCase()){case"array":case"string":N=A.length;break;case"map":case"set":N=A.size;break;case"weakmap":case"weakset":throw new u(F+".empty was passed a weak collection",void 0,M);case"function":var G=F+".empty was passed a function "+n.getName(A);throw new u(G.trim(),void 0,M);default:if(A!==Object(A))throw new u(F+".empty was passed non-string primitive "+n.inspect(A),void 0,M);N=Object.keys(A).length}this.assert(N===0,"expected #{this} to be empty","expected #{this} not to be empty")});function d(){var A=o(this,"object"),M=n.type(A);this.assert(M==="Arguments","expected #{this} to be arguments but got "+M,"expected #{this} to not be arguments")}a.addProperty("arguments",d),a.addProperty("Arguments",d);function p(A,M){M&&o(this,"message",M);var F=o(this,"object");if(o(this,"deep")){var N=o(this,"lockSsfi");o(this,"lockSsfi",!0),this.eql(A),o(this,"lockSsfi",N)}else this.assert(A===F,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",A,this._obj,!0)}a.addMethod("equal",p),a.addMethod("equals",p),a.addMethod("eq",p);function m(A,M){M&&o(this,"message",M),this.assert(n.eql(A,o(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",A,this._obj,!0)}a.addMethod("eql",m),a.addMethod("eqls",m);function b(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",$=o(this,"ssfi"),z=n.type(F).toLowerCase(),Q=n.type(A).toLowerCase(),v,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(F,G,$,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")v=B+"the argument to above must be a date";else if(Q!=="number"&&(N||z==="number"))v=B+"the argument to above must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+F+"'":F;v=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(v,void 0,$);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=F.size):W=F.length,this.assert(W>A,"expected #{this} to have a "+K+" above #{exp} but got #{act}","expected #{this} to not have a "+K+" above #{exp}",A,W)}else this.assert(F>A,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",A)}a.addMethod("above",b),a.addMethod("gt",b),a.addMethod("greaterThan",b);function _(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",$=o(this,"ssfi"),z=n.type(F).toLowerCase(),Q=n.type(A).toLowerCase(),v,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(F,G,$,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")v=B+"the argument to least must be a date";else if(Q!=="number"&&(N||z==="number"))v=B+"the argument to least must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+F+"'":F;v=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(v,void 0,$);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=F.size):W=F.length,this.assert(W>=A,"expected #{this} to have a "+K+" at least #{exp} but got #{act}","expected #{this} to have a "+K+" below #{exp}",A,W)}else this.assert(F>=A,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",A)}a.addMethod("least",_),a.addMethod("gte",_),a.addMethod("greaterThanOrEqual",_);function h(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",$=o(this,"ssfi"),z=n.type(F).toLowerCase(),Q=n.type(A).toLowerCase(),v,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(F,G,$,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")v=B+"the argument to below must be a date";else if(Q!=="number"&&(N||z==="number"))v=B+"the argument to below must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+F+"'":F;v=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(v,void 0,$);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=F.size):W=F.length,this.assert(W=A&&se<=M,"expected #{this} to have a "+ie+" within "+W,"expected #{this} to not have a "+ie+" within "+W)}else this.assert(N>=A&&N<=M,"expected #{this} to be within "+W,"expected #{this} to not be within "+W)});function R(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"ssfi"),G=o(this,"message");try{var B=F instanceof A}catch(z){throw z instanceof TypeError?(G=G?G+": ":"",new u(G+"The instanceof assertion needs a constructor but "+n.type(A)+" was given.",void 0,N)):z}var $=n.getName(A);$===null&&($="an unnamed constructor"),this.assert(B,"expected #{this} to be an instance of "+$,"expected #{this} to not be an instance of "+$)}a.addMethod("instanceof",R),a.addMethod("instanceOf",R);function w(A,M,F){F&&o(this,"message",F);var N=o(this,"nested"),G=o(this,"own"),B=o(this,"message"),$=o(this,"object"),z=o(this,"ssfi"),Q=typeof A;if(B=B?B+": ":"",N){if(Q!=="string")throw new u(B+"the argument to property must be a string when using nested syntax",void 0,z)}else if(Q!=="string"&&Q!=="number"&&Q!=="symbol")throw new u(B+"the argument to property must be a string, number, or symbol",void 0,z);if(N&&G)throw new u(B+'The "nested" and "own" flags cannot be combined.',void 0,z);if($==null)throw new u(B+"Target cannot be null or undefined.",void 0,z);var v=o(this,"deep"),I=o(this,"negate"),D=N?n.getPathInfo($,A):null,K=N?D.value:$[A],W="";v&&(W+="deep "),G&&(W+="own "),N&&(W+="nested "),W+="property ";var V;G?V=Object.prototype.hasOwnProperty.call($,A):N?V=D.exists:V=n.hasProperty($,A),(!I||arguments.length===1)&&this.assert(V,"expected #{this} to have "+W+n.inspect(A),"expected #{this} to not have "+W+n.inspect(A)),arguments.length>1&&this.assert(V&&(v?n.eql(M,K):M===K),"expected #{this} to have "+W+n.inspect(A)+" of #{exp}, but got #{act}","expected #{this} to not have "+W+n.inspect(A)+" of #{act}",M,K),o(this,"object",K)}a.addMethod("property",w);function P(A,M,F){o(this,"own",!0),w.apply(this,arguments)}a.addMethod("ownProperty",P),a.addMethod("haveOwnProperty",P);function S(A,M,F){typeof M=="string"&&(F=M,M=null),F&&o(this,"message",F);var N=o(this,"object"),G=Object.getOwnPropertyDescriptor(Object(N),A);G&&M?this.assert(n.eql(M,G),"expected the own property descriptor for "+n.inspect(A)+" on #{this} to match "+n.inspect(M)+", got "+n.inspect(G),"expected the own property descriptor for "+n.inspect(A)+" on #{this} to not match "+n.inspect(M),M,G,!0):this.assert(G,"expected #{this} to have an own property descriptor for "+n.inspect(A),"expected #{this} to not have an own property descriptor for "+n.inspect(A)),o(this,"object",G)}a.addMethod("ownPropertyDescriptor",S),a.addMethod("haveOwnPropertyDescriptor",S);function q(){o(this,"doLength",!0)}function y(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=n.type(F).toLowerCase(),G=o(this,"message"),B=o(this,"ssfi"),$="length",z;switch(N){case"map":case"set":$="size",z=F.size;break;default:new a(F,G,B,!0).to.have.property("length"),z=F.length}this.assert(z==A,"expected #{this} to have a "+$+" of #{exp} but got #{act}","expected #{this} to not have a "+$+" of #{act}",A,z)}a.addChainableMethod("length",y,q),a.addChainableMethod("lengthOf",y,q);function C(A,M){M&&o(this,"message",M);var F=o(this,"object");this.assert(A.exec(F),"expected #{this} to match "+A,"expected #{this} not to match "+A)}a.addMethod("match",C),a.addMethod("matches",C),a.addMethod("string",function(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi");new a(F,N,G,!0).is.a("string"),this.assert(~F.indexOf(A),"expected #{this} to contain "+n.inspect(A),"expected #{this} to not contain "+n.inspect(A))});function x(A){var M=o(this,"object"),F=n.type(M),N=n.type(A),G=o(this,"ssfi"),B=o(this,"deep"),$,z="",Q,v=!0,I=o(this,"message");I=I?I+": ":"";var D=I+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(F==="Map"||F==="Set")z=B?"deeply ":"",Q=[],M.forEach(function(pe,Oe){Q.push(Oe)}),N!=="Array"&&(A=Array.prototype.slice.call(arguments));else{switch(Q=n.getOwnEnumerableProperties(M),N){case"Array":if(arguments.length>1)throw new u(D,void 0,G);break;case"Object":if(arguments.length>1)throw new u(D,void 0,G);A=Object.keys(A);break;default:A=Array.prototype.slice.call(arguments)}A=A.map(function(pe){return typeof pe=="symbol"?pe:String(pe)})}if(!A.length)throw new u(I+"keys required",void 0,G);var K=A.length,W=o(this,"any"),V=o(this,"all"),ie=A;if(!W&&!V&&(V=!0),W&&(v=ie.some(function(pe){return Q.some(function(Oe){return B?n.eql(pe,Oe):pe===Oe})})),V&&(v=ie.every(function(pe){return Q.some(function(Oe){return B?n.eql(pe,Oe):pe===Oe})}),o(this,"contains")||(v=v&&A.length==Q.length)),K>1){A=A.map(function(pe){return n.inspect(pe)});var se=A.pop();V&&($=A.join(", ")+", and "+se),W&&($=A.join(", ")+", or "+se)}else $=n.inspect(A[0]);$=(K>1?"keys ":"key ")+$,$=(o(this,"contains")?"contain ":"have ")+$,this.assert(v,"expected #{this} to "+z+$,"expected #{this} to not "+z+$,ie.slice(0).sort(n.compareByInspect),Q.sort(n.compareByInspect),!0)}a.addMethod("keys",x),a.addMethod("key",x);function j(A,M,F){F&&o(this,"message",F);var N=o(this,"object"),G=o(this,"ssfi"),B=o(this,"message"),$=o(this,"negate")||!1;new a(N,B,G,!0).is.a("function"),(A instanceof RegExp||typeof A=="string")&&(M=A,A=null);var z;try{N()}catch(pe){z=pe}var Q=A===void 0&&M===void 0,v=!!(A&&M),I=!1,D=!1;if(Q||!Q&&!$){var K="an error";A instanceof Error?K="#{exp}":A&&(K=n.checkError.getConstructorName(A)),this.assert(z,"expected #{this} to throw "+K,"expected #{this} to not throw an error but #{act} was thrown",A&&A.toString(),z instanceof Error?z.toString():typeof z=="string"?z:z&&n.checkError.getConstructorName(z))}if(A&&z){if(A instanceof Error){var W=n.checkError.compatibleInstance(z,A);W===$&&(v&&$?I=!0:this.assert($,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z&&!$?" but #{act} was thrown":""),A.toString(),z.toString()))}var V=n.checkError.compatibleConstructor(z,A);V===$&&(v&&$?I=!0:this.assert($,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z?" but #{act} was thrown":""),A instanceof Error?A.toString():A&&n.checkError.getConstructorName(A),z instanceof Error?z.toString():z&&n.checkError.getConstructorName(z)))}if(z&&M!==void 0&&M!==null){var ie="including";M instanceof RegExp&&(ie="matching");var se=n.checkError.compatibleMessage(z,M);se===$&&(v&&$?D=!0:this.assert($,"expected #{this} to throw error "+ie+" #{exp} but got #{act}","expected #{this} to throw error not "+ie+" #{exp}",M,n.checkError.getMessage(z)))}I&&D&&this.assert($,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z?" but #{act} was thrown":""),A instanceof Error?A.toString():A&&n.checkError.getConstructorName(A),z instanceof Error?z.toString():z&&n.checkError.getConstructorName(z)),o(this,"object",z)}a.addMethod("throw",j),a.addMethod("throws",j),a.addMethod("Throw",j);function L(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"itself"),G=typeof F=="function"&&!N?F.prototype[A]:F[A];this.assert(typeof G=="function","expected #{this} to respond to "+n.inspect(A),"expected #{this} to not respond to "+n.inspect(A))}a.addMethod("respondTo",L),a.addMethod("respondsTo",L),a.addProperty("itself",function(){o(this,"itself",!0)});function U(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=A(F);this.assert(N,"expected #{this} to satisfy "+n.objDisplay(A),"expected #{this} to not satisfy"+n.objDisplay(A),!o(this,"negate"),N)}a.addMethod("satisfy",U),a.addMethod("satisfies",U);function H(A,M,F){F&&o(this,"message",F);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");if(new a(N,G,B,!0).is.a("number"),typeof A!="number"||typeof M!="number"){G=G?G+": ":"";var $=M===void 0?", and a delta is required":"";throw new u(G+"the arguments to closeTo or approximately must be numbers"+$,void 0,B)}this.assert(Math.abs(N-A)<=M,"expected #{this} to be close to "+A+" +/- "+M,"expected #{this} not to be close to "+A+" +/- "+M)}a.addMethod("closeTo",H),a.addMethod("approximately",H);function ee(A,M,F,N,G){if(!N){if(A.length!==M.length)return!1;M=M.slice()}return A.every(function(B,$){if(G)return F?F(B,M[$]):B===M[$];if(!F){var z=M.indexOf(B);return z===-1?!1:(N||M.splice(z,1),!0)}return M.some(function(Q,v){return F(B,Q)?(N||M.splice(v,1),!0):!1})})}a.addMethod("members",function(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi");new a(F,N,G,!0).to.be.an("array"),new a(A,N,G,!0).to.be.an("array");var B=o(this,"contains"),$=o(this,"ordered"),z,Q,v;B?(z=$?"an ordered superset":"a superset",Q="expected #{this} to be "+z+" of #{exp}",v="expected #{this} to not be "+z+" of #{exp}"):(z=$?"ordered members":"members",Q="expected #{this} to have the same "+z+" as #{exp}",v="expected #{this} to not have the same "+z+" as #{exp}");var I=o(this,"deep")?n.eql:void 0;this.assert(ee(A,F,I,B,$),Q,v,A,F,!0)});function J(A,M){M&&o(this,"message",M);var F=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi"),B=o(this,"contains"),$=o(this,"deep");new a(A,N,G,!0).to.be.an("array"),B?this.assert(A.some(function(z){return F.indexOf(z)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",A,F):$?this.assert(A.some(function(z){return n.eql(F,z)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",A,F):this.assert(A.indexOf(F)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",A,F)}a.addMethod("oneOf",J);function oe(A,M,F){F&&o(this,"message",F);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var $;M?(new a(A,G,B,!0).to.have.property(M),$=A[M]):(new a(A,G,B,!0).is.a("function"),$=A()),N();var z=M==null?A():A[M],Q=M==null?$:"."+M;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",$),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","change"),o(this,"realDelta",z!==$),this.assert($!==z,"expected "+Q+" to change","expected "+Q+" to not change")}a.addMethod("change",oe),a.addMethod("changes",oe);function ae(A,M,F){F&&o(this,"message",F);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var $;M?(new a(A,G,B,!0).to.have.property(M),$=A[M]):(new a(A,G,B,!0).is.a("function"),$=A()),new a($,G,B,!0).is.a("number"),N();var z=M==null?A():A[M],Q=M==null?$:"."+M;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",$),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","increase"),o(this,"realDelta",z-$),this.assert(z-$>0,"expected "+Q+" to increase","expected "+Q+" to not increase")}a.addMethod("increase",ae),a.addMethod("increases",ae);function ue(A,M,F){F&&o(this,"message",F);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var $;M?(new a(A,G,B,!0).to.have.property(M),$=A[M]):(new a(A,G,B,!0).is.a("function"),$=A()),new a($,G,B,!0).is.a("number"),N();var z=M==null?A():A[M],Q=M==null?$:"."+M;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",$),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","decrease"),o(this,"realDelta",$-z),this.assert(z-$<0,"expected "+Q+" to decrease","expected "+Q+" to not decrease")}a.addMethod("decrease",ue),a.addMethod("decreases",ue);function ce(A,M){M&&o(this,"message",M);var F=o(this,"deltaMsgObj"),N=o(this,"initialDeltaValue"),G=o(this,"finalDeltaValue"),B=o(this,"deltaBehavior"),$=o(this,"realDelta"),z;B==="change"?z=Math.abs(G-N)===Math.abs(A):z=$===Math.abs(A),this.assert(z,"expected "+F+" to "+B+" by "+A,"expected "+F+" to not "+B+" by "+A)}a.addMethod("by",ce),a.addProperty("extensible",function(){var A=o(this,"object"),M=A===Object(A)&&Object.isExtensible(A);this.assert(M,"expected #{this} to be extensible","expected #{this} to not be extensible")}),a.addProperty("sealed",function(){var A=o(this,"object"),M=A===Object(A)?Object.isSealed(A):!0;this.assert(M,"expected #{this} to be sealed","expected #{this} to not be sealed")}),a.addProperty("frozen",function(){var A=o(this,"object"),M=A===Object(A)?Object.isFrozen(A):!0;this.assert(M,"expected #{this} to be frozen","expected #{this} to not be frozen")}),a.addProperty("finite",function(A){var M=o(this,"object");this.assert(typeof M=="number"&&isFinite(M),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}}}),am=E({"../../node_modules/chai/lib/chai/interface/expect.js"(e,t){t.exports=function(r,n){r.expect=function(a,u){return new r.Assertion(a,u)},r.expect.fail=function(a,u,o,i){throw arguments.length<2&&(o=a,a=void 0),o=o||"expect.fail()",new r.AssertionError(o,{actual:a,expected:u,operator:i},r.expect.fail)}}}}),im=E({"../../node_modules/chai/lib/chai/interface/should.js"(e,t){t.exports=function(r,n){var a=r.Assertion;function u(){function o(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new a(this.valueOf(),null,o):new a(this,null,o)}function i(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:i,get:o,configurable:!0});var l={};return l.fail=function(s,c,f,d){throw arguments.length<2&&(f=s,s=void 0),f=f||"should.fail()",new r.AssertionError(f,{actual:s,expected:c,operator:d},l.fail)},l.equal=function(s,c,f){new a(s,f).to.equal(c)},l.Throw=function(s,c,f,d){new a(s,d).to.Throw(c,f)},l.exist=function(s,c){new a(s,c).to.exist},l.not={},l.not.equal=function(s,c,f){new a(s,f).to.not.equal(c)},l.not.Throw=function(s,c,f,d){new a(s,d).to.not.Throw(c,f)},l.not.exist=function(s,c){new a(s,c).to.not.exist},l.throw=l.Throw,l.not.throw=l.not.Throw,l}r.should=u,r.Should=u}}}),lm=E({"../../node_modules/chai/lib/chai/interface/assert.js"(e,t){t.exports=function(r,n){var a=r.Assertion,u=n.flag,o=r.assert=function(i,l){var s=new a(null,null,r.assert,!0);s.assert(i,l,"[ negation message unavailable ]")};o.fail=function(i,l,s,c){throw arguments.length<2&&(s=i,i=void 0),s=s||"assert.fail()",new r.AssertionError(s,{actual:i,expected:l,operator:c},o.fail)},o.isOk=function(i,l){new a(i,l,o.isOk,!0).is.ok},o.isNotOk=function(i,l){new a(i,l,o.isNotOk,!0).is.not.ok},o.equal=function(i,l,s){var c=new a(i,s,o.equal,!0);c.assert(l==u(c,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",l,i,!0)},o.notEqual=function(i,l,s){var c=new a(i,s,o.notEqual,!0);c.assert(l!=u(c,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",l,i,!0)},o.strictEqual=function(i,l,s){new a(i,s,o.strictEqual,!0).to.equal(l)},o.notStrictEqual=function(i,l,s){new a(i,s,o.notStrictEqual,!0).to.not.equal(l)},o.deepEqual=o.deepStrictEqual=function(i,l,s){new a(i,s,o.deepEqual,!0).to.eql(l)},o.notDeepEqual=function(i,l,s){new a(i,s,o.notDeepEqual,!0).to.not.eql(l)},o.isAbove=function(i,l,s){new a(i,s,o.isAbove,!0).to.be.above(l)},o.isAtLeast=function(i,l,s){new a(i,s,o.isAtLeast,!0).to.be.least(l)},o.isBelow=function(i,l,s){new a(i,s,o.isBelow,!0).to.be.below(l)},o.isAtMost=function(i,l,s){new a(i,s,o.isAtMost,!0).to.be.most(l)},o.isTrue=function(i,l){new a(i,l,o.isTrue,!0).is.true},o.isNotTrue=function(i,l){new a(i,l,o.isNotTrue,!0).to.not.equal(!0)},o.isFalse=function(i,l){new a(i,l,o.isFalse,!0).is.false},o.isNotFalse=function(i,l){new a(i,l,o.isNotFalse,!0).to.not.equal(!1)},o.isNull=function(i,l){new a(i,l,o.isNull,!0).to.equal(null)},o.isNotNull=function(i,l){new a(i,l,o.isNotNull,!0).to.not.equal(null)},o.isNaN=function(i,l){new a(i,l,o.isNaN,!0).to.be.NaN},o.isNotNaN=function(i,l){new a(i,l,o.isNotNaN,!0).not.to.be.NaN},o.exists=function(i,l){new a(i,l,o.exists,!0).to.exist},o.notExists=function(i,l){new a(i,l,o.notExists,!0).to.not.exist},o.isUndefined=function(i,l){new a(i,l,o.isUndefined,!0).to.equal(void 0)},o.isDefined=function(i,l){new a(i,l,o.isDefined,!0).to.not.equal(void 0)},o.isFunction=function(i,l){new a(i,l,o.isFunction,!0).to.be.a("function")},o.isNotFunction=function(i,l){new a(i,l,o.isNotFunction,!0).to.not.be.a("function")},o.isObject=function(i,l){new a(i,l,o.isObject,!0).to.be.a("object")},o.isNotObject=function(i,l){new a(i,l,o.isNotObject,!0).to.not.be.a("object")},o.isArray=function(i,l){new a(i,l,o.isArray,!0).to.be.an("array")},o.isNotArray=function(i,l){new a(i,l,o.isNotArray,!0).to.not.be.an("array")},o.isString=function(i,l){new a(i,l,o.isString,!0).to.be.a("string")},o.isNotString=function(i,l){new a(i,l,o.isNotString,!0).to.not.be.a("string")},o.isNumber=function(i,l){new a(i,l,o.isNumber,!0).to.be.a("number")},o.isNotNumber=function(i,l){new a(i,l,o.isNotNumber,!0).to.not.be.a("number")},o.isFinite=function(i,l){new a(i,l,o.isFinite,!0).to.be.finite},o.isBoolean=function(i,l){new a(i,l,o.isBoolean,!0).to.be.a("boolean")},o.isNotBoolean=function(i,l){new a(i,l,o.isNotBoolean,!0).to.not.be.a("boolean")},o.typeOf=function(i,l,s){new a(i,s,o.typeOf,!0).to.be.a(l)},o.notTypeOf=function(i,l,s){new a(i,s,o.notTypeOf,!0).to.not.be.a(l)},o.instanceOf=function(i,l,s){new a(i,s,o.instanceOf,!0).to.be.instanceOf(l)},o.notInstanceOf=function(i,l,s){new a(i,s,o.notInstanceOf,!0).to.not.be.instanceOf(l)},o.include=function(i,l,s){new a(i,s,o.include,!0).include(l)},o.notInclude=function(i,l,s){new a(i,s,o.notInclude,!0).not.include(l)},o.deepInclude=function(i,l,s){new a(i,s,o.deepInclude,!0).deep.include(l)},o.notDeepInclude=function(i,l,s){new a(i,s,o.notDeepInclude,!0).not.deep.include(l)},o.nestedInclude=function(i,l,s){new a(i,s,o.nestedInclude,!0).nested.include(l)},o.notNestedInclude=function(i,l,s){new a(i,s,o.notNestedInclude,!0).not.nested.include(l)},o.deepNestedInclude=function(i,l,s){new a(i,s,o.deepNestedInclude,!0).deep.nested.include(l)},o.notDeepNestedInclude=function(i,l,s){new a(i,s,o.notDeepNestedInclude,!0).not.deep.nested.include(l)},o.ownInclude=function(i,l,s){new a(i,s,o.ownInclude,!0).own.include(l)},o.notOwnInclude=function(i,l,s){new a(i,s,o.notOwnInclude,!0).not.own.include(l)},o.deepOwnInclude=function(i,l,s){new a(i,s,o.deepOwnInclude,!0).deep.own.include(l)},o.notDeepOwnInclude=function(i,l,s){new a(i,s,o.notDeepOwnInclude,!0).not.deep.own.include(l)},o.match=function(i,l,s){new a(i,s,o.match,!0).to.match(l)},o.notMatch=function(i,l,s){new a(i,s,o.notMatch,!0).to.not.match(l)},o.property=function(i,l,s){new a(i,s,o.property,!0).to.have.property(l)},o.notProperty=function(i,l,s){new a(i,s,o.notProperty,!0).to.not.have.property(l)},o.propertyVal=function(i,l,s,c){new a(i,c,o.propertyVal,!0).to.have.property(l,s)},o.notPropertyVal=function(i,l,s,c){new a(i,c,o.notPropertyVal,!0).to.not.have.property(l,s)},o.deepPropertyVal=function(i,l,s,c){new a(i,c,o.deepPropertyVal,!0).to.have.deep.property(l,s)},o.notDeepPropertyVal=function(i,l,s,c){new a(i,c,o.notDeepPropertyVal,!0).to.not.have.deep.property(l,s)},o.ownProperty=function(i,l,s){new a(i,s,o.ownProperty,!0).to.have.own.property(l)},o.notOwnProperty=function(i,l,s){new a(i,s,o.notOwnProperty,!0).to.not.have.own.property(l)},o.ownPropertyVal=function(i,l,s,c){new a(i,c,o.ownPropertyVal,!0).to.have.own.property(l,s)},o.notOwnPropertyVal=function(i,l,s,c){new a(i,c,o.notOwnPropertyVal,!0).to.not.have.own.property(l,s)},o.deepOwnPropertyVal=function(i,l,s,c){new a(i,c,o.deepOwnPropertyVal,!0).to.have.deep.own.property(l,s)},o.notDeepOwnPropertyVal=function(i,l,s,c){new a(i,c,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(l,s)},o.nestedProperty=function(i,l,s){new a(i,s,o.nestedProperty,!0).to.have.nested.property(l)},o.notNestedProperty=function(i,l,s){new a(i,s,o.notNestedProperty,!0).to.not.have.nested.property(l)},o.nestedPropertyVal=function(i,l,s,c){new a(i,c,o.nestedPropertyVal,!0).to.have.nested.property(l,s)},o.notNestedPropertyVal=function(i,l,s,c){new a(i,c,o.notNestedPropertyVal,!0).to.not.have.nested.property(l,s)},o.deepNestedPropertyVal=function(i,l,s,c){new a(i,c,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(l,s)},o.notDeepNestedPropertyVal=function(i,l,s,c){new a(i,c,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(l,s)},o.lengthOf=function(i,l,s){new a(i,s,o.lengthOf,!0).to.have.lengthOf(l)},o.hasAnyKeys=function(i,l,s){new a(i,s,o.hasAnyKeys,!0).to.have.any.keys(l)},o.hasAllKeys=function(i,l,s){new a(i,s,o.hasAllKeys,!0).to.have.all.keys(l)},o.containsAllKeys=function(i,l,s){new a(i,s,o.containsAllKeys,!0).to.contain.all.keys(l)},o.doesNotHaveAnyKeys=function(i,l,s){new a(i,s,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(l)},o.doesNotHaveAllKeys=function(i,l,s){new a(i,s,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(l)},o.hasAnyDeepKeys=function(i,l,s){new a(i,s,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(l)},o.hasAllDeepKeys=function(i,l,s){new a(i,s,o.hasAllDeepKeys,!0).to.have.all.deep.keys(l)},o.containsAllDeepKeys=function(i,l,s){new a(i,s,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(l)},o.doesNotHaveAnyDeepKeys=function(i,l,s){new a(i,s,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(l)},o.doesNotHaveAllDeepKeys=function(i,l,s){new a(i,s,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(l)},o.throws=function(i,l,s,c){(typeof l=="string"||l instanceof RegExp)&&(s=l,l=null);var f=new a(i,c,o.throws,!0).to.throw(l,s);return u(f,"object")},o.doesNotThrow=function(i,l,s,c){(typeof l=="string"||l instanceof RegExp)&&(s=l,l=null),new a(i,c,o.doesNotThrow,!0).to.not.throw(l,s)},o.operator=function(i,l,s,c){var f;switch(l){case"==":f=i==s;break;case"===":f=i===s;break;case">":f=i>s;break;case">=":f=i>=s;break;case"<":f=io=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,i,l)=>`\x1B[${38+u};2;${o};${i};${l}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[i,l]of Object.entries(o)){for(let[s,c]of Object.entries(l))o[s]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[s]=o[s],u.set(c[0],c[1]);Object.defineProperty(o,i,{value:l,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(f=>f+f).join(""));let c=Number.parseInt(s,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:i=>o.rgbToAnsi256(...o.hexToRgb(i)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Un=E({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,i)=>{let l=Object.keys(o),s=i!==null?l.sort(i):l;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(c=>{Object.getOwnPropertyDescriptor(o,c).enumerable&&s.push(c)}),s};function r(o,i,l,s,c,f,d=": "){let p="",m=0,b=o.next();if(!b.done){p+=i.spacingOuter;let _=l+i.indent;for(;!b.done;){if(p+=_,m++===i.maxWidth){p+="…";break}let h=f(b.value[0],i,_,s,c),g=f(b.value[1],i,_,s,c);p+=h+d+g,b=o.next(),b.done?i.min||(p+=","):p+=`,${i.spacingInner}`}p+=i.spacingOuter+l}return p}function n(o,i,l,s,c,f){let d="",p=0,m=o.next();if(!m.done){d+=i.spacingOuter;let b=l+i.indent;for(;!m.done;){if(d+=b,p++===i.maxWidth){d+="…";break}d+=f(m.value,i,b,s,c),m=o.next(),m.done?i.min||(d+=","):d+=`,${i.spacingInner}`}d+=i.spacingOuter+l}return d}function a(o,i,l,s,c,f){let d="";if(o.length){d+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let b=s.toString();if(b==="ArrayContaining"||b==="ArrayNotContaining")return++d>c.maxDepth?`[${b}]`:`${b+a}[${(0,t.printListItems)(s.sample,c,f,d,p,m)}]`;if(b==="ObjectContaining"||b==="ObjectNotContaining")return++d>c.maxDepth?`[${b}]`:`${b+a}{${(0,t.printObjectProperties)(s.sample,c,f,d,p,m)}}`;if(b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining")return b+a+m(s.sample,c,f,d,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var i={serialize:u,test:o},l=i;e.default=l}}),dm=E({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Un(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=f=>n.indexOf(f)!==-1||a.test(f),o=f=>f&&f.constructor&&!!f.constructor.name&&u(f.constructor.name);e.test=o;var i=f=>f.constructor.name==="NamedNodeMap",l=(f,d,p,m,b,_)=>{let h=f.constructor.name;return++m>d.maxDepth?`[${h}]`:(d.min?"":h+r)+(n.indexOf(h)!==-1?`{${(0,t.printObjectProperties)(i(f)?Array.from(f).reduce((g,R)=>(g[R.name]=R.value,g),{}):{...f},d,p,m,b,_)}}`:`[${(0,t.printListItems)(Array.from(f),d,p,m,b,_)}]`)};e.serialize=l;var s={serialize:l,test:o},c=s;e.default=c}}),fm=E({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),ga=E({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(fm());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,c,f,d,p,m,b)=>{let _=d+f.indent,h=f.colors;return s.map(g=>{let R=c[g],w=b(R,f,_,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=f.spacingOuter+_+w+f.spacingOuter+d),w=`{${w}}`),`${f.spacingInner+d+h.prop.open+g+h.prop.close}=${h.value.open}${w}${h.value.close}`}).join("")};e.printProps=n;var a=(s,c,f,d,p,m)=>s.map(b=>c.spacingOuter+f+(typeof b=="string"?u(b,c):m(b,c,f,d,p))).join("");e.printChildren=a;var u=(s,c)=>{let f=c.colors.content;return f.open+(0,t.default)(s)+f.close};e.printText=u;var o=(s,c)=>{let f=c.colors.comment;return`${f.open}${f.close}`};e.printComment=o;var i=(s,c,f,d,p)=>{let m=d.colors.tag;return`${m.open}<${s}${c&&m.close+c+d.spacingOuter+p+m.open}${f?`>${m.close}${f}${d.spacingOuter}${p}${m.open}${m.close}`};e.printElement=i;var l=(s,c)=>{let f=c.colors.tag;return`${f.open}<${s}${f.close} …${f.open} />${f.close}`};e.printElementAsLeaf=l}}),pm=E({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ga(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,i=_=>{try{return typeof _.hasAttribute=="function"&&_.hasAttribute("is")}catch{return!1}},l=_=>{let h=_.constructor.name,{nodeType:g,tagName:R}=_,w=typeof R=="string"&&R.includes("-")||i(_);return g===r&&(o.test(h)||w)||g===n&&h==="Text"||g===a&&h==="Comment"||g===u&&h==="DocumentFragment"},s=_=>{var h;return((h=_==null?void 0:_.constructor)==null?void 0:h.name)&&l(_)};e.test=s;function c(_){return _.nodeType===n}function f(_){return _.nodeType===a}function d(_){return _.nodeType===u}var p=(_,h,g,R,w,P)=>{if(c(_))return(0,t.printText)(_.data,h);if(f(_))return(0,t.printComment)(_.data,h);let S=d(_)?"DocumentFragment":_.tagName.toLowerCase();return++R>h.maxDepth?(0,t.printElementAsLeaf)(S,h):(0,t.printElement)(S,(0,t.printProps)(d(_)?[]:Array.from(_.attributes,q=>q.name).sort(),d(_)?{}:Array.from(_.attributes).reduce((q,y)=>(q[y.name]=y.value,q),{}),h,g+h.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(_.childNodes||_.children),h,g+h.indent,R,w,P),h,g)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),mm=E({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Un(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",f=y=>`Immutable.${y}`,d=y=>`[${y}]`,p=" ",m="…",b=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):`${f(H)+p}{${(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U)}}`;function _(y){let C=0;return{next(){if(C{let H=f(y._name||"Record");return++j>C.maxDepth?d(H):`${H+p}{${(0,t.printIteratorEntries)(_(y),C,x,j,L,U)}}`},g=(y,C,x,j,L,U)=>{let H=f("Seq");return++j>C.maxDepth?d(H):y[a]?`${H+p}{${y._iter||y._object?(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U):m}}`:`${H+p}[${y._iter||y._array||y._collection||y._iterable?(0,t.printIteratorValues)(y.values(),C,x,j,L,U):m}]`},R=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):`${f(H)+p}[${(0,t.printIteratorValues)(y.values(),C,x,j,L,U)}]`,w=(y,C,x,j,L,U)=>y[u]?b(y,C,x,j,L,U,y[o]?"OrderedMap":"Map"):y[n]?R(y,C,x,j,L,U,"List"):y[s]?R(y,C,x,j,L,U,y[o]?"OrderedSet":"Set"):y[c]?R(y,C,x,j,L,U,"Stack"):y[l]?g(y,C,x,j,L,U):h(y,C,x,j,L,U);e.serialize=w;var P=y=>y&&(y[r]===!0||y[i]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),bm=E({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,_=!1,h=!1,g=!1,R=!1,w;w=Symbol.for("react.module.reference");function P(V){return!!(typeof V=="string"||typeof V=="function"||V===n||V===u||R||V===a||V===c||V===f||g||V===m||b||_||h||typeof V=="object"&&V!==null&&(V.$$typeof===p||V.$$typeof===d||V.$$typeof===o||V.$$typeof===i||V.$$typeof===s||V.$$typeof===w||V.getModuleId!==void 0))}function S(V){if(typeof V=="object"&&V!==null){var ie=V.$$typeof;switch(ie){case t:var se=V.type;switch(se){case n:case u:case a:case c:case f:return se;default:var pe=se&&se.$$typeof;switch(pe){case l:case i:case s:case p:case d:case o:return pe;default:return ie}}case r:return ie}}}var q=i,y=o,C=t,x=s,j=n,L=p,U=d,H=r,ee=u,J=a,oe=c,ae=f,ue=!1,ce=!1;function A(V){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(V){return ce||(ce=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(V){return S(V)===i}function N(V){return S(V)===o}function G(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function B(V){return S(V)===s}function $(V){return S(V)===n}function z(V){return S(V)===p}function Q(V){return S(V)===d}function v(V){return S(V)===r}function I(V){return S(V)===u}function D(V){return S(V)===a}function K(V){return S(V)===c}function W(V){return S(V)===f}e.ContextConsumer=q,e.ContextProvider=y,e.Element=C,e.ForwardRef=x,e.Fragment=j,e.Lazy=L,e.Memo=U,e.Portal=H,e.Profiler=ee,e.StrictMode=J,e.Suspense=oe,e.SuspenseList=ae,e.isAsyncMode=A,e.isConcurrentMode=M,e.isContextConsumer=F,e.isContextProvider=N,e.isElement=G,e.isForwardRef=B,e.isFragment=$,e.isLazy=z,e.isMemo=Q,e.isPortal=v,e.isProfiler=I,e.isStrictMode=D,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=P,e.typeOf=S})()}}),hm=E({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=bm()}}),ym=E({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(hm()),r=ga();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(p);if(m&&m.has(d))return m.get(d);var b={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in d)if(h!=="default"&&Object.prototype.hasOwnProperty.call(d,h)){var g=_?Object.getOwnPropertyDescriptor(d,h):null;g&&(g.get||g.set)?Object.defineProperty(b,h,g):b[h]=d[h]}return b.default=d,m&&m.set(d,b),b}var u=(d,p=[])=>(Array.isArray(d)?d.forEach(m=>{u(m,p)}):d!=null&&d!==!1&&p.push(d),p),o=d=>{let p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(d)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},i=d=>{let{props:p}=d;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(d,p,m,b,_,h)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(d),p):(0,r.printElement)(o(d),(0,r.printProps)(i(d),d.props,p,m+p.indent,b,_,h),(0,r.printChildren)(u(d.props.children),p,m+p.indent,b,_,h),p,m);e.serialize=l;var s=d=>d!=null&&t.isElement(d);e.test=s;var c={serialize:l,test:s},f=c;e.default=f}}),gm=E({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ga(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:c}=s;return c?Object.keys(c).filter(f=>c[f]!==void 0).sort():[]},u=(s,c,f,d,p,m)=>++d>c.maxDepth?(0,t.printElementAsLeaf)(s.type,c):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,c,f+c.indent,d,p,m):"",s.children?(0,t.printChildren)(s.children,c,f+c.indent,d,p,m):"",c,f);e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var i={serialize:u,test:o},l=i;e.default=l}}),Hn=E({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=$,e.plugins=void 0;var t=s(um()),r=Un(),n=s(cm()),a=s(dm()),u=s(pm()),o=s(mm()),i=s(ym()),l=s(gm());function s(v){return v&&v.__esModule?v:{default:v}}var c=Object.prototype.toString,f=Date.prototype.toISOString,d=Error.prototype.toString,p=RegExp.prototype.toString,m=v=>typeof v.constructor=="function"&&v.constructor.name||"Object",b=v=>typeof window<"u"&&v===window,_=/^Symbol\((.*)\)(.*)$/,h=/\n/gi,g=class extends Error{constructor(v,I){super(v),this.stack=I,this.name=this.constructor.name}};function R(v){return v==="[object Array]"||v==="[object ArrayBuffer]"||v==="[object DataView]"||v==="[object Float32Array]"||v==="[object Float64Array]"||v==="[object Int8Array]"||v==="[object Int16Array]"||v==="[object Int32Array]"||v==="[object Uint8Array]"||v==="[object Uint8ClampedArray]"||v==="[object Uint16Array]"||v==="[object Uint32Array]"}function w(v){return Object.is(v,-0)?"-0":String(v)}function P(v){return`${v}n`}function S(v,I){return I?`[Function ${v.name||"anonymous"}]`:"[Function]"}function q(v){return String(v).replace(_,"Symbol($1)")}function y(v){return`[${d.call(v)}]`}function C(v,I,D,K){if(v===!0||v===!1)return`${v}`;if(v===void 0)return"undefined";if(v===null)return"null";let W=typeof v;if(W==="number")return w(v);if(W==="bigint")return P(v);if(W==="string")return K?`"${v.replace(/"|\\/g,"\\$&")}"`:`"${v}"`;if(W==="function")return S(v,I);if(W==="symbol")return q(v);let V=c.call(v);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?S(v,I):V==="[object Symbol]"?q(v):V==="[object Date]"?isNaN(+v)?"Date { NaN }":f.call(v):V==="[object Error]"?y(v):V==="[object RegExp]"?D?p.call(v).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(v):v instanceof Error?y(v):null}function x(v,I,D,K,W,V){if(W.indexOf(v)!==-1)return"[Circular]";W=W.slice(),W.push(v);let ie=++K>I.maxDepth,se=I.min;if(I.callToJSON&&!ie&&v.toJSON&&typeof v.toJSON=="function"&&!V)return H(v.toJSON(),I,D,K,W,!0);let pe=c.call(v);return pe==="[object Arguments]"?ie?"[Arguments]":`${se?"":"Arguments "}[${(0,r.printListItems)(v,I,D,K,W,H)}]`:R(pe)?ie?`[${v.constructor.name}]`:`${se||!I.printBasicPrototype&&v.constructor.name==="Array"?"":`${v.constructor.name} `}[${(0,r.printListItems)(v,I,D,K,W,H)}]`:pe==="[object Map]"?ie?"[Map]":`Map {${(0,r.printIteratorEntries)(v.entries(),I,D,K,W,H," => ")}}`:pe==="[object Set]"?ie?"[Set]":`Set {${(0,r.printIteratorValues)(v.values(),I,D,K,W,H)}}`:ie||b(v)?`[${m(v)}]`:`${se||!I.printBasicPrototype&&m(v)==="Object"?"":`${m(v)} `}{${(0,r.printObjectProperties)(v,I,D,K,W,H)}}`}function j(v){return v.serialize!=null}function L(v,I,D,K,W,V){let ie;try{ie=j(v)?v.serialize(I,D,K,W,V,H):v.print(I,se=>H(se,D,K,W,V),se=>{let pe=K+D.indent;return pe+se.replace(h,` +${pe}`)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(se){throw new g(se.message,se.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function U(v,I){for(let D=0;Dv,ae=oe({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ee});e.DEFAULT_OPTIONS=ae;function ue(v){if(Object.keys(v).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),v.min&&v.indent!==void 0&&v.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(v.theme!==void 0){if(v.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof v.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof v.theme}".`)}}var ce=v=>J.reduce((I,D)=>{let K=v.theme&&v.theme[D]!==void 0?v.theme[D]:ee[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>J.reduce((v,I)=>(v[I]={close:"",open:""},v),Object.create(null)),M=v=>(v==null?void 0:v.printFunctionName)??ae.printFunctionName,F=v=>(v==null?void 0:v.escapeRegex)??ae.escapeRegex,N=v=>(v==null?void 0:v.escapeString)??ae.escapeString,G=v=>({callToJSON:(v==null?void 0:v.callToJSON)??ae.callToJSON,colors:v!=null&&v.highlight?ce(v):A(),compareKeys:typeof(v==null?void 0:v.compareKeys)=="function"||(v==null?void 0:v.compareKeys)===null?v.compareKeys:ae.compareKeys,escapeRegex:F(v),escapeString:N(v),indent:v!=null&&v.min?"":B((v==null?void 0:v.indent)??ae.indent),maxDepth:(v==null?void 0:v.maxDepth)??ae.maxDepth,maxWidth:(v==null?void 0:v.maxWidth)??ae.maxWidth,min:(v==null?void 0:v.min)??ae.min,plugins:(v==null?void 0:v.plugins)??ae.plugins,printBasicPrototype:(v==null?void 0:v.printBasicPrototype)??!0,printFunctionName:M(v),spacingInner:v!=null&&v.min?" ":` +`,spacingOuter:v!=null&&v.min?"":` +`});function B(v){return new Array(v+1).join(" ")}function $(v,I){if(I&&(ue(I),I.plugins)){let K=U(I.plugins,v);if(K!==null)return L(K,v,G(I),"",0,[])}let D=C(v,M(I),F(I),N(I));return D!==null?D:x(v,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,DOMCollection:a.default,DOMElement:u.default,Immutable:o.default,ReactElement:i.default,ReactTestComponent:l.default};e.plugins=z;var Q=$;e.default=Q}}),ps=E({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,n=(m,b,_,h,g)=>{let R=0;for(;m{let R=0;for(;m<=b&&_<=h&&g(b,h);)b-=1,h-=1,R+=1;return R},u=(m,b,_,h,g,R,w)=>{let P=0,S=-m,q=R[P],y=q;R[P]+=n(q+1,b,h+q-S+1,_,g);let C=m{let P=0,S=m,q=R[P],y=q;R[P]-=a(b,q-1,_,h+q-S-1,g);let C=m{let C=h-b,x=_-b,j=g-h-x,L=-j-(m-1),U=-j+(m-1),H=r,ee=m{let C=g-_,x=_-b,j=g-h-x,L=j-m,U=j+m,H=r,ee=m{let q=h-b,y=g-_,C=_-b,x=g-h,j=x-C,L=C,U=C;if(w[0]=b-1,P[0]=_,j%2===0){let H=(m||j)/2,ee=(C+x)/2;for(let J=1;J<=ee;J+=1)if(L=u(J,_,g,q,R,w,L),J{if(g-h<_-b){if(R=!R,R&&w.length===1){let{foundSubsequence:N,isCommon:G}=w[0];w[1]={foundSubsequence:(B,$,z)=>{N(B,z,$)},isCommon:(B,$)=>G($,B)}}let M=b,F=_;b=h,_=g,h=M,g=F}let{foundSubsequence:y,isCommon:C}=w[R?1:0];s(m,b,_,h,g,C,P,S,q);let{nChangePreceding:x,aEndPreceding:j,bEndPreceding:L,nCommonPreceding:U,aCommonPreceding:H,bCommonPreceding:ee,nCommonFollowing:J,aCommonFollowing:oe,bCommonFollowing:ae,nChangeFollowing:ue,aStartFollowing:ce,bStartFollowing:A}=q;b{if(typeof b!="number")throw new TypeError(`${t}: ${m} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${t}: ${m} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${t}: ${m} value ${b} is a negative integer`)},d=(m,b)=>{let _=typeof b;if(_!=="function")throw new TypeError(`${t}: ${m} typeof ${_} is not a function`)};function p(m,b,_,h){f("aLength",m),f("bLength",b),d("isCommon",_),d("foundSubsequence",h);let g=n(0,m,0,b,_);if(g!==0&&h(g,0,0),m!==g||b!==g){let R=g,w=g,P=a(R,m-1,w,b-1,_),S=m-P,q=b-P,y=g+P;m!==y&&b!==y&&c(0,R,S,w,q,!1,[{foundSubsequence:h,isCommon:_}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),P!==0&&h(P,S,q)}}}}),vm=E({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,u)=>Math.min(a,u.length),1/0):0}}}),_m=E({"../../node_modules/strip-indent/index.js"(e,t){var r=vm();t.exports=n=>{let a=r(n);if(a===0)return n;let u=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(u,"")}}}),wm=E({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let u=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(u,a.indent.repeat(n))}}}),ms=E({"../../node_modules/redent/index.js"(e,t){var r=_m(),n=wm();t.exports=(a,u=0,o)=>n(r(a),u,o)}}),Em=E({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),bs=E({"../../node_modules/lodash/eq.js"(e,t){function r(n,a){return n===a||n!==n&&a!==a}t.exports=r}}),Vn=E({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=bs();function n(a,u){for(var o=a.length;o--;)if(r(a[o][0],u))return o;return-1}t.exports=n}}),Rm=E({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=Vn(),n=Array.prototype,a=n.splice;function u(o){var i=this.__data__,l=r(i,o);if(l<0)return!1;var s=i.length-1;return l==s?i.pop():a.call(i,l,1),--this.size,!0}t.exports=u}}),Cm=E({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=Vn();function n(a){var u=this.__data__,o=r(u,a);return o<0?void 0:u[o][1]}t.exports=n}}),qm=E({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=Vn();function n(a){return r(this.__data__,a)>-1}t.exports=n}}),Pm=E({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=Vn();function n(a,u){var o=this.__data__,i=r(o,a);return i<0?(++this.size,o.push([a,u])):o[i][1]=u,this}t.exports=n}}),zn=E({"../../node_modules/lodash/_ListCache.js"(e,t){var r=Em(),n=Rm(),a=Cm(),u=qm(),o=Pm();function i(l){var s=-1,c=l==null?0:l.length;for(this.clear();++sb))return!1;var h=p.get(l),g=p.get(s);if(h&&g)return h==s&&g==l;var R=-1,w=!0,P=c&o?new r:void 0;for(p.set(l,s),p.set(s,l);++R-1&&u%1==0&&u-1&&a%1==0&&a<=r}t.exports=n}}),pb=E({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=Wn(),n=qs(),a=Yn(),u="[object Arguments]",o="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",c="[object Function]",f="[object Map]",d="[object Number]",p="[object Object]",m="[object RegExp]",b="[object Set]",_="[object String]",h="[object WeakMap]",g="[object ArrayBuffer]",R="[object DataView]",w="[object Float32Array]",P="[object Float64Array]",S="[object Int8Array]",q="[object Int16Array]",y="[object Int32Array]",C="[object Uint8Array]",x="[object Uint8ClampedArray]",j="[object Uint16Array]",L="[object Uint32Array]",U={};U[w]=U[P]=U[S]=U[q]=U[y]=U[C]=U[x]=U[j]=U[L]=!0,U[u]=U[o]=U[g]=U[i]=U[R]=U[l]=U[s]=U[c]=U[f]=U[d]=U[p]=U[m]=U[b]=U[_]=U[h]=!1;function H(ee){return a(ee)&&n(ee.length)&&!!U[r(ee)]}t.exports=H}}),mb=E({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),bb=E({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=hs(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===n,o=u&&r.process,i=function(){try{var l=a&&a.require&&a.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();t.exports=i}}),Ps=E({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=pb(),n=mb(),a=bb(),u=a&&a.isTypedArray,o=u?n(u):r;t.exports=o}}),hb=E({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=sb(),n=cb(),a=Ea(),u=Cs(),o=fb(),i=Ps(),l=Object.prototype,s=l.hasOwnProperty;function c(f,d){var p=a(f),m=!p&&n(f),b=!p&&!m&&u(f),_=!p&&!m&&!b&&i(f),h=p||m||b||_,g=h?r(f.length,String):[],R=g.length;for(var w in f)(d||s.call(f,w))&&!(h&&(w=="length"||b&&(w=="offset"||w=="parent")||_&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||o(w,R)))&&g.push(w);return g}t.exports=c}}),yb=E({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var u=a&&a.constructor,o=typeof u=="function"&&u.prototype||r;return a===o}t.exports=n}}),gb=E({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(u){return n(a(u))}}t.exports=r}}),vb=E({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=gb(),n=r(Object.keys,Object);t.exports=n}}),_b=E({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=yb(),n=vb(),a=Object.prototype,u=a.hasOwnProperty;function o(i){if(!r(i))return n(i);var l=[];for(var s in Object(i))u.call(i,s)&&s!="constructor"&&l.push(s);return l}t.exports=o}}),wb=E({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=gs(),n=qs();function a(u){return u!=null&&n(u.length)&&!r(u)}t.exports=a}}),Eb=E({"../../node_modules/lodash/keys.js"(e,t){var r=hb(),n=_b(),a=wb();function u(o){return a(o)?r(o):n(o)}t.exports=u}}),Rb=E({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=ob(),n=lb(),a=Eb();function u(o){return r(o,a,n)}t.exports=u}}),Cb=E({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=Rb(),n=1,a=Object.prototype,u=a.hasOwnProperty;function o(i,l,s,c,f,d){var p=s&n,m=r(i),b=m.length,_=r(l),h=_.length;if(b!=h&&!p)return!1;for(var g=b;g--;){var R=m[g];if(!(p?R in l:u.call(l,R)))return!1}var w=d.get(i),P=d.get(l);if(w&&P)return w==l&&P==i;var S=!0;d.set(i,l),d.set(l,i);for(var q=p;++g=p.length?{done:!0}:{done:!1,value:p[_++]}},e:function(P){throw P},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return g=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,_=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(c),_;try{for(b.s();!(_=b.n()).done;){var h=n(_.value,2),g=h[0],R=h[1];p.call(m,R,g,c)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=c.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!f.get(p)},keys:function(){return c.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return c.map(function(p){var m=n(p,2),b=m[1];return b})}},d=(0,t.default)(f,f.entries());e.default=d}}),Mb=E({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(nn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return o(p)||u(p,m)||l(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(p,m){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var _=[],h=!0,g=!1,R,w;try{for(b=b.call(p);!(h=(R=b.next()).done)&&(_.push(R.value),!(m&&_.length===m));h=!0);}catch(P){g=!0,w=P}finally{try{!h&&b.return!=null&&b.return()}finally{if(g)throw w}}return _}}function o(p){if(Array.isArray(p))return p}function i(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=l(p))||m&&p&&typeof p.length=="number"){b&&(p=b);var _=0,h=function(){};return{s:h,n:function(){return _>=p.length?{done:!0}:{done:!1,value:p[_++]}},e:function(P){throw P},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return g=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,_=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(c),_;try{for(b.s();!(_=b.n()).done;){var h=n(_.value,2),g=h[0],R=h[1];p.call(m,R,g,c)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=c.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!f.get(p)},keys:function(){return c.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return c.map(function(p){var m=n(p,2),b=m[1];return b})}},d=(0,t.default)(f,f.entries());e.default=d}}),jb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Nb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Ib=E({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),kb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Bb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),$b=E({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Db=E({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Lb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Fb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),Ub=E({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Hb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Vb=E({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),zb=E({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(jb()),r=p(Nb()),n=p(Ib()),a=p(kb()),u=p(Bb()),o=p($b()),i=p(Db()),l=p(Lb()),s=p(Fb()),c=p(Ub()),f=p(Hb()),d=p(Vb());function p(_){return _&&_.__esModule?_:{default:_}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",u.default],["roletype",o.default],["section",i.default],["sectionhead",l.default],["select",s.default],["structure",c.default],["widget",f.default],["window",d.default]],b=m;e.default=b}}),Wb=E({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Gb=E({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),Kb=E({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Yb=E({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),Jb=E({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Xb=E({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Qb=E({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Zb=E({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),eh=E({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),th=E({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),rh=E({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nh=E({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),oh=E({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),ah=E({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ih=E({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lh=E({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sh=E({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uh=E({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),ch=E({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),dh=E({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),fh=E({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ph=E({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),mh=E({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bh=E({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),hh=E({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),yh=E({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),gh=E({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),vh=E({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_h=E({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),wh=E({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Eh=E({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Rh=E({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Ch=E({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qh=E({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Ph=E({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Oh=E({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Sh=E({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Th=E({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ah=E({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xh=E({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Mh=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),jh=E({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),Nh=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Ih=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),kh=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Bh=E({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),$h=E({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Dh=E({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Lh=E({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fh=E({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Uh=E({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Hh=E({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Vh=E({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),zh=E({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Wh=E({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Gh=E({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Kh=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),Yh=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Jh=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Xh=E({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Qh=E({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Zh=E({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),ey=E({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),ty=E({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),ry=E({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),ny=E({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oy=E({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ay=E({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),iy=E({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ly=E({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),sy=E({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),uy=E({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cy=E({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),dy=E({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fy=E({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),py=E({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),my=E({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),by=E({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),hy=E({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),yy=E({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gy=E({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),vy=E({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),_y=E({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),wy=E({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ne(Wb()),r=ne(Gb()),n=ne(Kb()),a=ne(Yb()),u=ne(Jb()),o=ne(Xb()),i=ne(Qb()),l=ne(Zb()),s=ne(eh()),c=ne(th()),f=ne(rh()),d=ne(nh()),p=ne(oh()),m=ne(ah()),b=ne(ih()),_=ne(lh()),h=ne(sh()),g=ne(uh()),R=ne(ch()),w=ne(dh()),P=ne(fh()),S=ne(ph()),q=ne(mh()),y=ne(bh()),C=ne(hh()),x=ne(yh()),j=ne(gh()),L=ne(vh()),U=ne(_h()),H=ne(wh()),ee=ne(Eh()),J=ne(Rh()),oe=ne(Ch()),ae=ne(qh()),ue=ne(Ph()),ce=ne(Oh()),A=ne(Sh()),M=ne(Th()),F=ne(Ah()),N=ne(xh()),G=ne(Mh()),B=ne(jh()),$=ne(Nh()),z=ne(Ih()),Q=ne(kh()),v=ne(Bh()),I=ne($h()),D=ne(Dh()),K=ne(Lh()),W=ne(Fh()),V=ne(Uh()),ie=ne(Hh()),se=ne(Vh()),pe=ne(zh()),Oe=ne(Wh()),Ye=ne(Gh()),Je=ne(Kh()),ke=ne(Yh()),Ve=ne(Jh()),Xe=ne(Xh()),xe=ne(Qh()),Re=ne(Zh()),ze=ne(ey()),Ce=ne(ty()),Se=ne(ry()),Te=ne(ny()),We=ne(oy()),bt=ne(ay()),ot=ne(iy()),Me=ne(ly()),Y=ne(sy()),Z=ne(uy()),be=ne(cy()),O=ne(dy()),T=ne(fy()),k=ne(py()),X=ne(my()),re=ne(by()),le=ne(hy()),de=ne(yy()),fe=ne(gy()),me=ne(vy()),te=ne(_y());function ne(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}var qe=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",u.default],["blockquote",o.default],["button",i.default],["caption",l.default],["cell",s.default],["checkbox",c.default],["code",f.default],["columnheader",d.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",_.default],["deletion",h.default],["dialog",g.default],["directory",R.default],["document",w.default],["emphasis",P.default],["feed",S.default],["figure",q.default],["form",y.default],["generic",C.default],["grid",x.default],["gridcell",j.default],["group",L.default],["heading",U.default],["img",H.default],["insertion",ee.default],["link",J.default],["list",oe.default],["listbox",ae.default],["listitem",ue.default],["log",ce.default],["main",A.default],["mark",M.default],["marquee",F.default],["math",N.default],["menu",G.default],["menubar",B.default],["menuitem",$.default],["menuitemcheckbox",z.default],["menuitemradio",Q.default],["meter",v.default],["navigation",I.default],["none",D.default],["note",K.default],["option",W.default],["paragraph",V.default],["presentation",ie.default],["progressbar",se.default],["radio",pe.default],["radiogroup",Oe.default],["region",Ye.default],["row",Je.default],["rowgroup",ke.default],["rowheader",Ve.default],["scrollbar",Xe.default],["search",xe.default],["searchbox",Re.default],["separator",ze.default],["slider",Ce.default],["spinbutton",Se.default],["status",Te.default],["strong",We.default],["subscript",bt.default],["superscript",ot.default],["switch",Me.default],["tab",Y.default],["table",Z.default],["tablist",be.default],["tabpanel",O.default],["term",T.default],["textbox",k.default],["time",X.default],["timer",re.default],["toolbar",le.default],["tooltip",de.default],["tree",fe.default],["treegrid",me.default],["treeitem",te.default]],Ne=qe;e.default=Ne}}),Ey=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ry=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Cy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Py=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Oy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),Sy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Ty=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Ay=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),xy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),My=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),jy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),Ny=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Iy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ky=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),By=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),$y=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Dy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ly=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Fy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Uy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Hy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),zy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Wy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Gy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),Ky=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Yy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Jy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),Xy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),Qy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),Zy=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eg=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),tg=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),rg=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),ng=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),og=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),ag=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),ig=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),lg=E({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=N(Ey()),r=N(Ry()),n=N(Cy()),a=N(qy()),u=N(Py()),o=N(Oy()),i=N(Sy()),l=N(Ty()),s=N(Ay()),c=N(xy()),f=N(My()),d=N(jy()),p=N(Ny()),m=N(Iy()),b=N(ky()),_=N(By()),h=N($y()),g=N(Dy()),R=N(Ly()),w=N(Fy()),P=N(Uy()),S=N(Hy()),q=N(Vy()),y=N(zy()),C=N(Wy()),x=N(Gy()),j=N(Ky()),L=N(Yy()),U=N(Jy()),H=N(Xy()),ee=N(Qy()),J=N(Zy()),oe=N(eg()),ae=N(tg()),ue=N(rg()),ce=N(ng()),A=N(og()),M=N(ag()),F=N(ig());function N($){return $&&$.__esModule?$:{default:$}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",u.default],["doc-biblioentry",o.default],["doc-bibliography",i.default],["doc-biblioref",l.default],["doc-chapter",s.default],["doc-colophon",c.default],["doc-conclusion",f.default],["doc-cover",d.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",_.default],["doc-endnotes",h.default],["doc-epigraph",g.default],["doc-epilogue",R.default],["doc-errata",w.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",q.default],["doc-glossary",y.default],["doc-glossref",C.default],["doc-index",x.default],["doc-introduction",j.default],["doc-noteref",L.default],["doc-notice",U.default],["doc-pagebreak",H.default],["doc-pagelist",ee.default],["doc-part",J.default],["doc-preface",oe.default],["doc-prologue",ae.default],["doc-pullquote",ue.default],["doc-qna",ce.default],["doc-subtitle",A.default],["doc-tip",M.default],["doc-toc",F.default]],B=G;e.default=B}}),sg=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),ug=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),cg=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),dg=E({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(sg()),r=a(ug()),n=a(cg());function a(i){return i&&i.__esModule?i:{default:i}}var u=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],o=u;e.default=o}}),Ra=E({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(zb()),r=o(wy()),n=o(lg()),a=o(dg()),u=o(nn());function o(g){return g&&g.__esModule?g:{default:g}}function i(g,R,w){return R in g?Object.defineProperty(g,R,{value:w,enumerable:!0,configurable:!0,writable:!0}):g[R]=w,g}function l(g,R){var w=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!w){if(Array.isArray(g)||(w=f(g))||R&&g&&typeof g.length=="number"){w&&(g=w);var P=0,S=function(){};return{s:S,n:function(){return P>=g.length?{done:!0}:{done:!1,value:g[P++]}},e:function(x){throw x},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,y=!1,C;return{s:function(){w=w.call(g)},n:function(){var x=w.next();return q=x.done,x},e:function(x){y=!0,C=x},f:function(){try{!q&&w.return!=null&&w.return()}finally{if(y)throw C}}}}function s(g,R){return m(g)||p(g,R)||f(g,R)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(g,R){if(g){if(typeof g=="string")return d(g,R);var w=Object.prototype.toString.call(g).slice(8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return Array.from(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return d(g,R)}}function d(g,R){(R==null||R>g.length)&&(R=g.length);for(var w=0,P=new Array(R);w1&&arguments[1]!==void 0?arguments[1]:null,w=l(b),P;try{for(w.s();!(P=w.n()).done;){var S=s(P.value,2),q=S[0],y=S[1];g.call(R,y,q,b)}}catch(C){w.e(C)}finally{w.f()}},get:function(g){var R=b.find(function(w){return w[0]===g});return R&&R[1]},has:function(g){return!!_.get(g)},keys:function(){return b.map(function(g){var R=s(g,1),w=R[0];return w})},values:function(){return b.map(function(g){var R=s(g,2),w=R[1];return w})}},h=(0,u.default)(_,_.entries());e.default=h}}),fg=E({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var u,o;if(n===a)return!0;if(n&&a&&(u=n.constructor)===a.constructor){if(u===Date)return n.getTime()===a.getTime();if(u===RegExp)return n.toString()===a.toString();if(u===Array){if((o=n.length)===a.length)for(;o--&&r(n[o],a[o]););return o===-1}if(!u||typeof n=="object"){o=0;for(u in n)if(t.call(n,u)&&++o&&!t.call(a,u)||!(u in a)||!r(n[u],a[u]))return!1;return Object.keys(a).length===o}}return n!==n&&a!==a}e.dequal=r}}),pg=E({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=fg(),r=a(nn()),n=a(Ra());function a(S){return S&&S.__esModule?S:{default:S}}function u(S,q){return l(S)||i(S,q)||c(S,q)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(S,q){var y=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(y!=null){var C=[],x=!0,j=!1,L,U;try{for(y=y.call(S);!(x=(L=y.next()).done)&&(C.push(L.value),!(q&&C.length===q));x=!0);}catch(H){j=!0,U=H}finally{try{!x&&y.return!=null&&y.return()}finally{if(j)throw U}}return C}}function l(S){if(Array.isArray(S))return S}function s(S,q){var y=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(!y){if(Array.isArray(S)||(y=c(S))||q&&S&&typeof S.length=="number"){y&&(S=y);var C=0,x=function(){};return{s:x,n:function(){return C>=S.length?{done:!0}:{done:!1,value:S[C++]}},e:function(H){throw H},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,L=!1,U;return{s:function(){y=y.call(S)},n:function(){var H=y.next();return j=H.done,H},e:function(H){L=!0,U=H},f:function(){try{!j&&y.return!=null&&y.return()}finally{if(L)throw U}}}}function c(S,q){if(S){if(typeof S=="string")return f(S,q);var y=Object.prototype.toString.call(S).slice(8,-1);if(y==="Object"&&S.constructor&&(y=S.constructor.name),y==="Map"||y==="Set")return Array.from(S);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return f(S,q)}}function f(S,q){(q==null||q>S.length)&&(q=S.length);for(var y=0,C=new Array(q);y1&&arguments[1]!==void 0?arguments[1]:null,y=s(d),C;try{for(y.s();!(C=y.n()).done;){var x=u(C.value,2),j=x[0],L=x[1];S.call(q,L,j,d)}}catch(U){y.e(U)}finally{y.f()}},get:function(S){var q=d.find(function(y){return S.name===y[0].name&&(0,t.dequal)(S.attributes,y[0].attributes)});return q&&q[1]},has:function(S){return!!w.get(S)},keys:function(){return d.map(function(S){var q=u(S,1),y=q[0];return y})},values:function(){return d.map(function(S){var q=u(S,2),y=q[1];return y})}},P=(0,r.default)(w,w.entries());e.default=P}}),mg=E({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(nn()),r=n(Ra());function n(q){return q&&q.__esModule?q:{default:q}}function a(q,y){return i(q)||o(q,y)||s(q,y)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(q,y){var C=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(C!=null){var x=[],j=!0,L=!1,U,H;try{for(C=C.call(q);!(j=(U=C.next()).done)&&(x.push(U.value),!(y&&x.length===y));j=!0);}catch(ee){L=!0,H=ee}finally{try{!j&&C.return!=null&&C.return()}finally{if(L)throw H}}return x}}function i(q){if(Array.isArray(q))return q}function l(q,y){var C=typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(!C){if(Array.isArray(q)||(C=s(q))||y&&q&&typeof q.length=="number"){C&&(q=C);var x=0,j=function(){};return{s:j,n:function(){return x>=q.length?{done:!0}:{done:!1,value:q[x++]}},e:function(ee){throw ee},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L=!0,U=!1,H;return{s:function(){C=C.call(q)},n:function(){var ee=C.next();return L=ee.done,ee},e:function(ee){U=!0,H=ee},f:function(){try{!L&&C.return!=null&&C.return()}finally{if(U)throw H}}}}function s(q,y){if(q){if(typeof q=="string")return c(q,y);var C=Object.prototype.toString.call(q).slice(8,-1);if(C==="Object"&&q.constructor&&(C=q.constructor.name),C==="Map"||C==="Set")return Array.from(q);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return c(q,y)}}function c(q,y){(y==null||y>q.length)&&(y=q.length);for(var C=0,x=new Array(y);C0&&f.push([p,b])}var p,m,b,_,h,g,R,w,P={entries:function(){return f},forEach:function(q){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=l(f),x;try{for(C.s();!(x=C.n()).done;){var j=a(x.value,2),L=j[0],U=j[1];q.call(y,U,L,f)}}catch(H){C.e(H)}finally{C.f()}},get:function(q){var y=f.find(function(C){return C[0]===q});return y&&y[1]},has:function(q){return!!P.get(q)},keys:function(){return f.map(function(q){var y=a(q,1),C=y[0];return C})},values:function(){return f.map(function(q){var y=a(q,2),C=y[1];return C})}},S=(0,t.default)(P,P.entries());e.default=S}}),As=E({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(xb()),r=o(Mb()),n=o(Ra()),a=o(pg()),u=o(mg());function o(d){return d&&d.__esModule?d:{default:d}}var i=t.default;e.aria=i;var l=r.default;e.dom=l;var s=n.default;e.roles=s;var c=a.default;e.elementRoles=c;var f=u.default;e.roleElements=f}}),bg=E({"../../node_modules/color-name/index.js"(e,t){t.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}}}),xs=E({"../../node_modules/color-convert/conversions.js"(e,t){var r=bg(),n={};for(let o of Object.keys(r))n[r[o]]=o;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let o of Object.keys(a)){if(!("channels"in a[o]))throw new Error("missing channels property: "+o);if(!("labels"in a[o]))throw new Error("missing channel labels property: "+o);if(a[o].labels.length!==a[o].channels)throw new Error("channel and label counts mismatch: "+o);let{channels:i,labels:l}=a[o];delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],"channels",{value:i}),Object.defineProperty(a[o],"labels",{value:l})}a.rgb.hsl=function(o){let i=o[0]/255,l=o[1]/255,s=o[2]/255,c=Math.min(i,l,s),f=Math.max(i,l,s),d=f-c,p,m;f===c?p=0:i===f?p=(l-s)/d:l===f?p=2+(s-i)/d:s===f&&(p=4+(i-l)/d),p=Math.min(p*60,360),p<0&&(p+=360);let b=(c+f)/2;return f===c?m=0:b<=.5?m=d/(f+c):m=d/(2-f-c),[p,m*100,b*100]},a.rgb.hsv=function(o){let i,l,s,c,f,d=o[0]/255,p=o[1]/255,m=o[2]/255,b=Math.max(d,p,m),_=b-Math.min(d,p,m),h=function(g){return(b-g)/6/_+1/2};return _===0?(c=0,f=0):(f=_/b,i=h(d),l=h(p),s=h(m),d===b?c=s-l:p===b?c=1/3+i-s:m===b&&(c=2/3+l-i),c<0?c+=1:c>1&&(c-=1)),[c*360,f*100,b*100]},a.rgb.hwb=function(o){let i=o[0],l=o[1],s=o[2],c=a.rgb.hsl(o)[0],f=1/255*Math.min(i,Math.min(l,s));return s=1-1/255*Math.max(i,Math.max(l,s)),[c,f*100,s*100]},a.rgb.cmyk=function(o){let i=o[0]/255,l=o[1]/255,s=o[2]/255,c=Math.min(1-i,1-l,1-s),f=(1-i-c)/(1-c)||0,d=(1-l-c)/(1-c)||0,p=(1-s-c)/(1-c)||0;return[f*100,d*100,p*100,c*100]};function u(o,i){return(o[0]-i[0])**2+(o[1]-i[1])**2+(o[2]-i[2])**2}a.rgb.keyword=function(o){let i=n[o];if(i)return i;let l=1/0,s;for(let c of Object.keys(r)){let f=r[c],d=u(o,f);d.04045?((i+.055)/1.055)**2.4:i/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;let c=i*.4124+l*.3576+s*.1805,f=i*.2126+l*.7152+s*.0722,d=i*.0193+l*.1192+s*.9505;return[c*100,f*100,d*100]},a.rgb.lab=function(o){let i=a.rgb.xyz(o),l=i[0],s=i[1],c=i[2];l/=95.047,s/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let f=116*s-16,d=500*(l-s),p=200*(s-c);return[f,d,p]},a.hsl.rgb=function(o){let i=o[0]/360,l=o[1]/100,s=o[2]/100,c,f,d;if(l===0)return d=s*255,[d,d,d];s<.5?c=s*(1+l):c=s+l-s*l;let p=2*s-c,m=[0,0,0];for(let b=0;b<3;b++)f=i+1/3*-(b-1),f<0&&f++,f>1&&f--,6*f<1?d=p+(c-p)*6*f:2*f<1?d=c:3*f<2?d=p+(c-p)*(2/3-f)*6:d=p,m[b]=d*255;return m},a.hsl.hsv=function(o){let i=o[0],l=o[1]/100,s=o[2]/100,c=l,f=Math.max(s,.01);s*=2,l*=s<=1?s:2-s,c*=f<=1?f:2-f;let d=(s+l)/2,p=s===0?2*c/(f+c):2*l/(s+l);return[i,p*100,d*100]},a.hsv.rgb=function(o){let i=o[0]/60,l=o[1]/100,s=o[2]/100,c=Math.floor(i)%6,f=i-Math.floor(i),d=255*s*(1-l),p=255*s*(1-l*f),m=255*s*(1-l*(1-f));switch(s*=255,c){case 0:return[s,m,d];case 1:return[p,s,d];case 2:return[d,s,m];case 3:return[d,p,s];case 4:return[m,d,s];case 5:return[s,d,p]}},a.hsv.hsl=function(o){let i=o[0],l=o[1]/100,s=o[2]/100,c=Math.max(s,.01),f,d;d=(2-l)*s;let p=(2-l)*c;return f=l*c,f/=p<=1?p:2-p,f=f||0,d/=2,[i,f*100,d*100]},a.hwb.rgb=function(o){let i=o[0]/360,l=o[1]/100,s=o[2]/100,c=l+s,f;c>1&&(l/=c,s/=c);let d=Math.floor(6*i),p=1-s;f=6*i-d,d&1&&(f=1-f);let m=l+f*(p-l),b,_,h;switch(d){default:case 6:case 0:b=p,_=m,h=l;break;case 1:b=m,_=p,h=l;break;case 2:b=l,_=p,h=m;break;case 3:b=l,_=m,h=p;break;case 4:b=m,_=l,h=p;break;case 5:b=p,_=l,h=m;break}return[b*255,_*255,h*255]},a.cmyk.rgb=function(o){let i=o[0]/100,l=o[1]/100,s=o[2]/100,c=o[3]/100,f=1-Math.min(1,i*(1-c)+c),d=1-Math.min(1,l*(1-c)+c),p=1-Math.min(1,s*(1-c)+c);return[f*255,d*255,p*255]},a.xyz.rgb=function(o){let i=o[0]/100,l=o[1]/100,s=o[2]/100,c,f,d;return c=i*3.2406+l*-1.5372+s*-.4986,f=i*-.9689+l*1.8758+s*.0415,d=i*.0557+l*-.204+s*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,c=Math.min(Math.max(0,c),1),f=Math.min(Math.max(0,f),1),d=Math.min(Math.max(0,d),1),[c*255,f*255,d*255]},a.xyz.lab=function(o){let i=o[0],l=o[1],s=o[2];i/=95.047,l/=100,s/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let c=116*l-16,f=500*(i-l),d=200*(l-s);return[c,f,d]},a.lab.xyz=function(o){let i=o[0],l=o[1],s=o[2],c,f,d;f=(i+16)/116,c=l/500+f,d=f-s/200;let p=f**3,m=c**3,b=d**3;return f=p>.008856?p:(f-16/116)/7.787,c=m>.008856?m:(c-16/116)/7.787,d=b>.008856?b:(d-16/116)/7.787,c*=95.047,f*=100,d*=108.883,[c,f,d]},a.lab.lch=function(o){let i=o[0],l=o[1],s=o[2],c;c=Math.atan2(s,l)*360/2/Math.PI,c<0&&(c+=360);let f=Math.sqrt(l*l+s*s);return[i,f,c]},a.lch.lab=function(o){let i=o[0],l=o[1],s=o[2]/360*2*Math.PI,c=l*Math.cos(s),f=l*Math.sin(s);return[i,c,f]},a.rgb.ansi16=function(o,i=null){let[l,s,c]=o,f=i===null?a.rgb.hsv(o)[2]:i;if(f=Math.round(f/50),f===0)return 30;let d=30+(Math.round(c/255)<<2|Math.round(s/255)<<1|Math.round(l/255));return f===2&&(d+=60),d},a.hsv.ansi16=function(o){return a.rgb.ansi16(a.hsv.rgb(o),o[2])},a.rgb.ansi256=function(o){let i=o[0],l=o[1],s=o[2];return i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5)},a.ansi16.rgb=function(o){let i=o%10;if(i===0||i===7)return o>50&&(i+=3.5),i=i/10.5*255,[i,i,i];let l=(~~(o>50)+1)*.5,s=(i&1)*l*255,c=(i>>1&1)*l*255,f=(i>>2&1)*l*255;return[s,c,f]},a.ansi256.rgb=function(o){if(o>=232){let f=(o-232)*10+8;return[f,f,f]}o-=16;let i,l=Math.floor(o/36)/5*255,s=Math.floor((i=o%36)/6)/5*255,c=i%6/5*255;return[l,s,c]},a.rgb.hex=function(o){let i=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(i.length)+i},a.hex.rgb=function(o){let i=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let l=i[0];i[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let s=parseInt(l,16),c=s>>16&255,f=s>>8&255,d=s&255;return[c,f,d]},a.rgb.hcg=function(o){let i=o[0]/255,l=o[1]/255,s=o[2]/255,c=Math.max(Math.max(i,l),s),f=Math.min(Math.min(i,l),s),d=c-f,p,m;return d<1?p=f/(1-d):p=0,d<=0?m=0:c===i?m=(l-s)/d%6:c===l?m=2+(s-i)/d:m=4+(i-l)/d,m/=6,m%=1,[m*360,d*100,p*100]},a.hsl.hcg=function(o){let i=o[1]/100,l=o[2]/100,s=l<.5?2*i*l:2*i*(1-l),c=0;return s<1&&(c=(l-.5*s)/(1-s)),[o[0],s*100,c*100]},a.hsv.hcg=function(o){let i=o[1]/100,l=o[2]/100,s=i*l,c=0;return s<1&&(c=(l-s)/(1-s)),[o[0],s*100,c*100]},a.hcg.rgb=function(o){let i=o[0]/360,l=o[1]/100,s=o[2]/100;if(l===0)return[s*255,s*255,s*255];let c=[0,0,0],f=i%1*6,d=f%1,p=1-d,m=0;switch(Math.floor(f)){case 0:c[0]=1,c[1]=d,c[2]=0;break;case 1:c[0]=p,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=d;break;case 3:c[0]=0,c[1]=p,c[2]=1;break;case 4:c[0]=d,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=p}return m=(1-l)*s,[(l*c[0]+m)*255,(l*c[1]+m)*255,(l*c[2]+m)*255]},a.hcg.hsv=function(o){let i=o[1]/100,l=o[2]/100,s=i+l*(1-i),c=0;return s>0&&(c=i/s),[o[0],c*100,s*100]},a.hcg.hsl=function(o){let i=o[1]/100,l=o[2]/100*(1-i)+.5*i,s=0;return l>0&&l<.5?s=i/(2*l):l>=.5&&l<1&&(s=i/(2*(1-l))),[o[0],s*100,l*100]},a.hcg.hwb=function(o){let i=o[1]/100,l=o[2]/100,s=i+l*(1-i);return[o[0],(s-i)*100,(1-s)*100]},a.hwb.hcg=function(o){let i=o[1]/100,l=1-o[2]/100,s=l-i,c=0;return s<1&&(c=(l-s)/(1-s)),[o[0],s*100,c*100]},a.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},a.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},a.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},a.gray.hsl=function(o){return[0,0,o[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(o){return[0,100,o[0]]},a.gray.cmyk=function(o){return[0,0,0,o[0]]},a.gray.lab=function(o){return[o[0],0,0]},a.gray.hex=function(o){let i=Math.round(o[0]/100*255)&255,l=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}}),hg=E({"../../node_modules/color-convert/route.js"(e,t){var r=xs();function n(){let i={},l=Object.keys(r);for(let s=l.length,c=0;c1&&(c=f),l(c))};return"conversion"in l&&(s.conversion=l.conversion),s}function i(l){let s=function(...c){let f=c[0];if(f==null)return f;f.length>1&&(c=f);let d=l(c);if(typeof d=="object")for(let p=d.length,m=0;m{a[l]={},Object.defineProperty(a[l],"channels",{value:r[l].channels}),Object.defineProperty(a[l],"labels",{value:r[l].labels});let s=n(l);Object.keys(s).forEach(c=>{let f=s[c];a[l][c]=i(f),a[l][c].raw=o(f)})}),t.exports=a}}),gg=E({"../../node_modules/ansi-styles/index.js"(e,t){var r=(f,d)=>(...p)=>`\x1B[${f(...p)+d}m`,n=(f,d)=>(...p)=>{let m=f(...p);return`\x1B[${38+d};5;${m}m`},a=(f,d)=>(...p)=>{let m=f(...p);return`\x1B[${38+d};2;${m[0]};${m[1]};${m[2]}m`},u=f=>f,o=(f,d,p)=>[f,d,p],i=(f,d,p)=>{Object.defineProperty(f,d,{get:()=>{let m=p();return Object.defineProperty(f,d,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},l,s=(f,d,p,m)=>{l===void 0&&(l=yg());let b=m?10:0,_={};for(let[h,g]of Object.entries(l)){let R=h==="ansi16"?"ansi":h;h===d?_[R]=f(p,b):typeof g=="object"&&(_[R]=f(g[d],b))}return _};function c(){let f=new Map,d={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};d.color.gray=d.color.blackBright,d.bgColor.bgGray=d.bgColor.bgBlackBright,d.color.grey=d.color.blackBright,d.bgColor.bgGrey=d.bgColor.bgBlackBright;for(let[p,m]of Object.entries(d)){for(let[b,_]of Object.entries(m))d[b]={open:`\x1B[${_[0]}m`,close:`\x1B[${_[1]}m`},m[b]=d[b],f.set(_[0],_[1]);Object.defineProperty(d,p,{value:m,enumerable:!1})}return Object.defineProperty(d,"codes",{value:f,enumerable:!1}),d.color.close="\x1B[39m",d.bgColor.close="\x1B[49m",i(d.color,"ansi",()=>s(r,"ansi16",u,!1)),i(d.color,"ansi256",()=>s(n,"ansi256",u,!1)),i(d.color,"ansi16m",()=>s(a,"rgb",o,!1)),i(d.bgColor,"ansi",()=>s(r,"ansi16",u,!0)),i(d.bgColor,"ansi256",()=>s(n,"ansi256",u,!0)),i(d.bgColor,"ansi16m",()=>s(a,"rgb",o,!0)),d}Object.defineProperty(t,"exports",{enumerable:!0,get:c})}}),vg=E({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),_g=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,u,o)=>{let i=a.indexOf(u);if(i===-1)return a;let l=u.length,s=0,c="";do c+=a.substr(s,i-s)+u+o,s=i+l,i=a.indexOf(u,s);while(i!==-1);return c+=a.substr(s),c},n=(a,u,o,i)=>{let l=0,s="";do{let c=a[i-1]==="\r";s+=a.substr(l,(c?i-1:i)-l)+u+(c?`\r +`:` +`)+o,l=i+1,i=a.indexOf(` +`,l)}while(i!==-1);return s+=a.substr(l),s};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),wg=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,u=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(f){let d=f[0]==="u",p=f[1]==="{";return d&&!p&&f.length===5||f[0]==="x"&&f.length===3?String.fromCharCode(parseInt(f.slice(1),16)):d&&p?String.fromCodePoint(parseInt(f.slice(2,-1),16)):o.get(f)||f}function l(f,d){let p=[],m=d.trim().split(/\s*,\s*/g),b;for(let _ of m){let h=Number(_);if(!Number.isNaN(h))p.push(h);else if(b=_.match(a))p.push(b[2].replace(u,(g,R,w)=>R?i(R):w));else throw new Error(`Invalid Chalk template style argument: ${_} (in style '${f}')`)}return p}function s(f){n.lastIndex=0;let d=[],p;for(;(p=n.exec(f))!==null;){let m=p[1];if(p[2]){let b=l(m,p[2]);d.push([m].concat(b))}else d.push([m])}return d}function c(f,d){let p={};for(let b of d)for(let _ of b.styles)p[_[0]]=b.inverse?null:_.slice(1);let m=f;for(let[b,_]of Object.entries(p))if(Array.isArray(_)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=_.length>0?m[b](..._):m[b]}return m}t.exports=(f,d)=>{let p=[],m=[],b=[];if(d.replace(r,(_,h,g,R,w,P)=>{if(h)b.push(i(h));else if(R){let S=b.join("");b=[],m.push(p.length===0?S:c(f,p)(S)),p.push({inverse:g,styles:s(R)})}else if(w){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(c(f,p)(b.join(""))),b=[],p.pop()}else b.push(P)}),m.push(b.join("")),p.length>0){let _=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(_)}return m.join("")}}}),Ms=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=gg(),{stdout:n,stderr:a}=vg(),{stringReplaceAll:u,stringEncaseCRLFWithFirstIndex:o}=_g(),i=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),s=(P,S={})=>{if(S.level>3||S.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let q=n?n.level:0;P.level=S.level===void 0?q:S.level},c=class{constructor(P){return f(P)}},f=P=>{let S={};return s(S,P),S.template=(...q)=>R(S.template,...q),Object.setPrototypeOf(S,d.prototype),Object.setPrototypeOf(S.template,S),S.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},S.template.Instance=c,S.template};function d(P){return f(P)}for(let[P,S]of Object.entries(r))l[P]={get(){let q=_(this,b(S.open,S.close,this._styler),this._isEmpty);return Object.defineProperty(this,P,{value:q}),q}};l.visible={get(){let P=_(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:P}),P}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let P of p)l[P]={get(){let{level:S}=this;return function(...q){let y=b(r.color[i[S]][P](...q),r.color.close,this._styler);return _(this,y,this._isEmpty)}}};for(let P of p){let S="bg"+P[0].toUpperCase()+P.slice(1);l[S]={get(){let{level:q}=this;return function(...y){let C=b(r.bgColor[i[q]][P](...y),r.bgColor.close,this._styler);return _(this,C,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(P){this._generator.level=P}}}),b=(P,S,q)=>{let y,C;return q===void 0?(y=P,C=S):(y=q.openAll+P,C=S+q.closeAll),{open:P,close:S,openAll:y,closeAll:C,parent:q}},_=(P,S,q)=>{let y=(...C)=>h(y,C.length===1?""+C[0]:C.join(" "));return y.__proto__=m,y._generator=P,y._styler=S,y._isEmpty=q,y},h=(P,S)=>{if(P.level<=0||!S)return P._isEmpty?"":S;let q=P._styler;if(q===void 0)return S;let{openAll:y,closeAll:C}=q;if(S.indexOf("\x1B")!==-1)for(;q!==void 0;)S=u(S,q.close,q.open),q=q.parent;let x=S.indexOf(` +`);return x!==-1&&(S=o(S,C,y,x)),y+S+C},g,R=(P,...S)=>{let[q]=S;if(!Array.isArray(q))return S.join(" ");let y=S.slice(1),C=[q.raw[0]];for(let x=1;x-1}t.exports=n}}),Og=E({"../../node_modules/lodash/_arrayIncludesWith.js"(e,t){function r(n,a,u){for(var o=-1,i=n==null?0:n.length;++o=l){var R=f?null:o(c);if(R)return i(R);_=!1,m=u,g=new r}else g=f?[]:h;e:for(;++p=1&&l<=31||l==127||i==0&&l>=48&&l<=57||i==1&&l>=48&&l<=57&&c==45){s+="\\"+l.toString(16)+" ";continue}if(i==0&&o==1&&l==45){s+="\\"+u.charAt(i);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){s+=u.charAt(i);continue}s+="\\"+u.charAt(i)}return s};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),ks=E({"node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>o=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,i,l)=>`\x1B[${38+u};2;${o};${i};${l}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[i,l]of Object.entries(o)){for(let[s,c]of Object.entries(l))o[s]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[s]=o[s],u.set(c[0],c[1]);Object.defineProperty(o,i,{value:l,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(f=>f+f).join(""));let c=Number.parseInt(s,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:i=>o.rgbToAnsi256(...o.hexToRgb(i)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Jn=E({"node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,i)=>{let l=Object.keys(o).sort(i);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(s=>{Object.getOwnPropertyDescriptor(o,s).enumerable&&l.push(s)}),l};function r(o,i,l,s,c,f,d=": "){let p="",m=o.next();if(!m.done){p+=i.spacingOuter;let b=l+i.indent;for(;!m.done;){let _=f(m.value[0],i,b,s,c),h=f(m.value[1],i,b,s,c);p+=b+_+d+h,m=o.next(),m.done?i.min||(p+=","):p+=","+i.spacingInner}p+=i.spacingOuter+l}return p}function n(o,i,l,s,c,f){let d="",p=o.next();if(!p.done){d+=i.spacingOuter;let m=l+i.indent;for(;!p.done;)d+=m+f(p.value,i,m,s,c),p=o.next(),p.done?i.min||(d+=","):d+=","+i.spacingInner;d+=i.spacingOuter+l}return d}function a(o,i,l,s,c,f){let d="";if(o.length){d+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let _=c.toString();return _==="ArrayContaining"||_==="ArrayNotContaining"?++p>f.maxDepth?"["+_+"]":_+u+"["+(0,t.printListItems)(c.sample,f,d,p,m,b)+"]":_==="ObjectContaining"||_==="ObjectNotContaining"?++p>f.maxDepth?"["+_+"]":_+u+"{"+(0,t.printObjectProperties)(c.sample,f,d,p,m,b)+"}":_==="StringMatching"||_==="StringNotMatching"||_==="StringContaining"||_==="StringNotContaining"?_+u+b(c.sample,f,d,p,m):c.toAsymmetricMatcher()};e.serialize=o;var i=c=>c&&c.$$typeof===a;e.test=i;var l={serialize:o,test:i},s=l;e.default=s}}),Mg=E({"../../node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),jg=E({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Mg()),r=n(ks());function n(s){return s&&s.__esModule?s:{default:s}}var a=s=>s.replace((0,t.default)(),c=>{switch(c){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"";case r.default.red.open:return"";case r.default.green.open:return"";case r.default.cyan.open:return"";case r.default.gray.open:return"";case r.default.white.open:return"";case r.default.yellow.open:return"";case r.default.bgRed.open:return"";case r.default.bgGreen.open:return"";case r.default.bgYellow.open:return"";case r.default.inverse.open:return"";case r.default.dim.open:return"";case r.default.bold.open:return"";default:return""}}),u=s=>typeof s=="string"&&!!s.match((0,t.default)());e.test=u;var o=(s,c,f,d,p,m)=>m(a(s),c,f,d,p);e.serialize=o;var i={serialize:o,test:u},l=i;e.default=l}}),Ng=E({"node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Jn(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=f=>n.indexOf(f)!==-1||a.test(f),o=f=>f&&f.constructor&&!!f.constructor.name&&u(f.constructor.name);e.test=o;var i=f=>f.constructor.name==="NamedNodeMap",l=(f,d,p,m,b,_)=>{let h=f.constructor.name;return++m>d.maxDepth?"["+h+"]":(d.min?"":h+r)+(n.indexOf(h)!==-1?"{"+(0,t.printObjectProperties)(i(f)?Array.from(f).reduce((g,R)=>(g[R.name]=R.value,g),{}):{...f},d,p,m,b,_)+"}":"["+(0,t.printListItems)(Array.from(f),d,p,m,b,_)+"]")};e.serialize=l;var s={serialize:l,test:o},c=s;e.default=c}}),Ig=E({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Ca=E({"node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Ig());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,c,f,d,p,m,b)=>{let _=d+f.indent,h=f.colors;return s.map(g=>{let R=c[g],w=b(R,f,_,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=f.spacingOuter+_+w+f.spacingOuter+d),w="{"+w+"}"),f.spacingInner+d+h.prop.open+g+h.prop.close+"="+h.value.open+w+h.value.close}).join("")};e.printProps=n;var a=(s,c,f,d,p,m)=>s.map(b=>c.spacingOuter+f+(typeof b=="string"?u(b,c):m(b,c,f,d,p))).join("");e.printChildren=a;var u=(s,c)=>{let f=c.colors.content;return f.open+(0,t.default)(s)+f.close};e.printText=u;var o=(s,c)=>{let f=c.colors.comment;return f.open+""+f.close};e.printComment=o;var i=(s,c,f,d,p)=>{let m=d.colors.tag;return m.open+"<"+s+(c&&m.close+c+d.spacingOuter+p+m.open)+(f?">"+m.close+f+d.spacingOuter+p+m.open+""+m.close};e.printElement=i;var l=(s,c)=>{let f=c.colors.tag;return f.open+"<"+s+f.close+" …"+f.open+" />"+f.close};e.printElementAsLeaf=l}}),kg=E({"node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ca(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,i=_=>{try{return typeof _.hasAttribute=="function"&&_.hasAttribute("is")}catch{return!1}},l=_=>{let h=_.constructor.name,{nodeType:g,tagName:R}=_,w=typeof R=="string"&&R.includes("-")||i(_);return g===r&&(o.test(h)||w)||g===n&&h==="Text"||g===a&&h==="Comment"||g===u&&h==="DocumentFragment"},s=_=>{var h;return(_==null||(h=_.constructor)===null||h===void 0?void 0:h.name)&&l(_)};e.test=s;function c(_){return _.nodeType===n}function f(_){return _.nodeType===a}function d(_){return _.nodeType===u}var p=(_,h,g,R,w,P)=>{if(c(_))return(0,t.printText)(_.data,h);if(f(_))return(0,t.printComment)(_.data,h);let S=d(_)?"DocumentFragment":_.tagName.toLowerCase();return++R>h.maxDepth?(0,t.printElementAsLeaf)(S,h):(0,t.printElement)(S,(0,t.printProps)(d(_)?[]:Array.from(_.attributes).map(q=>q.name).sort(),d(_)?{}:Array.from(_.attributes).reduce((q,y)=>(q[y.name]=y.value,q),{}),h,g+h.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(_.childNodes||_.children),h,g+h.indent,R,w,P),h,g)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),Bg=E({"node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Jn(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",f=y=>"Immutable."+y,d=y=>"["+y+"]",p=" ",m="…",b=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):f(H)+p+"{"+(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U)+"}";function _(y){let C=0;return{next(){if(C{let H=f(y._name||"Record");return++j>C.maxDepth?d(H):H+p+"{"+(0,t.printIteratorEntries)(_(y),C,x,j,L,U)+"}"},g=(y,C,x,j,L,U)=>{let H=f("Seq");return++j>C.maxDepth?d(H):y[a]?H+p+"{"+(y._iter||y._object?(0,t.printIteratorEntries)(y.entries(),C,x,j,L,U):m)+"}":H+p+"["+(y._iter||y._array||y._collection||y._iterable?(0,t.printIteratorValues)(y.values(),C,x,j,L,U):m)+"]"},R=(y,C,x,j,L,U,H)=>++j>C.maxDepth?d(f(H)):f(H)+p+"["+(0,t.printIteratorValues)(y.values(),C,x,j,L,U)+"]",w=(y,C,x,j,L,U)=>y[u]?b(y,C,x,j,L,U,y[o]?"OrderedMap":"Map"):y[n]?R(y,C,x,j,L,U,"List"):y[s]?R(y,C,x,j,L,U,y[o]?"OrderedSet":"Set"):y[c]?R(y,C,x,j,L,U,"Stack"):y[l]?g(y,C,x,j,L,U):h(y,C,x,j,L,U);e.serialize=w;var P=y=>y&&(y[r]===!0||y[i]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),$g=E({"node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,n=60107,a=60108,u=60114,o=60109,i=60110,l=60112,s=60113,c=60120,f=60115,d=60116,p=60121,m=60122,b=60117,_=60129,h=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;t=g("react.element"),r=g("react.portal"),n=g("react.fragment"),a=g("react.strict_mode"),u=g("react.profiler"),o=g("react.provider"),i=g("react.context"),l=g("react.forward_ref"),s=g("react.suspense"),c=g("react.suspense_list"),f=g("react.memo"),d=g("react.lazy"),p=g("react.block"),m=g("react.server.block"),b=g("react.fundamental"),g("react.scope"),g("react.opaque.id"),_=g("react.debug_trace_mode"),g("react.offscreen"),h=g("react.legacy_hidden")}var R=!1;function w(D){return!!(typeof D=="string"||typeof D=="function"||D===n||D===u||D===_||D===a||D===s||D===c||D===h||R||typeof D=="object"&&D!==null&&(D.$$typeof===d||D.$$typeof===f||D.$$typeof===o||D.$$typeof===i||D.$$typeof===l||D.$$typeof===b||D.$$typeof===p||D[0]===m))}function P(D){if(typeof D=="object"&&D!==null){var K=D.$$typeof;switch(K){case t:var W=D.type;switch(W){case n:case u:case a:case s:case c:return W;default:var V=W&&W.$$typeof;switch(V){case i:case l:case d:case f:case o:return V;default:return K}}case r:return K}}}var S=i,q=o,y=t,C=l,x=n,j=d,L=f,U=r,H=u,ee=a,J=s,oe=!1,ae=!1;function ue(D){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ce(D){return ae||(ae=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(D){return P(D)===i}function M(D){return P(D)===o}function F(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function N(D){return P(D)===l}function G(D){return P(D)===n}function B(D){return P(D)===d}function $(D){return P(D)===f}function z(D){return P(D)===r}function Q(D){return P(D)===u}function v(D){return P(D)===a}function I(D){return P(D)===s}e.ContextConsumer=S,e.ContextProvider=q,e.Element=y,e.ForwardRef=C,e.Fragment=x,e.Lazy=j,e.Memo=L,e.Portal=U,e.Profiler=H,e.StrictMode=ee,e.Suspense=J,e.isAsyncMode=ue,e.isConcurrentMode=ce,e.isContextConsumer=A,e.isContextProvider=M,e.isElement=F,e.isForwardRef=N,e.isFragment=G,e.isLazy=B,e.isMemo=$,e.isPortal=z,e.isProfiler=Q,e.isStrictMode=v,e.isSuspense=I,e.isValidElementType=w,e.typeOf=P})()}}),Dg=E({"node_modules/react-is/index.js"(e,t){t.exports=$g()}}),Lg=E({"node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Dg()),r=Ca();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(p);if(m&&m.has(d))return m.get(d);var b={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in d)if(h!=="default"&&Object.prototype.hasOwnProperty.call(d,h)){var g=_?Object.getOwnPropertyDescriptor(d,h):null;g&&(g.get||g.set)?Object.defineProperty(b,h,g):b[h]=d[h]}return b.default=d,m&&m.set(d,b),b}var u=(d,p=[])=>(Array.isArray(d)?d.forEach(m=>{u(m,p)}):d!=null&&d!==!1&&p.push(d),p),o=d=>{let p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(d)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},i=d=>{let{props:p}=d;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(d,p,m,b,_,h)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(d),p):(0,r.printElement)(o(d),(0,r.printProps)(i(d),d.props,p,m+p.indent,b,_,h),(0,r.printChildren)(u(d.props.children),p,m+p.indent,b,_,h),p,m);e.serialize=l;var s=d=>d!=null&&t.isElement(d);e.test=s;var c={serialize:l,test:s},f=c;e.default=f}}),Fg=E({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ca(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,u=c=>{let{props:f}=c;return f?Object.keys(f).filter(d=>f[d]!==void 0).sort():[]},o=(c,f,d,p,m,b)=>++p>f.maxDepth?(0,t.printElementAsLeaf)(c.type,f):(0,t.printElement)(c.type,c.props?(0,t.printProps)(u(c),c.props,f,d+f.indent,p,m,b):"",c.children?(0,t.printChildren)(c.children,f,d+f.indent,p,m,b):"",f,d);e.serialize=o;var i=c=>c&&c.$$typeof===a;e.test=i;var l={serialize:o,test:i},s=l;e.default=s}}),Ug=E({"node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=$,e.plugins=void 0;var t=c(ks()),r=Jn(),n=c(xg()),a=c(jg()),u=c(Ng()),o=c(kg()),i=c(Bg()),l=c(Lg()),s=c(Fg());function c(v){return v&&v.__esModule?v:{default:v}}var f=Object.prototype.toString,d=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,b=v=>typeof v.constructor=="function"&&v.constructor.name||"Object",_=v=>typeof window<"u"&&v===window,h=/^Symbol\((.*)\)(.*)$/,g=/\n/gi,R=class extends Error{constructor(v,I){super(v),this.stack=I,this.name=this.constructor.name}};function w(v){return v==="[object Array]"||v==="[object ArrayBuffer]"||v==="[object DataView]"||v==="[object Float32Array]"||v==="[object Float64Array]"||v==="[object Int8Array]"||v==="[object Int16Array]"||v==="[object Int32Array]"||v==="[object Uint8Array]"||v==="[object Uint8ClampedArray]"||v==="[object Uint16Array]"||v==="[object Uint32Array]"}function P(v){return Object.is(v,-0)?"-0":String(v)}function S(v){return`${v}n`}function q(v,I){return I?"[Function "+(v.name||"anonymous")+"]":"[Function]"}function y(v){return String(v).replace(h,"Symbol($1)")}function C(v){return"["+p.call(v)+"]"}function x(v,I,D,K){if(v===!0||v===!1)return""+v;if(v===void 0)return"undefined";if(v===null)return"null";let W=typeof v;if(W==="number")return P(v);if(W==="bigint")return S(v);if(W==="string")return K?'"'+v.replace(/"|\\/g,"\\$&")+'"':'"'+v+'"';if(W==="function")return q(v,I);if(W==="symbol")return y(v);let V=f.call(v);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?q(v,I):V==="[object Symbol]"?y(v):V==="[object Date]"?isNaN(+v)?"Date { NaN }":d.call(v):V==="[object Error]"?C(v):V==="[object RegExp]"?D?m.call(v).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(v):v instanceof Error?C(v):null}function j(v,I,D,K,W,V){if(W.indexOf(v)!==-1)return"[Circular]";W=W.slice(),W.push(v);let ie=++K>I.maxDepth,se=I.min;if(I.callToJSON&&!ie&&v.toJSON&&typeof v.toJSON=="function"&&!V)return ee(v.toJSON(),I,D,K,W,!0);let pe=f.call(v);return pe==="[object Arguments]"?ie?"[Arguments]":(se?"":"Arguments ")+"["+(0,r.printListItems)(v,I,D,K,W,ee)+"]":w(pe)?ie?"["+v.constructor.name+"]":(se||!I.printBasicPrototype&&v.constructor.name==="Array"?"":v.constructor.name+" ")+"["+(0,r.printListItems)(v,I,D,K,W,ee)+"]":pe==="[object Map]"?ie?"[Map]":"Map {"+(0,r.printIteratorEntries)(v.entries(),I,D,K,W,ee," => ")+"}":pe==="[object Set]"?ie?"[Set]":"Set {"+(0,r.printIteratorValues)(v.values(),I,D,K,W,ee)+"}":ie||_(v)?"["+b(v)+"]":(se||!I.printBasicPrototype&&b(v)==="Object"?"":b(v)+" ")+"{"+(0,r.printObjectProperties)(v,I,D,K,W,ee)+"}"}function L(v){return v.serialize!=null}function U(v,I,D,K,W,V){let ie;try{ie=L(v)?v.serialize(I,D,K,W,V,ee):v.print(I,se=>ee(se,D,K,W,V),se=>{let pe=K+D.indent;return pe+se.replace(g,` +`+pe)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(se){throw new R(se.message,se.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function H(v,I){for(let D=0;D{if(!ae.hasOwnProperty(I))throw new Error(`pretty-format: Unknown option "${I}".`)}),v.min&&v.indent!==void 0&&v.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(v.theme!==void 0){if(v.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof v.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof v.theme}".`)}}var ce=v=>oe.reduce((I,D)=>{let K=v.theme&&v.theme[D]!==void 0?v.theme[D]:J[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>oe.reduce((v,I)=>(v[I]={close:"",open:""},v),Object.create(null)),M=v=>v&&v.printFunctionName!==void 0?v.printFunctionName:ae.printFunctionName,F=v=>v&&v.escapeRegex!==void 0?v.escapeRegex:ae.escapeRegex,N=v=>v&&v.escapeString!==void 0?v.escapeString:ae.escapeString,G=v=>{var I;return{callToJSON:v&&v.callToJSON!==void 0?v.callToJSON:ae.callToJSON,colors:v&&v.highlight?ce(v):A(),compareKeys:v&&typeof v.compareKeys=="function"?v.compareKeys:ae.compareKeys,escapeRegex:F(v),escapeString:N(v),indent:v&&v.min?"":B(v&&v.indent!==void 0?v.indent:ae.indent),maxDepth:v&&v.maxDepth!==void 0?v.maxDepth:ae.maxDepth,min:v&&v.min!==void 0?v.min:ae.min,plugins:v&&v.plugins!==void 0?v.plugins:ae.plugins,printBasicPrototype:(I=v==null?void 0:v.printBasicPrototype)!==null&&I!==void 0?I:!0,printFunctionName:M(v),spacingInner:v&&v.min?" ":` +`,spacingOuter:v&&v.min?"":` +`}};function B(v){return new Array(v+1).join(" ")}function $(v,I){if(I&&(ue(I),I.plugins)){let K=H(I.plugins,v);if(K!==null)return U(K,v,G(I),"",0,[])}let D=x(v,M(I),F(I),N(I));return D!==null?D:j(v,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:u.default,DOMElement:o.default,Immutable:i.default,ReactElement:l.default,ReactTestComponent:s.default};e.plugins=z;var Q=$;e.default=Q}}),Hg=E({"node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,u={"@@iterator":function(){return u},next:function(){if(a=p.length?{done:!0}:{done:!1,value:p[_++]}},e:function(P){throw P},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return g=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,_=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(c),_;try{for(b.s();!(_=b.n()).done;){var h=n(_.value,2),g=h[0],R=h[1];p.call(m,R,g,c)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=c.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!f.get(p)},keys:function(){return c.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return c.map(function(p){var m=n(p,2),b=m[1];return b})}},d=(0,t.default)(f,f.entries());e.default=d}}),zg=E({"node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(on());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return o(p)||u(p,m)||l(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(p,m){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var _=[],h=!0,g=!1,R,w;try{for(b=b.call(p);!(h=(R=b.next()).done)&&(_.push(R.value),!(m&&_.length===m));h=!0);}catch(P){g=!0,w=P}finally{try{!h&&b.return!=null&&b.return()}finally{if(g)throw w}}return _}}function o(p){if(Array.isArray(p))return p}function i(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=l(p))||m&&p&&typeof p.length=="number"){b&&(p=b);var _=0,h=function(){};return{s:h,n:function(){return _>=p.length?{done:!0}:{done:!1,value:p[_++]}},e:function(P){throw P},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return g=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,_=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(c),_;try{for(b.s();!(_=b.n()).done;){var h=n(_.value,2),g=h[0],R=h[1];p.call(m,R,g,c)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=c.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!f.get(p)},keys:function(){return c.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return c.map(function(p){var m=n(p,2),b=m[1];return b})}},d=(0,t.default)(f,f.entries());e.default=d}}),Wg=E({"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Gg=E({"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Kg=E({"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Yg=E({"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Jg=E({"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Xg=E({"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Qg=E({"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Zg=E({"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),ev=E({"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),tv=E({"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),rv=E({"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),nv=E({"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),ov=E({"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(Wg()),r=p(Gg()),n=p(Kg()),a=p(Yg()),u=p(Jg()),o=p(Xg()),i=p(Qg()),l=p(Zg()),s=p(ev()),c=p(tv()),f=p(rv()),d=p(nv());function p(_){return _&&_.__esModule?_:{default:_}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",u.default],["roletype",o.default],["section",i.default],["sectionhead",l.default],["select",s.default],["structure",c.default],["widget",f.default],["window",d.default]],b=m;e.default=b}}),av=E({"node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),iv=E({"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),lv=E({"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),sv=E({"node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),uv=E({"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),cv=E({"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dv=E({"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),fv=E({"node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pv=E({"node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mv=E({"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),bv=E({"node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hv=E({"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),yv=E({"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),gv=E({"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),vv=E({"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),_v=E({"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wv=E({"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ev=E({"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),Rv=E({"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Cv=E({"node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),qv=E({"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Pv=E({"node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Ov=E({"node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Sv=E({"node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Tv=E({"node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Av=E({"node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),xv=E({"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),Mv=E({"node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jv=E({"node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Nv=E({"node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Iv=E({"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kv=E({"node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Bv=E({"node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$v=E({"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Dv=E({"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lv=E({"node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fv=E({"node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Uv=E({"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Hv=E({"node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vv=E({"node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),zv=E({"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),Wv=E({"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Gv=E({"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),Kv=E({"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Yv=E({"node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),Jv=E({"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Xv=E({"node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),Qv=E({"node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Zv=E({"node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),e_=E({"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),t_=E({"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),r_=E({"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),n_=E({"node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),o_=E({"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),a_=E({"node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),i_=E({"node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),l_=E({"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),s_=E({"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),u_=E({"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),c_=E({"node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),d_=E({"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),f_=E({"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),p_=E({"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),m_=E({"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),b_=E({"node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),h_=E({"node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),y_=E({"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),g_=E({"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),v_=E({"node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),__=E({"node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),w_=E({"node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),E_=E({"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),R_=E({"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),C_=E({"node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),q_=E({"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),P_=E({"node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),O_=E({"node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),S_=E({"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),T_=E({"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),A_=E({"node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),x_=E({"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),M_=E({"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),j_=E({"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=te(av()),r=te(iv()),n=te(lv()),a=te(sv()),u=te(uv()),o=te(cv()),i=te(dv()),l=te(fv()),s=te(pv()),c=te(mv()),f=te(bv()),d=te(hv()),p=te(yv()),m=te(gv()),b=te(vv()),_=te(_v()),h=te(wv()),g=te(Ev()),R=te(Rv()),w=te(Cv()),P=te(qv()),S=te(Pv()),q=te(Ov()),y=te(Sv()),C=te(Tv()),x=te(Av()),j=te(xv()),L=te(Mv()),U=te(jv()),H=te(Nv()),ee=te(Iv()),J=te(kv()),oe=te(Bv()),ae=te($v()),ue=te(Dv()),ce=te(Lv()),A=te(Fv()),M=te(Uv()),F=te(Hv()),N=te(Vv()),G=te(zv()),B=te(Wv()),$=te(Gv()),z=te(Kv()),Q=te(Yv()),v=te(Jv()),I=te(Xv()),D=te(Qv()),K=te(Zv()),W=te(e_()),V=te(t_()),ie=te(r_()),se=te(n_()),pe=te(o_()),Oe=te(a_()),Ye=te(i_()),Je=te(l_()),ke=te(s_()),Ve=te(u_()),Xe=te(c_()),xe=te(d_()),Re=te(f_()),ze=te(p_()),Ce=te(m_()),Se=te(b_()),Te=te(h_()),We=te(y_()),bt=te(g_()),ot=te(v_()),Me=te(__()),Y=te(w_()),Z=te(E_()),be=te(R_()),O=te(C_()),T=te(q_()),k=te(P_()),X=te(O_()),re=te(S_()),le=te(T_()),de=te(A_()),fe=te(x_()),me=te(M_());function te(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}var ne=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",u.default],["blockquote",o.default],["button",i.default],["caption",l.default],["cell",s.default],["checkbox",c.default],["code",f.default],["columnheader",d.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",_.default],["deletion",h.default],["dialog",g.default],["directory",R.default],["document",w.default],["emphasis",P.default],["feed",S.default],["figure",q.default],["form",y.default],["generic",C.default],["grid",x.default],["gridcell",j.default],["group",L.default],["heading",U.default],["img",H.default],["insertion",ee.default],["link",J.default],["list",oe.default],["listbox",ae.default],["listitem",ue.default],["log",ce.default],["main",A.default],["marquee",M.default],["math",F.default],["menu",N.default],["menubar",G.default],["menuitem",B.default],["menuitemcheckbox",$.default],["menuitemradio",z.default],["meter",Q.default],["navigation",v.default],["none",I.default],["note",D.default],["option",K.default],["paragraph",W.default],["presentation",V.default],["progressbar",ie.default],["radio",se.default],["radiogroup",pe.default],["region",Oe.default],["row",Ye.default],["rowgroup",Je.default],["rowheader",ke.default],["scrollbar",Ve.default],["search",Xe.default],["searchbox",xe.default],["separator",Re.default],["slider",ze.default],["spinbutton",Ce.default],["status",Se.default],["strong",Te.default],["subscript",We.default],["superscript",bt.default],["switch",ot.default],["tab",Me.default],["table",Y.default],["tablist",Z.default],["tabpanel",be.default],["term",O.default],["textbox",T.default],["time",k.default],["timer",X.default],["toolbar",re.default],["tooltip",le.default],["tree",de.default],["treegrid",fe.default],["treeitem",me.default]],qe=ne;e.default=qe}}),N_=E({"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),I_=E({"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),k_=E({"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),B_=E({"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),$_=E({"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),D_=E({"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),L_=E({"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),F_=E({"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),U_=E({"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),H_=E({"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),V_=E({"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),z_=E({"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),W_=E({"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),G_=E({"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),K_=E({"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Y_=E({"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),J_=E({"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),X_=E({"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Q_=E({"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Z_=E({"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ew=E({"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),tw=E({"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),rw=E({"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nw=E({"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ow=E({"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),aw=E({"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),iw=E({"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lw=E({"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),sw=E({"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),uw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),cw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),dw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),fw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),mw=E({"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),bw=E({"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hw=E({"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),yw=E({"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),gw=E({"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),vw=E({"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=N(N_()),r=N(I_()),n=N(k_()),a=N(B_()),u=N($_()),o=N(D_()),i=N(L_()),l=N(F_()),s=N(U_()),c=N(H_()),f=N(V_()),d=N(z_()),p=N(W_()),m=N(G_()),b=N(K_()),_=N(Y_()),h=N(J_()),g=N(X_()),R=N(Q_()),w=N(Z_()),P=N(ew()),S=N(tw()),q=N(rw()),y=N(nw()),C=N(ow()),x=N(aw()),j=N(iw()),L=N(lw()),U=N(sw()),H=N(uw()),ee=N(cw()),J=N(dw()),oe=N(fw()),ae=N(pw()),ue=N(mw()),ce=N(bw()),A=N(hw()),M=N(yw()),F=N(gw());function N($){return $&&$.__esModule?$:{default:$}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",u.default],["doc-biblioentry",o.default],["doc-bibliography",i.default],["doc-biblioref",l.default],["doc-chapter",s.default],["doc-colophon",c.default],["doc-conclusion",f.default],["doc-cover",d.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",_.default],["doc-endnotes",h.default],["doc-epigraph",g.default],["doc-epilogue",R.default],["doc-errata",w.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",q.default],["doc-glossary",y.default],["doc-glossref",C.default],["doc-index",x.default],["doc-introduction",j.default],["doc-noteref",L.default],["doc-notice",U.default],["doc-pagebreak",H.default],["doc-pagelist",ee.default],["doc-part",J.default],["doc-preface",oe.default],["doc-prologue",ae.default],["doc-pullquote",ue.default],["doc-qna",ce.default],["doc-subtitle",A.default],["doc-tip",M.default],["doc-toc",F.default]],B=G;e.default=B}}),_w=E({"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),ww=E({"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Ew=E({"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),Rw=E({"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(_w()),r=a(ww()),n=a(Ew());function a(i){return i&&i.__esModule?i:{default:i}}var u=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],o=u;e.default=o}}),qa=E({"node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ov()),r=o(j_()),n=o(vw()),a=o(Rw()),u=o(on());function o(g){return g&&g.__esModule?g:{default:g}}function i(g,R,w){return R in g?Object.defineProperty(g,R,{value:w,enumerable:!0,configurable:!0,writable:!0}):g[R]=w,g}function l(g,R){var w=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!w){if(Array.isArray(g)||(w=f(g))||R&&g&&typeof g.length=="number"){w&&(g=w);var P=0,S=function(){};return{s:S,n:function(){return P>=g.length?{done:!0}:{done:!1,value:g[P++]}},e:function(x){throw x},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,y=!1,C;return{s:function(){w=w.call(g)},n:function(){var x=w.next();return q=x.done,x},e:function(x){y=!0,C=x},f:function(){try{!q&&w.return!=null&&w.return()}finally{if(y)throw C}}}}function s(g,R){return m(g)||p(g,R)||f(g,R)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(g,R){if(g){if(typeof g=="string")return d(g,R);var w=Object.prototype.toString.call(g).slice(8,-1);if(w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set")return Array.from(g);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return d(g,R)}}function d(g,R){(R==null||R>g.length)&&(R=g.length);for(var w=0,P=new Array(R);w1&&arguments[1]!==void 0?arguments[1]:null,w=l(b),P;try{for(w.s();!(P=w.n()).done;){var S=s(P.value,2),q=S[0],y=S[1];g.call(R,y,q,b)}}catch(C){w.e(C)}finally{w.f()}},get:function(g){var R=b.find(function(w){return w[0]===g});return R&&R[1]},has:function(g){return!!_.get(g)},keys:function(){return b.map(function(g){var R=s(g,1),w=R[0];return w})},values:function(){return b.map(function(g){var R=s(g,2),w=R[1];return w})}},h=(0,u.default)(_,_.entries());e.default=h}}),Bs=E({"../../node_modules/object-keys/isArguments.js"(e,t){var r=Object.prototype.toString;t.exports=function(n){var a=r.call(n),u=a==="[object Arguments]";return u||(u=a!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&r.call(n.callee)==="[object Function]"),u}}}),Cw=E({"../../node_modules/object-keys/implementation.js"(e,t){var r;Object.keys||(n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=Bs(),o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),l=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(m){var b=m.constructor;return b&&b.prototype===m},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!f["$"+m]&&n.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{c(window[m])}catch{return!0}}catch{return!0}return!1}(),p=function(m){if(typeof window>"u"||!d)return c(m);try{return c(m)}catch{return!1}},r=function(m){var b=m!==null&&typeof m=="object",_=a.call(m)==="[object Function]",h=u(m),g=b&&a.call(m)==="[object String]",R=[];if(!b&&!_&&!h)throw new TypeError("Object.keys called on a non-object");var w=l&&_;if(g&&m.length>0&&!n.call(m,0))for(var P=0;P0)for(var S=0;S"u"||!h?r:h(Uint8Array),w={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":b&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b&&h?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!b||!h?r:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":u,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!b||!h?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b&&h?h(""[Symbol.iterator]()):r,"%Symbol%":b?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":m,"%TypedArray%":R,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":s,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(h)try{null.error}catch(ue){P=h(h(ue)),w["%Error.prototype%"]=P}var P,S=function ue(ce){var A;if(ce==="%AsyncFunction%")A=f("async function () {}");else if(ce==="%GeneratorFunction%")A=f("function* () {}");else if(ce==="%AsyncGeneratorFunction%")A=f("async function* () {}");else if(ce==="%AsyncGenerator%"){var M=ue("%AsyncGeneratorFunction%");M&&(A=M.prototype)}else if(ce==="%AsyncIteratorPrototype%"){var F=ue("%AsyncGenerator%");F&&h&&(A=h(F.prototype))}return w[ce]=A,A},q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=Sa(),C=Ds(),x=y.call(Function.call,Array.prototype.concat),j=y.call(Function.apply,Array.prototype.splice),L=y.call(Function.call,String.prototype.replace),U=y.call(Function.call,String.prototype.slice),H=y.call(Function.call,RegExp.prototype.exec),ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,oe=function(ue){var ce=U(ue,0,1),A=U(ue,-1);if(ce==="%"&&A!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(A==="%"&&ce!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return L(ue,ee,function(F,N,G,B){M[M.length]=G?L(B,J,"$1"):N||F}),M},ae=function(ue,ce){var A=ue,M;if(C(q,A)&&(M=q[A],A="%"+M[0]+"%"),C(w,A)){var F=w[A];if(F===g&&(F=S(A)),typeof F>"u"&&!ce)throw new l("intrinsic "+ue+" exists, but is not available. Please file an issue!");return{alias:M,name:A,value:F}}throw new i("intrinsic "+ue+" does not exist!")};t.exports=function(ue,ce){if(typeof ue!="string"||ue.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ce!="boolean")throw new l('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,ue)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A=oe(ue),M=A.length>0?A[0]:"",F=ae("%"+M+"%",ce),N=F.name,G=F.value,B=!1,$=F.alias;$&&(M=$[0],j(A,x([0,1],$)));for(var z=1,Q=!0;z=A.length){var K=d(G,v);Q=!!K,Q&&"get"in K&&!("originalValue"in K.get)?G=K.get:G=G[v]}else Q=C(G,v),G=G[v];Q&&!B&&(w[N]=G)}}return G}}}),Ta=E({"../../node_modules/es-define-property/index.js"(e,t){var r=dt(),n=r("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}}),Aa=E({"../../node_modules/gopd/index.js"(e,t){var r=dt(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch{n=null}t.exports=n}}),xa=E({"../../node_modules/define-data-property/index.js"(e,t){var r=Ta(),n=$s(),a=Qt(),u=Aa();t.exports=function(o,i,l){if(!o||typeof o!="object"&&typeof o!="function")throw new a("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,p=!!u&&u(o,i);if(r)r(o,i,{configurable:f===null&&p?p.configurable:!f,enumerable:s===null&&p?p.enumerable:!s,value:l,writable:c===null&&p?p.writable:!c});else if(d||!s&&!c&&!f)o[i]=l;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}}),Ma=E({"../../node_modules/has-property-descriptors/index.js"(e,t){var r=Ta(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=n}}),Zt=E({"../../node_modules/define-properties/index.js"(e,t){var r=Pa(),n=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",a=Object.prototype.toString,u=Array.prototype.concat,o=xa(),i=function(f){return typeof f=="function"&&a.call(f)==="[object Function]"},l=Ma()(),s=function(f,d,p,m){if(d in f){if(m===!0){if(f[d]===p)return}else if(!i(m)||!m())return}l?o(f,d,p,!0):o(f,d,p)},c=function(f,d){var p=arguments.length>2?arguments[2]:{},m=r(d);n&&(m=u.call(m,Object.getOwnPropertySymbols(d)));for(var b=0;b4294967295||i(s)!==s)throw new o("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],f=!0,d=!0;if("length"in l&&u){var p=u(l,"length");p&&!p.configurable&&(f=!1),p&&!p.writable&&(d=!1)}return(f||d||!c)&&(a?n(l,"length",s,!0,!0):n(l,"length",s)),l}}}),Or=E({"../../node_modules/call-bind/index.js"(e,t){var r=Sa(),n=dt(),a=Mw(),u=Qt(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(i,o),s=Ta(),c=n("%Math.max%");t.exports=function(d){if(typeof d!="function")throw new u("a function is required");var p=l(r,i,arguments);return a(p,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return l(r,o,arguments)};s?s(t.exports,"apply",{value:f}):t.exports.apply=f}}),nt=E({"../../node_modules/call-bind/callBound.js"(e,t){var r=dt(),n=Or(),a=n(r("String.prototype.indexOf"));t.exports=function(u,o){var i=r(u,!!o);return typeof i=="function"&&a(u,".prototype.")>-1?n(i):i}}}),Ls=E({"../../node_modules/object.assign/implementation.js"(e,t){var r=Pa(),n=Xn()(),a=nt(),u=Object,o=a("Array.prototype.push"),i=a("Object.prototype.propertyIsEnumerable"),l=n?Object.getOwnPropertySymbols:null;t.exports=function(s,c){if(s==null)throw new TypeError("target must be an object");var f=u(s);if(arguments.length===1)return f;for(var d=1;d2&&!!arguments[2];return(!l||a)&&(n?r(o,"name",i,!0,!0):r(o,"name",i)),o}}}),Us=E({"../../node_modules/regexp.prototype.flags/implementation.js"(e,t){var r=kw(),n=Qt(),a=Object;t.exports=r(function(){if(this==null||this!==a(this))throw new n("RegExp.prototype.flags getter called on non-object");var u="";return this.hasIndices&&(u+="d"),this.global&&(u+="g"),this.ignoreCase&&(u+="i"),this.multiline&&(u+="m"),this.dotAll&&(u+="s"),this.unicode&&(u+="u"),this.unicodeSets&&(u+="v"),this.sticky&&(u+="y"),u},"get flags",!0)}}),Hs=E({"../../node_modules/regexp.prototype.flags/polyfill.js"(e,t){var r=Us(),n=Zt().supportsDescriptors,a=Object.getOwnPropertyDescriptor;t.exports=function(){if(n&&/a/mig.flags==="gim"){var u=a(RegExp.prototype,"flags");if(u&&typeof u.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var o="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){o+="d"}}),Object.defineProperty(i,"sticky",{get:function(){o+="y"}}),o==="dy")return u.get}}return r}}}),Bw=E({"../../node_modules/regexp.prototype.flags/shim.js"(e,t){var r=Zt().supportsDescriptors,n=Hs(),a=Object.getOwnPropertyDescriptor,u=Object.defineProperty,o=TypeError,i=Object.getPrototypeOf,l=/a/;t.exports=function(){if(!r||!i)throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var s=n(),c=i(l),f=a(c,"flags");return(!f||f.get!==s)&&u(c,"flags",{configurable:!0,enumerable:!1,get:s}),s}}}),$w=E({"../../node_modules/regexp.prototype.flags/index.js"(e,t){var r=Zt(),n=Or(),a=Us(),u=Hs(),o=Bw(),i=n(u());r(i,{getPolyfill:u,implementation:a,shim:o}),t.exports=i}}),er=E({"../../node_modules/has-tostringtag/shams.js"(e,t){var r=Xn();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Vs=E({"../../node_modules/is-arguments/index.js"(e,t){var r=er()(),n=nt(),a=n("Object.prototype.toString"),u=function(l){return r&&l&&typeof l=="object"&&Symbol.toStringTag in l?!1:a(l)==="[object Arguments]"},o=function(l){return u(l)?!0:l!==null&&typeof l=="object"&&typeof l.length=="number"&&l.length>=0&&a(l)!=="[object Array]"&&a(l.callee)==="[object Function]"},i=function(){return u(arguments)}();u.isLegacyArguments=o,t.exports=i?u:o}}),Dw=E({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),Lw=E({"../../node_modules/object-inspect/index.js"(e,t){var r=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&n&&typeof n.get=="function"?n.get:null,u=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=o&&i&&typeof i.get=="function"?i.get:null,s=o&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,f=c?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,p=d?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,b=m?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,R=String.prototype.match,w=String.prototype.slice,P=String.prototype.replace,S=String.prototype.toUpperCase,q=String.prototype.toLowerCase,y=RegExp.prototype.test,C=Array.prototype.concat,x=Array.prototype.join,j=Array.prototype.slice,L=Math.floor,U=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,ae=Object.prototype.propertyIsEnumerable,ue=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Y){return Y.__proto__}:null);function ce(Y,Z){if(Y===1/0||Y===-1/0||Y!==Y||Y&&Y>-1e3&&Y<1e3||y.call(/e/,Z))return Z;var be=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Y=="number"){var O=Y<0?-L(-Y):L(Y);if(O!==Y){var T=String(O),k=w.call(Z,T.length+1);return P.call(T,be,"$&_")+"."+P.call(P.call(k,/([0-9]{3})/g,"$&_"),/_$/,"")}}return P.call(Z,be,"$&_")}var A=Dw(),M=A.custom,F=K(M)?M:null;t.exports=function Y(Z,be,O,T){var k=be||{};if(ie(k,"quoteStyle")&&k.quoteStyle!=="single"&&k.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ie(k,"maxStringLength")&&(typeof k.maxStringLength=="number"?k.maxStringLength<0&&k.maxStringLength!==1/0:k.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var X=ie(k,"customInspect")?k.customInspect:!0;if(typeof X!="boolean"&&X!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ie(k,"indent")&&k.indent!==null&&k.indent!==" "&&!(parseInt(k.indent,10)===k.indent&&k.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ie(k,"numericSeparator")&&typeof k.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var re=k.numericSeparator;if(typeof Z>"u")return"undefined";if(Z===null)return"null";if(typeof Z=="boolean")return Z?"true":"false";if(typeof Z=="string")return Re(Z,k);if(typeof Z=="number"){if(Z===0)return 1/0/Z>0?"0":"-0";var le=String(Z);return re?ce(Z,le):le}if(typeof Z=="bigint"){var de=String(Z)+"n";return re?ce(Z,de):de}var fe=typeof k.depth>"u"?5:k.depth;if(typeof O>"u"&&(O=0),O>=fe&&fe>0&&typeof Z=="object")return B(Z)?"[Array]":"[Object]";var me=bt(k,O);if(typeof T>"u")T=[];else if(Oe(T,Z)>=0)return"[Circular]";function te(ar,un,gf){if(un&&(T=j.call(T),T.push(un)),gf){var oi={depth:k.depth};return ie(k,"quoteStyle")&&(oi.quoteStyle=k.quoteStyle),Y(ar,oi,O+1,T)}return Y(ar,k,O+1,T)}if(typeof Z=="function"&&!z(Z)){var ne=pe(Z),qe=Me(Z,te);return"[Function"+(ne?": "+ne:" (anonymous)")+"]"+(qe.length>0?" { "+x.call(qe,", ")+" }":"")}if(K(Z)){var Ne=J?P.call(String(Z),/^(Symbol\(.*\))_[^)]*$/,"$1"):ee.call(Z);return typeof Z=="object"&&!J?Ce(Ne):Ne}if(xe(Z)){for(var Pe="<"+q.call(String(Z.nodeName)),Ie=Z.attributes||[],Be=0;Be",Pe}if(B(Z)){if(Z.length===0)return"[]";var Ft=Me(Z,te);return me&&!We(Ft)?"["+ot(Ft,me)+"]":"[ "+x.call(Ft,", ")+" ]"}if(Q(Z)){var ht=Me(Z,te);return!("cause"in Error.prototype)&&"cause"in Z&&!ae.call(Z,"cause")?"{ ["+String(Z)+"] "+x.call(C.call("[cause]: "+te(Z.cause),ht),", ")+" }":ht.length===0?"["+String(Z)+"]":"{ ["+String(Z)+"] "+x.call(ht,", ")+" }"}if(typeof Z=="object"&&X){if(F&&typeof Z[F]=="function"&&A)return A(Z,{depth:fe-O});if(X!=="symbol"&&typeof Z.inspect=="function")return Z.inspect()}if(Ye(Z)){var or=[];return u&&u.call(Z,function(ar,un){or.push(te(un,Z,!0)+" => "+te(ar,Z))}),Te("Map",a.call(Z),or,me)}if(Ve(Z)){var At=[];return s&&s.call(Z,function(ar){At.push(te(ar,Z))}),Te("Set",l.call(Z),At,me)}if(Je(Z))return Se("WeakMap");if(Xe(Z))return Se("WeakSet");if(ke(Z))return Se("WeakRef");if(I(Z))return Ce(te(Number(Z)));if(W(Z))return Ce(te(U.call(Z)));if(D(Z))return Ce(_.call(Z));if(v(Z))return Ce(te(String(Z)));if(typeof window<"u"&&Z===window)return"{ [object Window] }";if(Z===global)return"{ [object globalThis] }";if(!$(Z)&&!z(Z)){var Ut=Me(Z,te),ct=ue?ue(Z)===Object.prototype:Z instanceof Object||Z.constructor===Object,io=Z instanceof Object?"":"null prototype",ni=!ct&&oe&&Object(Z)===Z&&oe in Z?w.call(se(Z),8,-1):io?"Object":"",yf=ct||typeof Z.constructor!="function"?"":Z.constructor.name?Z.constructor.name+" ":"",lo=yf+(ni||io?"["+x.call(C.call([],ni||[],io||[]),": ")+"] ":"");return Ut.length===0?lo+"{}":me?lo+"{"+ot(Ut,me)+"}":lo+"{ "+x.call(Ut,", ")+" }"}return String(Z)};function N(Y,Z,be){var O=(be.quoteStyle||Z)==="double"?'"':"'";return O+Y+O}function G(Y){return P.call(String(Y),/"/g,""")}function B(Y){return se(Y)==="[object Array]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function $(Y){return se(Y)==="[object Date]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function z(Y){return se(Y)==="[object RegExp]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function Q(Y){return se(Y)==="[object Error]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function v(Y){return se(Y)==="[object String]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function I(Y){return se(Y)==="[object Number]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function D(Y){return se(Y)==="[object Boolean]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function K(Y){if(J)return Y&&typeof Y=="object"&&Y instanceof Symbol;if(typeof Y=="symbol")return!0;if(!Y||typeof Y!="object"||!ee)return!1;try{return ee.call(Y),!0}catch{}return!1}function W(Y){if(!Y||typeof Y!="object"||!U)return!1;try{return U.call(Y),!0}catch{}return!1}var V=Object.prototype.hasOwnProperty||function(Y){return Y in this};function ie(Y,Z){return V.call(Y,Z)}function se(Y){return h.call(Y)}function pe(Y){if(Y.name)return Y.name;var Z=R.call(g.call(Y),/^function\s*([\w$]+)/);return Z?Z[1]:null}function Oe(Y,Z){if(Y.indexOf)return Y.indexOf(Z);for(var be=0,O=Y.length;beZ.maxStringLength){var be=Y.length-Z.maxStringLength,O="... "+be+" more character"+(be>1?"s":"");return Re(w.call(Y,0,Z.maxStringLength),Z)+O}var T=P.call(P.call(Y,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ze);return N(T,"single",Z)}function ze(Y){var Z=Y.charCodeAt(0),be={8:"b",9:"t",10:"n",12:"f",13:"r"}[Z];return be?"\\"+be:"\\x"+(Z<16?"0":"")+S.call(Z.toString(16))}function Ce(Y){return"Object("+Y+")"}function Se(Y){return Y+" { ? }"}function Te(Y,Z,be,O){var T=O?ot(be,O):x.call(be,", ");return Y+" ("+Z+") {"+T+"}"}function We(Y){for(var Z=0;Z=0)return!1;return!0}function bt(Y,Z){var be;if(Y.indent===" ")be=" ";else if(typeof Y.indent=="number"&&Y.indent>0)be=x.call(Array(Y.indent+1)," ");else return null;return{base:be,prev:x.call(Array(Z+1),be)}}function ot(Y,Z){if(Y.length===0)return"";var be=` +`+Z.prev+Z.base;return be+x.call(Y,","+be)+` +`+Z.prev}function Me(Y,Z){var be=B(Y),O=[];if(be){O.length=Y.length;for(var T=0;T=L)return j+1;var U=d(x,j);if(U<55296||U>56319)return j+1;var H=d(x,j+1);return H<56320||H>57343?j+1:j+2},b=function(x){var j=0;return{next:function(){var L=j>=x.length,U;return L||(U=x[j],j+=1),{done:L,value:U}}}},_=function(x,j){if(u(x)||r(x))return b(x);if(o(x)){var L=0;return{next:function(){var U=m(x,L),H=p(x,L,U);return L=U,{done:U>x.length,value:H}}}}if(j&&typeof x["_es6-shim iterator_"]<"u")return x["_es6-shim iterator_"]()},!l&&!s?t.exports=function(x){if(x!=null)return _(x,!0)}:(h=Ks(),g=Ys(),R=c("Map.prototype.forEach",!0),w=c("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(P=c("Map.prototype.iterator",!0),S=c("Set.prototype.iterator",!0)),q=c("Map.prototype.@@iterator",!0)||c("Map.prototype._es6-shim iterator_",!0),y=c("Set.prototype.@@iterator",!0)||c("Set.prototype._es6-shim iterator_",!0),C=function(x){if(h(x)){if(P)return n(P(x));if(q)return q(x);if(R){var j=[];return R(x,function(U,H){f(j,[H,U])}),b(j)}}if(g(x)){if(S)return n(S(x));if(y)return y(x);if(w){var L=[];return w(x,function(U){f(L,U)}),b(L)}}},t.exports=function(x){return C(x)||_(x)}));var a,u,o,i,l,s,c,f,d,p,m,b,_,h,g,R,w,P,S,q,y,C}}),Js=E({"../../node_modules/object-is/implementation.js"(e,t){var r=function(n){return n!==n};t.exports=function(n,a){return n===0&&a===0?1/n===1/a:!!(n===a||r(n)&&r(a))}}}),Xs=E({"../../node_modules/object-is/polyfill.js"(e,t){var r=Js();t.exports=function(){return typeof Object.is=="function"?Object.is:r}}}),Vw=E({"../../node_modules/object-is/shim.js"(e,t){var r=Xs(),n=Zt();t.exports=function(){var a=r();return n(Object,{is:a},{is:function(){return Object.is!==a}}),a}}}),zw=E({"../../node_modules/object-is/index.js"(e,t){var r=Zt(),n=Or(),a=Js(),u=Xs(),o=Vw(),i=n(u(),Object);r(i,{getPolyfill:u,implementation:a,shim:o}),t.exports=i}}),Qs=E({"../../node_modules/is-array-buffer/index.js"(e,t){var r=Or(),n=nt(),a=dt(),u=a("%ArrayBuffer%",!0),o=n("ArrayBuffer.prototype.byteLength",!0),i=n("Object.prototype.toString"),l=!!u&&!o&&new u(0).slice,s=!!l&&r(l);t.exports=o||s?function(c){if(!c||typeof c!="object")return!1;try{return o?o(c):s(c,0),!0}catch{return!1}}:u?function(c){return i(c)==="[object ArrayBuffer]"}:function(c){return!1}}}),Ww=E({"../../node_modules/is-date-object/index.js"(e,t){var r=Date.prototype.getDay,n=function(i){try{return r.call(i),!0}catch{return!1}},a=Object.prototype.toString,u="[object Date]",o=er()();t.exports=function(i){return typeof i!="object"||i===null?!1:o?n(i):a.call(i)===u}}}),Gw=E({"../../node_modules/is-regex/index.js"(e,t){var r=nt(),n=er()(),a,u,o,i;n&&(a=r("Object.prototype.hasOwnProperty"),u=r("RegExp.prototype.exec"),o={},l=function(){throw o},i={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=l));var l,s=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,f="[object RegExp]";t.exports=n?function(d){if(!d||typeof d!="object")return!1;var p=c(d,"lastIndex"),m=p&&a(p,"value");if(!m)return!1;try{u(d,i)}catch(b){return b===o}}:function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:s(d)===f}}}),Kw=E({"../../node_modules/is-shared-array-buffer/index.js"(e,t){var r=nt(),n=r("SharedArrayBuffer.prototype.byteLength",!0);t.exports=n?function(a){if(!a||typeof a!="object")return!1;try{return n(a),!0}catch{return!1}}:function(a){return!1}}}),Yw=E({"../../node_modules/is-number-object/index.js"(e,t){var r=Number.prototype.toString,n=function(i){try{return r.call(i),!0}catch{return!1}},a=Object.prototype.toString,u="[object Number]",o=er()();t.exports=function(i){return typeof i=="number"?!0:typeof i!="object"?!1:o?n(i):a.call(i)===u}}}),Jw=E({"../../node_modules/is-boolean-object/index.js"(e,t){var r=nt(),n=r("Boolean.prototype.toString"),a=r("Object.prototype.toString"),u=function(l){try{return n(l),!0}catch{return!1}},o="[object Boolean]",i=er()();t.exports=function(l){return typeof l=="boolean"?!0:l===null||typeof l!="object"?!1:i&&Symbol.toStringTag in l?u(l):a(l)===o}}}),Xw=E({"../../node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Oa()();n?(a=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,o=function(i){return typeof i.valueOf()!="symbol"?!1:u.test(a.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return o(i)}catch{return!1}}):t.exports=function(i){return!1};var a,u,o}}),Qw=E({"../../node_modules/has-bigints/index.js"(e,t){var r=typeof BigInt<"u"&&BigInt;t.exports=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"}}}),Zw=E({"../../node_modules/is-bigint/index.js"(e,t){var r=Qw()();r?(n=BigInt.prototype.valueOf,a=function(u){try{return n.call(u),!0}catch{}return!1},t.exports=function(u){return u===null||typeof u>"u"||typeof u=="boolean"||typeof u=="string"||typeof u=="number"||typeof u=="symbol"||typeof u=="function"?!1:typeof u=="bigint"?!0:a(u)}):t.exports=function(u){return!1};var n,a}}),eE=E({"../../node_modules/which-boxed-primitive/index.js"(e,t){var r=Gs(),n=Yw(),a=Jw(),u=Xw(),o=Zw();t.exports=function(i){if(i==null||typeof i!="object"&&typeof i!="function")return null;if(r(i))return"String";if(n(i))return"Number";if(a(i))return"Boolean";if(u(i))return"Symbol";if(o(i))return"BigInt"}}}),tE=E({"../../node_modules/is-weakmap/index.js"(e,t){var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,n=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,a;r||(a=function(i){return!1});var u=r?r.prototype.has:null,o=n?n.prototype.has:null;!a&&!u&&(a=function(i){return!1}),t.exports=a||function(i){if(!i||typeof i!="object")return!1;try{if(u.call(i,u),o)try{o.call(i,o)}catch{return!0}return i instanceof r}catch{}return!1}}}),rE=E({"../../node_modules/is-weakset/index.js"(e,t){var r=dt(),n=nt(),a=r("%WeakSet%",!0),u=n("WeakSet.prototype.has",!0);u?(o=n("WeakMap.prototype.has",!0),t.exports=function(i){if(!i||typeof i!="object")return!1;try{if(u(i,u),o)try{o(i,o)}catch{return!0}return i instanceof a}catch{}return!1}):t.exports=function(i){return!1};var o}}),nE=E({"../../node_modules/which-collection/index.js"(e,t){var r=Ks(),n=Ys(),a=tE(),u=rE();t.exports=function(o){if(o&&typeof o=="object"){if(r(o))return"Map";if(n(o))return"Set";if(a(o))return"WeakMap";if(u(o))return"WeakSet"}return!1}}}),oE=E({"../../node_modules/is-callable/index.js"(e,t){var r=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,a,u;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{a=Object.defineProperty({},"length",{get:function(){throw u}}),u={},n(function(){throw 42},null,a)}catch(w){w!==u&&(n=null)}else n=null;var o=/^\s*class\b/,i=function(w){try{var P=r.call(w);return o.test(P)}catch{return!1}},l=function(w){try{return i(w)?!1:(r.call(w),!0)}catch{return!1}},s=Object.prototype.toString,c="[object Object]",f="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",b="[object HTMLCollection]",_=typeof Symbol=="function"&&!!Symbol.toStringTag,h=!(0 in[,]),g=function(){return!1};typeof document=="object"&&(R=document.all,s.call(R)===s.call(document.all)&&(g=function(w){if((h||!w)&&(typeof w>"u"||typeof w=="object"))try{var P=s.call(w);return(P===p||P===m||P===b||P===c)&&w("")==null}catch{}return!1}));var R;t.exports=n?function(w){if(g(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;try{n(w,null,a)}catch(P){if(P!==u)return!1}return!i(w)&&l(w)}:function(w){if(g(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;if(_)return l(w);if(i(w))return!1;var P=s.call(w);return P!==f&&P!==d&&!/^\[object HTML/.test(P)?!1:l(w)}}}),aE=E({"../../node_modules/for-each/index.js"(e,t){var r=oE(),n=Object.prototype.toString,a=Object.prototype.hasOwnProperty,u=function(s,c,f){for(var d=0,p=s.length;d=3&&(d=f),n.call(s)==="[object Array]"?u(s,c,d):typeof s=="string"?o(s,c,d):i(s,c,d)};t.exports=l}}),iE=E({"../../node_modules/possible-typed-array-names/index.js"(e,t){t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}}),lE=E({"../../node_modules/available-typed-arrays/index.js"(e,t){var r=iE(),n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var a=[],u=0;u"u"?global:globalThis,c=n(),f=u("String.prototype.slice"),d=Object.getPrototypeOf,p=u("Array.prototype.indexOf",!0)||function(h,g){for(var R=0;R-1?g:g!=="Object"?!1:_(h)}return o?b(h):null}}}),uE=E({"../../node_modules/array-buffer-byte-length/index.js"(e,t){var r=nt(),n=r("ArrayBuffer.prototype.byteLength",!0),a=Qs();t.exports=function(u){return a(u)?n?n(u):u.byteLength:NaN}}}),cE=E({"../../node_modules/deep-equal/index.js"(e,t){var r=Nw(),n=nt(),a=$w(),u=dt(),o=Hw(),i=zs(),l=zw(),s=Vs(),c=Ws(),f=Qs(),d=Ww(),p=Gw(),m=Kw(),b=Pa(),_=eE(),h=nE(),g=sE(),R=uE(),w=n("SharedArrayBuffer.prototype.byteLength",!0),P=n("Date.prototype.getTime"),S=Object.getPrototypeOf,q=n("Object.prototype.toString"),y=u("%Set%",!0),C=n("Map.prototype.has",!0),x=n("Map.prototype.get",!0),j=n("Map.prototype.size",!0),L=n("Set.prototype.add",!0),U=n("Set.prototype.delete",!0),H=n("Set.prototype.has",!0),ee=n("Set.prototype.size",!0);function J(B,$,z,Q){for(var v=o(B),I;(I=v.next())&&!I.done;)if(A($,I.value,z,Q))return U(B,I.value),!0;return!1}function oe(B){if(typeof B>"u")return null;if(typeof B!="object")return typeof B=="symbol"?!1:typeof B=="string"||typeof B=="number"?+B==+B:!0}function ae(B,$,z,Q,v,I){var D=oe(z);if(D!=null)return D;var K=x($,D),W=r({},v,{strict:!1});return typeof K>"u"&&!C($,D)||!A(Q,K,W,I)?!1:!C(B,D)&&A(Q,K,W,I)}function ue(B,$,z){var Q=oe(z);return Q??(H($,Q)&&!H(B,Q))}function ce(B,$,z,Q,v,I){for(var D=o(B),K,W;(K=D.next())&&!K.done;)if(W=K.value,A(z,W,v,I)&&A(Q,x($,W),v,I))return U(B,W),!0;return!1}function A(B,$,z,Q){var v=z||{};if(v.strict?l(B,$):B===$)return!0;var I=_(B),D=_($);if(I!==D)return!1;if(!B||!$||typeof B!="object"&&typeof $!="object")return v.strict?l(B,$):B==$;var K=Q.has(B),W=Q.has($),V;if(K&&W){if(Q.get(B)===Q.get($))return!0}else V={};return K||Q.set(B,V),W||Q.set($,V),G(B,$,v,Q)}function M(B){return!B||typeof B!="object"||typeof B.length!="number"||typeof B.copy!="function"||typeof B.slice!="function"||B.length>0&&typeof B[0]!="number"?!1:!!(B.constructor&&B.constructor.isBuffer&&B.constructor.isBuffer(B))}function F(B,$,z,Q){if(ee(B)!==ee($))return!1;for(var v=o(B),I=o($),D,K,W;(D=v.next())&&!D.done;)if(D.value&&typeof D.value=="object")W||(W=new y),L(W,D.value);else if(!H($,D.value)){if(z.strict||!ue(B,$,D.value))return!1;W||(W=new y),L(W,D.value)}if(W){for(;(K=I.next())&&!K.done;)if(K.value&&typeof K.value=="object"){if(!J(W,K.value,z.strict,Q))return!1}else if(!z.strict&&!H(B,K.value)&&!J(W,K.value,z.strict,Q))return!1;return ee(W)===0}return!0}function N(B,$,z,Q){if(j(B)!==j($))return!1;for(var v=o(B),I=o($),D,K,W,V,ie,se;(D=v.next())&&!D.done;)if(V=D.value[0],ie=D.value[1],V&&typeof V=="object")W||(W=new y),L(W,V);else if(se=x($,V),typeof se>"u"&&!C($,V)||!A(ie,se,z,Q)){if(z.strict||!ae(B,$,V,ie,z,Q))return!1;W||(W=new y),L(W,V)}if(W){for(;(K=I.next())&&!K.done;)if(V=K.value[0],se=K.value[1],V&&typeof V=="object"){if(!ce(W,B,V,se,z,Q))return!1}else if(!z.strict&&(!B.has(V)||!A(x(B,V),se,z,Q))&&!ce(W,B,V,se,r({},z,{strict:!1}),Q))return!1;return ee(W)===0}return!0}function G(B,$,z,Q){var v,I;if(typeof B!=typeof $||B==null||$==null||q(B)!==q($)||s(B)!==s($))return!1;var D=c(B),K=c($);if(D!==K)return!1;var W=B instanceof Error,V=$ instanceof Error;if(W!==V||(W||V)&&(B.name!==$.name||B.message!==$.message))return!1;var ie=p(B),se=p($);if(ie!==se||(ie||se)&&(B.source!==$.source||a(B)!==a($)))return!1;var pe=d(B),Oe=d($);if(pe!==Oe||(pe||Oe)&&P(B)!==P($)||z.strict&&S&&S(B)!==S($))return!1;var Ye=g(B),Je=g($);if(Ye!==Je)return!1;if(Ye||Je){if(B.length!==$.length)return!1;for(v=0;v=0;v--)if(Ce[v]!=Se[v])return!1;for(v=Ce.length-1;v>=0;v--)if(I=Ce[v],!A(B[I],$[I],z,Q))return!1;var Te=h(B),We=h($);return Te!==We?!1:Te==="Set"||We==="Set"?F(B,$,z,Q):Te==="Map"?N(B,$,z,Q):!0}t.exports=function(B,$,z){return A(B,$,z,i())}}}),dE=E({"node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(cE()),r=a(on()),n=a(qa());function a(q){return q&&q.__esModule?q:{default:q}}function u(q,y){return l(q)||i(q,y)||c(q,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(q,y){var C=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(C!=null){var x=[],j=!0,L=!1,U,H;try{for(C=C.call(q);!(j=(U=C.next()).done)&&(x.push(U.value),!(y&&x.length===y));j=!0);}catch(ee){L=!0,H=ee}finally{try{!j&&C.return!=null&&C.return()}finally{if(L)throw H}}return x}}function l(q){if(Array.isArray(q))return q}function s(q,y){var C=typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(!C){if(Array.isArray(q)||(C=c(q))||y&&q&&typeof q.length=="number"){C&&(q=C);var x=0,j=function(){};return{s:j,n:function(){return x>=q.length?{done:!0}:{done:!1,value:q[x++]}},e:function(ee){throw ee},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L=!0,U=!1,H;return{s:function(){C=C.call(q)},n:function(){var ee=C.next();return L=ee.done,ee},e:function(ee){U=!0,H=ee},f:function(){try{!L&&C.return!=null&&C.return()}finally{if(U)throw H}}}}function c(q,y){if(q){if(typeof q=="string")return f(q,y);var C=Object.prototype.toString.call(q).slice(8,-1);if(C==="Object"&&q.constructor&&(C=q.constructor.name),C==="Map"||C==="Set")return Array.from(q);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return f(q,y)}}function f(q,y){(y==null||y>q.length)&&(y=q.length);for(var C=0,x=new Array(y);C1&&arguments[1]!==void 0?arguments[1]:null,C=s(d),x;try{for(C.s();!(x=C.n()).done;){var j=u(x.value,2),L=j[0],U=j[1];q.call(y,U,L,d)}}catch(H){C.e(H)}finally{C.f()}},get:function(q){var y=d.find(function(C){return(0,t.default)(q,C[0])});return y&&y[1]},has:function(q){return!!P.get(q)},keys:function(){return d.map(function(q){var y=u(q,1),C=y[0];return C})},values:function(){return d.map(function(q){var y=u(q,2),C=y[1];return C})}},S=(0,r.default)(P,P.entries());e.default=S}}),fE=E({"node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(on()),r=n(qa());function n(h){return h&&h.__esModule?h:{default:h}}function a(h,g){return i(h)||o(h,g)||s(h,g)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(h,g){var R=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(R!=null){var w=[],P=!0,S=!1,q,y;try{for(R=R.call(h);!(P=(q=R.next()).done)&&(w.push(q.value),!(g&&w.length===g));P=!0);}catch(C){S=!0,y=C}finally{try{!P&&R.return!=null&&R.return()}finally{if(S)throw y}}return w}}function i(h){if(Array.isArray(h))return h}function l(h,g){var R=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!R){if(Array.isArray(h)||(R=s(h))||g&&h&&typeof h.length=="number"){R&&(h=R);var w=0,P=function(){};return{s:P,n:function(){return w>=h.length?{done:!0}:{done:!1,value:h[w++]}},e:function(C){throw C},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,q=!1,y;return{s:function(){R=R.call(h)},n:function(){var C=R.next();return S=C.done,C},e:function(C){q=!0,y=C},f:function(){try{!S&&R.return!=null&&R.return()}finally{if(q)throw y}}}}function s(h,g){if(h){if(typeof h=="string")return c(h,g);var R=Object.prototype.toString.call(h).slice(8,-1);if(R==="Object"&&h.constructor&&(R=h.constructor.name),R==="Map"||R==="Set")return Array.from(h);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return c(h,g)}}function c(h,g){(g==null||g>h.length)&&(g=h.length);for(var R=0,w=new Array(g);R1&&arguments[1]!==void 0?arguments[1]:null,R=l(f),w;try{for(R.s();!(w=R.n()).done;){var P=a(w.value,2),S=P[0],q=P[1];h.call(g,q,S,f)}}catch(y){R.e(y)}finally{R.f()}},get:function(h){var g=f.find(function(R){return R[0]===h});return g&&g[1]},has:function(h){return!!b.get(h)},keys:function(){return f.map(function(h){var g=a(h,1),R=g[0];return R})},values:function(){return f.map(function(h){var g=a(h,2),R=g[1];return R})}},_=(0,t.default)(b,b.entries());e.default=_}}),pE=E({"node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(Vg()),r=o(zg()),n=o(qa()),a=o(dE()),u=o(fE());function o(d){return d&&d.__esModule?d:{default:d}}var i=t.default;e.aria=i;var l=r.default;e.dom=l;var s=n.default;e.roles=s;var c=a.default;e.elementRoles=c;var f=u.default;e.roleElements=f}}),mE=E({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function i(s,c){if(!o[s]){o[s]={};for(var f=0;f>>8,f[d*2+1]=m%256}return f},decompressFromUint8Array:function(s){if(s==null)return l.decompress(s);for(var c=new Array(s.length/2),f=0,d=c.length;f>1}else{for(p=1,d=0;d>1}R--,R==0&&(R=Math.pow(2,P),P++),delete b[g]}else for(p=m[g],d=0;d>1;R--,R==0&&(R=Math.pow(2,P),P++),m[h]=w++,g=String(_)}if(g!==""){if(Object.prototype.hasOwnProperty.call(b,g)){if(g.charCodeAt(0)<256){for(d=0;d>1}else{for(p=1,d=0;d>1}R--,R==0&&(R=Math.pow(2,P),P++),delete b[g]}else for(p=m[g],d=0;d>1;R--,R==0&&(R=Math.pow(2,P),P++)}for(p=2,d=0;d>1;for(;;)if(q=q<<1,y==c-1){S.push(f(q));break}else y++;return S.join("")},decompress:function(s){return s==null?"":s==""?null:l._decompress(s.length,32768,function(c){return s.charCodeAt(c)})},_decompress:function(s,c,f){var d=[],p=4,m=4,b=3,_="",h=[],g,R,w,P,S,q,y,C={val:f(0),position:c,index:1};for(g=0;g<3;g+=1)d[g]=g;for(w=0,S=Math.pow(2,2),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;switch(w){case 0:for(w=0,S=Math.pow(2,8),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;y=n(w);break;case 1:for(w=0,S=Math.pow(2,16),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;y=n(w);break;case 2:return""}for(d[3]=y,R=y,h.push(y);;){if(C.index>s)return"";for(w=0,S=Math.pow(2,b),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;switch(y=w){case 0:for(w=0,S=Math.pow(2,8),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;d[m++]=n(w),y=m-1,p--;break;case 1:for(w=0,S=Math.pow(2,16),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=c,C.val=f(C.index++)),w|=(P>0?1:0)*q,q<<=1;d[m++]=n(w),y=m-1,p--;break;case 2:return h.join("")}if(p==0&&(p=Math.pow(2,b),b++),d[y])_=d[y];else if(y===m)_=R+R.charAt(0);else return null;h.push(_),d[m++]=R+_.charAt(0),p--,R=_,p==0&&(p=Math.pow(2,b),b++)}}};return l}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),ut=ve(sm(),1),co=ut.default.expect;ut.default.version;ut.default.Assertion;ut.default.AssertionError;var Cn=ut.default.util;ut.default.config;var fo=ut.default.use;ut.default.should;var bE=ut.default.assert;ut.default.core;var hE=ut.default,yE=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function gt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function gE(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function vE(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function To(e){return Object.prototype.toString.apply(e).slice(8,-1)}function _E(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Zs(e){let t=new Set;return vE(e)?[]:(_E(e,t),Array.from(t))}var eu={forceWritable:!1};function Ei(e,t=eu){return Ao(e,new WeakMap,t)}function Ao(e,t,r=eu){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=Ao(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=Zs(e);for(let o of u){let i=Object.getOwnPropertyDescriptor(e,o);if(!i)continue;let l=Ao(e[o],t,r);"get"in i?Object.defineProperty(a,o,{...i,get(){return l}}):Object.defineProperty(a,o,{...i,writable:r.forceWritable?!0:i.writable,value:l})}return a}return e}var xo=ve(Hn(),1),wE=ve($n(),1),{AsymmetricMatcher:EE,DOMCollection:RE,DOMElement:CE,Immutable:qE,ReactElement:PE,ReactTestComponent:OE}=xo.plugins,Ri=[OE,PE,CE,RE,qE,EE];function qt(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,u;try{u=(0,xo.format)(e,{maxDepth:t,escapeString:!1,plugins:Ri,...n})}catch{u=(0,xo.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ri,...n})}return u.length>=a&&t>1?qt(e,Math.floor(t/2)):u}var SE=/%[sdjifoOcj%]/g;function TE(...e){if(typeof e[0]!="string"){let u=[];for(let o=0;o{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?Mr(o,{depth:0,colors:!1,compact:3}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Mr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Mr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let i=o.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw o}default:return u}});for(let u=e[r];r(e[t]=ja,e),{isColorSupported:!1});function Na(){return globalThis[AE]||jE}ve(Hn(),1);ve($n(),1);var _t=ve(Hn(),1),Ci=ve(ps(),1);function qi(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var hr=-1,yr=1,yn=0,jr=class{constructor(e,t){Ht(this,0);Ht(this,1);this[0]=e,this[1]=t}},tu="Compared values have no visual difference.",NE="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function IE(e,t){return e.replace(/\s+$/,r=>t(r))}function Ia(e,t,r,n,a,u){return e.length!==0?r(`${n} ${IE(e,a)}`):n!==" "?r(n):t&&u.length!==0?r(`${n} ${u}`):""}function ru(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Ia(e,t,r,n,a,u)}function nu(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Ia(e,t,r,n,a,u)}function ou(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Ia(e,t,r,n,a,u)}function Pi(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function kE(e,t){let r=e.length,n=t.contextLines,a=n+n,u=r,o=!1,i=0,l=0;for(;l!==r;){let w=l;for(;l!==r&&e[l][0]===yn;)l+=1;if(w!==l)if(w===0)l>n&&(u-=l-n,o=!0);else if(l===r){let P=l-w;P>n&&(u-=P-n,o=!0)}else{let P=l-w;P>a&&(u-=P-a,i+=1)}for(;l!==r&&e[l][0]!==yn;)l+=1}let s=i!==0||o;i!==0?u+=i+1:o&&(u+=1);let c=u-1,f=[],d=0;s&&f.push("");let p=0,m=0,b=0,_=0,h=w=>{let P=f.length;f.push(ou(w,P===0||P===c,t)),b+=1,_+=1},g=w=>{let P=f.length;f.push(ru(w,P===0||P===c,t)),b+=1},R=w=>{let P=f.length;f.push(nu(w,P===0||P===c,t)),_+=1};for(l=0;l!==r;){let w=l;for(;l!==r&&e[l][0]===yn;)l+=1;if(w!==l)if(w===0){l>n&&(w=l-n,p=w,m=w,b=p,_=m);for(let P=w;P!==l;P+=1)h(e[P][1])}else if(l===r){let P=l-w>n?w+n:l;for(let S=w;S!==P;S+=1)h(e[S][1])}else{let P=l-w;if(P>a){let S=w+n;for(let y=w;y!==S;y+=1)h(e[y][1]);f[d]=Pi(p,b,m,_,t),d=f.length,f.push("");let q=P-a;p=b+q,m=_+q,b=p,_=m;for(let y=l-n;y!==l;y+=1)h(e[y][1])}else for(let S=w;S!==l;S+=1)h(e[S][1])}for(;l!==r&&e[l][0]===hr;)g(e[l][1]),l+=1;for(;l!==r&&e[l][0]===yr;)R(e[l][1]),l+=1}return s&&(f[d]=Pi(p,b,m,_,t)),f.join(` +`)}function BE(e,t){return e.map((r,n,a)=>{let u=r[1],o=n===0||n===a.length-1;switch(r[0]){case hr:return ru(u,o,t);case yr:return nu(u,o,t);default:return ou(u,o,t)}}).join(` +`)}var Oi=e=>e,au=5;function $E(){let e=Na();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:Oi,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Oi,compareKeys:void 0,contextLines:au,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow}}function DE(e){return e&&typeof e=="function"?e:void 0}function LE(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:au}function an(e={}){return{...$E(),...e,compareKeys:DE(e.compareKeys),contextLines:LE(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function FE(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case hr:t+=1;break;case yr:r+=1;break}}),{a:t,b:r}}function UE({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:u,includeChangeCounts:o,omitAnnotationLines:i},l){if(i)return"";let s="",c="";if(o){let p=String(l.a),m=String(l.b),b=n.length-e.length,_=" ".repeat(Math.max(0,b)),h=" ".repeat(Math.max(0,-b)),g=m.length-p.length,R=" ".repeat(Math.max(0,g)),w=" ".repeat(Math.max(0,-g));s=`${_} ${r} ${R}${p}`,c=`${h} ${u} ${w}${m}`}let f=`${r} ${e}${s}`,d=`${u} ${n}${c}`;return`${t(f)} +${a(d)} + +`}function iu(e,t){return UE(t,FE(e))+(t.expand?BE(e,t):kE(e,t))}function ka(e,t,r){return iu(lu(sr(e)?[]:e,sr(t)?[]:t),an(r))}function HE(e,t,r,n,a){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ka(e,t,a);let u=lu(r,n),o=0,i=0;return u.forEach(l=>{switch(l[0]){case hr:l[1]=e[o],o+=1;break;case yr:l[1]=t[i],i+=1;break;default:l[1]=t[i],o+=1,i+=1}}),iu(u,an(a))}function lu(e,t){let r=e.length,n=t.length,a=(s,c)=>e[s]===t[c],u=[],o=0,i=0,l=(s,c,f)=>{for(;o!==c;o+=1)u.push(new jr(hr,e[o]));for(;i!==f;i+=1)u.push(new jr(yr,t[i]));for(;s!==0;s-=1,o+=1,i+=1)u.push(new jr(yn,t[i]))};for((Ci.default.default||Ci.default)(r,n,a,l);o!==r;o+=1)u.push(new jr(hr,e[o]));for(;i!==n;i+=1)u.push(new jr(yr,t[i]));return u}function Mo(e,t){let{commonColor:r}=an(t);return r(e)}var{AsymmetricMatcher:VE,DOMCollection:zE,DOMElement:WE,Immutable:GE,ReactElement:KE,ReactTestComponent:YE}=_t.plugins,su=[YE,KE,WE,zE,GE,VE],jo={plugins:su},uu={callToJSON:!1,maxDepth:10,plugins:su};function Ur(e,t,r){if(Object.is(e,t))return"";let n=qi(e),a=n,u=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==qi(t)){let{aAnnotation:o,aColor:i,aIndicator:l,bAnnotation:s,bColor:c,bIndicator:f}=an(r),d=No(uu,r),p=(0,_t.format)(e,d),m=(0,_t.format)(t,d),b=`${i(`${l} ${o}:`)} +${p}`,_=`${c(`${f} ${s}:`)} +${m}`;return`${b} + +${_}`}if(u)return null;switch(n){case"string":return ka(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return JE(e,t,r);case"map":return po(Si(e),Si(t),r);case"set":return po(Ti(e),Ti(t),r);default:return po(e,t,r)}}function JE(e,t,r){let n=(0,_t.format)(e,jo),a=(0,_t.format)(t,jo);return n===a?"":ka(n.split(` +`),a.split(` +`),r)}function Si(e){return new Map(Array.from(e.entries()).sort())}function Ti(e){return new Set(Array.from(e.values()).sort())}function po(e,t,r){let n,a=!1;try{let o=No(jo,r);n=Ai(e,t,o,r)}catch{a=!0}let u=Mo(tu,r);if(n===void 0||n===u){let o=No(uu,r);n=Ai(e,t,o,r),n!==u&&!a&&(n=`${Mo(NE,r)} + +${n}`)}return n}function No(e,t){let{compareKeys:r}=an(t);return{...e,compareKeys:r}}function Ai(e,t,r,n){let a={...r,indent:0},u=(0,_t.format)(e,a),o=(0,_t.format)(t,a);if(u===o)return Mo(tu,n);{let i=(0,_t.format)(e,r),l=(0,_t.format)(t,r);return HE(i.split(` +`),l.split(` +`),u.split(` +`),o.split(` +`),n)}}function gn(e,t){if(!e)throw new Error(t)}function ur(e,t){return typeof t===e}function XE(e){return e instanceof Promise}function Io(e,t,r){Object.defineProperty(e,t,r)}function dr(e,t,r){Object.defineProperty(e,t,{value:r})}var Dr=Symbol.for("tinyspy:spy"),QE=new Set,ZE=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]},eR=e=>(Io(e,Dr,{value:{reset:()=>ZE(e[Dr])}}),e[Dr]),ko=e=>e[Dr]||eR(e);function tR(e){gn(ur("function",e)||ur("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=ko(t);a.called=!0,a.callCount++,a.calls.push(n);let u=a.next.shift();if(u){a.results.push(u);let[s,c]=u;if(s==="ok")return c;throw c}let o,i="ok";if(a.impl)try{new.target?o=Reflect.construct(a.impl,n,new.target):o=a.impl.apply(this,n),i="ok"}catch(s){throw o=s,i="error",a.results.push([i,s]),s}let l=[i,o];if(XE(o)){let s=o.then(c=>l[1]=c).catch(c=>{throw l[0]="error",l[1]=c,c});Object.assign(s,o),o=s}return a.results.push(l),o};dr(t,"_isMockFunction",!0),dr(t,"length",e?e.length:0),dr(t,"name",e&&e.name||"spy");let r=ko(t);return r.reset(),r.impl=e,t}var xi=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function rR(e,t,r){gn(!ur("undefined",e),"spyOn could not find an object to spy upon"),gn(ur("object",e)||ur("function",e),"cannot spyOn on a primitive value");let n=()=>{if(!ur("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")},[a,u]=n(),o=xi(e,a),i=Object.getPrototypeOf(e),l=i&&xi(i,a),s=o||l;gn(s||a in e,`${String(a)} does not exist`);let c=!1;u==="value"&&s&&!s.value&&s.get&&(u="get",c=!0,r=s.get());let f;s?f=s[u]:u!=="value"?f=()=>e[a]:f=e[a],r||(r=f);let d=tR(r),p=_=>{let{value:h,...g}=s||{configurable:!0,writable:!0};u!=="value"&&delete g.writable,g[u]=_,Io(e,a,g)},m=()=>s?Io(e,a,s):p(f),b=d[Dr];return dr(b,"restore",m),dr(b,"getOriginal",()=>c?f():f),dr(b,"willCall",_=>(b.impl=_,d)),p(c?()=>d:d),QE.add(d),d}function nR(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}ve(Hn(),1);ve(ps(),1);ve($n(),1);var oR="@@__IMMUTABLE_RECORD__@@",aR="@@__IMMUTABLE_ITERABLE__@@";function iR(e){return e&&(e[aR]||e[oR])}var lR=Object.getPrototypeOf({});function Mi(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function Lr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(iR(e))return Lr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${TE(e.sample)}`;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=Lr(n,t)}catch(u){r[a]=Mi(u)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==lR;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=Lr(e[a],t)}catch(u){delete r[a],r[a]=Mi(u)}}),n=Object.getPrototypeOf(n);return r}}function ji(e){return e.replace(/__vite_ssr_import_\d+__\./g,"")}function sR(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=Ei(e.actual,{forceWritable:!0}),n=Ei(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=cu(r,n);e.diff=Ur(u,a,{...t,...e.diffOptions})}typeof e.expected!="string"&&(e.expected=qt(e.expected,10)),typeof e.actual!="string"&&(e.actual=qt(e.actual,10));try{typeof e.message=="string"&&(e.message=ji(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=ji(e.cause.message))}catch{}try{return Lr(e)}catch(r){return Lr(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} +Inner error message: ${e==null?void 0:e.message}`))}}function Ni(e){return To(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Ii(e,t){let r=To(e),n=To(t);return r===n&&r==="Object"}function cu(e,t,r=new WeakSet,n=new WeakSet){return Ii(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Zs(t).forEach(a=>{let u=t[a],o=e[a];if(Ni(u))u.asymmetricMatch(o)&&(e[a]=u);else if(Ni(o))o.asymmetricMatch(u)&&(t[a]=o);else if(Ii(o,u)){let i=cu(o,u,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var Hr=Symbol.for("matchers-object"),qn=Symbol.for("$$jest-matchers-object-storybook"),Qn=Symbol.for("expect-global"),Bo=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Hr)){let e=new WeakMap;Object.defineProperty(globalThis,Hr,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,qn)){let e=Object.create(null);Object.defineProperty(globalThis,qn,{configurable:!0,get:()=>({state:globalThis[Hr].get(globalThis[Qn]),matchers:e})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Bo)){let e=Object.create(null);Object.defineProperty(globalThis,Bo,{get:()=>e})}function Vr(e){return globalThis[Hr].get(e)}function mo(e,t){let r=globalThis[Hr],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}function du(){let e=()=>Na(),t=e().green,r=e().red,n=e().inverse,a=e().bold,u=e().dim;function o(s,c="received",f="expected",d={}){let{comment:p="",isDirectExpectCall:m=!1,isNot:b=!1,promise:_="",secondArgument:h="",expectedColor:g=t,receivedColor:R=r,secondArgumentColor:w=t}=d,P="",S="expect";return!m&&c!==""&&(P+=u(`${S}(`)+R(c),S=")"),_!==""&&(P+=u(`${S}.`)+_,S=""),b&&(P+=`${u(`${S}.`)}not`,S=""),s.includes(".")?S+=s:(P+=u(`${S}.`)+s,S=""),f===""?S+="()":(P+=u(`${S}(`)+g(f),h&&(P+=u(", ")+w(h)),S=")"),p!==""&&(S+=` // ${p}`),S!==""&&(P+=u(S)),P}let i="·",l=s=>s.replace(/\s+$/gm,c=>i.repeat(c.length));return{EXPECTED_COLOR:t,RECEIVED_COLOR:r,INVERTED_COLOR:n,BOLD_WEIGHT:a,DIM_COLOR:u,matcherHint:o,printReceived:s=>r(l(qt(s))),printExpected:s=>t(l(qt(s)))}}function _e(e,t,r,n){return r=r||[],fu(e,t,[],[],r,n?pu:cR)}function ki(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&<("Function",e.asymmetricMatch)}function uR(e,t){let r=ki(e),n=ki(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function fu(e,t,r,n,a,u){let o=!0,i=uR(e,t);if(i!==void 0)return i;for(let p=0;pObject.getOwnPropertyDescriptor(e,n).enumerable))}function cR(e,t){return pu(e,t)&&e[t]!==void 0}function pu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function lt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function $i(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var dR="@@__IMMUTABLE_KEYED__@@",fR="@@__IMMUTABLE_SET__@@",mu="@@__IMMUTABLE_ORDERED__@@";function pR(e){return!!(e&&e[dR]&&!e[mu])}function mR(e){return!!(e&&e[fR]&&!e[mu])}var bu=Symbol.iterator;function Di(e){return!!(e!=null&&e[bu])}function Ge(e,t,r=[],n=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Di(e)||!Di(t))return;if(e.constructor!==t.constructor)return!1;let a=r.length;for(;a--;)if(r[a]===e)return n[a]===t;r.push(e),n.push(t);let u=(i,l)=>Ge(i,l,[...r],[...n]);if(e.size!==void 0){if(e.size!==t.size)return!1;if(lt("Set",e)||mR(e)){let i=!0;for(let l of e)if(!t.has(l)){let s=!1;for(let c of t)_e(l,c,[u])===!0&&(s=!0);if(s===!1){i=!1;break}}return r.pop(),n.pop(),i}else if(lt("Map",e)||pR(e)){let i=!0;for(let l of e)if(!t.has(l[0])||!_e(l[1],t.get(l[0]),[u])){let s=!1;for(let c of t){let f=_e(l[0],c[0],[u]),d=!1;f===!0&&(d=_e(l[1],c[1],[u])),d===!0&&(s=!0)}if(s===!1){i=!1;break}}return r.pop(),n.pop(),i}}let o=t[bu]();for(let i of e){let l=o.next();if(l.done||!_e(i,l.value,[u]))return!1}return o.next().done?(r.pop(),n.pop(),!0):!1}function hu(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||hu(Object.getPrototypeOf(e),t)}function Li(e){return gE(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Ba(e,t){let r=(n=new WeakMap)=>(a,u)=>{if(Li(u))return Object.keys(u).every(o=>{if(Li(u[o])){if(n.has(u[o]))return _e(a[o],u[o],[Ge]);n.set(u[o],!0)}let i=a!=null&&hu(a,o)&&_e(a[o],u[o],[Ge,r(n)]);return n.delete(u[o]),i})};return r()(e,t)}function $o(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Fi(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;ae.some(n=>_e(r,n)));return this.inverse?!t:t}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},gR=class extends Lt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return t?t[1]:""}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Wi=class extends Lt{constructor(e,t=!1){if(!lt("String",e)&&!lt("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=lt("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},Gi=class extends Lt{constructor(t,r=2,n=!1){if(!lt("Number",t))throw new Error("Expected is not a Number");if(!lt("Number",r))throw new Error("Precision is not a Number");super(t);Ht(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!lt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${hR("digit",this.precision)})`].join(" ")}},vR=(e,t)=>{t.addMethod(e.expect,"anything",()=>new yR),t.addMethod(e.expect,"any",r=>new gR(r)),t.addMethod(e.expect,"stringContaining",r=>new Hi(r)),t.addMethod(e.expect,"objectContaining",r=>new Vi(r)),t.addMethod(e.expect,"arrayContaining",r=>new zi(r)),t.addMethod(e.expect,"stringMatching",r=>new Wi(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Gi(r,n)),e.expect.not={stringContaining:r=>new Hi(r,!0),objectContaining:r=>new Vi(r,!0),arrayContaining:r=>new zi(r,!0),stringMatching:r=>new Wi(r,!0),closeTo:(r,n)=>new Gi(r,n,!0)}};function Ki(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function yu(e,t){return function(...r){var n;let a=e.flag(this,"vitest-test");if(!(a!=null&&a.context._local?a.context.expect.getState():Vr(globalThis[Qn])).soft)return t.apply(this,r);if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(u){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(sR(u))}}}var _R=(e,t)=>{let{AssertionError:r}=e,n=()=>Na();function a(c,f){let d=p=>{let m=yu(t,f);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[qn].matchers,p,m)};Array.isArray(c)?c.forEach(p=>d(p)):d(c)}["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,f=>function(...d){let p=t.flag(this,"promise"),m=t.flag(this,"object"),b=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="function"){if(b)return;{let _=t.flag(this,"message")||"expected promise to throw an error, but it didn't",h={showDiff:!1};throw new r(_,h,t.flag(this,"ssfi"))}}f.apply(this,d)})}),a("withTest",function(c){return t.flag(this,"vitest-test",c),this}),a("toEqual",function(c){let f=t.flag(this,"object"),d=_e(f,c,[Ge]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,f)}),a("toStrictEqual",function(c){let f=t.flag(this,"object"),d=_e(f,c,[Ge,$o,Ui,Fi],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,f)}),a("toBe",function(c){let f=this._obj,d=Object.is(f,c),p="";return d||(_e(f,c,[Ge,$o,Ui,Fi],!0)?p="toStrictEqual":_e(f,c,[Ge])&&(p="toEqual")),this.assert(d,bR(p),"expected #{this} not to be #{exp} // Object.is equality",c,f)}),a("toMatchObject",function(c){let f=this._obj;return this.assert(_e(f,c,[Ge,Ba]),"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f)}),a("toMatch",function(c){return typeof c=="string"?this.include(c):this.match(c)}),a("toContain",function(c){let f=this._obj;if(typeof Node<"u"&&f instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(f.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,f)}if(typeof DOMTokenList<"u"&&f instanceof DOMTokenList){gt(c,"class name",["string"]);let d=t.flag(this,"negate")?f.value.replace(c,"").trim():`${f.value} ${c}`;return this.assert(f.contains(c),`expected "${f.value}" to contain "${c}"`,`expected "${f.value}" not to contain "${c}"`,d,f.value)}return f!=null&&typeof f!="string"&&t.flag(this,"object",Array.from(f)),this.contain(c)}),a("toContainEqual",function(c){let f=t.flag(this,"object"),d=Array.from(f).findIndex(p=>_e(p,c));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),a("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",c,!1)}),a("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",c,!1)}),a("toBeGreaterThan",function(c){let f=this._obj;return gt(f,"actual",["number","bigint"]),gt(c,"expected",["number","bigint"]),this.assert(f>c,`expected ${f} to be greater than ${c}`,`expected ${f} to be not greater than ${c}`,f,c,!1)}),a("toBeGreaterThanOrEqual",function(c){let f=this._obj;return gt(f,"actual",["number","bigint"]),gt(c,"expected",["number","bigint"]),this.assert(f>=c,`expected ${f} to be greater than or equal to ${c}`,`expected ${f} to be not greater than or equal to ${c}`,f,c,!1)}),a("toBeLessThan",function(c){let f=this._obj;return gt(f,"actual",["number","bigint"]),gt(c,"expected",["number","bigint"]),this.assert(fString(R).replace(/([.[\]])/g,"\\$1")).join("."));let f=this._obj,[d,p]=c,m=()=>Object.prototype.hasOwnProperty.call(f,d)?{value:f[d],exists:!0}:t.getPathInfo(f,d),{value:b,exists:_}=m(),h=_&&(c.length===1||_e(p,b)),g=c.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(h,`expected #{this} to have property "${d}"${g}`,`expected #{this} to not have property "${d}"${g}`,p,_?b:void 0)}),a("toBeCloseTo",function(c,f=2){let d=this._obj,p=!1,m=0,b=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?p=!0:(m=10**-f/2,b=Math.abs(d-c),p=b{if(!nR(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)},o=c=>(u(c),c._obj),i=c=>{let f=c%10,d=c%100;return f===1&&d!==11?`${c}st`:f===2&&d!==12?`${c}nd`:f===3&&d!==13?`${c}rd`:`${c}th`},l=(c,f,d)=>(c.mock.calls&&(f+=n().gray(` + +Received: + +${c.mock.calls.map((p,m)=>{let b=n().bold(` ${i(m+1)} ${c.getMockName()} call: + +`);return d?b+=Ur(d,p,{omitAnnotationLines:!0}):b+=qt(p).split(` +`).map(_=>` ${_}`).join(` +`),b+=` +`,b}).join(` +`)}`)),f+=n().gray(` + +Number of calls: ${n().bold(c.mock.calls.length)} +`),f),s=(c,f,d)=>(f+=n().gray(` + +Received: + +${c.mock.results.map((p,m)=>{let b=n().bold(` ${i(m+1)} ${c.getMockName()} call return: + +`);return d?b+=Ur(d,p.value,{omitAnnotationLines:!0}):b+=qt(p).split(` +`).map(_=>` ${_}`).join(` +`),b+=` +`,b}).join(` +`)}`),f+=n().gray(` + +Number of calls: ${n().bold(c.mock.calls.length)} +`),f);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let f=o(this),d=f.getMockName(),p=f.mock.calls.length;return this.assert(p===c,`expected "${d}" to be called #{exp} times, but got ${p} times`,`expected "${d}" to not be called #{exp} times`,c,p,!1)}),a("toHaveBeenCalledOnce",function(){let c=o(this),f=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${f}" to be called once, but got ${d} times`,`expected "${f}" to not be called once`,1,d,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let c=o(this),f=c.getMockName(),d=c.mock.calls.length,p=d>0,m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${f}" to be called at least once`,`expected "${f}" to not be called at all, but actually been called ${d} times`,!0,p]);if(p&&m&&(b=l(c,b)),p&&m||!p&&!m)throw new r(b)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let f=o(this),d=f.getMockName(),p=f.mock.calls.some(_=>_e(_,c,[Ge])),m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(p&&m||!p&&!m)throw new r(l(f,b,c))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...f){let d=o(this),p=d.getMockName(),m=d.mock.calls[c-1];this.assert(_e(m,f,[Ge]),`expected ${i(c)} "${p}" call to have been called with #{exp}`,`expected ${i(c)} "${p}" call to not have been called with #{exp}`,f,m)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let f=o(this),d=f.getMockName(),p=f.mock.calls[f.mock.calls.length-1];this.assert(_e(p,c,[Ge]),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,p)}),a(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c);let f=this._obj,d=t.flag(this,"promise"),p=t.flag(this,"negate"),m=null;if(d==="rejects")m=f;else if(d==="resolves"&&typeof f!="function"){if(p)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",_={showDiff:!1};throw new r(b,_,t.flag(this,"ssfi"))}}else{let b=!1;try{f()}catch(_){b=!0,m=_}if(!b&&!p){let _=t.flag(this,"message")||"expected function to throw an error, but it didn't",h={showDiff:!1};throw new r(_,h,t.flag(this,"ssfi"))}}if(typeof c=="function"){let b=c.name||c.prototype.constructor.name;return this.assert(m&&m instanceof c,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,c,m,!1)}if(c instanceof Error)return this.assert(m&&c.message===m.message,`expected error to have message: ${c.message}`,`expected error not to have message: ${c.message}`,c.message,m&&m.message);if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let b=c;return this.assert(m&&b.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b.toString(),m,!1)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),a(["toHaveReturned","toReturn"],function(){let c=o(this),f=c.getMockName(),d=c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw");this.assert(d,`expected "${f}" to be successfully called at least once`,`expected "${f}" to not be successfully called`,d,!d,!1)}),a(["toHaveReturnedTimes","toReturnTimes"],function(c){let f=o(this),d=f.getMockName(),p=f.mock.results.reduce((m,{type:b})=>b==="throw"?m:++m,0);this.assert(p===c,`expected "${d}" to be successfully called ${c} times`,`expected "${d}" to not be successfully called ${c} times`,`expected number of returns: ${c}`,`received number of returns: ${p}`,!1)}),a(["toHaveReturnedWith","toReturnWith"],function(c){let f=o(this),d=f.getMockName(),p=f.mock.results.some(({type:_,value:h})=>_==="return"&&_e(c,h)),m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${d}" to return with: #{exp} at least once`,`expected "${d}" to not return with: #{exp}`,c]);if(p&&m||!p&&!m)throw new r(s(f,b,c))}),a(["toHaveLastReturnedWith","lastReturnedWith"],function(c){let f=o(this),d=f.getMockName(),{value:p}=f.mock.results[f.mock.results.length-1],m=_e(p,c);this.assert(m,`expected last "${d}" call to return #{exp}`,`expected last "${d}" call to not return #{exp}`,c,p)}),a(["toHaveNthReturnedWith","nthReturnedWith"],function(c,f){let d=o(this),p=d.getMockName(),m=t.flag(this,"negate"),{type:b,value:_}=d.mock.results[c-1],h=`${i(c)} call`;!m&&b==="throw"&&e.assert.fail(`expected ${h} to return #{exp}, but instead it threw an error`);let g=_e(_,f);this.assert(g,`expected ${h} "${p}" call to return #{exp}`,`expected ${h} "${p}" call to not return #{exp}`,f,_)}),a("toSatisfy",function(c,f){return this.be.satisfy(c,f)}),t.addProperty(e.Assertion.prototype,"resolves",function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let f=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(typeof(d==null?void 0:d.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let p=new Proxy(this,{get:(m,b,_)=>{let h=Reflect.get(m,b,_);return typeof h!="function"?h instanceof e.Assertion?p:h:async(...g)=>{let R=d.then(w=>(t.flag(this,"object",w),h.call(this,...g)),w=>{let P=new r(`promise rejected "${t.inspect(w)}" instead of resolving`,{showDiff:!1});throw P.cause=w,P.stack=c.stack.replace(c.message,P.message),P});return Ki(f,R)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let f=t.flag(this,"vitest-test"),d=t.flag(this,"object"),p=typeof d=="function"?d():d;if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let m=new Proxy(this,{get:(b,_,h)=>{let g=Reflect.get(b,_,h);return typeof g!="function"?g instanceof e.Assertion?m:g:async(...R)=>{let w=p.then(P=>{let S=new r(`promise resolved "${t.inspect(P)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:P});throw S.stack=c.stack.replace(c.message,S.message),S},P=>(t.flag(this,"object",P),g.call(this,...R)));return Ki(f,w)}}});return m})};function wR(e,t){let r=e._obj,n=Cn.flag(e,"negate"),a=Cn.flag(e,"promise")||"",u={...du(),diff:Ur,stringify:qt,iterableEquality:Ge,subsetEquality:Ba};return{state:{...Vr(t),customTesters:[],isNot:n,utils:u,promise:a,equals:_e,suppressedErrors:[]},isNot:n,obj:r}}var Yi=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function ER(e,t){return(r,n)=>{Object.entries(t).forEach(([a,u])=>{function o(...c){let{state:f,isNot:d,obj:p}=wR(this,e),m=u.call(f,p,...c);if(m&&typeof m=="object"&&m instanceof Promise)return m.then(({pass:R,message:w,actual:P,expected:S})=>{if(R&&d||!R&&!d)throw new Yi(w(),P,S)});let{pass:b,message:_,actual:h,expected:g}=m;if(b&&d||!b&&!d)throw new Yi(_(),h,g)}let i=yu(n,o);n.addMethod(globalThis[qn].matchers,a,i),n.addMethod(r.Assertion.prototype,a,i);class l extends Lt{constructor(f=!1,...d){super(d,f)}asymmetricMatch(f){let{pass:d}=u.call(this.getMatcherContext(e),f,...this.sample);return this.inverse?!d:d}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...c)=>new l(!1,...c);Object.defineProperty(e,a,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(e.not,a,{configurable:!0,enumerable:!0,value:(...c)=>new l(!0,...c),writable:!0}),Object.defineProperty(globalThis[Bo],a,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var RR=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{e.use(ER(r,n))})},gu={};ba(gu,{toBeChecked:()=>ic,toBeDisabled:()=>Qu,toBeEmpty:()=>Bu,toBeEmptyDOMElement:()=>$u,toBeEnabled:()=>Zu,toBeInTheDOM:()=>Fo,toBeInTheDocument:()=>ku,toBeInvalid:()=>rc,toBePartiallyChecked:()=>sc,toBeRequired:()=>ec,toBeValid:()=>nc,toBeVisible:()=>Gu,toContainElement:()=>Uo,toContainHTML:()=>Du,toHaveAccessibleDescription:()=>Ho,toHaveAccessibleErrorMessage:()=>Fu,toHaveAccessibleName:()=>zo,toHaveAttribute:()=>Uu,toHaveClass:()=>Hu,toHaveDescription:()=>uc,toHaveDisplayValue:()=>ac,toHaveErrorMessage:()=>cc,toHaveFocus:()=>Vu,toHaveFormValues:()=>zu,toHaveRole:()=>Vo,toHaveStyle:()=>Wo,toHaveTextContent:()=>Lu,toHaveValue:()=>oc});var Ji=ve(ms(),1),CR=ve(Ts(),1);function vu(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function $a(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var _u={};vu(_u);$a(_u,"default",()=>wu);var wu=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},Eu={};vu(Eu);$a(Eu,"default",()=>Ru);var Ru=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},qR={};$a(qR,"CssTypes",()=>Ae);var Ae;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.supports="supports"})(Ae||(Ae={}));var bo=/\/\*[^]*?(?:\*\/|$)/g,PR=(e,t)=>{t=t||{};let r=1,n=1;function a(A){let M=A.match(/\n/g);M&&(r+=M.length);let F=A.lastIndexOf(` +`);n=~F?A.length-F:n+A.length}function u(){let A={line:r,column:n};return function(M){return M.position=new Ru(A,{line:r,column:n},(t==null?void 0:t.source)||""),p(),M}}let o=[];function i(A){let M=new wu((t==null?void 0:t.source)||"",A,r,n,e);if(t!=null&&t.silent)o.push(M);else throw M}function l(){let A=f();return{type:Ae.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:A,parsingErrors:o}}}function s(){return d(/^{\s*/)}function c(){return d(/^}/)}function f(){let A,M=[];for(p(),m(M);e.length&&e.charAt(0)!=="}"&&(A=ue()||ce());)A&&(M.push(A),m(M));return M}function d(A){let M=A.exec(e);if(!M)return;let F=M[0];return a(F),e=e.slice(F.length),M}function p(){d(/^\s*/)}function m(A){let M;for(A=A||[];M=b();)M&&A.push(M);return A}function b(){let A=u();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let M=d(/^\/\*[^]*?\*\//);return M?A({type:Ae.comment,comment:M[0].slice(2,-2)}):i("End of comment missing")}function _(A,M,F){let N=M+1,G=!1,B=A.indexOf(")",N);for(;!G&&B!==-1;){let $=A.indexOf("(",N);$!==-1&&$G.replace(/,/g,"‌")),M.split(",").map(G=>Qe(G.replace(/\u200C/g,",")))}function g(){let A=u(),M=d(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!M)return;let F=Qe(M[0]);if(!d(/^:\s*/))return i("property missing ':'");let N=d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),G=A({type:Ae.declaration,property:F.replace(bo,""),value:N?Qe(N[0]).replace(bo,""):""});return d(/^[;\s]*/),G}function R(){let A=[];if(!s())return i("missing '{'");m(A);let M;for(;M=g();)M&&(A.push(M),m(A));return c()?A:i("missing '}'")}function w(){let A,M=[],F=u();for(;A=d(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)M.push(A[1]),d(/^,\s*/);if(M.length)return F({type:Ae.keyframe,values:M,declarations:R()||[]})}function P(){let A=u(),M=d(/^@([-\w]+)?keyframes\s*/);if(!M)return;let F=M[1],N=d(/^([-\w]+)\s*/);if(!N)return i("@keyframes missing name");let G=N[1];if(!s())return i("@keyframes missing '{'");let B,$=m();for(;B=w();)$.push(B),$=$.concat(m());return c()?A({type:Ae.keyframes,name:G,vendor:F,keyframes:$}):i("@keyframes missing '}'")}function S(){let A=u(),M=d(/^@supports *([^{]+)/);if(!M)return;let F=Qe(M[1]);if(!s())return i("@supports missing '{'");let N=m().concat(f());return c()?A({type:Ae.supports,supports:F,rules:N}):i("@supports missing '}'")}function q(){let A=u();if(!d(/^@host\s*/))return;if(!s())return i("@host missing '{'");let M=m().concat(f());return c()?A({type:Ae.host,rules:M}):i("@host missing '}'")}function y(){let A=u(),M=d(/^@container *([^{]+)/);if(!M)return;let F=Qe(M[1]);if(!s())return i("@container missing '{'");let N=m().concat(f());return c()?A({type:Ae.container,container:F,rules:N}):i("@container missing '}'")}function C(){let A=u(),M=d(/^@layer *([^{;@]+)/);if(!M)return;let F=Qe(M[1]);if(!s())return d(/^[;\s]*/),A({type:Ae.layer,layer:F});let N=m().concat(f());return c()?A({type:Ae.layer,layer:F,rules:N}):i("@layer missing '}'")}function x(){let A=u(),M=d(/^@media *([^{]+)/);if(!M)return;let F=Qe(M[1]);if(!s())return i("@media missing '{'");let N=m().concat(f());return c()?A({type:Ae.media,media:F,rules:N}):i("@media missing '}'")}function j(){let A=u(),M=d(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(M)return A({type:Ae.customMedia,name:Qe(M[1]),media:Qe(M[2])})}function L(){let A=u();if(!d(/^@page */))return;let M=h()||[];if(!s())return i("@page missing '{'");let F=m(),N;for(;N=g();)F.push(N),F=F.concat(m());return c()?A({type:Ae.page,selectors:M,declarations:F}):i("@page missing '}'")}function U(){let A=u(),M=d(/^@([-\w]+)?document *([^{]+)/);if(!M)return;let F=Qe(M[1]),N=Qe(M[2]);if(!s())return i("@document missing '{'");let G=m().concat(f());return c()?A({type:Ae.document,document:N,vendor:F,rules:G}):i("@document missing '}'")}function H(){let A=u();if(!d(/^@font-face\s*/))return;if(!s())return i("@font-face missing '{'");let M=m(),F;for(;F=g();)M.push(F),M=M.concat(m());return c()?A({type:Ae.fontFace,declarations:M}):i("@font-face missing '}'")}let ee=ae("import"),J=ae("charset"),oe=ae("namespace");function ae(A){let M=new RegExp("^@"+A+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let F=u(),N=d(M);if(!N)return;let G={type:A};return G[A]=N[1].trim(),F(G)}}function ue(){if(e[0]==="@")return P()||x()||j()||S()||ee()||J()||oe()||U()||L()||q()||H()||y()||C()}function ce(){let A=u(),M=h();return M?(m(),A({type:Ae.rule,selectors:M,declarations:R()||[]})):i("selector missing")}return Do(l())};function Qe(e){return e?e.trim():""}function Do(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let u=e[a];Array.isArray(u)?u.forEach(o=>{Do(o,n)}):u&&typeof u=="object"&&Do(u,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var OR=PR,SR=OR,TR=Object.prototype.toString;function Xi(e){return typeof e=="function"||TR.call(e)==="[object Function]"}function AR(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var xR=Math.pow(2,53)-1;function MR(e){var t=AR(e);return Math.min(Math.max(t,0),xR)}function at(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Xi(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=MR(n.length),u=Xi(r)?Object(new r(a)):new Array(a),o=0,i;o0&&arguments[0]!==void 0?arguments[0]:[];jR(this,e),IR(this,"items",void 0),this.items=t}return NR(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),$R=typeof Set>"u"?Set:BR;function De(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var DR={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},LR={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function FR(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=LR[t])!==null&&n!==void 0&&n.has(r))})}function qu(e,t){return FR(e,t)}function UR(e){var t=VR(e);if(t===null||Lo.indexOf(t)!==-1){var r=HR(e);if(Lo.indexOf(t||"")===-1||qu(e,r||""))return r}return t}function HR(e){var t=DR[De(e)];if(t!==void 0)return t;switch(De(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!qu(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function VR(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Lo=["presentation","none"];function we(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Pu(e){return we(e)&&De(e)==="caption"}function vn(e){return we(e)&&De(e)==="input"}function zR(e){return we(e)&&De(e)==="optgroup"}function WR(e){return we(e)&&De(e)==="select"}function GR(e){return we(e)&&De(e)==="table"}function KR(e){return we(e)&&De(e)==="textarea"}function YR(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function JR(e){return we(e)&&De(e)==="fieldset"}function XR(e){return we(e)&&De(e)==="legend"}function QR(e){return we(e)&&De(e)==="slot"}function ZR(e){return we(e)&&e.ownerSVGElement!==void 0}function eC(e){return we(e)&&De(e)==="svg"}function tC(e){return ZR(e)&&De(e)==="title"}function Pn(e,t){if(we(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function wt(e,t){return we(e)?t.indexOf(UR(e))!==-1:!1}function rC(e){return e.trim().replace(/\s\s+/g," ")}function nC(e,t){if(!we(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function oC(e){return wt(e,["button","combobox","listbox","textbox"])||Ou(e,"range")}function Ou(e,t){if(!we(e))return!1;switch(t){case"range":return wt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Zi(e,t){var r=at(e.querySelectorAll(t));return Pn(e,"aria-owns").forEach(function(n){r.push.apply(r,at(n.querySelectorAll(t)))}),r}function aC(e){return WR(e)?e.selectedOptions||Zi(e,"[selected]"):Zi(e,'[aria-selected="true"]')}function iC(e){return wt(e,Lo)}function lC(e){return Pu(e)}function sC(e){return wt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function uC(e){return!1}function cC(e){return vn(e)||KR(e)?e.value:e.textContent||""}function el(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Su(e){var t=De(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Tu(e){if(Su(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&we(r)){var n=Tu(r);n!==null&&(t=n)}}),t}function dC(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Tu(e)}function fC(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return at(t);if(!Su(e))return null;var r=e.ownerDocument;return at(r.querySelectorAll("label")).filter(function(n){return dC(n)===e})}function pC(e){var t=e.assignedNodes();return t.length===0?at(e.childNodes):t}function Au(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new $R,n=YR(e),a=t.compute,u=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,i=o===void 0?t.getComputedStyle!==void 0:o,l=t.getComputedStyle,s=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,f=c===void 0?!1:c;function d(h,g){var R="";if(we(h)&&i){var w=s(h,"::before"),P=el(w);R="".concat(P," ").concat(R)}var S=QR(h)?pC(h):at(h.childNodes).concat(Pn(h,"aria-owns"));if(S.forEach(function(C){var x=_(C,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=we(C)?s(C).getPropertyValue("display"):"inline",L=j!=="inline"?" ":"";R+="".concat(L).concat(x).concat(L)}),we(h)&&i){var q=s(h,"::after"),y=el(q);R="".concat(R," ").concat(y)}return R.trim()}function p(h,g){var R=h.getAttributeNode(g);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function m(h){return we(h)?p(h,"title"):null}function b(h){if(!we(h))return null;if(JR(h)){r.add(h);for(var g=at(h.childNodes),R=0;R0}).join(" ");if(vn(h)&&h.type==="image"){var ee=p(h,"alt");if(ee!==null)return ee;var J=p(h,"title");return J!==null?J:"Submit Query"}if(wt(h,["button"])){var oe=d(h,{isEmbeddedInLabel:!1,isReferenced:!1});if(oe!=="")return oe}return null}function _(h,g){if(r.has(h))return"";if(!f&&nC(h,s)&&!g.isReferenced)return r.add(h),"";var R=we(h)?h.getAttributeNode("aria-labelledby"):null,w=R!==null&&!r.has(R)?Pn(h,"aria-labelledby"):[];if(u==="name"&&!g.isReferenced&&w.length>0)return r.add(R),w.map(function(j){return _(j,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=g.recursion&&oC(h)&&u==="name";if(!P){var S=(we(h)&&h.getAttribute("aria-label")||"").trim();if(S!==""&&u==="name")return r.add(h),S;if(!iC(h)){var q=b(h);if(q!==null)return r.add(h),q}}if(wt(h,["menu"]))return r.add(h),"";if(P||g.isEmbeddedInLabel||g.isReferenced){if(wt(h,["combobox","listbox"])){r.add(h);var y=aC(h);return y.length===0?vn(h)?h.value:"":at(y).map(function(j){return _(j,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Ou(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if(wt(h,["textbox"]))return r.add(h),cC(h)}if(sC(h)||we(h)&&g.isReferenced||lC(h)||uC()){var C=d(h,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(C!=="")return r.add(h),C}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(g.recursion)return r.add(h),d(h,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var x=m(h);return x!==null?(r.add(h),x):(r.add(h),"")}return rC(_(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Wr(e){"@babel/helpers - typeof";return Wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wr(e)}function tl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function rl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Pn(e,"aria-describedby").map(function(u){return Au(u,rl(rl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function gC(e){return wt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function vC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gC(e)?"":Au(e,t)}var Da=ve(As(),1),_C=ve(Ms(),1),xu=ve(js(),1),wC=ve(Ns(),1),EC=ve(Is(),1),Mu=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(` +`)}},nl=class extends Mu{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},ol=class extends Mu{constructor(...e){super("be a Node",...e)}};function ju(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function RC(e,...t){ju(e,ol,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new ol(e,...t)}function ge(e,...t){ju(e,nl,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new nl(e,...t)}var CC=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(` +`)}};function qC(e,...t){let r=SR(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new CC({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:u})=>Object.assign(n,{[a]:u}),{})}function al(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function $e(e,t,r,n,a,u){return[`${t} +`,`${r}: +${e.utils.EXPECTED_COLOR((0,Ji.default)(al(e,n),2))}`,`${a}: +${e.utils.RECEIVED_COLOR((0,Ji.default)(al(e,u),2))}`].join(` +`)}function PC(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Zn(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function eo(e){return e.replace(/\s+/g," ").trim()}function kt(e){return e.tagName&&e.tagName.toLowerCase()}function OC({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function SC(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}function Nu(e){if(e)switch(e.tagName.toLowerCase()){case"input":return SC(e);case"select":return OC(e);default:return e.value}}function Iu(e,t){if(Array.isArray(e)&&Array.isArray(t))return(0,CR.default)(new Set(e),new Set(t))}function TC(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Fo(e,t){return Zn("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ge(e,Fo,this),t&&ge(t,Fo,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(` +`)}}function ku(e){(e!==null||!this.isNot)&&ge(e,ku,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(` +`)}}function Bu(e){return Zn("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ge(e,Bu,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function $u(e){return ge(e,$u,this),{pass:AC(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function AC(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Uo(e,t){return ge(e,Uo,this),t!==null&&ge(t,Uo,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))} + `)].join(` +`)}}function xC(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function Du(e,t){if(ge(e,Du,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(xC(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(` +`)}}function Lu(e,t,r={normalizeWhitespace:!0}){RC(e,Lu,this);let n=r.normalizeWhitespace?eo(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&PC(n,t),message:()=>{let u=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${u} have text content`,t,"Received",n)}}}function Ho(e,t){ge(e,Ho,this);let r=yC(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Ho.name}`,"element",""),`Expected element ${u} have accessible description`,t,"Received",r)}}}var Nr="aria-invalid",MC=["false"];function Fu(e,t){var i;ge(e,Fu,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>$e(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let u=e.getAttribute(Nr);if(!e.hasAttribute(Nr)||MC.includes(u))return{pass:!1,message:()=>$e(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Nr}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Nr}="${e.getAttribute(Nr)}`:null)};let o=eo(((i=e.ownerDocument.getElementById(a))==null?void 0:i.textContent)??"");return{pass:t===void 0?!!o:t instanceof RegExp?t.test(o):this.equals(o,t),message:()=>$e(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",o)}}var jC=kC(Da.elementRoles);function Vo(e,t){ge(e,Vo,this);let r=NC(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Vo.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function NC(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):IC(e)}function IC(e){for(let{match:t,roles:r}of jC)if(t(e))return[...r];return[]}function kC(e){function t({name:o,attributes:i}){return`${o}${i.map(({name:l,value:s,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${l}])`:s?`[${l}="${s}"]`:`[${l}]`).join("")}`}function r({attributes:o=[]}){return o.length}function n({specificity:o},{specificity:i}){return i-o}function a(o){let{attributes:i=[]}=o,l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);let s=t({...o,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(s)}let u=[];for(let[o,i]of e.entries())u=[...u,{match:a(o),roles:Array.from(i),specificity:r(o)}];return u.sort(n)}function zo(e,t){ge(e,zo,this);let r=vC(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.${zo.name}`,"element",""),`Expected element ${u} have accessible name`,t,"Received",r)}}}function il(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function BC(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Uu(e,t,r){ge(e,Uu,this);let n=r!==void 0,a=e.hasAttribute(t),u=e.getAttribute(t);return{pass:n?a&&this.equals(u,r):a,message:()=>{let o=this.isNot?"not to":"to",i=a?il(this.utils.stringify,t,u):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:BC(this.utils.stringify,t,r)});return $e(this,l,`Expected the element ${o} have attribute`,il(this.utils.stringify,t,r),"Received",i)}}}function $C(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function ll(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function sl(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Hu(e,...t){ge(e,Hu,this);let{expectedClassNames:r,options:n}=$C(t),a=ll(e.getAttribute("class")),u=r.reduce((i,l)=>i.concat(typeof l=="string"||!l?ll(l):l),[]),o=u.some(i=>i instanceof RegExp);if(n.exact&&o)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:sl(u,a)&&u.length===a.length,message:()=>{let i=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${i} have EXACTLY defined classes`,u.join(" "),"Received",a.join(" "))}}:u.length>0?{pass:sl(u,a),message:()=>{let i=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${i} have class`,u.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?$e(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` +`)}}function DC(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function LC(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),u=[r];return a||u.push(r.toLowerCase()),u.some(o=>t[o]===n||t.getPropertyValue(o)===n)})}function ul(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` +`)}function FC(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,u)=>Object.assign(a,{[u]:r.getPropertyValue(u)}),{});return e(ul(t),ul(n)).replace(`${_C.default.red("+ Received")} +`,"")}function Wo(e,t){ge(e,Wo,this);let r=typeof t=="object"?t:qC(t,Wo,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=DC(e.ownerDocument,r),u=n(e);return{pass:LC(a,u),message:()=>{let o=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(o,"element",""),FC(this.utils.diff,a,u)].join(` + +`)}}}function Vu(e){return ge(e,Vu,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(` +`)}}function UC(e){let t=(0,wC.default)(e.map(r=>r.type));if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function HC(e,t){let r=[...e.querySelectorAll(`[name="${(0,EC.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Nu(r[0]);default:return UC(r)}}function VC(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function zC(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[VC(r)]:HC(e,r)}),{})}function zu(e,t){if(ge(e,zu,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=zC(e);return{pass:Object.entries(t).every(([n,a])=>(0,xu.default)(r[n],a,Iu)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,u=Object.keys(r).filter(o=>t.hasOwnProperty(o)).reduce((o,i)=>({...o,[i]:r[i]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,u)].join(` + +`)}}}function WC(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function GC(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function Wu(e,t){return WC(e)&&GC(e,t)&&(!e.parentElement||Wu(e.parentElement,e))}function Gu(e){ge(e,Gu,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Wu(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var KC=["fieldset","input","select","optgroup","option","button","textarea"];function YC(e,t){return kt(e)==="legend"&&kt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>kt(r)==="legend"))}function JC(e,t){return Yu(t)&&!YC(e,t)}function XC(e){return e.includes("-")}function Ku(e){let t=kt(e);return KC.includes(t)||XC(t)}function Yu(e){return Ku(e)&&e.hasAttribute("disabled")}function Ju(e){let t=e.parentElement;return!!t&&(JC(e,t)||Ju(t))}function Xu(e){return Ku(e)&&(Yu(e)||Ju(e))}function Qu(e){ge(e,Qu,this);let t=Xu(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Zu(e){ge(e,Zu,this);let t=!Xu(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var QC=["select","textarea"],ZC=["input","select","textarea"],eq=["color","hidden","range","submit","image","reset"],tq=["combobox","gridcell","radiogroup","spinbutton","tree"];function rq(e){return QC.includes(kt(e))&&e.hasAttribute("required")}function nq(e){return kt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!eq.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function oq(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(ZC.includes(kt(e))||e.hasAttribute("role")&&tq.includes(e.getAttribute("role")))}function ec(e){ge(e,ec,this);let t=rq(e)||nq(e)||oq(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var aq=["form","input","select","textarea"];function iq(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function lq(e){return aq.includes(kt(e))}function tc(e){let t=iq(e);return lq(e)?t||!e.checkValidity():t}function rc(e){ge(e,rc,this);let t=tc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function nc(e){ge(e,nc,this);let t=!tc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function oc(e,t){if(ge(e,oc,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=Nu(e),n=t!==void 0,a=t,u=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,u=`${r} (${typeof r})`),{pass:n?(0,xu.default)(r,t,Iu):!!r,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return $e(this,i,`Expected the element ${o} have value`,n?a:"(any)","Received",u)}}}function ac(e,t){ge(e,ac,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=sq(r,e),a=uq(t),u=a.filter(l=>n.some(s=>l instanceof RegExp?l.test(s):this.equals(s,String(l)))).length,o=u===n.length,i=u===a.length;return{pass:o&&i,message:()=>$e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function sq(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function uq(e){return e instanceof Array?e:[e]}function ic(e){ge(e,ic,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>lc(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${cq()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function cq(){return TC(dq().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function dq(){return Da.roles.keys().filter(lc)}function lc(e){var t;return((t=Da.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function sc(e){ge(e,sc,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function uc(e,t){Zn("toHaveDescription","Please use toHaveAccessibleDescription."),ge(e,uc,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let u=e.ownerDocument,o=n.map(i=>u.getElementById(i)).filter(Boolean);a=eo(o.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${u} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function cc(e,t){if(Zn("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ge(e,cc,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let u=this.isNot?".not":"";return{pass:!1,message:()=>$e(this,this.utils.matcherHint(`${u}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let u=e.ownerDocument,o=n.map(i=>u.getElementById(i)).filter(Boolean);a=eo(o.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return $e(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${u} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}ve(ms(),1);ve(Ts(),1);ve(As(),1);ve(Ms(),1);ve(js(),1);ve(Ns(),1);ve(Is(),1);function fq(){fo(RR),fo(_R),fo(vR);let e=(n,a)=>{let{assertionCalls:u}=Vr(e);return mo({assertionCalls:u+1,soft:!1},e),co(n,a)};Object.assign(e,co),e.getState=()=>Vr(e),e.setState=n=>mo(n,e),e.extend=n=>co.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{bE.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return mo({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Cn.addMethod(e,"assertions",t),Cn.addMethod(e,"hasAssertions",r),e.extend(gu),e}var dc=fq();Object.defineProperty(globalThis,Qn,{value:dc,writable:!0,configurable:!0});var to=new Set;function pq(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var mq=0;function bq(e){let t=e,r,n=[],a=[],u=ko(e),o={get calls(){return u.calls},get instances(){return n},get invocationCallOrder(){return a},get results(){return u.results.map(([d,p])=>({type:d==="error"?"throw":"return",value:p}))},get lastCall(){return u.calls[u.calls.length-1]}},i=[],l=!1;function s(...d){return n.push(this),a.push(++mq),(l?r:i.shift()||r||u.getOriginal()||(()=>{})).apply(this,d)}let c=t.name;t.getMockName=()=>c||"vi.fn()",t.mockName=d=>(c=d,t),t.mockClear=()=>(u.reset(),n=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},i=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=d=>(r=d,u.willCall(s),t),t.mockImplementationOnce=d=>(i.push(d),t);function f(d,p){let m=r;r=d,u.willCall(s),l=!0;let b=()=>{r=m,l=!1},_=p();return _ instanceof Promise?_.then(()=>(b(),t)):(b(),t)}return t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=d=>t.mockImplementation(()=>d),t.mockReturnValueOnce=d=>t.mockImplementationOnce(()=>d),t.mockResolvedValue=d=>t.mockImplementation(()=>Promise.resolve(d)),t.mockResolvedValueOnce=d=>t.mockImplementationOnce(()=>Promise.resolve(d)),t.mockRejectedValue=d=>t.mockImplementation(()=>Promise.reject(d)),t.mockRejectedValueOnce=d=>t.mockImplementationOnce(()=>Promise.reject(d)),Object.defineProperty(t,"mock",{get:()=>o}),u.willCall(s),to.add(t),t}function hq(e){let t=bq(rR({spy:e||(()=>{})},"spy"));return e&&t.mockImplementation(e),t}function yq(){to.forEach(e=>e.mockClear())}function gq(){to.forEach(e=>e.mockReset())}function vq(){to.forEach(e=>e.mockRestore())}var fc={};ba(fc,{buildQueries:()=>Tt,configure:()=>AP,createEvent:()=>wn,findAllByAltText:()=>bd,findAllByDisplayValue:()=>ud,findAllByLabelText:()=>Uc,findAllByPlaceholderText:()=>Xc,findAllByRole:()=>Sd,findAllByTestId:()=>Nd,findAllByText:()=>nd,findAllByTitle:()=>wd,findByAltText:()=>hd,findByDisplayValue:()=>cd,findByLabelText:()=>Hc,findByPlaceholderText:()=>Qc,findByRole:()=>Td,findByTestId:()=>Id,findByText:()=>od,findByTitle:()=>Ed,fireEvent:()=>Xr,getAllByAltText:()=>pd,getAllByDisplayValue:()=>ld,getAllByLabelText:()=>Vc,getAllByPlaceholderText:()=>Yc,getAllByRole:()=>Pd,getAllByTestId:()=>Md,getAllByText:()=>td,getAllByTitle:()=>vd,getByAltText:()=>md,getByDisplayValue:()=>sd,getByLabelText:()=>zc,getByPlaceholderText:()=>Jc,getByRole:()=>Od,getByTestId:()=>jd,getByText:()=>rd,getByTitle:()=>_d,getConfig:()=>ye,getDefaultNormalizer:()=>za,getElementError:()=>no,getMultipleElementsFoundError:()=>oo,getNodeText:()=>ln,getQueriesForElement:()=>ra,getRoles:()=>Ic,getSuggestedQuery:()=>Sn,isInaccessible:()=>ro,logDOM:()=>Go,logRoles:()=>IP,makeFindQuery:()=>vr,makeGetAllQuery:()=>Ka,makeSingleQuery:()=>gr,prettyDOM:()=>Yr,prettyFormat:()=>La,queries:()=>Tn,queryAllByAltText:()=>dd,queryAllByAttribute:()=>rr,queryAllByDisplayValue:()=>ad,queryAllByLabelText:()=>Wc,queryAllByPlaceholderText:()=>Gc,queryAllByRole:()=>Cd,queryAllByTestId:()=>Ad,queryAllByText:()=>Zc,queryAllByTitle:()=>yd,queryByAltText:()=>fd,queryByAttribute:()=>Bc,queryByDisplayValue:()=>id,queryByLabelText:()=>Lc,queryByPlaceholderText:()=>Kc,queryByRole:()=>qd,queryByTestId:()=>xd,queryByText:()=>ed,queryByTitle:()=>gd,queryHelpers:()=>YP,screen:()=>R0,waitFor:()=>Ga,waitForElementToBeRemoved:()=>h0,within:()=>ra,wrapAllByQueryWithSuggestion:()=>Ke,wrapSingleQueryWithSuggestion:()=>Bt});var La=ve(Ug()),_q=Object.prototype.toString;function cl(e){return typeof e=="function"||_q.call(e)==="[object Function]"}function wq(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Eq=Math.pow(2,53)-1;function Rq(e){var t=wq(e);return Math.min(Math.max(t,0),Eq)}function it(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!cl(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=Rq(n.length),u=cl(r)?Object(new r(a)):new Array(a),o=0,i;o0&&arguments[0]!==void 0?arguments[0]:[];Cq(this,e),Pq(this,"items",void 0),this.items=t}return qq(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),Tq=typeof Set>"u"?Set:Sq;function Le(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Aq={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},xq={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Mq(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=xq[t])!==null&&n!==void 0&&n.has(r))})}function mc(e,t){return Mq(e,t)}function jq(e){var t=Iq(e);if(t===null||t==="presentation"){var r=Nq(e);if(t!=="presentation"||mc(e,r||""))return r}return t}function Nq(e){var t=Aq[Le(e)];if(t!==void 0)return t;switch(Le(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!mc(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function Iq(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Ee(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function bc(e){return Ee(e)&&Le(e)==="caption"}function _n(e){return Ee(e)&&Le(e)==="input"}function kq(e){return Ee(e)&&Le(e)==="optgroup"}function Bq(e){return Ee(e)&&Le(e)==="select"}function $q(e){return Ee(e)&&Le(e)==="table"}function Dq(e){return Ee(e)&&Le(e)==="textarea"}function Lq(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Fq(e){return Ee(e)&&Le(e)==="fieldset"}function Uq(e){return Ee(e)&&Le(e)==="legend"}function Hq(e){return Ee(e)&&Le(e)==="slot"}function Vq(e){return Ee(e)&&e.ownerSVGElement!==void 0}function zq(e){return Ee(e)&&Le(e)==="svg"}function Wq(e){return Vq(e)&&Le(e)==="title"}function On(e,t){if(Ee(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Et(e,t){return Ee(e)?t.indexOf(jq(e))!==-1:!1}function Gq(e){return e.trim().replace(/\s\s+/g," ")}function Kq(e,t){if(!Ee(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Yq(e){return Et(e,["button","combobox","listbox","textbox"])||hc(e,"range")}function hc(e,t){if(!Ee(e))return!1;switch(t){case"range":return Et(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function fl(e,t){var r=it(e.querySelectorAll(t));return On(e,"aria-owns").forEach(function(n){r.push.apply(r,it(n.querySelectorAll(t)))}),r}function Jq(e){return Bq(e)?e.selectedOptions||fl(e,"[selected]"):fl(e,'[aria-selected="true"]')}function Xq(e){return Et(e,["none","presentation"])}function Qq(e){return bc(e)}function Zq(e){return Et(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function eP(e){return!1}function tP(e){return _n(e)||Dq(e)?e.value:e.textContent||""}function pl(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function yc(e){var t=Le(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function gc(e){if(yc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Ee(r)){var n=gc(r);n!==null&&(t=n)}}),t}function rP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):gc(e)}function nP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return it(t);if(!yc(e))return null;var r=e.ownerDocument;return it(r.querySelectorAll("label")).filter(function(n){return rP(n)===e})}function oP(e){var t=e.assignedNodes();return t.length===0?it(e.childNodes):t}function vc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Tq,n=Lq(e),a=t.compute,u=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,i=o===void 0?t.getComputedStyle!==void 0:o,l=t.getComputedStyle,s=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,f=c===void 0?!1:c;function d(h,g){var R="";if(Ee(h)&&i){var w=s(h,"::before"),P=pl(w);R="".concat(P," ").concat(R)}var S=Hq(h)?oP(h):it(h.childNodes).concat(On(h,"aria-owns"));if(S.forEach(function(C){var x=_(C,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=Ee(C)?s(C).getPropertyValue("display"):"inline",L=j!=="inline"?" ":"";R+="".concat(L).concat(x).concat(L)}),Ee(h)&&i){var q=s(h,"::after"),y=pl(q);R="".concat(R," ").concat(y)}return R.trim()}function p(h,g){var R=h.getAttributeNode(g);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function m(h){return Ee(h)?p(h,"title"):null}function b(h){if(!Ee(h))return null;if(Fq(h)){r.add(h);for(var g=it(h.childNodes),R=0;R0}).join(" ");if(_n(h)&&h.type==="image"){var ee=p(h,"alt");if(ee!==null)return ee;var J=p(h,"title");return J!==null?J:"Submit Query"}if(Et(h,["button"])){var oe=d(h,{isEmbeddedInLabel:!1,isReferenced:!1});if(oe!=="")return oe}return null}function _(h,g){if(r.has(h))return"";if(!f&&Kq(h,s)&&!g.isReferenced)return r.add(h),"";var R=Ee(h)?h.getAttributeNode("aria-labelledby"):null,w=R!==null&&!r.has(R)?On(h,"aria-labelledby"):[];if(u==="name"&&!g.isReferenced&&w.length>0)return r.add(R),w.map(function(j){return _(j,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=g.recursion&&Yq(h)&&u==="name";if(!P){var S=(Ee(h)&&h.getAttribute("aria-label")||"").trim();if(S!==""&&u==="name")return r.add(h),S;if(!Xq(h)){var q=b(h);if(q!==null)return r.add(h),q}}if(Et(h,["menu"]))return r.add(h),"";if(P||g.isEmbeddedInLabel||g.isReferenced){if(Et(h,["combobox","listbox"])){r.add(h);var y=Jq(h);return y.length===0?_n(h)?h.value:"":it(y).map(function(j){return _(j,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(hc(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if(Et(h,["textbox"]))return r.add(h),tP(h)}if(Zq(h)||Ee(h)&&g.isReferenced||Qq(h)||eP()){var C=d(h,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(C!=="")return r.add(h),C}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(g.recursion)return r.add(h),d(h,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var x=m(h);return x!==null?(r.add(h),x):(r.add(h),"")}return Gq(_(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Kr(e){"@babel/helpers - typeof";return Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(e)}function ml(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function bl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=On(e,"aria-describedby").map(function(a){return vc(a,bl(bl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function sP(e){return Et(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return sP(e)?"":vc(e,t)}var Ze=ve(pE()),uP=ve(mE());function wc(e){return e.replace(//g,">")}var cP=(e,t,r,n,a,u,o)=>{let i=n+r.indent,l=r.colors;return e.map(s=>{let c=t[s],f=o(c,r,i,a,u);return typeof c!="string"&&(f.indexOf(` +`)!==-1&&(f=r.spacingOuter+i+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+s+l.prop.close+"="+l.value.open+f+l.value.close}).join("")},dP=3,fP=(e,t,r,n,a,u)=>e.map(o=>{let i=typeof o=="string"?Ec(o,t):u(o,t,r,n,a);return i===""&&typeof o=="object"&&o!==null&&o.nodeType!==dP?"":t.spacingOuter+r+i}).join(""),Ec=(e,t)=>{let r=t.colors.content;return r.open+wc(e)+r.close},pP=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},mP=(e,t,r,n,a)=>{let u=n.colors.tag;return u.open+"<"+e+(t&&u.close+t+n.spacingOuter+a+u.open)+(r?">"+u.close+r+n.spacingOuter+a+u.open+""+u.close},bP=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},hP=1,Rc=3,Cc=8,qc=11,yP=/^((HTML|SVG)\w*)?Element$/,gP=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===hP&&(yP.test(t)||a)||r===Rc&&t==="Text"||r===Cc&&t==="Comment"||r===qc&&t==="DocumentFragment"};function vP(e){return e.nodeType===Rc}function _P(e){return e.nodeType===Cc}function ho(e){return e.nodeType===qc}function wP(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&gP(t)},serialize:(t,r,n,a,u,o)=>{if(vP(t))return Ec(t.data,r);if(_P(t))return pP(t.data,r);let i=ho(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?bP(i,r):mP(i,cP(ho(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),ho(t)?{}:Array.from(t.attributes).reduce((l,s)=>(l[s.name]=s.value,l),{}),r,n+r.indent,a,u,o),fP(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,u,o),r,n)}}}var Pc=null,Ua=null,Ha=null;try{let e=module&&module.require;Ua=e.call(module,"fs").readFileSync,Ha=e.call(module,"@babel/code-frame").codeFrameColumns,Pc=e.call(module,"chalk")}catch{}function EP(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[u,o,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],l="";try{l=Ua(u,"utf-8")}catch{return""}let s=Ha(l,{start:{line:o,column:i}},{highlightCode:!0,linesBelow:0});return Pc.dim(n)+` +`+s+` +`}function RP(){if(!Ua||!Ha)return"";let e=new Error().stack.split(` +`).slice(1).find(t=>!t.includes("node_modules/"));return EP(e)}var Oc=3;function yo(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Va(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Sc(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function St(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var CP=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:qP}=La.plugins,PP=1,OP=8;function SP(e){return e.nodeType!==OP&&(e.nodeType!==PP||!e.matches(ye().defaultIgnore))}function Yr(e,t,r){if(r===void 0&&(r={}),e||(e=Va().body),typeof t!="number"&&(t=typeof process<"u"&&wf.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=SP,...u}=r,o=La.format(e,{plugins:[wP(a),qP],printFunctionName:!1,highlight:CP(),...u});return t!==void 0&&e.outerHTML.length>t?o.slice(0,t)+"...":o}var Go=function(){let e=RP();console.log(e?Yr(...arguments)+` + +`+e:Yr(...arguments))},zt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Yr(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+` +`+r].filter(Boolean).join(` + +`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function TP(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function AP(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function ye(){return zt}var xP=["button","meter","output","progress","select","textarea","input"];function Tc(e){return xP.includes(e.nodeName.toLowerCase())?"":e.nodeType===Oc?e.textContent:Array.from(e.childNodes).map(t=>Tc(t)).join("")}function Ko(e){let t;return e.tagName.toLowerCase()==="label"?t=Tc(e):t=e.value||e.textContent,t}function Ac(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!MP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function MP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function xc(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),u=a?a.split(" "):[];return u.length?u.map(o=>{let i=e.querySelector('[id="'+o+'"]');return i?{content:Ko(i),formControl:null}:{content:"",formControl:null}}):Array.from(Ac(t)).map(o=>{let i=Ko(o),l=Array.from(o.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(n))[0];return{content:i,formControl:l}})}function Mc(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Sr(e,t,r,n){if(typeof e!="string")return!1;Mc(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):jc(r,a)}function Ct(e,t,r,n){if(typeof e!="string")return!1;Mc(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?jc(r,a):a===String(r)}function za(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function tr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return za({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function jc(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function ln(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Oc&&!!t.textContent).map(t=>t.textContent).join("")}var jP=NP(Ze.elementRoles);function Nc(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function ro(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Nc}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Wa(e){for(let{match:t,roles:r}of jP)if(t(e))return[...r];return[]}function NP(e){function t(o){let{name:i,attributes:l}=o;return""+i+l.map(s=>{let{name:c,value:f,constraints:d=[]}=s;return d.indexOf("undefined")!==-1?":not(["+c+"])":f?"["+c+'="'+f+'"]':"["+c+"]"}).join("")}function r(o){let{attributes:i=[]}=o;return i.length}function n(o,i){let{specificity:l}=o,{specificity:s}=i;return s-l}function a(o){let{attributes:i=[]}=o,l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);let s=t({...o,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(s)}let u=[];for(let[o,i]of e.entries())u=[...u,{match:a(o),roles:Array.from(i),specificity:r(o)}];return u.sort(n)}function Ic(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((u,o)=>[...u,...n(o)],[])]}return n(e).filter(a=>r===!1?ro(a)===!1:!0).reduce((a,u)=>{let o=[];return u.hasAttribute("role")?o=u.getAttribute("role").split(" ").slice(0,1):o=Wa(u),o.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],u]}:{...i,[l]:[u]},a)},{})}function kc(e,t){let{hidden:r,includeDescription:n}=t,a=Ic(e,{hidden:r});return Object.entries(a).filter(u=>{let[o]=u;return o!=="generic"}).map(u=>{let[o,i]=u,l="-".repeat(50),s=i.map(c=>{let f='Name "'+Fa(c,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})+`": +`,d=Yr(c.cloneNode(!1));if(n){let p='Description "'+_c(c,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})+`": +`;return""+f+p+d}return""+f+d}).join(` + +`);return o+`: + +`+s+` + +`+l}).join(` +`)}var IP=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(kc(e,{hidden:r}))};function kP(e){return e.tagName==="OPTION"?e.selected:sn(e,"aria-selected")}function BP(e){return e.getAttribute("aria-busy")==="true"}function $P(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:sn(e,"aria-checked")}function DP(e){return sn(e,"aria-pressed")}function LP(e){var t,r;return(t=(r=sn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function FP(e){return sn(e,"aria-expanded")}function sn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function UP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function HP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function VP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function zP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function WP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var hl=za();function GP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function yl(e){return new RegExp(GP(e.toLowerCase()),"i")}function xt(e,t,r,n){let{variant:a,name:u}=n,o="",i={},l=[["Role","TestId"].includes(e)?r:yl(r)];u&&(i.name=yl(u)),e==="Role"&&ro(t)&&(i.hidden=!0,o=`Element is inaccessible. This means that the element and all its children are invisible to screen readers. + If you are using the aria-hidden prop, make sure this is the right choice for your case. + `),Object.keys(i).length>0&&l.push(i);let s=a+"By"+e;return{queryName:e,queryMethod:s,queryArgs:l,variant:a,warning:o,toString(){o&&console.warn(o);let[c,f]=l;return c=typeof c=="string"?"'"+c+"'":c,f=f?", { "+Object.entries(f).map(d=>{let[p,m]=d;return p+": "+m}).join(", ")+" }":"",s+"("+c+f+")"}}}function Mt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Sn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(ye().defaultIgnore))return;let u=(n=e.getAttribute("role"))!=null?n:(a=Wa(e))==null?void 0:a[0];if(u!=="generic"&&Mt("Role",r,u))return xt("Role",e,u,{variant:t,name:Fa(e,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})});let o=xc(document,e).map(d=>d.content).join(" ");if(Mt("LabelText",r,o))return xt("LabelText",e,o,{variant:t});let i=e.getAttribute("placeholder");if(Mt("PlaceholderText",r,i))return xt("PlaceholderText",e,i,{variant:t});let l=hl(ln(e));if(Mt("Text",r,l))return xt("Text",e,l,{variant:t});if(Mt("DisplayValue",r,e.value))return xt("DisplayValue",e,hl(e.value),{variant:t});let s=e.getAttribute("alt");if(Mt("AltText",r,s))return xt("AltText",e,s,{variant:t});let c=e.getAttribute("title");if(Mt("Title",r,c))return xt("Title",e,c,{variant:t});let f=e.getAttribute(ye().testIdAttribute);if(Mt("TestId",r,f))return xt("TestId",e,f,{variant:t})}function cn(e,t){e.stack=t.stack.replace(t.message,e.message)}function KP(e,t){let{container:r=Va(),timeout:n=ye().asyncUtilTimeout,showOriginalStackTrace:a=ye().showOriginalStackTrace,stackTraceError:u,interval:o=50,onTimeout:i=s=>(Object.defineProperty(s,"message",{value:ye().getElementError(s.message,r).message}),s),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(s,c)=>{let f,d,p,m=!1,b="idle",_=setTimeout(P,n),h=yo();if(h){let{unstable_advanceTimersWrapper:S}=ye();for(w();!m;){if(!yo()){let q=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||cn(q,u),c(q);return}if(await S(async()=>{jest.advanceTimersByTime(o)}),w(),m)break}}else{try{St(r)}catch(q){c(q);return}d=setInterval(R,o);let{MutationObserver:S}=Sc(r);p=new S(R),p.observe(r,l),w()}function g(S,q){m=!0,clearTimeout(_),h||(clearInterval(d),p.disconnect()),S?c(S):s(q)}function R(){if(yo()){let S=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||cn(S,u),c(S)}else return w()}function w(){if(b!=="pending")try{let S=TP(e);typeof(S==null?void 0:S.then)=="function"?(b="pending",S.then(q=>{b="resolved",g(null,q)},q=>{b="rejected",f=q})):g(null,S)}catch(S){f=S}}function P(){let S;f?(S=f,!a&&S.name==="TestingLibraryElementError"&&cn(S,u)):(S=new Error("Timed out in waitFor."),a||cn(S,u)),g(i(S),null)}})}function Ga(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ye().asyncWrapper(()=>KP(e,{stackTraceError:r,...t}))}function no(e,t){return ye().getElementError(e,t)}function oo(e,t){return no(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function rr(e,t,r,n){let{exact:a=!0,collapseWhitespace:u,trim:o,normalizer:i}=n===void 0?{}:n,l=a?Ct:Sr,s=tr({collapseWhitespace:u,trim:o,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,s))}function Bc(e,t,r,n){let a=rr(e,t,r,n);if(a.length>1)throw oo("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function gr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),u=1;u1){let i=o.map(l=>no(null,l).message).join(` + +`);throw oo(t(r,...a)+` + +Here are the matching elements: + +`+i,r)}return o[0]||null}}function $c(e,t){return ye().getElementError(`A better query is available, try this: +`+e.toString()+` +`,t)}function Ka(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),u=1;uGa(()=>e(t,r,n),{container:t,...a})}var Bt=(e,t,r)=>function(n){for(var a=arguments.length,u=new Array(a>1?a-1:0),o=1;ofunction(n){for(var a=arguments.length,u=new Array(a>1?a-1:0),o=1;o{var f;return(f=Sn(c,r))==null?void 0:f.toString()}))];if(s.length===1&&!t.endsWith(Sn(i[0],r).queryName))throw $c(s[0],n)}return i};function Tt(e,t,r){let n=Bt(gr(e,t),e.name,"query"),a=Ka(e,r),u=gr(a,t),o=Bt(u,e.name,"get"),i=Ke(a,e.name.replace("query","get"),"getAll"),l=vr(Ke(a,e.name,"findAll")),s=vr(Bt(u,e.name,"find"));return[n,i,o,l,s]}var YP=Object.freeze({__proto__:null,getElementError:no,wrapAllByQueryWithSuggestion:Ke,wrapSingleQueryWithSuggestion:Bt,getMultipleElementsFoundError:oo,queryAllByAttribute:rr,queryByAttribute:Bc,makeSingleQuery:gr,makeGetAllQuery:Ka,makeFindQuery:vr,buildQueries:Tt});function JP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ko(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var XP=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:u,normalizer:o}=r===void 0?{}:r,i=n?Ct:Sr,l=tr({collapseWhitespace:u,trim:a,normalizer:o});return JP(e).filter(s=>{let{node:c,textToMatch:f}=s;return i(f,c,t,l)}).map(s=>{let{node:c}=s;return c})},Jr=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:u,trim:o,normalizer:i}=r===void 0?{}:r;St(e);let l=a?Ct:Sr,s=tr({collapseWhitespace:u,trim:o,normalizer:i}),c=Array.from(e.querySelectorAll("*")).filter(f=>Ac(f).length||f.hasAttribute("aria-labelledby")).reduce((f,d)=>{let p=xc(e,d,{selector:n});p.filter(b=>!!b.formControl).forEach(b=>{l(b.content,b.formControl,t,s)&&b.formControl&&f.push(b.formControl)});let m=p.filter(b=>!!b.content).map(b=>b.content);return l(m.join(" "),d,t,s)&&f.push(d),m.length>1&&m.forEach((b,_)=>{l(b,d,t,s)&&f.push(d);let h=[...m];h.splice(_,1),h.length>1&&l(h.join(" "),d,t,s)&&f.push(d)}),f},[]).concat(rr("aria-label",e,t,{exact:a,normalizer:s}));return Array.from(new Set(c)).filter(f=>f.matches(n))},Wt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;aQP(e,l)).filter(l=>!!l);throw i.length?ye().getElementError(i.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(` + +`),e):ye().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw ye().getElementError("Unable to find a label with the text of: "+t,e)}return u};function QP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Dc=(e,t)=>"Found multiple elements with the text of: "+t,Lc=Bt(gr(Jr,Dc),Jr.name,"query"),Fc=gr(Wt,Dc),Uc=vr(Ke(Wt,Wt.name,"findAll")),Hc=vr(Bt(Fc,Wt.name,"find")),Vc=Ke(Wt,Wt.name,"getAll"),zc=Bt(Fc,Wt.name,"get"),Wc=Ke(Jr,Jr.name,"queryAll"),Yo=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,e0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Gc=Ke(Yo,Yo.name,"queryAll"),[Kc,Yc,Jc,Xc,Qc]=Tt(Yo,ZP,e0),Jo=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:u,trim:o,ignore:i=ye().defaultIgnore,normalizer:l}=r===void 0?{}:r;St(e);let s=a?Ct:Sr,c=tr({collapseWhitespace:u,trim:o,normalizer:l}),f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(d=>!i||!d.matches(i)).filter(d=>s(ln(d),d,t,c))},t0=(e,t)=>"Found multiple elements with the text: "+t,r0=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:u,selector:o}=r,i=tr({collapseWhitespace:n,trim:a,normalizer:u})(t.toString()),l=i!==t.toString(),s=(o??"*")!=="*";return"Unable to find an element with the text: "+(l?i+" (normalized from '"+t+"')":t)+(s?", which matches selector '"+o+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},Zc=Ke(Jo,Jo.name,"queryAll"),[ed,td,rd,nd,od]=Tt(Jo,t0,r0),Xo=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:u,normalizer:o}=r===void 0?{}:r;St(e);let i=n?Ct:Sr,l=tr({collapseWhitespace:a,trim:u,normalizer:o});return Array.from(e.querySelectorAll("input,textarea,select")).filter(s=>s.tagName==="SELECT"?Array.from(s.options).filter(c=>c.selected).some(c=>i(ln(c),c,t,l)):i(s.value,s,t,l))},n0=(e,t)=>"Found multiple elements with the display value: "+t+".",o0=(e,t)=>"Unable to find an element with the display value: "+t+".",ad=Ke(Xo,Xo.name,"queryAll"),[id,ld,sd,ud,cd]=Tt(Xo,n0,o0),a0=/^(img|input|area|.+-.+)$/i,Qo=function(e,t,r){return r===void 0&&(r={}),St(e),rr("alt",e,t,r).filter(n=>a0.test(n.tagName))},i0=(e,t)=>"Found multiple elements with the alt text: "+t,l0=(e,t)=>"Unable to find an element with the alt text: "+t,dd=Ke(Qo,Qo.name,"queryAll"),[fd,pd,md,bd,hd]=Tt(Qo,i0,l0),s0=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Zo=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:u,normalizer:o}=r===void 0?{}:r;St(e);let i=n?Ct:Sr,l=tr({collapseWhitespace:a,trim:u,normalizer:o});return Array.from(e.querySelectorAll("[title], svg > title")).filter(s=>i(s.getAttribute("title"),s,t,l)||s0(s)&&i(ln(s),s,t,l))},u0=(e,t)=>"Found multiple elements with the title: "+t+".",c0=(e,t)=>"Unable to find an element with the title: "+t+".",yd=Ke(Zo,Zo.name,"queryAll"),[gd,vd,_d,wd,Ed]=Tt(Zo,u0,c0),ea=function(e,t,r){let{hidden:n=ye().defaultHidden,name:a,description:u,queryFallbacks:o=!1,selected:i,busy:l,checked:s,pressed:c,current:f,level:d,expanded:p,value:{now:m,min:b,max:_,text:h}={}}=r===void 0?{}:r;if(St(e),i!==void 0){var g;if(((g=Ze.roles.get(t))==null?void 0:g.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var R;if(((R=Ze.roles.get(t))==null?void 0:R.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(s!==void 0){var w;if(((w=Ze.roles.get(t))==null?void 0:w.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var P;if(((P=Ze.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var S;if(((S=Ze.roles.get(t))==null?void 0:S.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(d!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var q;if(((q=Ze.roles.get(t))==null?void 0:q.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(_!==void 0){var y;if(((y=Ze.roles.get(t))==null?void 0:y.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=Ze.roles.get(t))==null?void 0:C.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(h!==void 0){var x;if(((x=Ze.roles.get(t))==null?void 0:x.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var j;if(((j=Ze.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let L=new WeakMap;function U(H){return L.has(H)||L.set(H,Nc(H)),L.get(H)}return Array.from(e.querySelectorAll(d0(t))).filter(H=>{if(H.hasAttribute("role")){let ee=H.getAttribute("role");if(o)return ee.split(" ").filter(Boolean).some(oe=>oe===t);let[J]=ee.split(" ");return J===t}return Wa(H).some(ee=>ee===t)}).filter(H=>{if(i!==void 0)return i===kP(H);if(l!==void 0)return l===BP(H);if(s!==void 0)return s===$P(H);if(c!==void 0)return c===DP(H);if(f!==void 0)return f===LP(H);if(p!==void 0)return p===FP(H);if(d!==void 0)return d===UP(H);if(m!==void 0||_!==void 0||b!==void 0||h!==void 0){let J=!0;if(m!==void 0&&J&&(J=m===HP(H)),_!==void 0&&J&&(J=_===VP(H)),b!==void 0&&J&&(J=b===zP(H)),h!==void 0){var ee;J&&(J=Ct((ee=WP(H))!=null?ee:null,H,h,oe=>oe))}return J}return!0}).filter(H=>a===void 0?!0:Ct(Fa(H,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements}),H,a,ee=>ee)).filter(H=>u===void 0?!0:Ct(_c(H,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements}),H,u,ee=>ee)).filter(H=>n===!1?ro(H,{isSubtreeInaccessible:U})===!1:!0)};function d0(e){var t;let r='*[role~="'+e+'"]',n=(t=Ze.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(u=>{let{name:o}=u;return o}));return[r].concat(Array.from(a)).join(",")}var Rd=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},f0=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Rd(n)},p0=function(e,t,r){let{hidden:n=ye().defaultHidden,name:a,description:u}=r===void 0?{}:r;if(ye()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Rd(a);let o="";Array.from(e.children).forEach(c=>{o+=kc(c,{hidden:n,includeDescription:u!==void 0})});let i;o.length===0?n===!1?i="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":i="There are no available roles.":i=(` +Here are the `+(n===!1?"accessible":"available")+` roles: + + `+o.replace(/\n/g,` + `).replace(/\n\s\s\n/g,` + +`)+` +`).trim();let l="";a===void 0?l="":typeof a=="string"?l=' and name "'+a+'"':l=" and name `"+a+"`";let s="";return u===void 0?s="":typeof u=="string"?s=' and description "'+u+'"':s=" and description `"+u+"`",(` +Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+s+` + +`+i).trim()},Cd=Ke(ea,ea.name,"queryAll"),[qd,Pd,Od,Sd,Td]=Tt(ea,f0,p0),Ya=()=>ye().testIdAttribute,ta=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+Ya()+'="'+t+'"]',b0=(e,t)=>"Unable to find an element by: ["+Ya()+'="'+t+'"]',Ad=Ke(ta,ta.name,"queryAll"),[xd,Md,jd,Nd,Id]=Tt(ta,m0,b0),Tn=Object.freeze({__proto__:null,queryAllByLabelText:Wc,queryByLabelText:Lc,getAllByLabelText:Vc,getByLabelText:zc,findAllByLabelText:Uc,findByLabelText:Hc,queryByPlaceholderText:Kc,queryAllByPlaceholderText:Gc,getByPlaceholderText:Jc,getAllByPlaceholderText:Yc,findAllByPlaceholderText:Xc,findByPlaceholderText:Qc,queryByText:ed,queryAllByText:Zc,getByText:rd,getAllByText:td,findAllByText:nd,findByText:od,queryByDisplayValue:id,queryAllByDisplayValue:ad,getByDisplayValue:sd,getAllByDisplayValue:ld,findAllByDisplayValue:ud,findByDisplayValue:cd,queryByAltText:fd,queryAllByAltText:dd,getByAltText:md,getAllByAltText:pd,findAllByAltText:bd,findByAltText:hd,queryByTitle:gd,queryAllByTitle:yd,getByTitle:_d,getAllByTitle:vd,findAllByTitle:wd,findByTitle:Ed,queryByRole:qd,queryAllByRole:Cd,getAllByRole:Pd,getByRole:Od,findAllByRole:Sd,findByRole:Td,queryByTestId:xd,queryAllByTestId:Ad,getByTestId:jd,getAllByTestId:Md,findAllByTestId:Nd,findByTestId:Id});function ra(e,t,r){return t===void 0&&(t=Tn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let u=t[a];return n[a]=u.bind(null,e),n},r)}var kd=e=>!e||Array.isArray(e)&&!e.length;function gl(e){if(kd(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function h0(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){gl(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let u=a.parentElement;if(u===null)return()=>null;for(;u.parentElement;)u=u.parentElement;return()=>u.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return gl(e()),Ga(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!kd(n))throw r},t)}var vl={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},_l={doubleClick:"dblClick"};function Xr(e,t){return ye().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function wn(e,t,r,n){let{EventType:a="Event",defaultInit:u={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let o={...u,...r},{target:{value:i,files:l,...s}={}}=o;i!==void 0&&y0(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,s);let c=Sc(t),f=c[a]||c.Event,d;if(typeof f=="function")d=new f(e,o);else{d=c.document.createEvent(a);let{bubbles:p,cancelable:m,detail:b,..._}=o;d.initEvent(e,p,m,b),Object.keys(_).forEach(h=>{d[h]=_[h]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=o[p];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(d,p,{value:Object.getOwnPropertyNames(m).reduce((b,_)=>(Object.defineProperty(b,_,{value:m[_]}),b),new c.DataTransfer)}):Object.defineProperty(d,p,{value:m}))}),d}Object.keys(vl).forEach(e=>{let{EventType:t,defaultInit:r}=vl[e],n=e.toLowerCase();wn[e]=(a,u)=>wn(n,a,u,{EventType:t,defaultInit:r}),Xr[e]=(a,u)=>Xr(a,wn[e](a,u))});function y0(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(_l).forEach(e=>{let t=_l[e];Xr[e]=function(){return Xr[t](...arguments)}});function g0(e){return e.replace(/[ \t]*[\n][ \t]*/g,` +`)}function v0(e){return uP.default.compressToEncodedURIComponent(g0(e))}function _0(e){return"https://testing-playground.com/#markup="+v0(e)}var w0=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Go(n,t,r)):Go(e,t,r),E0=function(e){if(e===void 0&&(e=Va().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=_0(e.innerHTML);return console.log(`Open this URL in your browser + +`+t),t},wl={debug:w0,logTestingPlaygroundURL:E0},R0=typeof document<"u"&&document.body?ra(document.body,Tn,wl):Object.keys(Tn).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),wl);function he(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}var na;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(na||(na={}));function Bd(e){return he(e,"button")||he(e,"input")&&e.type in na}function ft(e){var t;if(C0(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${q0(e)}`)}function C0(e){return e.nodeType===9}function q0(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function $d(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function Ja(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;nt?u.type===(a?r:e):a?u.type.startsWith(`${r}/`):u.type===r}function O0(e){return new class{getData(t){var r;let n=(r=this.items.find(dn(t,!0)))!==null&&r!==void 0?r:this.items.find(dn(t,!1)),a="";return n==null||n.getAsString(u=>{a=u}),a}setData(t,r){let n=this.items.findIndex(dn(t,!0)),a=new Dd(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(dn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){It(this,"dropEffect","none"),It(this,"effectAllowed","uninitialized"),It(this,"items",new P0),It(this,"files",Ja(e,[]))}}}function Xa(e,t=[]){let r=typeof e.DataTransfer>"u"?O0(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ja(e,t)}),r}function S0(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Ld(this,"data",void 0),this.data=n}}(r)}var _r=Symbol("Manage ClipboardSub");function El(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let a=n.types.includes("text/plain")?"text/plain":n.types.find(u=>u.startsWith("text/"));a&&(r+=await n.getType(a).then(u=>$d(u,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Fd(e,r)]}constructor(...r){super(...r),Ld(this,"items",[])}},{[_r]:t})}function Qa(e){return!!(e!=null&&e[_r])}function T0(e){if(Qa(e.navigator.clipboard))return e.navigator.clipboard[_r];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=El(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=El(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[_r]}function A0(e){Qa(e.navigator.clipboard)&&e.navigator.clipboard[_r].resetClipboardStub()}function x0(e){Qa(e.navigator.clipboard)&&e.navigator.clipboard[_r].detachClipboardStub()}async function M0(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=Xa(t);for(let u of n)for(let o of u.types)a.setData(o,await u.getType(o).then(i=>$d(i,t.FileReader)));return a}async function Ud(e,t){let r=ft(e),n=r.navigator.clipboard,a=[];for(let u=0;u!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var An=globalThis;typeof An.afterEach=="function"&&An.afterEach(()=>A0(globalThis.window));typeof An.afterAll=="function"&&An.afterAll(()=>x0(globalThis.window));function Gt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Qr(e){let t=j0(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function j0(e){return e.nodeType===1?e:e.parentElement}function wr(e){return Hd(e)&&!e.readOnly||Gt(e)}var oa;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(oa||(oa={}));function Hd(e){return he(e,"textarea")||he(e,"input")&&e.type in oa}var aa;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(aa||(aa={}));function N0(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function I0(e){return he(e,"textarea")||he(e,"input")&&e.type in aa}var Vd=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Za(e){return e.matches(Vd)}var xn;(function(e){e["{"]="}",e["["]="]"})(xn||(xn={}));function zd(e,t){let r=0,n=e[r]in xn?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?k0(e,r,t):B0(e,r,a,t)}}function k0(e,t,r){let n=e[t];return Wd(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function B0(e,t,r,n){var a,u;let o=e[t]==="/"?"/":"";t+=o.length;let i=r==="{"&&e[t]==="\\";t+=Number(i);let l=i?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Wd(l,e,t,n),t+=l.length;var s;let c=(s=(u=e.slice(t).match(/^>\d+/))===null||u===void 0?void 0:u[0])!==null&&s!==void 0?s:"";t+=c.length;let f=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=f.length;let d=xn[r],p=e[t]===d?d:"";if(!p)throw new Error(Gd([!c&&"repeat modifier",!f&&"release modifier",`"${d}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!o,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:$0(f,c)}}function Wd(e,t,r,n){if(!e)throw new Error(Gd("key descriptor",t[r],t,n))}function $0(e,t){if(e)return e==="/";if(t)return!1}function Gd(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}" + See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"} + for more information about how userEvent parses your input.`}function D0(e){return new e.constructor(e.type,e)}var Ue;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ue||(Ue={}));function Ir(e,t){e.levelRefs[t]={}}function fn(e,t){return e.levelRefs[t]}var fr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(fr||(fr={}));function Pt(e){for(let r=e;r;r=r.parentElement)if(he(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(he(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function ao(e){let t=e.activeElement;return t!=null&&t.shadowRoot?ao(t.shadowRoot):Pt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function go(e){var t;return(t=ao(e))!==null&&t!==void 0?t:e.body}function L0(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function pt(e){return Kd(e)&&Hd(e)}function F0(e){return Kd(e)&&Bd(e)}function Kd(e){return e.nodeType===1}function U0(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&pt(e)){let n=Qr(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Zr(e,t){return ye().eventWrapper(e)}function $t(e){let t=L0(e,Za),r=ao(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Zr(t?()=>t.focus():()=>r==null?void 0:r.blur()),U0(t??e.ownerDocument.body))}function H0(e){!Za(e)||ao(e.ownerDocument)!==e||Zr(()=>e.blur())}var Dt={};Dt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&he(n,"label")&&n.control;if(a)return()=>{Za(a)&&$t(a),r.dispatchEvent(a,D0(e))};if(he(t,"input",{type:"file"}))return()=>{H0(t),t.dispatchEvent(new(ft(t)).Event("fileDialog")),$t(t)}};var Er=Symbol("Displayed value in UI"),Rt=Symbol("Displayed selection in UI"),Mn=Symbol("Initial value to compare on blur");function V0(e){return typeof e=="object"&&Er in e}function z0(e){return!!e&&typeof e=="object"&&Rt in e}function W0(e,t){e[Mn]===void 0&&(e[Mn]=e.value),e[Er]=t,e.value=Object.assign(new String(t),{[Er]:!0})}function mt(e){return e[Er]===void 0?e.value:String(e[Er])}function ei(e){e[Er]=void 0}function Yd(e){e[Mn]=void 0}function G0(e){return e[Mn]}function K0(e,t){e[Rt]=t}function Tr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=mt(e).length,u=f=>Math.max(0,Math.min(a,f)),o=n==="replace"||e[Rt]===void 0?u(r):e[Rt].anchorOffset,i=u(t),l=Math.min(o,i),s=Math.max(o,i);if(e[Rt]={anchorOffset:o,focusOffset:i},e.selectionStart===l&&e.selectionEnd===s)return;let c=Object.assign(new Number(l),{[Rt]:!0});try{e.setSelectionRange(c,s)}catch{}}function en(e){var t,r,n;let a=(n=e[Rt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function Y0(e){return!!e[Rt]}function En(e){e[Rt]=void 0}var jn=globalThis.parseInt;function J0(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=jn(t[0],10),n=jn(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,Rl(t,a)}return e.length===2?e:Rl(t,2)}function Rl(e,t){let r=e.slice(0,t),n=Math.min(jn(r,10),23),a=e.slice(t),u=jn(a,10),o=Math.min(u,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function Jd(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function Xd(e,t,r,n){if(Rn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Cl(e,t,r);if(a){if(Rn(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(he(a,"br")){let u=Cl(a,void 0,r);return u?Rn(u)?{node:u,offset:r>0?0:u.nodeValue.length}:r<0&&he(u,"br")?{node:a.parentNode,offset:pn(a)}:{node:u.parentNode,offset:pn(u)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:pn(a)}:void 0}else return{node:a.parentNode,offset:pn(a)+(r>0?1:0)}}}function Cl(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&ti(e)&&n>=0&&nt.startsWith("__react"))&&ft(e).REACT_VERSION===17}function tO(e){eO(e)&&(e[tn]={previousValue:String(e.value),tracked:[]})}function rO(e,t){var r,n;(n=e[tn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[tn]||(ei(e),Tr(e,{focusOffset:t.length}))}function nO(e,t){var r;let n=e[tn];if(e[tn]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||ei(e),Y0(e)&&Tr(e,{focusOffset:a?t:e.value.length})}function Qd(e){let t=oO(e);if(t&&pt(t))return{type:"input",selection:en(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:Qr(e)&&(r!=null&&r.anchorNode)&&Qr(r.anchorNode)?"contenteditable":"default",selection:r}}function oO(e){return e.nodeType===1?e:e.parentElement}function aO(e){let t=Qd(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Kt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,u;if(Qd(e).type==="input")return Tr(e,{anchorOffset:n,focusOffset:t});(u=r.ownerDocument)===null||u===void 0||(a=u.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function Zd(e){return he(e,"input")&&["date","time"].includes(e.type)}function Rr(e,t,r,n="insertText"){let a=aO(t);a&&(!Zd(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?iO(e,t,a,r,n):lO(e,t,a,r,n)))}function iO(e,t,r,n,a){let u=!1;if(!r.collapsed)u=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let o=Xd(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(o){u=!0;let i=r.cloneRange();i.comparePoint(o.node,o.offset)<0?i.setStart(o.node,o.offset):i.setEnd(o.node,o.offset),i.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let o=r.endOffset;r.endContainer.insertData(o,n),r.setStart(r.endContainer,o+n.length),r.setEnd(r.endContainer,o+n.length)}else{let o=t.ownerDocument.createTextNode(n);r.insertNode(o),r.setStart(o,n.length),r.setEnd(o,n.length)}(u||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function lO(e,t,r,n,a){let u=n;if(I0(t)){let s=N0(t);if(s!==void 0&&n.length>0){let c=s-t.value.length;if(c>0)u=n.substring(0,c);else return}}let{newValue:o,newOffset:i,oldValue:l}=sO(u,t,r,a);o===l&&i===r.startOffset&&i===r.endOffset||he(t,"input",{type:"number"})&&!uO(o)||(W0(t,o),Kt({focusNode:t,anchorOffset:i,focusOffset:i}),Zd(t)?Jd(t,o)&&(ql(e,t,i,{}),e.dispatchUIEvent(t,"change"),Yd(t)):ql(e,t,i,{data:n,inputType:a}))}function sO(e,t,{startOffset:r,endOffset:n},a){let u=mt(t),o=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),i=u.substring(0,o),l=Math.min(u.length,r===n&&a==="deleteContentForward"?r+1:n),s=u.substring(l,u.length),c=`${i}${e}${s}`,f=o+e.length;if(he(t,"input",{type:"time"})){let d=J0(c);d!==""&&Jd(t,d)&&(c=d,f=d.length)}return{oldValue:u,newValue:c,newOffset:f}}function ql(e,t,r,n){e.dispatchUIEvent(t,"input",n),nO(t,r)}function uO(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}Dt.cut=(e,t,r)=>()=>{wr(t)&&Rr(r,t,"","deleteByCut")};function cO(e){return e?Gt(e)?e.textContent:mt(e):null}function dO(e){let t=ft(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function fO(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Vd),a=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Pt(l)));Number(e.getAttribute("tabindex"))>=0&&a.sort((l,s)=>{let c=Number(l.getAttribute("tabindex")),f=Number(s.getAttribute("tabindex"));return c===f?0:c===0?1:f===0?-1:c-f});let u={},o=[r.body],i=he(e,"input",{type:"radio"})?e.name:void 0;a.forEach(l=>{let s=l;if(he(s,"input",{type:"radio"})&&s.name){if(s===e){o.push(s);return}else if(s.name===i)return;if(s.checked){o=o.filter(c=>!he(c,"input",{type:"radio",name:s.name})),o.push(s),u[s.name]=s;return}if(typeof u[s.name]<"u")return}o.push(s)});for(let l=o.findIndex(s=>s===e);;)if(l+=t?-1:1,l===o.length?l=0:l===-1&&(l=o.length-1),o[l]===e||o[l]===r.body||dO(o[l]))return o[l]}function Pl(e,t){if(pt(e)){let r=en(e);Kt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=Xd(r.focusNode,r.focusOffset,t);n&&Kt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function ef(e){if(pt(e))return Kt({focusNode:e,anchorOffset:0,focusOffset:mt(e).length});var t;let r=(t=Qr(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function pO(e){if(pt(e))return en(e).startOffset===0&&en(e).endOffset===mt(e).length;var t;let r=(t=Qr(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function kr(e,t,r){var n;if(pt(e))return Kt({focusNode:e,anchorOffset:t,focusOffset:r});if(Gt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Kt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function mn(e,t,r){let n=ft(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let u=a.findIndex(o=>o===t)+r;;u+=r){if(a[u]||(u=r>0?0:a.length-1),a[u]===t)return;Pt(a[u])||($t(a[u]),e.dispatchUIEvent(a[u],"click"))}}Dt.keydown=(e,t,r)=>{var n,a;return(a=(n=Ol[e.key])===null||n===void 0?void 0:n.call(Ol,e,t,r))!==null&&a!==void 0?a:mO(e,t,r)};var Ol={ArrowDown:(e,t,r)=>{if(he(t,"input",{type:"radio"}))return()=>mn(r,t,-1)},ArrowLeft:(e,t,r)=>he(t,"input",{type:"radio"})?()=>mn(r,t,-1):()=>Pl(t,-1),ArrowRight:(e,t,r)=>he(t,"input",{type:"radio"})?()=>mn(r,t,1):()=>Pl(t,1),ArrowUp:(e,t,r)=>{if(he(t,"input",{type:"radio"}))return()=>mn(r,t,1)},Backspace:(e,t,r)=>{if(wr(t))return()=>{Rr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(wr(t))return()=>{Rr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(he(t,["input","textarea"])||Gt(t))return()=>{var r,n;let a=(n=(r=cO(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;kr(t,a,a)}},Home:(e,t)=>{if(he(t,["input","textarea"])||Gt(t))return()=>{kr(t,0,0)}},PageDown:(e,t)=>{if(he(t,["input"]))return()=>{let r=mt(t).length;kr(t,r,r)}},PageUp:(e,t)=>{if(he(t,["input"]))return()=>{kr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=fO(t,r.system.keyboard.modifiers.Shift);$t(n),pt(n)&&Tr(n,{anchorOffset:0,focusOffset:n.value.length})}},mO=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>ef(t)};Dt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(he(t,"button")||he(t,"input")&&bO.includes(t.type)||he(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(he(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&hO.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(wr(t)){let n=e.key==="Enter"?Gt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?` +`:e.key;return()=>Rr(r,t,a,n)}};var bO=["button","color","file","image","reset","submit"],hO=["email","month","password","search","tel","text","url","week"];Dt.keyup=(e,t,r)=>{var n;return(n=Sl[e.key])===null||n===void 0?void 0:n.call(Sl,e,t,r)};var Sl={" ":(e,t,r)=>{if(Bd(t))return()=>r.dispatchUIEvent(t,"click")}};Dt.paste=(e,t,r)=>{if(wr(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Rr(r,t,a,"insertFromPaste")}};var tf={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function rf(e){return tf[e].EventType}var yO=["MouseEvent","PointerEvent"];function gO(e){return yO.includes(rf(e))}function vO(e){return rf(e)==="KeyboardEvent"}var _O={ClipboardEvent:[EO],Event:[],InputEvent:[bn,RO],MouseEvent:[bn,vo,Tl],PointerEvent:[bn,vo,Tl,qO],KeyboardEvent:[bn,vo,CO]};function nf(e,t,r){let n=ft(t),{EventType:a,defaultInit:u}=tf[e],o=new(wO(n))[a](e,u);return _O[a].forEach(i=>i(o,r??{})),o}function wO(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var u;let o=(u=e.ClipboardEvent)!==null&&u!==void 0?u:class extends r{};var i;let l=(i=e.PopStateEvent)!==null&&i!==void 0?i:class extends r{};var s;let c=(s=e.ProgressEvent)!==null&&s!==void 0?s:class extends r{};var f;let d=(f=e.TransitionEvent)!==null&&f!==void 0?f:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var b;let _=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends m{};var h;let g=(h=e.FocusEvent)!==null&&h!==void 0?h:class extends m{};var R;let w=(R=e.InputEvent)!==null&&R!==void 0?R:class extends m{};var P;let S=(P=e.KeyboardEvent)!==null&&P!==void 0?P:class extends m{};var q;let y=(q=e.MouseEvent)!==null&&q!==void 0?q:class extends m{};var C;let x=(C=e.DragEvent)!==null&&C!==void 0?C:class extends y{};var j;let L=(j=e.PointerEvent)!==null&&j!==void 0?j:class extends y{};var U;let H=(U=e.TouchEvent)!==null&&U!==void 0?U:class extends m{};return{Event:r,AnimationEvent:a,ClipboardEvent:o,PopStateEvent:l,ProgressEvent:c,TransitionEvent:d,UIEvent:m,CompositionEvent:_,FocusEvent:g,InputEvent:w,KeyboardEvent:S,MouseEvent:y,DragEvent:x,PointerEvent:L,TouchEvent:H}}function nr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function je(e){return Number(e??0)}function EO(e,{clipboardData:t}){nr(e,{clipboardData:t})}function RO(e,{data:t,inputType:r,isComposing:n}){nr(e,{data:t,isComposing:!!n,inputType:String(r)})}function bn(e,{view:t,detail:r}){nr(e,{view:t,detail:je(r??0)})}function vo(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:u,modifierCapsLock:o,modifierFn:i,modifierFnLock:l,modifierNumLock:s,modifierScrollLock:c,modifierSymbol:f,modifierSymbolLock:d}){nr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(p){return!!{Alt:t,AltGraph:u,CapsLock:o,Control:r,Fn:i,FnLock:l,Meta:n,NumLock:s,ScrollLock:c,Shift:a,Symbol:f,SymbolLock:d}[p]}})}function CO(e,{key:t,code:r,location:n,repeat:a,isComposing:u,charCode:o}){nr(e,{key:String(t),code:String(r),location:je(n),repeat:!!a,isComposing:!!u,charCode:o})}function Tl(e,{x:t,y:r,screenX:n,screenY:a,clientX:u=t,clientY:o=r,button:i,buttons:l,relatedTarget:s}){nr(e,{screenX:je(n),screenY:je(a),clientX:je(u),x:je(u),clientY:je(o),y:je(o),button:je(i),buttons:je(l),relatedTarget:s})}function qO(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:u,tiltX:o,tiltY:i,twist:l,pointerType:s,isPrimary:c}){nr(e,{pointerId:je(t),width:je(r),height:je(n),pressure:je(a),tangentialPressure:je(u),tiltX:je(o),tiltY:je(i),twist:je(l),pointerType:String(s),isPrimary:!!c})}function PO(e,t,r,n=!1){(gO(t)||vO(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=nf(t,e,r);return of.call(this,e,a,n)}function of(e,t,r=!1){var n;let a=t.type,u=r?()=>{}:(n=Dt[a])===null||n===void 0?void 0:n.call(Dt,t,e,this);if(u){t.preventDefault();let o=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>o}),Object.defineProperty(t,"preventDefault",{value:()=>{o=t.cancelable}}),Zr(()=>e.dispatchEvent(t)),o||u(),!o}return Zr(()=>e.dispatchEvent(t))}function OO(e,t,r){let n=nf(t,e,r);Zr(()=>e.dispatchEvent(n))}var _o=Symbol("Interceptor for programmatical calls");function cr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),u=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[u])!="function"||n[u][_o])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function o(...i){let{applyNative:l=!1,realArgs:s,then:c}=r.call(this,...i),f=(!l&&a||n)[u];u==="set"?f.call(this,s):f.call(this,...s),c==null||c()}o[_o]=_o,Object.defineProperty(e,t,{...a??n,[u]:o})}function SO(e){cr(e,"value",function(t){let r=V0(t);return r&&tO(this),{applyNative:!!r,realArgs:TO(this,t),then:r?void 0:()=>rO(this,String(t))}})}function TO(e,t){return he(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function AO(e){cr(e,"setSelectionRange",function(t,...r){let n=z0(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:En(e)}}),cr(e,"selectionStart",function(t){return{realArgs:t,then:()=>En(e)}}),cr(e,"selectionEnd",function(t){return{realArgs:t,then:()=>En(e)}}),cr(e,"select",function(){return{realArgs:[],then:()=>K0(e,{anchorOffset:0,focusOffset:mt(e).length})}})}function xO(e){cr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{ei(e),En(e)}}})}var pr=Symbol("Node prepared with document state workarounds");function af(e){e[pr]||(e.addEventListener("focus",t=>{let r=t.target;Al(r)},{capture:!0,passive:!0}),e.activeElement&&Al(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=G0(r);n!==void 0&&(r.value!==n&&OO(r,"change"),Yd(r))},{capture:!0,passive:!0}),e[pr]=pr)}function Al(e){e[pr]||(he(e,["input","textarea"])&&(SO(e),AO(e),xO(e)),e[pr]=pr)}function MO(e){return jO(e)?e:e.ownerDocument}function jO(e){return e.nodeType===9}function Cr(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var et;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(et||(et={}));var NO=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function xl(e){return NO.includes(e)}var IO=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Ml(e){return IO.includes(e)}var kO=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,a;let u=String(t.key),o=String(t.code),i=go(e.config.document);this.setKeydownTarget(i);var l;(l=(r=this.pressed)[n=o])!==null&&l!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),xl(u)&&(this.modifiers[u]=!0);let s=e.dispatchUIEvent(i,"keydown",{key:u,code:o});Ml(u)&&!this.modifiers[u]&&(this.modifiers[u]=!0,this.modifierLockStart[u]=!0),(a=this.pressed[o]).unpreventedDefault||(a.unpreventedDefault=s),s&&this.hasKeyPress(u)&&e.dispatchUIEvent(go(e.config.document),"keypress",{key:u,code:o,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],xl(r)&&!Object.values(this.pressed).find(u=>u.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(go(e.config.document),"keyup",{key:r,code:n},!a),Ml(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){ir(this,"system",void 0),ir(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),ir(this,"pressed",{}),ir(this,"carryChar",""),ir(this,"lastKeydownTarget",void 0),ir(this,"modifierLockStart",{}),this.system=e}},BO=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:et.LEFT},{code:"AltRight",key:"Alt",location:et.RIGHT},{code:"ShiftLeft",key:"Shift",location:et.LEFT},{code:"ShiftRight",key:"Shift",location:et.RIGHT},{code:"ControlLeft",key:"Control",location:et.LEFT},{code:"ControlRight",key:"Control",location:et.RIGHT},{code:"MetaLeft",key:"Meta",location:et.LEFT},{code:"MetaRight",key:"Meta",location:et.RIGHT},{code:"OSLeft",key:"OS",location:et.LEFT},{code:"OSRight",key:"OS",location:et.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],$O=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function DO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var lf=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=ia(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=ia(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){DO(this,"pressed",{})}},jl={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function ia(e=0){return e in jl?jl[e]:Number(e)}var Nl={1:2,2:1};function Il(e){return e=ia(e),e in Nl?Nl[e]:e}function LO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var FO=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){LO(this,"pressedKeys",new Set)}};function Fr(e,t){let r=[];for(let u=e;u;u=u.parentElement)r.push(u);let n=[];for(let u=t;u;u=u.parentElement)n.push(u);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function la({target:e,node:t,offset:r}){return pt(e)?{node:e,offset:r??mt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:sf(e,r)}function sf(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let u=e.childNodes.item(n),o=String(u.textContent);if(o.length)if(t!==void 0&&o.lengthe.end||u.offset0&&o.setEnd(u.node,u.offset);let l=t.getSelection();l==null||l.removeAllRanges(),l==null||l.addRange(o.cloneRange())}}function uf(e,t){var r,n,a,u,o,i,l,s;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((u=t.coords)===null||u===void 0?void 0:u.y)||((o=e.caret)===null||o===void 0?void 0:o.node)!==((i=t.caret)===null||i===void 0?void 0:i.node)||((l=e.caret)===null||l===void 0?void 0:l.offset)!==((s=t.caret)===null||s===void 0?void 0:s.offset)}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zO=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!uf(r,t))return;let a=this.getTarget(e),u=this.getEventInit("mousemove"),[o,i]=Fr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",u),o.forEach(l=>e.dispatchUIEvent(l,"mouseleave",u)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",u),i.forEach(l=>e.dispatchUIEvent(l,"mouseenter",u)))},move:()=>{e.dispatchUIEvent(a,"mousemove",u),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let u=Pt(a),o=this.getEventInit("mousedown",t.button);(u||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),$t(a)),!u&&Il(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!Pt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let u=Fr(this.buttonDownTarget[n],a)[2][0];if(u){let o=this.getEventInit("click",t.button,r);o.detail&&(e.dispatchUIEvent(u,o.button===0?"click":"auxclick",o),o.button===0&&o.detail===2&&e.dispatchUIEvent(u,"dblclick",{...this.getEventInit("dblclick",t.button),detail:o.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Il(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=UO({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&VO(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Vt(this,"position",{}),Vt(this,"buttons",new lf),Vt(this,"selecting",void 0),Vt(this,"buttonDownTarget",{}),Vt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Vt(this,"down",{}),Vt(this,"count",{})}})}};function Nn(e,t){var r;return((r=cf(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function WO(e){let t=ft(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var kl=Symbol("Last check for pointer-events");function cf(e,t){let r=t[kl];if(!(e.config.pointerEventsCheck!==fr.Never&&(!r||Bl(e.config.pointerEventsCheck,fr.EachApiCall)&&r[Ue.Call]!==fn(e,Ue.Call)||Bl(e.config.pointerEventsCheck,fr.EachTrigger)&&r[Ue.Trigger]!==fn(e,Ue.Trigger))))return r==null?void 0:r.result;let n=WO(t);return t[kl]={[Ue.Call]:fn(e,Ue.Call),[Ue.Trigger]:fn(e,Ue.Trigger),result:n},n}function Br(e,t){let r=cf(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",GO(r.tree)].join(` +`))}function GO(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,KO(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(` +`)}function KO(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(he(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(o=>{var i;return(i=o.textContent)===null||i===void 0?void 0:i.trim()}).join("|");else if(he(e,"button")){var u;r=(u=e.textContent)===null||u===void 0?void 0:u.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Bl(e,t){return(e&t)>0}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $l=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Fr(null,r),a=this.getEventInit();return Br(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(u=>e.dispatchUIEvent(u,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!uf(r,t))return;let a=this.getTarget(e),u=this.getEventInit(),[o,i]=Fr(n,a);return{leave:()=>{Nn(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",u),o.forEach(l=>e.dispatchUIEvent(l,"pointerleave",u)))},enter:()=>{Br(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",u),i.forEach(l=>e.dispatchUIEvent(l,"pointerenter",u)))},move:()=>{e.dispatchUIEvent(a,"pointermove",u)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Fr(t,null),n=this.getEventInit();Nn(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){jt(this,"pointerId",void 0),jt(this,"pointerType",void 0),jt(this,"isPrimary",void 0),jt(this,"isMultitouch",!1),jt(this,"isCancelled",!1),jt(this,"isDown",!1),jt(this,"isPrevented",!1),jt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var YO=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),u=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),u==null||u.leave(),a==null||a.enter(),u==null||u.enter(),a==null||a.move(),u==null||u.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.up(e,t,a)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Nt(this,"system",void 0),Nt(this,"mouse",void 0),Nt(this,"buttons",void 0),Nt(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new FO),this.registry[t]}constructor(){Nt(this,"registry",{})}}),Nt(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new $l({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Nt(this,"registry",{mouse:new $l({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Nt(this,"nextId",2)}}),this.system=e,this.buttons=new lf,this.mouse=new zO}};function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var df=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Dl(this,"keyboard",new kO(this)),Dl(this,"pointer",new YO(this))}};async function JO(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function XO(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function QO(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function ZO(e){return this.pointer({target:e})}async function eS(e){return Br(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function tS({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function rS(e,t){let r=[];do{let{type:a,descriptor:u,consumedLength:o,releasePrevious:i,releaseSelf:l=!0,repeat:s}=zd(t,"keyboard");var n;let c=(n=e.find(f=>{if(a==="["){var d;return((d=f.code)===null||d===void 0?void 0:d.toLowerCase())===u.toLowerCase()}else if(a==="{"){var p;return((p=f.key)===null||p===void 0?void 0:p.toLowerCase())===u.toLowerCase()}return f.key===u}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:u};r.push({keyDef:c,releasePrevious:i,releaseSelf:l,repeat:s}),t=t.slice(o)}while(t);return r}async function nS(e){let t=rS(this.config.keyboardMap,e);for(let r=0;r{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:u})}function cS(e,t){let r=Xa(ft(e));return r.setData("text",t),r}function Ll(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:u,releaseSelf:o=!0}=zd(t,"pointer"),i=e.find(l=>l.name===n);i&&r.push({keyDef:i,releasePrevious:u,releaseSelf:o}),t=t.slice(a)}while(t);return r}async function dS(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ll(t,n)):"keys"in n?r.push(...Ll(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n{if(typeof i!="string"&&a.includes(i))return i;{let l=a.find(s=>s.value===i||s.innerHTML===i);if(l)return l;throw ye().getElementError(`Value "${String(i)}" not found in options`,t)}}).filter(i=>!Pt(i));if(Pt(t)||!u.length)return;let o=i=>{i.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(he(t,"select"))if(t.multiple)for(let i of u){let l=this.config.pointerEventsCheck===0?!0:Nn(this,i);l&&(this.dispatchUIEvent(i,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(i,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(i,"pointermove"),this.dispatchUIEvent(i,"mousemove"),this.dispatchUIEvent(i,"pointerdown"),this.dispatchUIEvent(i,"mousedown")),$t(t),l&&(this.dispatchUIEvent(i,"pointerup"),this.dispatchUIEvent(i,"mouseup")),o(i),l&&this.dispatchUIEvent(i,"click"),await Cr(this.config)}else if(u.length===1){let i=this.config.pointerEventsCheck===0?!0:Nn(this,t);i?await this.click(t):$t(t),o(u[0]),i&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Cr(this.config)}else throw ye().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let i of u)await this.click(i),await this.unhover(i);else throw ye().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function yS(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:u}={}){e.disabled||(r||await this.click(e),a!==void 0&&kr(e,a,u??a),await this.keyboard(t),n||await aS(this))}var Ul=Symbol("files and value properties are mocked");function wo(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function gS(e,t){var r;(r=e[Ul])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),u=Object.getOwnPropertyDescriptor(e,"files");function o(){wo(e,"type",n),wo(e,"value",a),wo(e,"files",u)}e[Ul]={restore:o},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(i){if(i==="")o();else{var l;a==null||(l=a.set)===null||l===void 0||l.call(e,i)}}},type:{configurable:!0,get:()=>"file",set(i){i!=="file"&&(o(),e.type=i)}}})}async function vS(e,t){let r=he(e,"label")?e.control:e;if(!r||!he(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(Pt(e))return;let n=(Array.isArray(t)?t:[t]).filter(u=>!this.config.applyAccept||_S(u,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var u;n.length===((u=r.files)===null||u===void 0?void 0:u.length)&&n.every((o,i)=>{var l;return o===((l=r.files)===null||l===void 0?void 0:l.item(i))})||(gS(r,Ja(ft(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function _S(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Hl={click:JO,dblClick:XO,tripleClick:QO,hover:ZO,unhover:eS,tab:tS,keyboard:nS,copy:lS,cut:sS,paste:uS,pointer:dS,clear:mS,deselectOptions:hS,selectOptions:bS,type:yS,upload:vS};function wS(e){return ye().asyncWrapper(e)}var mf={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:BO,pointerMap:$O,pointerEventsCheck:fr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},ES={...mf,writeToClipboard:!0};function bf(e={},t=ES,r){let n=PS(e,r,t);return{...t,...e,document:n}}function RS(e={}){let t=bf(e);af(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return T0(n),ri(t).api}function Fe({keyboardState:e,pointerState:t,...r}={},n){let a=bf(r,mf,n);af(a.document);var u;let o=(u=t??e)!==null&&u!==void 0?u:new df;return{api:ri(a,o).api,system:o}}function CS(e){return ri({...this.config,...e},this.system).api}function qS(e,t){function r(...n){return Ir(e,Ue.Call),wS(()=>t.apply(e,n).then(async a=>(await Cr(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function ri(e,t=new df){let r={};return Object.assign(r,{config:e,dispatchEvent:of.bind(r),dispatchUIEvent:PO.bind(r),system:t,levelRefs:{},...Hl}),{instance:r,api:{...Object.fromEntries(Object.entries(Hl).map(([n,a])=>[n,qS(r,a)])),setup:CS.bind(r)}}}function PS(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&MO(t))!==null&&a!==void 0?a:r.document}var hf={};ba(hf,{clear:()=>OS,click:()=>SS,copy:()=>TS,cut:()=>AS,dblClick:()=>xS,deselectOptions:()=>MS,hover:()=>jS,keyboard:()=>NS,paste:()=>kS,pointer:()=>IS,selectOptions:()=>BS,tab:()=>US,tripleClick:()=>$S,type:()=>DS,unhover:()=>LS,upload:()=>FS});function OS(e){return Fe().api.clear(e)}function SS(e,t={}){return Fe(t,e).api.click(e)}function TS(e={}){return Fe(e).api.copy()}function AS(e={}){return Fe(e).api.cut()}function xS(e,t={}){return Fe(t).api.dblClick(e)}function MS(e,t,r={}){return Fe(r).api.deselectOptions(e,t)}function jS(e,t={}){return Fe(t).api.hover(e)}async function NS(e,t={}){let{api:r,system:n}=Fe(t);return r.keyboard(e).then(()=>n)}async function IS(e,t={}){let{api:r,system:n}=Fe(t);return r.pointer(e).then(()=>n)}function kS(e,t){return Fe(t).api.paste(e)}function BS(e,t,r={}){return Fe(r).api.selectOptions(e,t)}function $S(e,t={}){return Fe(t).api.tripleClick(e)}function DS(e,t,r={}){return Fe(r,e).api.type(e,t,r)}function LS(e,t={}){let{api:r,system:n}=Fe(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function FS(e,t,r={}){return Fe(r).api.upload(e,t)}function US(e={}){return Fe().api.tab(e)}var HS={...hf,setup:RS};function VS(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Vl.screen=new Proxy(Vl.screen,{get(e,t,r){return zl.warn(zS` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/react/essentials/interactions + `),Reflect.get(e,t,r)}});kn({userEvent:HS},{intercept:!0});kn({expect:dc},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===hE.Assertion){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"});var WS=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gq():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?yq():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&vq()};yE.__STORYBOOK_TEST_LOADERS__=[WS];var{step:YS}=kn({step:(e,t,r)=>t(r)},{intercept:!0}),sa=(e,t=0,r)=>{if(t>5||e==null)return e;if(pq(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=hq(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>sa(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,a]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n).writable&&(e[n]=sa(a,t,n));return e}return e},GS=({initialArgs:e})=>sa(e),JS=[GS],XS={throwPlayFunctionExceptions:!1};export{JS as argsEnhancers,XS as parameters,YS as runStep,sa as traverseArgs}; diff --git a/storybook/assets/preview-CAqAUYrJ.js b/storybook/assets/preview-CAqAUYrJ.js new file mode 100644 index 000000000..1e38e6163 --- /dev/null +++ b/storybook/assets/preview-CAqAUYrJ.js @@ -0,0 +1 @@ +var m=Object.create,v=Object.defineProperty,E=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,h=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,S=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports),L=(r,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of w(n))!j.call(r,a)&&a!==i&&v(r,a,{get:()=>n[a],enumerable:!(l=E(n,a))||l.enumerable});return r},P=(r,n,i)=>(i=r!=null?m(h(r)):{},L(n||!r||!r.__esModule?v(i,"default",{value:r,enumerable:!0}):i,r)),U=S(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var n=Object.prototype.toString,i=Object.getPrototypeOf,l=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,A){return function s(e,t,u){var o,O,c,y=n.call(e),d=n.call(t);if(e===t)return!0;if(e==null||t==null)return!1;if(u.indexOf(e)>-1&&u.indexOf(t)>-1)return!0;if(u.push(e,t),y!=d||(o=l(e),O=l(t),o.length!=O.length||o.some(function(b){return!s(e[b],t[b],u)})))return!1;switch(y.slice(8,-1)){case"Symbol":return e.valueOf()==t.valueOf();case"Date":case"Number":return+e==+t||+e!=+e&&+t!=+t;case"RegExp":case"Function":case"String":case"Boolean":return""+e==""+t;case"Set":case"Map":o=e.entries(),O=t.entries();do if(!s((c=o.next()).value,O.next().value,u))return!1;while(!c.done);return!0;case"ArrayBuffer":e=new Uint8Array(e),t=new Uint8Array(t);case"DataView":e=new Uint8Array(e.buffer),t=new Uint8Array(t.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(e.length!=t.length)return!1;for(c=0;c_.getChannel().emit(D,r),p=r=>{let{target:n}=r;if(!(n instanceof B))return;let i=n,{sbKind:l,sbStory:a}=i.dataset;(l||a)&&(r.preventDefault(),C({kind:l,story:a}))},f=!1,T=()=>{f||(f=!0,g.addEventListener("click",p))},I=()=>{f&&(f=!1,g.removeEventListener("click",p))},Y=x({name:"withLinks",parameterName:M,wrapper:(r,n)=>(T(),_.getChannel().once(R,I),r(n))}),K=[Y];export{K as decorators}; diff --git a/storybook/assets/preview-Cv3rAi2i.js b/storybook/assets/preview-Cv3rAi2i.js new file mode 100644 index 000000000..d82e70064 --- /dev/null +++ b/storybook/assets/preview-Cv3rAi2i.js @@ -0,0 +1,7 @@ +const{global:r}=__STORYBOOK_MODULE_GLOBAL__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:O}=__STORYBOOK_MODULE_CORE_EVENTS__;var i="storybook/highlight",d="storybookHighlight",g=`${i}/add`,E=`${i}/reset`,{document:l}=r,H=(e="#FF4785",t="dashed")=>` + outline: 2px ${t} ${e}; + outline-offset: 2px; + box-shadow: 0 0 0 6px rgba(255,255,255,0.6); +`,I=e=>({outline:`2px dashed ${e}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),_=s.getChannel(),T=e=>{let t=d;n();let o=Array.from(new Set(e.elements)),h=l.createElement("style");h.setAttribute("id",t),h.innerHTML=o.map(a=>`${a}{ + ${H(e.color,e.style)} + }`).join(" "),l.head.appendChild(h)},n=()=>{var o;let e=d,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};_.on(O,n);_.on(E,n);_.on(g,T);export{I as highlightObject,H as highlightStyle}; diff --git a/storybook/assets/preview-CwqMn10d.js b/storybook/assets/preview-CwqMn10d.js new file mode 100644 index 000000000..fe1b7b219 --- /dev/null +++ b/storybook/assets/preview-CwqMn10d.js @@ -0,0 +1,20 @@ +import{d as E}from"./index-DrFu-skq.js";const{useMemo:f,useEffect:v}=__STORYBOOK_MODULE_PREVIEW_API__,{global:M}=__STORYBOOK_MODULE_GLOBAL__,{logger:h}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var p="backgrounds",{document:l,window:B}=M,x=()=>B.matchMedia("(prefers-reduced-motion: reduce)").matches,O=(r,e=[],a)=>{if(r==="transparent")return"transparent";if(e.find(n=>n.value===r))return r;let d=e.find(n=>n.name===a);if(d)return d.value;if(a){let n=e.map(o=>o.name).join(", ");h.warn(E` + Backgrounds Addon: could not find the default color "${a}". + These are the available colors for your story based on your configuration: + ${n}. + `)}return"transparent"},k=r=>{(Array.isArray(r)?r:[r]).forEach(S)},S=r=>{var a;let e=l.getElementById(r);e&&((a=e.parentElement)==null||a.removeChild(e))},w=(r,e)=>{let a=l.getElementById(r);if(a)a.innerHTML!==e&&(a.innerHTML=e);else{let d=l.createElement("style");d.setAttribute("id",r),d.innerHTML=e,l.head.appendChild(d)}},A=(r,e,a)=>{var n;let d=l.getElementById(r);if(d)d.innerHTML!==e&&(d.innerHTML=e);else{let o=l.createElement("style");o.setAttribute("id",r),o.innerHTML=e;let i=`addon-backgrounds-grid${a?`-docs-${a}`:""}`,t=l.getElementById(i);t?(n=t.parentElement)==null||n.insertBefore(o,t):l.head.appendChild(o)}},L=(r,e)=>{var c;let{globals:a,parameters:d}=e,n=(c=a[p])==null?void 0:c.value,o=d[p],i=f(()=>o.disable?"transparent":O(n,o.values,o.default),[o,n]),t=f(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",u=f(()=>` + ${s} { + background: ${i} !important; + ${x()?"":"transition: background-color 0.3s;"} + } + `,[i,s]);return v(()=>{let g=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!t){k(g);return}A(g,u,e.viewMode==="docs"?e.id:null)},[t,u,e]),r()},T=(r,e)=>{var y;let{globals:a,parameters:d}=e,n=d[p].grid,o=((y=a[p])==null?void 0:y.grid)===!0&&n.disable!==!0,{cellAmount:i,cellSize:t,opacity:s}=n,u=e.viewMode==="docs",c=d.layout===void 0||d.layout==="padded"?16:0,g=n.offsetX??(u?20:c),m=n.offsetY??(u?20:c),$=f(()=>{let b=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",_=[`${t*i}px ${t*i}px`,`${t*i}px ${t*i}px`,`${t}px ${t}px`,`${t}px ${t}px`].join(", ");return` + ${b} { + background-size: ${_} !important; + background-position: ${g}px ${m}px, ${g}px ${m}px, ${g}px ${m}px, ${g}px ${m}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important; + } + `},[t]);return v(()=>{let b=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!o){k(b);return}w(b,$)},[o,$,e]),r()},I=[T,L],R={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},G={[p]:null};export{I as decorators,G as globals,R as parameters}; diff --git a/storybook/assets/preview-DKaZ_Whs.js b/storybook/assets/preview-DKaZ_Whs.js new file mode 100644 index 000000000..e6b57e2ff --- /dev/null +++ b/storybook/assets/preview-DKaZ_Whs.js @@ -0,0 +1 @@ +const s=(e,a)=>{if(a.globals.shouldReload){const o=new URLSearchParams(window.parent.location.search);return o.set("args",Object.keys(a.args).map(r=>`${r}:${a.args[r]}`).join(";")),history.pushState(null,"","?"+o.toString()),window.location.reload(),`
${e()}
`}return a.globals.shouldReload=!0,e()},t={decorators:[s],parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}};export{t as default}; diff --git a/storybook/assets/preview-Db4Idchh.js b/storybook/assets/preview-Db4Idchh.js new file mode 100644 index 000000000..4200af805 --- /dev/null +++ b/storybook/assets/preview-Db4Idchh.js @@ -0,0 +1 @@ +var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function K(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=K())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function G(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function J(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function Q(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function x(e,t){return Math.abs(e.x-t.x){let f=l&&n.position==="center"?it(e,t,n):et(e,t,n,i[r-1],l);i[r]=f})}function lt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function nt(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function ft(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:nt(_)}}function rt(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return P(s)}function at(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return P(g)}function st(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return P(s)}function ht(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function ut(e){return t=>{if(e&&t){let o=ft(e),l=rt(t,o),i=at(t,o),n=st(t,o),r=ht(t,o),f=o.width<=B*3||o.height<=B;lt(t,o,[...r,...i,...n,...l],f)}}}function dt(e){V(ut(e))}var mt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=mt(e,t),dt(O)}var gt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),G()}},[o,t.viewMode]),e()},pt="measureEnabled",ct=[gt],wt={[pt]:!1};export{ct as decorators,wt as globals}; diff --git a/storybook/assets/preview-K4_qCkL4.js b/storybook/assets/preview-K4_qCkL4.js new file mode 100644 index 000000000..08b40ec15 --- /dev/null +++ b/storybook/assets/preview-K4_qCkL4.js @@ -0,0 +1 @@ +import{v as u}from"./v4-D8aEg3BZ.js";const{addons:A}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__,{ImplicitActionsDuringRendering:b}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var T="storybook/actions",I=`${T}/action-event`,S={depth:10,clearOnStoryChange:!0,limit:50},m=(t,n)=>{let e=Object.getPrototypeOf(t);return!e||n(e)?e:m(e,n)},w=t=>!!(typeof t=="object"&&t&&m(t,n=>/^Synthetic(?:Base)?Event$/.test(n.constructor.name))&&typeof t.persist=="function"),D=t=>{if(w(t)){let n=Object.create(t.constructor.prototype,Object.getOwnPropertyDescriptors(t));n.persist();let e=Object.getOwnPropertyDescriptor(n,"view"),i=e==null?void 0:e.value;return typeof i=="object"&&(i==null?void 0:i.constructor.name)==="Window"&&Object.defineProperty(n,"view",{...e,value:Object.create(i.constructor.prototype)}),n}return t},j=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?u():Date.now().toString(36)+Math.random().toString(36).substring(2);function l(t,n={}){let e={...S,...n},i=function(...o){var g,_;if(n.implicit){let d=(g="__STORYBOOK_PREVIEW__"in O?O.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(p=>p.phase==="playing"||p.phase==="rendering");if(d){let p=!((_=window==null?void 0:window.FEATURES)!=null&&_.disallowImplicitActionsInRenderV8),y=new b({phase:d.phase,name:t,deprecated:p});if(p)console.warn(y);else throw y}}let r=A.getChannel(),c=j(),a=5,s=o.map(D),R=o.length>1?s:s[0],h={id:c,count:0,data:{name:t,args:R},options:{...e,maxDepth:a+(e.depth||3),allowFunction:e.allowFunction||!1}};r.emit(I,h)};return i.isAction=!0,i.implicit=n.implicit,i}var E=(t,n)=>typeof n[t]>"u"&&!(t in n),P=t=>{let{initialArgs:n,argTypes:e,id:i,parameters:{actions:o}}=t;if(!o||o.disable||!o.argTypesRegex||!e)return{};let r=new RegExp(o.argTypesRegex);return Object.entries(e).filter(([c])=>!!r.test(c)).reduce((c,[a,s])=>(E(a,n)&&(c[a]=l(a,{implicit:!0,id:i})),c),{})},F=t=>{let{initialArgs:n,argTypes:e,parameters:{actions:i}}=t;return i!=null&&i.disable||!e?{}:Object.entries(e).filter(([o,r])=>!!r.action).reduce((o,[r,c])=>(E(r,n)&&(o[r]=l(typeof c.action=="string"?c.action:r)),o),{})},x=[F,P],f=Symbol.for("tinyspy:spy"),M=t=>{let{args:n,parameters:{actions:e}}=t;e!=null&&e.disable||Object.entries(n).filter(([,i])=>typeof i=="function"&&"_isMockFunction"in i&&i._isMockFunction).forEach(([i,o])=>{var c;let r=o.getMockImplementation()??(f in o?(c=o[f])==null?void 0:c.getOriginal():void 0);if((r==null?void 0:r._actionAttached)!==!0&&(r==null?void 0:r.isAction)!==!0){let a=(...s)=>(l(i)(...s),r==null?void 0:r(...s));a._actionAttached=!0,o.mockImplementation(a)}})},B=[M];export{x as argsEnhancers,B as loaders,f as tinySpyInternalState}; diff --git a/storybook/assets/stories-B3RMbE06.js b/storybook/assets/stories-B3RMbE06.js new file mode 100644 index 000000000..79f2f5e1b --- /dev/null +++ b/storybook/assets/stories-B3RMbE06.js @@ -0,0 +1,181 @@ +import{i as B,G as C,S as L,o as F,a as p}from"./utils-C5QP6GGe.js";import{F as w}from"./circlepack-DSfg5Lq4.js";import{a as D}from"./circular-CiQY0nuG.js";import{d as E}from"./defaults-9mJNxk8k.js";import{f as M}from"./index-CGsErLzW.js";import"./_commonjsHelpers-BosuxZz1.js";var S=E,I=B,P={dimensions:["x","y"],center:.5,rng:Math.random,scale:1};function v(r,c,o){if(!I(c))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");o=S(o,P);var s=o.dimensions;if(!Array.isArray(s)||s.length<1)throw new Error("graphology-layout/random: given dimensions are invalid.");var b=s.length,k=o.center,z=o.rng,m=o.scale,u=(k-.5)*m;function t(y){for(var n=0;ng&&(g=i),dn&&(n=d)}),m=(t+g)/2,u=(y+n)/2}var x=Math.cos(o),f=Math.sin(o);function h(e){var a=e[k],i=e[z];return e[k]=m+(a-m)*x-(i-u)*f,e[z]=u+(a-m)*f+(i-u)*x,e}if(!r){var l={};return c.forEachNode(function(e,a){var i={};i[k]=a[k],i[z]=a[z],l[e]=h(i)}),l}c.updateEachNodeAttributes(function(e,a){return h(a),a},{attributes:b})}var j=A.bind(null,!1);j.assign=A.bind(null,!0);var H=D;const U=[{key:"0.0",attributes:{x:268.72385,y:91.18155,size:22.714287,label:"Myriel",color:"#D8482D"}},{key:"1.0",attributes:{x:296.39902,y:57.118374,size:15,label:"Napoleon",color:"#B30000"}},{key:"2.0",attributes:{x:248.45229,y:52.22656,size:16.714285,label:"MlleBaptistine",color:"#BB100A"}},{key:"3.0",attributes:{x:224.83313,y:98.01885,size:16.714285,label:"MmeMagloire",color:"#BB100A"}},{key:"4.0",attributes:{x:270.9098,y:149.2961,size:15,label:"CountessDeLo",color:"#B30000"}},{key:"5.0",attributes:{x:318.6509,y:85.41602,size:15,label:"Geborand",color:"#B30000"}},{key:"6.0",attributes:{x:330.3126,y:117.94921,size:15,label:"Champtercier",color:"#B30000"}},{key:"7.0",attributes:{x:310.513,y:155.66956,size:15,label:"Cravatte",color:"#B30000"}},{key:"8.0",attributes:{x:295.74683,y:124.78035,size:15,label:"Count",color:"#B30000"}},{key:"9.0",attributes:{x:241.03372,y:131.8897,size:15,label:"OldMan",color:"#B30000"}},{key:"10.0",attributes:{x:-55.532795,y:-246.75798,size:15,label:"Labarre",color:"#B30000"}},{key:"11.0",attributes:{x:-8.81755,y:-60.480377,size:45,label:"Valjean",color:"#FEF0D9"}},{key:"12.0",attributes:{x:116.85369,y:-100.77216,size:15.857142,label:"Marguerite",color:"#B70805"}},{key:"13.0",attributes:{x:78.10812,y:-16.99423,size:15,label:"MmeDeR",color:"#B30000"}},{key:"14.0",attributes:{x:47.669666,y:-96.23158,size:15,label:"Isabeau",color:"#B30000"}},{key:"15.0",attributes:{x:20.945133,y:-118.35298,size:15,label:"Gervais",color:"#B30000"}},{key:"16.0",attributes:{x:232.50653,y:-165.75543,size:21.857143,label:"Tholomyes",color:"#D44028"}},{key:"17.0",attributes:{x:322.50223,y:-210.94756,size:20.142857,label:"Listolier",color:"#CC301E"}},{key:"18.0",attributes:{x:322.0389,y:-162.5361,size:20.142857,label:"Fameuil",color:"#CC301E"}},{key:"19.0",attributes:{x:282.84045,y:-234.37758,size:20.142857,label:"Blacheville",color:"#CC301E"}},{key:"20.0",attributes:{x:282.14212,y:-141.3707,size:20.142857,label:"Favourite",color:"#CC301E"}},{key:"21.0",attributes:{x:279.24896,y:-186.69917,size:20.142857,label:"Dahlia",color:"#CC301E"}},{key:"22.0",attributes:{x:240.49136,y:-212.45226,size:20.142857,label:"Zephine",color:"#CC301E"}},{key:"23.0",attributes:{x:185.86234,y:-128.47615,size:27,label:"Fantine",color:"#ED7047"}},{key:"24.0",attributes:{x:-15.730793,y:46.37429,size:23.57143,label:"MmeThenardier",color:"#DC5032"}},{key:"25.0",attributes:{x:3.6068764,y:98.60965,size:27.857143,label:"Thenardier",color:"#F1784C"}},{key:"26.0",attributes:{x:-69.92912,y:-15.777599,size:23.57143,label:"Cosette",color:"#DC5032"}},{key:"27.0",attributes:{x:54.198936,y:49.115128,size:28.714287,label:"Javert",color:"#F58051"}},{key:"28.0",attributes:{x:58.138313,y:-56.714897,size:17.571428,label:"Fauchelevent",color:"#BF180F"}},{key:"29.0",attributes:{x:97.39532,y:-157.35661,size:21,label:"Bamatabois",color:"#D03823"}},{key:"30.0",attributes:{x:157.66608,y:-88.86034,size:15.857142,label:"Perpetue",color:"#B70805"}},{key:"31.0",attributes:{x:130.24326,y:-62.113045,size:17.571428,label:"Simplice",color:"#BF180F"}},{key:"32.0",attributes:{x:-31.725157,y:-124.8531,size:15,label:"Scaufflaire",color:"#B30000"}},{key:"33.0",attributes:{x:45.4282,y:-2.6807823,size:15.857142,label:"Woman1",color:"#B70805"}},{key:"34.0",attributes:{x:-2.146402,y:-152.7878,size:19.285715,label:"Judge",color:"#C72819"}},{key:"35.0",attributes:{x:54.183117,y:-142.10239,size:19.285715,label:"Champmathieu",color:"#C72819"}},{key:"36.0",attributes:{x:-21.096437,y:-192.47128,size:19.285715,label:"Brevet",color:"#C72819"}},{key:"37.0",attributes:{x:56.919018,y:-184.99847,size:19.285715,label:"Chenildieu",color:"#C72819"}},{key:"38.0",attributes:{x:21.456747,y:-211.19899,size:19.285715,label:"Cochepaille",color:"#C72819"}},{key:"39.0",attributes:{x:-69.42261,y:66.22773,size:16.714285,label:"Pontmercy",color:"#BB100A"}},{key:"40.0",attributes:{x:52.13746,y:97.863976,size:15,label:"Boulatruelle",color:"#B30000"}},{key:"41.0",attributes:{x:-84.15585,y:140.50175,size:23.57143,label:"Eponine",color:"#DC5032"}},{key:"42.0",attributes:{x:-47.696083,y:112.90357,size:16.714285,label:"Anzelma",color:"#BB100A"}},{key:"43.0",attributes:{x:10.037987,y:7.8234367,size:16.714285,label:"Woman2",color:"#BB100A"}},{key:"44.0",attributes:{x:82.99555,y:-87.651726,size:15.857142,label:"MotherInnocent",color:"#B70805"}},{key:"45.0",attributes:{x:94.93769,y:-47.799778,size:15,label:"Gribier",color:"#B30000"}},{key:"46.0",attributes:{x:-293.23438,y:-146.10257,size:15,label:"Jondrette",color:"#B30000"}},{key:"47.0",attributes:{x:-294.94247,y:-108.07895,size:15.857142,label:"MmeBurgon",color:"#B70805"}},{key:"48.0",attributes:{x:-215.57619,y:34.40003,size:33,label:"Gavroche",color:"#FCA072"}},{key:"49.0",attributes:{x:-119.18742,y:-17.39732,size:20.142857,label:"Gillenormand",color:"#CC301E"}},{key:"50.0",attributes:{x:-57.473045,y:29.63873,size:15.857142,label:"Magnon",color:"#B70805"}},{key:"51.0",attributes:{x:-93.255005,y:-60.657784,size:20.142857,label:"MlleGillenormand",color:"#CC301E"}},{key:"52.0",attributes:{x:-93.764046,y:22.565668,size:15.857142,label:"MmePontmercy",color:"#B70805"}},{key:"53.0",attributes:{x:-132.14008,y:-66.85538,size:15,label:"MlleVaubois",color:"#B30000"}},{key:"54.0",attributes:{x:-95.75337,y:-102.71505,size:17.571428,label:"LtGillenormand",color:"#BF180F"}},{key:"55.0",attributes:{x:-142.15263,y:36.388676,size:30.428574,label:"Marius",color:"#FC8F5C"}},{key:"56.0",attributes:{x:-160.2533,y:-24.29684,size:15.857142,label:"BaronessT",color:"#B70805"}},{key:"57.0",attributes:{x:-267.16248,y:196.98003,size:23.57143,label:"Mabeuf",color:"#DC5032"}},{key:"58.0",attributes:{x:-190.88988,y:96.44671,size:27,label:"Enjolras",color:"#ED7047"}},{key:"59.0",attributes:{x:-222.5417,y:144.66484,size:23.57143,label:"Combeferre",color:"#DC5032"}},{key:"60.0",attributes:{x:-325.61102,y:166.71417,size:21.857143,label:"Prouvaire",color:"#D44028"}},{key:"61.0",attributes:{x:-276.3468,y:145.79153,size:23.57143,label:"Feuilly",color:"#DC5032"}},{key:"62.0",attributes:{x:-251.45561,y:97.83937,size:25.285713,label:"Courfeyrac",color:"#E5603D"}},{key:"63.0",attributes:{x:-318.40936,y:114.202415,size:24.428572,label:"Bahorel",color:"#E05837"}},{key:"64.0",attributes:{x:-278.9682,y:45.932438,size:25.285713,label:"Bossuet",color:"#E5603D"}},{key:"65.0",attributes:{x:-333.04984,y:62.438156,size:24.428572,label:"Joly",color:"#E05837"}},{key:"66.0",attributes:{x:-370.2446,y:101.73884,size:22.714287,label:"Grantaire",color:"#D8482D"}},{key:"67.0",attributes:{x:-253.54378,y:237.9443,size:15,label:"MotherPlutarch",color:"#B30000"}},{key:"68.0",attributes:{x:-16.550194,y:152.69055,size:22.714287,label:"Gueulemer",color:"#D8482D"}},{key:"69.0",attributes:{x:35.653145,y:144.49445,size:22.714287,label:"Babet",color:"#D8482D"}},{key:"70.0",attributes:{x:58.97649,y:188.46011,size:22.714287,label:"Claquesous",color:"#D8482D"}},{key:"71.0",attributes:{x:-2.9325058,y:200.66508,size:21.857143,label:"Montparnasse",color:"#D44028"}},{key:"72.0",attributes:{x:-30.056648,y:3.5053203,size:16.714285,label:"Toussaint",color:"#BB100A"}},{key:"73.0",attributes:{x:-244.859,y:-11.3161335,size:15.857142,label:"Child1",color:"#B70805"}},{key:"74.0",attributes:{x:-280.33203,y:-1.466383,size:15.857142,label:"Child2",color:"#B70805"}},{key:"75.0",attributes:{x:-56.819256,y:182.0544,size:20.142857,label:"Brujon",color:"#CC301E"}},{key:"76.0",attributes:{x:-382.06223,y:47.045475,size:20.142857,label:"MmeHucheloup",color:"#CC301E"}}],_=[{key:"0",source:"1.0",target:"0.0",attributes:{size:1}},{key:"1",source:"2.0",target:"0.0",attributes:{size:8}},{key:"2",source:"3.0",target:"0.0",attributes:{size:10}},{key:"3",source:"3.0",target:"2.0",attributes:{size:6}},{key:"4",source:"4.0",target:"0.0",attributes:{size:1}},{key:"5",source:"5.0",target:"0.0",attributes:{size:1}},{key:"6",source:"6.0",target:"0.0",attributes:{size:1}},{key:"7",source:"7.0",target:"0.0",attributes:{size:1}},{key:"8",source:"8.0",target:"0.0",attributes:{size:2}},{key:"9",source:"9.0",target:"0.0",attributes:{size:1}},{key:"13",source:"11.0",target:"0.0",attributes:{size:5}},{key:"12",source:"11.0",target:"2.0",attributes:{size:3}},{key:"11",source:"11.0",target:"3.0",attributes:{size:3}},{key:"10",source:"11.0",target:"10.0",attributes:{size:1}},{key:"14",source:"12.0",target:"11.0",attributes:{size:1}},{key:"15",source:"13.0",target:"11.0",attributes:{size:1}},{key:"16",source:"14.0",target:"11.0",attributes:{size:1}},{key:"17",source:"15.0",target:"11.0",attributes:{size:1}},{key:"18",source:"17.0",target:"16.0",attributes:{size:4}},{key:"19",source:"18.0",target:"16.0",attributes:{size:4}},{key:"20",source:"18.0",target:"17.0",attributes:{size:4}},{key:"21",source:"19.0",target:"16.0",attributes:{size:4}},{key:"22",source:"19.0",target:"17.0",attributes:{size:4}},{key:"23",source:"19.0",target:"18.0",attributes:{size:4}},{key:"24",source:"20.0",target:"16.0",attributes:{size:3}},{key:"25",source:"20.0",target:"17.0",attributes:{size:3}},{key:"26",source:"20.0",target:"18.0",attributes:{size:3}},{key:"27",source:"20.0",target:"19.0",attributes:{size:4}},{key:"28",source:"21.0",target:"16.0",attributes:{size:3}},{key:"29",source:"21.0",target:"17.0",attributes:{size:3}},{key:"30",source:"21.0",target:"18.0",attributes:{size:3}},{key:"31",source:"21.0",target:"19.0",attributes:{size:3}},{key:"32",source:"21.0",target:"20.0",attributes:{size:5}},{key:"33",source:"22.0",target:"16.0",attributes:{size:3}},{key:"34",source:"22.0",target:"17.0",attributes:{size:3}},{key:"35",source:"22.0",target:"18.0",attributes:{size:3}},{key:"36",source:"22.0",target:"19.0",attributes:{size:3}},{key:"37",source:"22.0",target:"20.0",attributes:{size:4}},{key:"38",source:"22.0",target:"21.0",attributes:{size:4}},{key:"47",source:"23.0",target:"11.0",attributes:{size:9}},{key:"46",source:"23.0",target:"12.0",attributes:{size:2}},{key:"39",source:"23.0",target:"16.0",attributes:{size:3}},{key:"40",source:"23.0",target:"17.0",attributes:{size:3}},{key:"41",source:"23.0",target:"18.0",attributes:{size:3}},{key:"42",source:"23.0",target:"19.0",attributes:{size:3}},{key:"43",source:"23.0",target:"20.0",attributes:{size:4}},{key:"44",source:"23.0",target:"21.0",attributes:{size:4}},{key:"45",source:"23.0",target:"22.0",attributes:{size:4}},{key:"49",source:"24.0",target:"11.0",attributes:{size:7}},{key:"48",source:"24.0",target:"23.0",attributes:{size:2}},{key:"52",source:"25.0",target:"11.0",attributes:{size:12}},{key:"51",source:"25.0",target:"23.0",attributes:{size:1}},{key:"50",source:"25.0",target:"24.0",attributes:{size:13}},{key:"54",source:"26.0",target:"11.0",attributes:{size:31}},{key:"55",source:"26.0",target:"16.0",attributes:{size:1}},{key:"53",source:"26.0",target:"24.0",attributes:{size:4}},{key:"56",source:"26.0",target:"25.0",attributes:{size:1}},{key:"57",source:"27.0",target:"11.0",attributes:{size:17}},{key:"58",source:"27.0",target:"23.0",attributes:{size:5}},{key:"60",source:"27.0",target:"24.0",attributes:{size:1}},{key:"59",source:"27.0",target:"25.0",attributes:{size:5}},{key:"61",source:"27.0",target:"26.0",attributes:{size:1}},{key:"62",source:"28.0",target:"11.0",attributes:{size:8}},{key:"63",source:"28.0",target:"27.0",attributes:{size:1}},{key:"66",source:"29.0",target:"11.0",attributes:{size:2}},{key:"64",source:"29.0",target:"23.0",attributes:{size:1}},{key:"65",source:"29.0",target:"27.0",attributes:{size:1}},{key:"67",source:"30.0",target:"23.0",attributes:{size:1}},{key:"69",source:"31.0",target:"11.0",attributes:{size:3}},{key:"70",source:"31.0",target:"23.0",attributes:{size:2}},{key:"71",source:"31.0",target:"27.0",attributes:{size:1}},{key:"68",source:"31.0",target:"30.0",attributes:{size:2}},{key:"72",source:"32.0",target:"11.0",attributes:{size:1}},{key:"73",source:"33.0",target:"11.0",attributes:{size:2}},{key:"74",source:"33.0",target:"27.0",attributes:{size:1}},{key:"75",source:"34.0",target:"11.0",attributes:{size:3}},{key:"76",source:"34.0",target:"29.0",attributes:{size:2}},{key:"77",source:"35.0",target:"11.0",attributes:{size:3}},{key:"79",source:"35.0",target:"29.0",attributes:{size:2}},{key:"78",source:"35.0",target:"34.0",attributes:{size:3}},{key:"82",source:"36.0",target:"11.0",attributes:{size:2}},{key:"83",source:"36.0",target:"29.0",attributes:{size:1}},{key:"80",source:"36.0",target:"34.0",attributes:{size:2}},{key:"81",source:"36.0",target:"35.0",attributes:{size:2}},{key:"87",source:"37.0",target:"11.0",attributes:{size:2}},{key:"88",source:"37.0",target:"29.0",attributes:{size:1}},{key:"84",source:"37.0",target:"34.0",attributes:{size:2}},{key:"85",source:"37.0",target:"35.0",attributes:{size:2}},{key:"86",source:"37.0",target:"36.0",attributes:{size:2}},{key:"93",source:"38.0",target:"11.0",attributes:{size:2}},{key:"94",source:"38.0",target:"29.0",attributes:{size:1}},{key:"89",source:"38.0",target:"34.0",attributes:{size:2}},{key:"90",source:"38.0",target:"35.0",attributes:{size:2}},{key:"91",source:"38.0",target:"36.0",attributes:{size:2}},{key:"92",source:"38.0",target:"37.0",attributes:{size:2}},{key:"95",source:"39.0",target:"25.0",attributes:{size:1}},{key:"96",source:"40.0",target:"25.0",attributes:{size:1}},{key:"97",source:"41.0",target:"24.0",attributes:{size:2}},{key:"98",source:"41.0",target:"25.0",attributes:{size:3}},{key:"101",source:"42.0",target:"24.0",attributes:{size:1}},{key:"100",source:"42.0",target:"25.0",attributes:{size:2}},{key:"99",source:"42.0",target:"41.0",attributes:{size:2}},{key:"102",source:"43.0",target:"11.0",attributes:{size:3}},{key:"103",source:"43.0",target:"26.0",attributes:{size:1}},{key:"104",source:"43.0",target:"27.0",attributes:{size:1}},{key:"106",source:"44.0",target:"11.0",attributes:{size:1}},{key:"105",source:"44.0",target:"28.0",attributes:{size:3}},{key:"107",source:"45.0",target:"28.0",attributes:{size:2}},{key:"108",source:"47.0",target:"46.0",attributes:{size:1}},{key:"112",source:"48.0",target:"11.0",attributes:{size:1}},{key:"110",source:"48.0",target:"25.0",attributes:{size:1}},{key:"111",source:"48.0",target:"27.0",attributes:{size:1}},{key:"109",source:"48.0",target:"47.0",attributes:{size:2}},{key:"114",source:"49.0",target:"11.0",attributes:{size:2}},{key:"113",source:"49.0",target:"26.0",attributes:{size:3}},{key:"116",source:"50.0",target:"24.0",attributes:{size:1}},{key:"115",source:"50.0",target:"49.0",attributes:{size:1}},{key:"119",source:"51.0",target:"11.0",attributes:{size:2}},{key:"118",source:"51.0",target:"26.0",attributes:{size:2}},{key:"117",source:"51.0",target:"49.0",attributes:{size:9}},{key:"121",source:"52.0",target:"39.0",attributes:{size:1}},{key:"120",source:"52.0",target:"51.0",attributes:{size:1}},{key:"122",source:"53.0",target:"51.0",attributes:{size:1}},{key:"125",source:"54.0",target:"26.0",attributes:{size:1}},{key:"124",source:"54.0",target:"49.0",attributes:{size:1}},{key:"123",source:"54.0",target:"51.0",attributes:{size:2}},{key:"131",source:"55.0",target:"11.0",attributes:{size:19}},{key:"132",source:"55.0",target:"16.0",attributes:{size:1}},{key:"133",source:"55.0",target:"25.0",attributes:{size:2}},{key:"130",source:"55.0",target:"26.0",attributes:{size:21}},{key:"128",source:"55.0",target:"39.0",attributes:{size:1}},{key:"134",source:"55.0",target:"41.0",attributes:{size:5}},{key:"135",source:"55.0",target:"48.0",attributes:{size:4}},{key:"127",source:"55.0",target:"49.0",attributes:{size:12}},{key:"126",source:"55.0",target:"51.0",attributes:{size:6}},{key:"129",source:"55.0",target:"54.0",attributes:{size:1}},{key:"136",source:"56.0",target:"49.0",attributes:{size:1}},{key:"137",source:"56.0",target:"55.0",attributes:{size:1}},{key:"139",source:"57.0",target:"41.0",attributes:{size:1}},{key:"140",source:"57.0",target:"48.0",attributes:{size:1}},{key:"138",source:"57.0",target:"55.0",attributes:{size:1}},{key:"145",source:"58.0",target:"11.0",attributes:{size:4}},{key:"143",source:"58.0",target:"27.0",attributes:{size:6}},{key:"142",source:"58.0",target:"48.0",attributes:{size:7}},{key:"141",source:"58.0",target:"55.0",attributes:{size:7}},{key:"144",source:"58.0",target:"57.0",attributes:{size:1}},{key:"148",source:"59.0",target:"48.0",attributes:{size:6}},{key:"147",source:"59.0",target:"55.0",attributes:{size:5}},{key:"149",source:"59.0",target:"57.0",attributes:{size:2}},{key:"146",source:"59.0",target:"58.0",attributes:{size:15}},{key:"150",source:"60.0",target:"48.0",attributes:{size:1}},{key:"151",source:"60.0",target:"58.0",attributes:{size:4}},{key:"152",source:"60.0",target:"59.0",attributes:{size:2}},{key:"153",source:"61.0",target:"48.0",attributes:{size:2}},{key:"158",source:"61.0",target:"55.0",attributes:{size:1}},{key:"157",source:"61.0",target:"57.0",attributes:{size:1}},{key:"154",source:"61.0",target:"58.0",attributes:{size:6}},{key:"156",source:"61.0",target:"59.0",attributes:{size:5}},{key:"155",source:"61.0",target:"60.0",attributes:{size:2}},{key:"164",source:"62.0",target:"41.0",attributes:{size:1}},{key:"162",source:"62.0",target:"48.0",attributes:{size:7}},{key:"159",source:"62.0",target:"55.0",attributes:{size:9}},{key:"163",source:"62.0",target:"57.0",attributes:{size:2}},{key:"160",source:"62.0",target:"58.0",attributes:{size:17}},{key:"161",source:"62.0",target:"59.0",attributes:{size:13}},{key:"166",source:"62.0",target:"60.0",attributes:{size:3}},{key:"165",source:"62.0",target:"61.0",attributes:{size:6}},{key:"168",source:"63.0",target:"48.0",attributes:{size:5}},{key:"174",source:"63.0",target:"55.0",attributes:{size:1}},{key:"170",source:"63.0",target:"57.0",attributes:{size:2}},{key:"171",source:"63.0",target:"58.0",attributes:{size:4}},{key:"167",source:"63.0",target:"59.0",attributes:{size:5}},{key:"173",source:"63.0",target:"60.0",attributes:{size:2}},{key:"172",source:"63.0",target:"61.0",attributes:{size:3}},{key:"169",source:"63.0",target:"62.0",attributes:{size:6}},{key:"184",source:"64.0",target:"11.0",attributes:{size:1}},{key:"177",source:"64.0",target:"48.0",attributes:{size:5}},{key:"175",source:"64.0",target:"55.0",attributes:{size:5}},{key:"183",source:"64.0",target:"57.0",attributes:{size:1}},{key:"179",source:"64.0",target:"58.0",attributes:{size:10}},{key:"182",source:"64.0",target:"59.0",attributes:{size:9}},{key:"181",source:"64.0",target:"60.0",attributes:{size:2}},{key:"180",source:"64.0",target:"61.0",attributes:{size:6}},{key:"176",source:"64.0",target:"62.0",attributes:{size:12}},{key:"178",source:"64.0",target:"63.0",attributes:{size:4}},{key:"187",source:"65.0",target:"48.0",attributes:{size:3}},{key:"194",source:"65.0",target:"55.0",attributes:{size:2}},{key:"193",source:"65.0",target:"57.0",attributes:{size:1}},{key:"189",source:"65.0",target:"58.0",attributes:{size:5}},{key:"192",source:"65.0",target:"59.0",attributes:{size:5}},{key:"191",source:"65.0",target:"60.0",attributes:{size:2}},{key:"190",source:"65.0",target:"61.0",attributes:{size:5}},{key:"188",source:"65.0",target:"62.0",attributes:{size:5}},{key:"185",source:"65.0",target:"63.0",attributes:{size:5}},{key:"186",source:"65.0",target:"64.0",attributes:{size:7}},{key:"200",source:"66.0",target:"48.0",attributes:{size:1}},{key:"196",source:"66.0",target:"58.0",attributes:{size:3}},{key:"197",source:"66.0",target:"59.0",attributes:{size:1}},{key:"203",source:"66.0",target:"60.0",attributes:{size:1}},{key:"202",source:"66.0",target:"61.0",attributes:{size:1}},{key:"198",source:"66.0",target:"62.0",attributes:{size:2}},{key:"201",source:"66.0",target:"63.0",attributes:{size:1}},{key:"195",source:"66.0",target:"64.0",attributes:{size:3}},{key:"199",source:"66.0",target:"65.0",attributes:{size:2}},{key:"204",source:"67.0",target:"57.0",attributes:{size:3}},{key:"206",source:"68.0",target:"11.0",attributes:{size:1}},{key:"207",source:"68.0",target:"24.0",attributes:{size:1}},{key:"205",source:"68.0",target:"25.0",attributes:{size:5}},{key:"208",source:"68.0",target:"27.0",attributes:{size:1}},{key:"210",source:"68.0",target:"41.0",attributes:{size:1}},{key:"209",source:"68.0",target:"48.0",attributes:{size:1}},{key:"213",source:"69.0",target:"11.0",attributes:{size:1}},{key:"214",source:"69.0",target:"24.0",attributes:{size:1}},{key:"211",source:"69.0",target:"25.0",attributes:{size:6}},{key:"215",source:"69.0",target:"27.0",attributes:{size:2}},{key:"217",source:"69.0",target:"41.0",attributes:{size:1}},{key:"216",source:"69.0",target:"48.0",attributes:{size:1}},{key:"212",source:"69.0",target:"68.0",attributes:{size:6}},{key:"221",source:"70.0",target:"11.0",attributes:{size:1}},{key:"222",source:"70.0",target:"24.0",attributes:{size:1}},{key:"218",source:"70.0",target:"25.0",attributes:{size:4}},{key:"223",source:"70.0",target:"27.0",attributes:{size:1}},{key:"224",source:"70.0",target:"41.0",attributes:{size:1}},{key:"225",source:"70.0",target:"58.0",attributes:{size:1}},{key:"220",source:"70.0",target:"68.0",attributes:{size:4}},{key:"219",source:"70.0",target:"69.0",attributes:{size:4}},{key:"230",source:"71.0",target:"11.0",attributes:{size:1}},{key:"233",source:"71.0",target:"25.0",attributes:{size:1}},{key:"226",source:"71.0",target:"27.0",attributes:{size:1}},{key:"232",source:"71.0",target:"41.0",attributes:{size:1}},{key:"231",source:"71.0",target:"48.0",attributes:{size:1}},{key:"228",source:"71.0",target:"68.0",attributes:{size:2}},{key:"227",source:"71.0",target:"69.0",attributes:{size:2}},{key:"229",source:"71.0",target:"70.0",attributes:{size:2}},{key:"236",source:"72.0",target:"11.0",attributes:{size:1}},{key:"234",source:"72.0",target:"26.0",attributes:{size:2}},{key:"235",source:"72.0",target:"27.0",attributes:{size:1}},{key:"237",source:"73.0",target:"48.0",attributes:{size:2}},{key:"238",source:"74.0",target:"48.0",attributes:{size:2}},{key:"239",source:"74.0",target:"73.0",attributes:{size:3}},{key:"242",source:"75.0",target:"25.0",attributes:{size:3}},{key:"244",source:"75.0",target:"41.0",attributes:{size:1}},{key:"243",source:"75.0",target:"48.0",attributes:{size:1}},{key:"241",source:"75.0",target:"68.0",attributes:{size:3}},{key:"240",source:"75.0",target:"69.0",attributes:{size:3}},{key:"245",source:"75.0",target:"70.0",attributes:{size:1}},{key:"246",source:"75.0",target:"71.0",attributes:{size:1}},{key:"252",source:"76.0",target:"48.0",attributes:{size:1}},{key:"253",source:"76.0",target:"58.0",attributes:{size:1}},{key:"251",source:"76.0",target:"62.0",attributes:{size:1}},{key:"250",source:"76.0",target:"63.0",attributes:{size:1}},{key:"247",source:"76.0",target:"64.0",attributes:{size:1}},{key:"248",source:"76.0",target:"65.0",attributes:{size:1}},{key:"249",source:"76.0",target:"66.0",attributes:{size:1}}],$={nodes:U,edges:_},J=()=>{const r=new C;r.import($);const c=document.getElementById("sigma-container"),o=document.getElementById("forceatlas2"),s=document.getElementById("forceatlas2-stop-label"),b=document.getElementById("forceatlas2-start-label"),k=document.getElementById("random"),z=document.getElementById("circular"),m=M.inferSettings(r),u=new w(r,{settings:m});let t=null;function g(){u.stop(),b.style.display="flex",s.style.display="none"}function y(){t&&t(),u.start(),b.style.display="none",s.style.display="flex"}function n(){u.isRunning()?g():y()}o.addEventListener("click",n);function x(){u.isRunning()&&g(),t&&t();const l={min:0,max:0},e={min:0,max:0};r.forEachNode((i,d)=>{l.min=Math.min(d.x,l.min),l.max=Math.max(d.x,l.max),e.min=Math.min(d.y,e.min),e.max=Math.max(d.y,e.max)});const a={};r.forEachNode(i=>{a[i]={x:Math.random()*(l.max-l.min),y:Math.random()*(e.max-e.min)}}),t=p(r,a,{duration:2e3})}k.addEventListener("click",x);function f(){u.isRunning()&&g(),t&&t();const l=H(r,{scale:100});t=p(r,l,{duration:2e3,easing:"linear"})}z.addEventListener("click",f);const h=new L(r,c);F(()=>{h.kill()})},Y=` +
+
+ + + +
+`,V=`/** + * This is a minimal example of sigma. You can use it as a base to write new + * examples, or reproducible test cases for new issues, for instance. + */ +import Graph from "graphology"; +import { circular } from "graphology-layout"; +import forceAtlas2 from "graphology-layout-forceatlas2"; +import FA2Layout from "graphology-layout-forceatlas2/worker"; +import Sigma from "sigma"; +import { PlainObject } from "sigma/types"; +import { animateNodes } from "sigma/utils"; + +import { onStoryDown } from "../utils"; +import data from "./data.json"; + +export default () => { + // Initialize the graph object with data + const graph = new Graph(); + graph.import(data); + + // Retrieve some useful DOM elements: + const container = document.getElementById("sigma-container") as HTMLElement; + + const FA2Button = document.getElementById("forceatlas2") as HTMLElement; + const FA2StopLabel = document.getElementById("forceatlas2-stop-label") as HTMLElement; + const FA2StartLabel = document.getElementById("forceatlas2-start-label") as HTMLElement; + + const randomButton = document.getElementById("random") as HTMLElement; + + const circularButton = document.getElementById("circular") as HTMLElement; + + /** FA2 LAYOUT **/ + /* This example shows how to use the force atlas 2 layout in a web worker */ + + // Graphology provides a easy to use implementation of Force Atlas 2 in a web worker + const sensibleSettings = forceAtlas2.inferSettings(graph); + const fa2Layout = new FA2Layout(graph, { + settings: sensibleSettings, + }); + + // A button to trigger the layout start/stop actions + + // A variable is used to toggle state between start and stop + let cancelCurrentAnimation: (() => void) | null = null; + + // correlate start/stop actions with state management + function stopFA2() { + fa2Layout.stop(); + FA2StartLabel.style.display = "flex"; + FA2StopLabel.style.display = "none"; + } + function startFA2() { + if (cancelCurrentAnimation) cancelCurrentAnimation(); + fa2Layout.start(); + FA2StartLabel.style.display = "none"; + FA2StopLabel.style.display = "flex"; + } + + // the main toggle function + function toggleFA2Layout() { + if (fa2Layout.isRunning()) { + stopFA2(); + } else { + startFA2(); + } + } + // bind method to the forceatlas2 button + FA2Button.addEventListener("click", toggleFA2Layout); + + /** RANDOM LAYOUT **/ + /* Layout can be handled manually by setting nodes x and y attributes */ + /* This random layout has been coded to show how to manipulate positions directly in the graph instance */ + /* Alternatively a random layout algo exists in graphology: https://github.com/graphology/graphology-layout#random */ + function randomLayout() { + // stop fa2 if running + if (fa2Layout.isRunning()) stopFA2(); + if (cancelCurrentAnimation) cancelCurrentAnimation(); + + // to keep positions scale uniform between layouts, we first calculate positions extents + const xExtents = { min: 0, max: 0 }; + const yExtents = { min: 0, max: 0 }; + graph.forEachNode((_node, attributes) => { + xExtents.min = Math.min(attributes.x, xExtents.min); + xExtents.max = Math.max(attributes.x, xExtents.max); + yExtents.min = Math.min(attributes.y, yExtents.min); + yExtents.max = Math.max(attributes.y, yExtents.max); + }); + const randomPositions: PlainObject> = {}; + graph.forEachNode((node) => { + // create random positions respecting position extents + randomPositions[node] = { + x: Math.random() * (xExtents.max - xExtents.min), + y: Math.random() * (yExtents.max - yExtents.min), + }; + }); + // use sigma animation to update new positions + cancelCurrentAnimation = animateNodes(graph, randomPositions, { duration: 2000 }); + } + + // bind method to the random button + randomButton.addEventListener("click", randomLayout); + + /** CIRCULAR LAYOUT **/ + /* This example shows how to use an existing deterministic graphology layout */ + function circularLayout() { + // stop fa2 if running + if (fa2Layout.isRunning()) stopFA2(); + if (cancelCurrentAnimation) cancelCurrentAnimation(); + + //since we want to use animations we need to process positions before applying them through animateNodes + const circularPositions = circular(graph, { scale: 100 }); + //In other context, it's possible to apply the position directly we : circular.assign(graph, {scale:100}) + cancelCurrentAnimation = animateNodes(graph, circularPositions, { duration: 2000, easing: "linear" }); + } + + // bind method to the random button + circularButton.addEventListener("click", circularLayout); + + /** instantiate sigma into the container **/ + const renderer = new Sigma(graph, container); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,ee={id:"layouts",title:"Examples"},te={name:"Layouts example",render:()=>Y,play:J,args:{},parameters:{storySource:{source:V}}};export{ee as default,te as story}; diff --git a/storybook/assets/stories-BWAfmrUB.js b/storybook/assets/stories-BWAfmrUB.js new file mode 100644 index 000000000..29123e5b0 --- /dev/null +++ b/storybook/assets/stories-BWAfmrUB.js @@ -0,0 +1,353 @@ +var te=Object.defineProperty;var re=(t,e,r)=>e in t?te(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var j=(t,e,r)=>(re(t,typeof e!="symbol"?e+"":e,r),r);import{E as se,f as ae,G as Y,S as I,o as T,M as q,g as W}from"./utils-C5QP6GGe.js";import"./_commonjsHelpers-BosuxZz1.js";const B=.25,ie={edgeIndexAttribute:"parallelIndex",edgeMaxIndexAttribute:"parallelMaxIndex"};function oe(t,e){const r={...ie,...e||{}},s={},a={},u={};let i=0;t.forEachNode(d=>{s[d]=++i+""}),t.forEachEdge((d,o,l,b)=>{const n=s[l],c=s[b],E=[n,c].join("-");a[d]=E,u[E]=[n,c].sort().join("-")});const g={},y={};t.forEachEdge(d=>{const o=a[d],l=u[o];g[o]=g[o]||[],g[o].push(d),y[l]=y[l]||[],y[l].push(d)});for(const d in g){const o=g[d],l=o.length,b=y[u[d]].length;if(l===1&&b===1){const n=o[0];t.setEdgeAttribute(n,r.edgeIndexAttribute,null),t.setEdgeAttribute(n,r.edgeMaxIndexAttribute,null)}else if(l===1){const n=o[0];t.setEdgeAttribute(n,r.edgeIndexAttribute,0),t.setEdgeAttribute(n,r.edgeMaxIndexAttribute,1)}else for(let n=0;nV){const z="…";for(o=o+z,f=t.measureText(o).width;f>V&&o.length>1;)o=o.slice(0,-2)+z,f=t.measureText(o).width;if(o.length<4)return}const P={};for(let z=0,S=o.length;z{const t=document.getElementById("sigma-container"),e=new Y;e.import($);const r=new I(e,t,{allowInvalidContainer:!0,defaultEdgeType:"curve",edgeProgramClasses:{curve:A}});T(()=>{r.kill()})},ze=`import EdgeCurveProgram from "@sigma/edge-curve"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; +import data from "./data/les-miserables.json"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + graph.import(data); + + const renderer = new Sigma(graph, container, { + allowInvalidContainer: true, + defaultEdgeType: "curve", + edgeProgramClasses: { + curve: EdgeCurveProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,D=` +
+`,ke=()=>{const t=document.getElementById("sigma-container"),e=new Y;e.import($);let r={type:"idle"};const s=new I(e,t,{allowInvalidContainer:!0,enableEdgeEvents:!0,defaultEdgeType:"curve",zIndex:!0,edgeProgramClasses:{curve:A},edgeReducer:(a,u)=>{const i={...u};return r.type==="hovered"&&(a===r.edge?(i.size=(i.size||1)*1.5,i.zIndex=1):(i.color="#f0f0f0",i.zIndex=0)),i},nodeReducer:(a,u)=>{const i={...u};return r.type==="hovered"&&(a===r.source||a===r.target?(i.highlighted=!0,i.zIndex=1):(i.label=void 0,i.zIndex=0)),i}});s.on("enterEdge",({edge:a})=>{r={type:"hovered",edge:a,source:e.source(a),target:e.target(a)},s.refresh()}),s.on("leaveEdge",()=>{r={type:"idle"},s.refresh()}),T(()=>{s.kill()})},pe=`import EdgeCurveProgram from "@sigma/edge-curve"; +import Graph from "graphology"; +import Sigma from "sigma"; +import { EdgeDisplayData, NodeDisplayData } from "sigma/types"; + +import { onStoryDown } from "../utils"; +import data from "./data/les-miserables.json"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + graph.import(data); + + let state: { type: "idle" } | { type: "hovered"; edge: string; source: string; target: string } = { type: "idle" }; + const sigma = new Sigma(graph, container, { + allowInvalidContainer: true, + enableEdgeEvents: true, + defaultEdgeType: "curve", + zIndex: true, + edgeProgramClasses: { + curve: EdgeCurveProgram, + }, + edgeReducer: (edge, attributes) => { + const res: Partial = { ...attributes }; + + if (state.type === "hovered") { + if (edge === state.edge) { + res.size = (res.size || 1) * 1.5; + res.zIndex = 1; + } else { + res.color = "#f0f0f0"; + res.zIndex = 0; + } + } + + return res; + }, + nodeReducer: (node, attributes) => { + const res: Partial = { ...attributes }; + + if (state.type === "hovered") { + if (node === state.source || node === state.target) { + res.highlighted = true; + res.zIndex = 1; + } else { + res.label = undefined; + res.zIndex = 0; + } + } + + return res; + }, + }); + + sigma.on("enterEdge", ({ edge }) => { + state = { type: "hovered", edge, source: graph.source(edge), target: graph.target(edge) }; + sigma.refresh(); + }); + sigma.on("leaveEdge", () => { + state = { type: "idle" }; + sigma.refresh(); + }); + + onStoryDown(() => { + sigma.kill(); + }); +}; +`,me=()=>{const t=document.getElementById("sigma-container"),e=new q;e.addNode("a",{x:0,y:0,size:10,label:"Alexandra"}),e.addNode("b",{x:1,y:-1,size:20,label:"Bastian"}),e.addNode("c",{x:3,y:-2,size:10,label:"Charles"}),e.addNode("d",{x:1,y:-3,size:10,label:"Dorothea"}),e.addNode("e",{x:3,y:-4,size:20,label:"Ernestine"}),e.addNode("f",{x:4,y:-5,size:10,label:"Fabian"}),e.addEdge("a","b",{forceLabel:!0,size:2,label:"works with"}),e.addEdge("b","c",{forceLabel:!0,label:"works with",type:"curved",curvature:.5}),e.addEdge("b","d",{forceLabel:!0,label:"works with"}),e.addEdge("c","b",{forceLabel:!0,size:3,label:"works with",type:"curved"}),e.addEdge("c","e",{forceLabel:!0,size:3,label:"works with"}),e.addEdge("d","c",{forceLabel:!0,label:"works with",type:"curved",curvature:.1}),e.addEdge("d","e",{forceLabel:!0,label:"works with",type:"curved",curvature:1}),e.addEdge("e","d",{forceLabel:!0,size:2,label:"works with",type:"curved"}),e.addEdge("f","e",{forceLabel:!0,label:"works with",type:"curved"});const r=new I(e,t,{allowInvalidContainer:!0,defaultEdgeType:"straight",renderEdgeLabels:!0,edgeProgramClasses:{straight:W,curved:A}});T(()=>{r.kill()})},xe=`import EdgeCurveProgram from "@sigma/edge-curve"; +import { MultiGraph } from "graphology"; +import Sigma from "sigma"; +import { EdgeArrowProgram } from "sigma/rendering"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + // Create a graph, with various parallel edges: + const graph = new MultiGraph(); + + graph.addNode("a", { x: 0, y: 0, size: 10, label: "Alexandra" }); + graph.addNode("b", { x: 1, y: -1, size: 20, label: "Bastian" }); + graph.addNode("c", { x: 3, y: -2, size: 10, label: "Charles" }); + graph.addNode("d", { x: 1, y: -3, size: 10, label: "Dorothea" }); + graph.addNode("e", { x: 3, y: -4, size: 20, label: "Ernestine" }); + graph.addNode("f", { x: 4, y: -5, size: 10, label: "Fabian" }); + + graph.addEdge("a", "b", { forceLabel: true, size: 2, label: "works with" }); + graph.addEdge("b", "c", { forceLabel: true, label: "works with", type: "curved", curvature: 0.5 }); + graph.addEdge("b", "d", { forceLabel: true, label: "works with" }); + graph.addEdge("c", "b", { forceLabel: true, size: 3, label: "works with", type: "curved" }); + graph.addEdge("c", "e", { forceLabel: true, size: 3, label: "works with" }); + graph.addEdge("d", "c", { forceLabel: true, label: "works with", type: "curved", curvature: 0.1 }); + graph.addEdge("d", "e", { forceLabel: true, label: "works with", type: "curved", curvature: 1 }); + graph.addEdge("e", "d", { forceLabel: true, size: 2, label: "works with", type: "curved" }); + graph.addEdge("f", "e", { forceLabel: true, label: "works with", type: "curved" }); + + const renderer = new Sigma(graph, container, { + allowInvalidContainer: true, + defaultEdgeType: "straight", + renderEdgeLabels: true, + edgeProgramClasses: { + straight: EdgeArrowProgram, + curved: EdgeCurveProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,he=()=>{const t=document.getElementById("sigma-container"),e=new q;e.addNode("a",{x:0,y:0,size:10,label:"Alexandra"}),e.addNode("b",{x:1,y:-1,size:20,label:"Bastian"}),e.addNode("c",{x:3,y:-2,size:10,label:"Charles"}),e.addNode("d",{x:1,y:-3,size:10,label:"Dorothea"}),e.addNode("e",{x:3,y:-4,size:20,label:"Ernestine"}),e.addNode("f",{x:4,y:-5,size:10,label:"Fabian"}),e.addEdge("a","b",{size:2}),e.addEdge("b","c"),e.addEdge("b","d"),e.addEdge("c","b",{size:3}),e.addEdge("c","e",{size:3}),e.addEdge("d","c"),e.addEdge("d","e"),e.addEdge("d","e",{size:2}),e.addEdge("d","e"),e.addEdge("d","e"),e.addEdge("e","d",{size:2}),e.addEdge("e","f",{size:2}),e.addEdge("f","e"),e.addEdge("f","e"),oe(e,{edgeIndexAttribute:"parallelIndex",edgeMaxIndexAttribute:"parallelMaxIndex"}),e.forEachEdge((s,{parallelIndex:a,parallelMaxIndex:u})=>{typeof a=="number"?e.mergeEdgeAttributes(s,{type:"curved",curvature:B+3*B*a/u}):e.setEdgeAttribute(s,"type","straight")});const r=new I(e,t,{allowInvalidContainer:!0,defaultEdgeType:"straight",edgeProgramClasses:{straight:W,curved:A}});T(()=>{r.kill()})},ve=`import EdgeCurveProgram, { DEFAULT_EDGE_CURVATURE, indexParallelEdgesIndex } from "@sigma/edge-curve"; +import { MultiGraph } from "graphology"; +import Sigma from "sigma"; +import { EdgeArrowProgram } from "sigma/rendering"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + // Create a graph, with various parallel edges: + const graph = new MultiGraph(); + + graph.addNode("a", { x: 0, y: 0, size: 10, label: "Alexandra" }); + graph.addNode("b", { x: 1, y: -1, size: 20, label: "Bastian" }); + graph.addNode("c", { x: 3, y: -2, size: 10, label: "Charles" }); + graph.addNode("d", { x: 1, y: -3, size: 10, label: "Dorothea" }); + graph.addNode("e", { x: 3, y: -4, size: 20, label: "Ernestine" }); + graph.addNode("f", { x: 4, y: -5, size: 10, label: "Fabian" }); + + graph.addEdge("a", "b", { size: 2 }); + graph.addEdge("b", "c"); + graph.addEdge("b", "d"); + graph.addEdge("c", "b", { size: 3 }); + graph.addEdge("c", "e", { size: 3 }); + graph.addEdge("d", "c"); + graph.addEdge("d", "e"); + graph.addEdge("d", "e", { size: 2 }); + graph.addEdge("d", "e"); + graph.addEdge("d", "e"); + graph.addEdge("e", "d", { size: 2 }); + graph.addEdge("e", "f", { size: 2 }); + graph.addEdge("f", "e"); + graph.addEdge("f", "e"); + + // Use dedicated helper to identify parallel edges: + indexParallelEdgesIndex(graph, { edgeIndexAttribute: "parallelIndex", edgeMaxIndexAttribute: "parallelMaxIndex" }); + + // Adapt types and curvature of parallel edges for rendering: + graph.forEachEdge( + ( + edge, + { + parallelIndex, + parallelMaxIndex, + }: { parallelIndex: number; parallelMaxIndex: number } | { parallelIndex?: null; parallelMaxIndex?: null }, + ) => { + if (typeof parallelIndex === "number") { + graph.mergeEdgeAttributes(edge, { + type: "curved", + curvature: DEFAULT_EDGE_CURVATURE + (3 * DEFAULT_EDGE_CURVATURE * parallelIndex) / parallelMaxIndex, + }); + } else { + graph.setEdgeAttribute(edge, "type", "straight"); + } + }, + ); + + const renderer = new Sigma(graph, container, { + allowInvalidContainer: true, + defaultEdgeType: "straight", + edgeProgramClasses: { + straight: EdgeArrowProgram, + curved: EdgeCurveProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,we={id:"edge-curve",title:"edge-curve"},_e={name:"Basic example",render:()=>D,play:ye,args:{},parameters:{storySource:{source:ze}}},Be={name:"Interactions",render:()=>D,play:ke,args:{},parameters:{storySource:{source:pe}}},Ie={name:"Labels",render:()=>D,play:me,args:{},parameters:{storySource:{source:xe}}},Te={name:"Parallel edges",render:()=>D,play:he,args:{},parameters:{storySource:{source:ve}}};export{_e as basic,we as default,Be as interactions,Ie as labels,Te as parallelEdges}; diff --git a/storybook/assets/stories-BZAy80sE.js b/storybook/assets/stories-BZAy80sE.js new file mode 100644 index 000000000..0c29d6444 --- /dev/null +++ b/storybook/assets/stories-BZAy80sE.js @@ -0,0 +1,165 @@ +import{N as c,f as p,G as h,S as u,o as y}from"./utils-C5QP6GGe.js";import{F as w}from"./worker-B2VycAgJ.js";import{g as f}from"./factory-fWm_FWXa.js";import"./_commonjsHelpers-BosuxZz1.js";import"./defaults-9mJNxk8k.js";const v=` +precision mediump float; + +varying vec4 v_color; +varying float v_border; + +const float radius = 0.5; +const float halfRadius = 0.35; + +void main(void) { + vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + vec4 white = vec4(1.0, 1.0, 1.0, 1.0); + float distToCenter = length(gl_PointCoord - vec2(0.5, 0.5)); + + #ifdef PICKING_MODE + if (distToCenter < radius) + gl_FragColor = v_color; + else + gl_FragColor = transparent; + #else + // For normal mode, we use the color: + if (distToCenter > radius) + gl_FragColor = transparent; + else if (distToCenter > radius - v_border) + gl_FragColor = mix(transparent, v_color, (radius - distToCenter) / v_border); + else + gl_FragColor = mix(v_color, white, (radius - distToCenter) / radius); + #endif +} +`,E=` +attribute vec4 a_id; +attribute vec4 a_color; +attribute vec2 a_position; +attribute float a_size; + +uniform float u_sizeRatio; +uniform float u_pixelRatio; +uniform mat3 u_matrix; + +varying vec4 v_color; +varying float v_border; + +const float bias = 255.0 / 254.0; + +void main() { + gl_Position = vec4( + (u_matrix * vec3(a_position, 1)).xy, + 0, + 1 + ); + + // Multiply the point size twice: + // - x SCALING_RATIO to correct the canvas scaling + // - x 2 to correct the formulae + gl_PointSize = a_size / u_sizeRatio * u_pixelRatio * 2.0; + + v_border = (0.5 / a_size) * u_sizeRatio; + + #ifdef PICKING_MODE + // For picking mode, we use the ID as the color: + v_color = a_id; + #else + // For normal mode, we use the color: + v_color = a_color; + #endif + + v_color.a *= bias; +} +`,{UNSIGNED_BYTE:l,FLOAT:g}=WebGLRenderingContext,b=["u_sizeRatio","u_pixelRatio","u_matrix"];class z extends c{getDefinition(){return{VERTICES:1,VERTEX_SHADER_SOURCE:E,FRAGMENT_SHADER_SOURCE:v,METHOD:WebGLRenderingContext.POINTS,UNIFORMS:b,ATTRIBUTES:[{name:"a_position",size:2,type:g},{name:"a_size",size:1,type:g},{name:"a_color",size:4,type:l,normalized:!0},{name:"a_id",size:4,type:l,normalized:!0}]}}processVisibleItem(e,a,r){const o=this.array;o[a++]=r.x,o[a++]=r.y,o[a++]=r.size,o[a++]=p(r.color),o[a++]=e}setUniforms(e,{gl:a,uniformLocations:r}){const{u_sizeRatio:o,u_pixelRatio:i,u_matrix:t}=r;a.uniform1f(o,e.sizeRatio),a.uniform1f(i,e.pixelRatio),a.uniformMatrix3fv(t,!1,e.matrix)}}const _=()=>{const s=document.getElementById("sigma-container"),e=new h,a="#FA4F40",r="#727EE0",o="#5DB346";e.addNode("John",{size:15,label:"John",type:"image",image:"./user.svg",color:a}),e.addNode("Mary",{size:15,label:"Mary",type:"image",image:"./user.svg",color:a}),e.addNode("Suzan",{size:15,label:"Suzan",type:"image",image:"./user.svg",color:a}),e.addNode("Nantes",{size:15,label:"Nantes",type:"image",image:"./city.svg",color:r}),e.addNode("New-York",{size:15,label:"New-York",type:"image",image:"./city.svg",color:r}),e.addNode("Sushis",{size:7,label:"Sushis",type:"gradient",color:o}),e.addNode("Falafels",{size:7,label:"Falafels",type:"gradient",color:o}),e.addNode("Kouign Amann",{size:7,label:"Kouign Amann",type:"gradient",color:o}),e.addEdge("John","Mary",{type:"line",label:"works with",size:5}),e.addEdge("Mary","Suzan",{type:"line",label:"works with",size:5}),e.addEdge("Mary","Nantes",{type:"arrow",label:"lives in",size:5}),e.addEdge("John","New-York",{type:"arrow",label:"lives in",size:5}),e.addEdge("Suzan","New-York",{type:"arrow",label:"lives in",size:5}),e.addEdge("John","Falafels",{type:"arrow",label:"eats",size:5}),e.addEdge("Mary","Sushis",{type:"arrow",label:"eats",size:5}),e.addEdge("Suzan","Kouign Amann",{type:"arrow",label:"eats",size:5}),e.nodes().forEach((n,m)=>{const d=m*2*Math.PI/e.order;e.setNodeAttribute(n,"x",100*Math.cos(d)),e.setNodeAttribute(n,"y",100*Math.sin(d))});const i=new u(e,s,{nodeProgramClasses:{image:f(),gradient:z},renderEdgeLabels:!0}),t=new w(e);t.start(),y(()=>{t.kill(),i.kill()})},N=` +
+`,S=`/** + * This example shows how to use different programs to render nodes. + * This works in two steps: + * 1. You must declare all the different rendering programs to sigma when you + * instantiate it + * 2. You must give to each node and edge a "type" value that matches a declared + * program + * The programs offered by default by sigma are in src/rendering/webgl/programs, + * but you can add your own. + * + * Here in this example, some nodes are drawn with images in them using the + * createNodeImageProgram provided by @sigma/node-image. Some others are drawn + * as white disc with a border, and the custom program to draw them is in this + * directory: + * - "./node.gradient.ts" is the node program. It tells sigma what data to give + * to the GPU and how. + * - "./node.gradient.vert.glsl" is the vertex shader. It tells the GPU how to + * interpret the data provided by the program to obtain a node position, + * mostly. + * - "./node.gradient.frag.glsl" is the fragment shader. It tells for each + * pixel what color it should get, relatively to data given by the program + * and its position inside the shape. Basically, the GPU wants to draw a + * square, but we "carve" a disc in it. + */ +import { createNodeImageProgram } from "@sigma/node-image"; +import Graph from "graphology"; +import ForceSupervisor from "graphology-layout-force/worker"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; +import NodeGradientProgram from "./node-gradient"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + const RED = "#FA4F40"; + const BLUE = "#727EE0"; + const GREEN = "#5DB346"; + + graph.addNode("John", { size: 15, label: "John", type: "image", image: "./user.svg", color: RED }); + graph.addNode("Mary", { size: 15, label: "Mary", type: "image", image: "./user.svg", color: RED }); + graph.addNode("Suzan", { size: 15, label: "Suzan", type: "image", image: "./user.svg", color: RED }); + graph.addNode("Nantes", { size: 15, label: "Nantes", type: "image", image: "./city.svg", color: BLUE }); + graph.addNode("New-York", { size: 15, label: "New-York", type: "image", image: "./city.svg", color: BLUE }); + graph.addNode("Sushis", { size: 7, label: "Sushis", type: "gradient", color: GREEN }); + graph.addNode("Falafels", { size: 7, label: "Falafels", type: "gradient", color: GREEN }); + graph.addNode("Kouign Amann", { size: 7, label: "Kouign Amann", type: "gradient", color: GREEN }); + + graph.addEdge("John", "Mary", { type: "line", label: "works with", size: 5 }); + graph.addEdge("Mary", "Suzan", { type: "line", label: "works with", size: 5 }); + graph.addEdge("Mary", "Nantes", { type: "arrow", label: "lives in", size: 5 }); + graph.addEdge("John", "New-York", { type: "arrow", label: "lives in", size: 5 }); + graph.addEdge("Suzan", "New-York", { type: "arrow", label: "lives in", size: 5 }); + graph.addEdge("John", "Falafels", { type: "arrow", label: "eats", size: 5 }); + graph.addEdge("Mary", "Sushis", { type: "arrow", label: "eats", size: 5 }); + graph.addEdge("Suzan", "Kouign Amann", { type: "arrow", label: "eats", size: 5 }); + + graph.nodes().forEach((node, i) => { + const angle = (i * 2 * Math.PI) / graph.order; + graph.setNodeAttribute(node, "x", 100 * Math.cos(angle)); + graph.setNodeAttribute(node, "y", 100 * Math.sin(angle)); + }); + + const renderer = new Sigma(graph, container, { + // We don't have to declare edgeProgramClasses here, because we only use the default ones ("line" and "arrow") + nodeProgramClasses: { + image: createNodeImageProgram(), + gradient: NodeGradientProgram, + }, + renderEdgeLabels: true, + }); + + // Create the spring layout and start it + const layout = new ForceSupervisor(graph); + layout.start(); + + onStoryDown(() => { + layout.kill(); + renderer.kill(); + }); +}; +`,G={id:"custom-rendering",title:"Examples"},P={name:"Custom rendering",render:()=>N,play:_,args:{},parameters:{storySource:{source:S}}};export{G as default,P as story}; diff --git a/storybook/assets/stories-BZej6ZTH.js b/storybook/assets/stories-BZej6ZTH.js new file mode 100644 index 000000000..31205eef5 --- /dev/null +++ b/storybook/assets/stories-BZej6ZTH.js @@ -0,0 +1,493 @@ +var B=Object.defineProperty;var $=(n,e,d)=>e in n?B(n,e,{enumerable:!0,configurable:!0,writable:!0,value:d}):n[e]=d;var g=(n,e,d)=>($(n,typeof e!="symbol"?e+"":e,d),d);import{N as P,f as D,d as R,G as p,S as m,o as u,c as T}from"./utils-C5QP6GGe.js";import{g as A}from"./factory-fWm_FWXa.js";import"./_commonjsHelpers-BosuxZz1.js";const z=` +
+`,M="relative",k={borders:[{size:{value:.1},color:{attribute:"borderColor"}},{size:{fill:!0},color:{attribute:"color"}}]},I="#000000";function h(n){return n%1===0?n.toFixed(1):n.toString()}function G({borders:n}){const e=h(n.filter(({size:r})=>"fill"in r).length);return` +precision highp float; + +varying vec2 v_diffVector; +varying float v_radius; + +#ifdef PICKING_MODE +varying vec4 v_color; +#else +// For normal mode, we use the border colors defined in the program: +${n.flatMap(({size:r},o)=>"attribute"in r?[`varying float v_borderSize_${o+1};`]:[]).join(` +`)} +${n.flatMap(({color:r},o)=>"attribute"in r?[`varying vec4 v_borderColor_${o+1};`]:"value"in r?[`uniform vec4 u_borderColor_${o+1};`]:[]).join(` +`)} +#endif + +uniform float u_correctionRatio; + +const float bias = 255.0 / 254.0; +const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + +void main(void) { + float dist = length(v_diffVector); + float aaBorder = 2.0 * u_correctionRatio; + float v_borderSize_0 = v_radius; + vec4 v_borderColor_0 = transparent; + + // No antialiasing for picking mode: + #ifdef PICKING_MODE + if (dist > v_radius) + gl_FragColor = transparent; + else { + gl_FragColor = v_color; + gl_FragColor.a *= bias; + } + #else + // Sizes: +${n.flatMap(({size:r},o)=>{if("fill"in r)return[];r=r;const t="attribute"in r?`v_borderSize_${o+1}`:h(r.value),i=(r.mode||M)==="pixels"?"u_correctionRatio":"v_radius";return[` float borderSize_${o+1} = ${i} * ${t};`]}).join(` +`)} + // Now, let's split the remaining space between "fill" borders: + float fillBorderSize = (v_radius - (${n.flatMap(({size:r},o)=>"fill"in r?[]:[`borderSize_${o+1}`]).join(" + ")}) ) / ${e}; +${n.flatMap(({size:r},o)=>"fill"in r?[` float borderSize_${o+1} = fillBorderSize;`]:[]).join(` +`)} + + // Finally, normalize all border sizes, to start from the full size and to end with the smallest: + float adjustedBorderSize_0 = v_radius; +${n.map((r,o)=>` float adjustedBorderSize_${o+1} = adjustedBorderSize_${o} - borderSize_${o+1};`).join(` +`)} + + // Colors: + vec4 borderColor_0 = transparent; +${n.map(({color:r},o)=>{const t=[];return"attribute"in r?t.push(` vec4 borderColor_${o+1} = v_borderColor_${o+1};`):"transparent"in r?t.push(` vec4 borderColor_${o+1} = vec4(0.0, 0.0, 0.0, 0.0);`):t.push(` vec4 borderColor_${o+1} = u_borderColor_${o+1};`),t.push(` borderColor_${o+1}.a *= bias;`),t.push(` if (borderSize_${o+1} <= 1.0 * u_correctionRatio) { borderColor_${o+1} = borderColor_${o}; }`),t.join(` +`)}).join(` +`)} + if (dist > adjustedBorderSize_0) { + gl_FragColor = borderColor_0; + } else ${n.map((r,o)=>`if (dist > adjustedBorderSize_${o} - aaBorder) { + gl_FragColor = mix(borderColor_${o+1}, borderColor_${o}, (dist - adjustedBorderSize_${o} + aaBorder) / aaBorder); + } else if (dist > adjustedBorderSize_${o+1}) { + gl_FragColor = borderColor_${o+1}; + } else `).join("")} { /* Nothing to add here */ } + #endif +} +`}function F({borders:n}){return` +attribute vec2 a_position; +attribute float a_size; +attribute float a_angle; + +uniform mat3 u_matrix; +uniform float u_sizeRatio; +uniform float u_correctionRatio; + +varying vec2 v_diffVector; +varying float v_radius; + +#ifdef PICKING_MODE +attribute vec4 a_id; +varying vec4 v_color; +#else +${n.flatMap(({size:d},r)=>"attribute"in d?[`attribute float a_borderSize_${r+1};`,`varying float v_borderSize_${r+1};`]:[]).join(` +`)} +${n.flatMap(({color:d},r)=>"attribute"in d?[`attribute vec4 a_borderColor_${r+1};`,`varying vec4 v_borderColor_${r+1};`]:[]).join(` +`)} +#endif + +const float bias = 255.0 / 254.0; +const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + +void main() { + float size = a_size * u_correctionRatio / u_sizeRatio * 4.0; + vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle)); + vec2 position = a_position + diffVector; + gl_Position = vec4( + (u_matrix * vec3(position, 1)).xy, + 0, + 1 + ); + + v_radius = size / 2.0; + v_diffVector = diffVector; + + #ifdef PICKING_MODE + v_color = a_id; + #else +${n.flatMap(({size:d},r)=>"attribute"in d?[` v_borderSize_${r+1} = a_borderSize_${r+1};`]:[]).join(` +`)} +${n.flatMap(({color:d},r)=>"attribute"in d?[` v_borderColor_${r+1} = a_borderColor_${r+1};`]:[]).join(` +`)} + #endif +} +`}const{UNSIGNED_BYTE:_,FLOAT:b}=WebGLRenderingContext;function f(n){var o;const e={...k,...n||{}},{borders:d}=e,r=["u_sizeRatio","u_correctionRatio","u_matrix",...d.flatMap(({color:t},i)=>"value"in t?[`u_borderColor_${i+1}`]:[])];return o=class extends P{getDefinition(){return{VERTICES:3,VERTEX_SHADER_SOURCE:F(e),FRAGMENT_SHADER_SOURCE:G(e),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:r,ATTRIBUTES:[{name:"a_position",size:2,type:b},{name:"a_id",size:4,type:_,normalized:!0},{name:"a_size",size:1,type:b},...d.flatMap(({color:i},a)=>"attribute"in i?[{name:`a_borderColor_${a+1}`,size:4,type:_,normalized:!0}]:[]),...d.flatMap(({size:i},a)=>"attribute"in i?[{name:`a_borderSize_${a+1}`,size:1,type:b}]:[])],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:b}],CONSTANT_DATA:[[o.ANGLE_1],[o.ANGLE_2],[o.ANGLE_3]]}}processVisibleItem(i,a,s){const c=this.array;c[a++]=s.x,c[a++]=s.y,c[a++]=i,c[a++]=s.size,d.forEach(({color:l})=>{"attribute"in l&&(c[a++]=D(s[l.attribute]||l.defaultValue||I))}),d.forEach(({size:l})=>{"attribute"in l&&(c[a++]=s[l.attribute]||l.defaultValue)})}setUniforms(i,{gl:a,uniformLocations:s}){const{u_sizeRatio:c,u_correctionRatio:l,u_matrix:E}=s;a.uniform1f(l,i.correctionRatio),a.uniform1f(c,i.sizeRatio),a.uniformMatrix3fv(E,!1,i.matrix),d.forEach(({color:C},y)=>{if("value"in C){const N=s[`u_borderColor_${y+1}`],[v,S,x,w]=R(C.value);a.uniform4f(N,v/255,S/255,x/255,w/255)}})}},g(o,"ANGLE_1",0),g(o,"ANGLE_2",2*Math.PI/3),g(o,"ANGLE_3",4*Math.PI/3),o}const j=f(),L=()=>{const n=document.getElementById("sigma-container"),e=new p;e.addNode("a",{x:0,y:0,size:20,label:"A",color:"pink",borderColor:"red"}),e.addNode("b",{x:1,y:-1,size:40,label:"B",color:"yellow",borderColor:"red"}),e.addNode("c",{x:3,y:-2,size:20,label:"C",color:"yellow",borderColor:"red"}),e.addNode("d",{x:1,y:-3,size:20,label:"D",color:"pink",borderColor:"blue"}),e.addNode("e",{x:3,y:-4,size:40,label:"E",color:"pink",borderColor:"blue"}),e.addNode("f",{x:4,y:-5,size:20,label:"F",color:"yellow",borderColor:"blue"}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const d=new m(e,n,{defaultNodeType:"bordered",nodeProgramClasses:{bordered:j}});u(()=>{d.kill()})},O=`import { NodeBorderProgram } from "@sigma/node-border"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + color: "pink", + borderColor: "red", + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + color: "yellow", + borderColor: "red", + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + color: "yellow", + borderColor: "red", + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + color: "pink", + borderColor: "blue", + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + color: "pink", + borderColor: "blue", + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + color: "yellow", + borderColor: "blue", + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const renderer = new Sigma(graph, container, { + defaultNodeType: "bordered", + nodeProgramClasses: { + bordered: NodeBorderProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,V=()=>{const n=document.getElementById("sigma-container"),e=new p;e.addNode("a",{x:0,y:0,size:20,label:"A",borderColor:"blue",fillColor:"white",dotColor:"red"}),e.addNode("b",{x:1,y:-1,size:40,label:"B",borderColor:"purple",fillColor:"white",dotColor:"red"}),e.addNode("c",{x:3,y:-2,size:20,label:"C",borderColor:"purple",fillColor:"white",dotColor:"red"}),e.addNode("d",{x:1,y:-3,size:20,label:"D",borderColor:"blue",fillColor:"white",dotColor:"green"}),e.addNode("e",{x:3,y:-4,size:40,label:"E",borderColor:"blue",fillColor:"white",dotColor:"green"}),e.addNode("f",{x:4,y:-5,size:20,label:"F",borderColor:"purple",fillColor:"white",dotColor:"green"}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const d=new m(e,n,{defaultNodeType:"bordered",nodeProgramClasses:{bordered:f({borders:[{size:{value:10,mode:"pixels"},color:{attribute:"borderColor"}},{size:{fill:!0},color:{attribute:"fillColor"}},{size:{value:20,mode:"pixels"},color:{attribute:"dotColor"}}]})}});u(()=>{d.kill()})},H=`import { createNodeBorderProgram } from "@sigma/node-border"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + borderColor: "blue", + fillColor: "white", + dotColor: "red", + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + borderColor: "purple", + fillColor: "white", + dotColor: "red", + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + borderColor: "purple", + fillColor: "white", + dotColor: "red", + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + borderColor: "blue", + fillColor: "white", + dotColor: "green", + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + borderColor: "blue", + fillColor: "white", + dotColor: "green", + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + borderColor: "purple", + fillColor: "white", + dotColor: "green", + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const renderer = new Sigma(graph, container, { + defaultNodeType: "bordered", + nodeProgramClasses: { + bordered: createNodeBorderProgram({ + borders: [ + { size: { value: 10, mode: "pixels" }, color: { attribute: "borderColor" } }, + { size: { fill: true }, color: { attribute: "fillColor" } }, + { size: { value: 20, mode: "pixels" }, color: { attribute: "dotColor" } }, + ], + }), + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,U=()=>{const n=document.getElementById("sigma-container"),e=new p;e.addNode("a",{x:0,y:0,size:20,label:"A",color:"pink",borderColor:"red"}),e.addNode("b",{x:1,y:-1,size:40,label:"B",color:"yellow",borderColor:"red"}),e.addNode("c",{x:3,y:-2,size:20,borderSize:.8,label:"C",color:"yellow",borderColor:"red"}),e.addNode("d",{x:1,y:-3,size:20,borderSize:.8,label:"D",color:"pink",borderColor:"blue"}),e.addNode("e",{x:3,y:-4,size:40,borderSize:.2,label:"E",color:"pink",borderColor:"blue"}),e.addNode("f",{x:4,y:-5,size:20,borderSize:.2,label:"F",color:"yellow",borderColor:"blue"}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const d=new m(e,n,{defaultNodeType:"bordered",nodeProgramClasses:{bordered:f({borders:[{size:{attribute:"borderSize",defaultValue:.5},color:{attribute:"borderColor"}},{size:{fill:!0},color:{attribute:"color"}}]})}});u(()=>{d.kill()})},K=`import { createNodeBorderProgram } from "@sigma/node-border"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + color: "pink", + borderColor: "red", + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + color: "yellow", + borderColor: "red", + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + borderSize: 0.8, + label: "C", + color: "yellow", + borderColor: "red", + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + borderSize: 0.8, + label: "D", + color: "pink", + borderColor: "blue", + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + borderSize: 0.2, + label: "E", + color: "pink", + borderColor: "blue", + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + borderSize: 0.2, + label: "F", + color: "yellow", + borderColor: "blue", + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const renderer = new Sigma(graph, container, { + defaultNodeType: "bordered", + nodeProgramClasses: { + bordered: createNodeBorderProgram({ + borders: [ + { size: { attribute: "borderSize", defaultValue: 0.5 }, color: { attribute: "borderColor" } }, + { size: { fill: true }, color: { attribute: "color" } }, + ], + }), + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,W=()=>{const n=document.getElementById("sigma-container"),e=new p;e.addNode("a",{x:0,y:0,size:20,label:"A",color:"pink",pictoColor:"red",image:"https://icons.getbootstrap.com/assets/icons/person.svg"}),e.addNode("b",{x:1,y:-1,size:40,label:"B",color:"yellow",pictoColor:"red",image:"https://icons.getbootstrap.com/assets/icons/building.svg"}),e.addNode("c",{x:3,y:-2,size:20,label:"C",color:"yellow",pictoColor:"red",image:"https://icons.getbootstrap.com/assets/icons/chat.svg"}),e.addNode("d",{x:1,y:-3,size:20,label:"D",color:"pink",pictoColor:"blue",image:"https://icons.getbootstrap.com/assets/icons/database.svg"}),e.addNode("e",{x:3,y:-4,size:40,label:"E",color:"pink",pictoColor:"blue",image:"https://icons.getbootstrap.com/assets/icons/building.svg"}),e.addNode("f",{x:4,y:-5,size:20,label:"F",color:"yellow",pictoColor:"blue",image:"https://icons.getbootstrap.com/assets/icons/database.svg"}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const d=f({borders:[{size:{value:.1},color:{attribute:"pictoColor"}},{size:{fill:!0},color:{attribute:"color"}}]}),r=A({padding:.3,size:{mode:"force",value:256},drawingMode:"color",colorAttribute:"pictoColor"}),o=T([d,r]),t=new m(e,n,{defaultNodeType:"pictogram",nodeProgramClasses:{pictogram:o}});u(()=>{t.kill()})},X=`import { createNodeBorderProgram } from "@sigma/node-border"; +import { createNodeImageProgram } from "@sigma/node-image"; +import Graph from "graphology"; +import Sigma from "sigma"; +import { createNodeCompoundProgram } from "sigma/rendering"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + color: "pink", + pictoColor: "red", + image: "https://icons.getbootstrap.com/assets/icons/person.svg", + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + color: "yellow", + pictoColor: "red", + image: "https://icons.getbootstrap.com/assets/icons/building.svg", + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + color: "yellow", + pictoColor: "red", + image: "https://icons.getbootstrap.com/assets/icons/chat.svg", + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + color: "pink", + pictoColor: "blue", + image: "https://icons.getbootstrap.com/assets/icons/database.svg", + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + color: "pink", + pictoColor: "blue", + image: "https://icons.getbootstrap.com/assets/icons/building.svg", + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + color: "yellow", + pictoColor: "blue", + image: "https://icons.getbootstrap.com/assets/icons/database.svg", + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const NodeBorderCustomProgram = createNodeBorderProgram({ + borders: [ + { size: { value: 0.1 }, color: { attribute: "pictoColor" } }, + { size: { fill: true }, color: { attribute: "color" } }, + ], + }); + + const NodePictogramCustomProgram = createNodeImageProgram({ + padding: 0.3, + size: { mode: "force", value: 256 }, + drawingMode: "color", + colorAttribute: "pictoColor", + }); + + const NodeProgram = createNodeCompoundProgram([NodeBorderCustomProgram, NodePictogramCustomProgram]); + + const renderer = new Sigma(graph, container, { + defaultNodeType: "pictogram", + nodeProgramClasses: { + pictogram: NodeProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,Q={id:"node-border",title:"node-border"},ee={name:"NodeBorderProgram",render:()=>z,play:L,args:{},parameters:{storySource:{source:O}}},oe={name:'"pixels" mode for border sizes',render:()=>z,play:V,args:{},parameters:{storySource:{source:H}}},re={name:"Combined with images",render:()=>z,play:W,args:{},parameters:{storySource:{source:X}}},ne={name:"Variable border sizes",render:()=>z,play:U,args:{},parameters:{storySource:{source:K}}};export{Q as default,ee as nodeBorder,oe as pixelsBorder,ne as variableSizes,re as withImages}; diff --git a/storybook/assets/stories-C0He4THV.js b/storybook/assets/stories-C0He4THV.js new file mode 100644 index 000000000..74692edeb --- /dev/null +++ b/storybook/assets/stories-C0He4THV.js @@ -0,0 +1,120 @@ +import{G as z,S as d,o as m}from"./utils-C5QP6GGe.js";import"./_commonjsHelpers-BosuxZz1.js";const x=[{key:"0.0",attributes:{x:268.72385,y:91.18155,size:22.714287,label:"Myriel",color:"#D8482D"}},{key:"1.0",attributes:{x:296.39902,y:57.118374,size:15,label:"Napoleon",color:"#B30000"}},{key:"2.0",attributes:{x:248.45229,y:52.22656,size:16.714285,label:"MlleBaptistine",color:"#BB100A"}},{key:"3.0",attributes:{x:224.83313,y:98.01885,size:16.714285,label:"MmeMagloire",color:"#BB100A"}},{key:"4.0",attributes:{x:270.9098,y:149.2961,size:15,label:"CountessDeLo",color:"#B30000"}},{key:"5.0",attributes:{x:318.6509,y:85.41602,size:15,label:"Geborand",color:"#B30000"}},{key:"6.0",attributes:{x:330.3126,y:117.94921,size:15,label:"Champtercier",color:"#B30000"}},{key:"7.0",attributes:{x:310.513,y:155.66956,size:15,label:"Cravatte",color:"#B30000"}},{key:"8.0",attributes:{x:295.74683,y:124.78035,size:15,label:"Count",color:"#B30000"}},{key:"9.0",attributes:{x:241.03372,y:131.8897,size:15,label:"OldMan",color:"#B30000"}},{key:"10.0",attributes:{x:-55.532795,y:-246.75798,size:15,label:"Labarre",color:"#B30000"}},{key:"11.0",attributes:{x:-8.81755,y:-60.480377,size:45,label:"Valjean",color:"#FEF0D9"}},{key:"12.0",attributes:{x:116.85369,y:-100.77216,size:15.857142,label:"Marguerite",color:"#B70805"}},{key:"13.0",attributes:{x:78.10812,y:-16.99423,size:15,label:"MmeDeR",color:"#B30000"}},{key:"14.0",attributes:{x:47.669666,y:-96.23158,size:15,label:"Isabeau",color:"#B30000"}},{key:"15.0",attributes:{x:20.945133,y:-118.35298,size:15,label:"Gervais",color:"#B30000"}},{key:"16.0",attributes:{x:232.50653,y:-165.75543,size:21.857143,label:"Tholomyes",color:"#D44028"}},{key:"17.0",attributes:{x:322.50223,y:-210.94756,size:20.142857,label:"Listolier",color:"#CC301E"}},{key:"18.0",attributes:{x:322.0389,y:-162.5361,size:20.142857,label:"Fameuil",color:"#CC301E"}},{key:"19.0",attributes:{x:282.84045,y:-234.37758,size:20.142857,label:"Blacheville",color:"#CC301E"}},{key:"20.0",attributes:{x:282.14212,y:-141.3707,size:20.142857,label:"Favourite",color:"#CC301E"}},{key:"21.0",attributes:{x:279.24896,y:-186.69917,size:20.142857,label:"Dahlia",color:"#CC301E"}},{key:"22.0",attributes:{x:240.49136,y:-212.45226,size:20.142857,label:"Zephine",color:"#CC301E"}},{key:"23.0",attributes:{x:185.86234,y:-128.47615,size:27,label:"Fantine",color:"#ED7047"}},{key:"24.0",attributes:{x:-15.730793,y:46.37429,size:23.57143,label:"MmeThenardier",color:"#DC5032"}},{key:"25.0",attributes:{x:3.6068764,y:98.60965,size:27.857143,label:"Thenardier",color:"#F1784C"}},{key:"26.0",attributes:{x:-69.92912,y:-15.777599,size:23.57143,label:"Cosette",color:"#DC5032"}},{key:"27.0",attributes:{x:54.198936,y:49.115128,size:28.714287,label:"Javert",color:"#F58051"}},{key:"28.0",attributes:{x:58.138313,y:-56.714897,size:17.571428,label:"Fauchelevent",color:"#BF180F"}},{key:"29.0",attributes:{x:97.39532,y:-157.35661,size:21,label:"Bamatabois",color:"#D03823"}},{key:"30.0",attributes:{x:157.66608,y:-88.86034,size:15.857142,label:"Perpetue",color:"#B70805"}},{key:"31.0",attributes:{x:130.24326,y:-62.113045,size:17.571428,label:"Simplice",color:"#BF180F"}},{key:"32.0",attributes:{x:-31.725157,y:-124.8531,size:15,label:"Scaufflaire",color:"#B30000"}},{key:"33.0",attributes:{x:45.4282,y:-2.6807823,size:15.857142,label:"Woman1",color:"#B70805"}},{key:"34.0",attributes:{x:-2.146402,y:-152.7878,size:19.285715,label:"Judge",color:"#C72819"}},{key:"35.0",attributes:{x:54.183117,y:-142.10239,size:19.285715,label:"Champmathieu",color:"#C72819"}},{key:"36.0",attributes:{x:-21.096437,y:-192.47128,size:19.285715,label:"Brevet",color:"#C72819"}},{key:"37.0",attributes:{x:56.919018,y:-184.99847,size:19.285715,label:"Chenildieu",color:"#C72819"}},{key:"38.0",attributes:{x:21.456747,y:-211.19899,size:19.285715,label:"Cochepaille",color:"#C72819"}},{key:"39.0",attributes:{x:-69.42261,y:66.22773,size:16.714285,label:"Pontmercy",color:"#BB100A"}},{key:"40.0",attributes:{x:52.13746,y:97.863976,size:15,label:"Boulatruelle",color:"#B30000"}},{key:"41.0",attributes:{x:-84.15585,y:140.50175,size:23.57143,label:"Eponine",color:"#DC5032"}},{key:"42.0",attributes:{x:-47.696083,y:112.90357,size:16.714285,label:"Anzelma",color:"#BB100A"}},{key:"43.0",attributes:{x:10.037987,y:7.8234367,size:16.714285,label:"Woman2",color:"#BB100A"}},{key:"44.0",attributes:{x:82.99555,y:-87.651726,size:15.857142,label:"MotherInnocent",color:"#B70805"}},{key:"45.0",attributes:{x:94.93769,y:-47.799778,size:15,label:"Gribier",color:"#B30000"}},{key:"46.0",attributes:{x:-293.23438,y:-146.10257,size:15,label:"Jondrette",color:"#B30000"}},{key:"47.0",attributes:{x:-294.94247,y:-108.07895,size:15.857142,label:"MmeBurgon",color:"#B70805"}},{key:"48.0",attributes:{x:-215.57619,y:34.40003,size:33,label:"Gavroche",color:"#FCA072"}},{key:"49.0",attributes:{x:-119.18742,y:-17.39732,size:20.142857,label:"Gillenormand",color:"#CC301E"}},{key:"50.0",attributes:{x:-57.473045,y:29.63873,size:15.857142,label:"Magnon",color:"#B70805"}},{key:"51.0",attributes:{x:-93.255005,y:-60.657784,size:20.142857,label:"MlleGillenormand",color:"#CC301E"}},{key:"52.0",attributes:{x:-93.764046,y:22.565668,size:15.857142,label:"MmePontmercy",color:"#B70805"}},{key:"53.0",attributes:{x:-132.14008,y:-66.85538,size:15,label:"MlleVaubois",color:"#B30000"}},{key:"54.0",attributes:{x:-95.75337,y:-102.71505,size:17.571428,label:"LtGillenormand",color:"#BF180F"}},{key:"55.0",attributes:{x:-142.15263,y:36.388676,size:30.428574,label:"Marius",color:"#FC8F5C"}},{key:"56.0",attributes:{x:-160.2533,y:-24.29684,size:15.857142,label:"BaronessT",color:"#B70805"}},{key:"57.0",attributes:{x:-267.16248,y:196.98003,size:23.57143,label:"Mabeuf",color:"#DC5032"}},{key:"58.0",attributes:{x:-190.88988,y:96.44671,size:27,label:"Enjolras",color:"#ED7047"}},{key:"59.0",attributes:{x:-222.5417,y:144.66484,size:23.57143,label:"Combeferre",color:"#DC5032"}},{key:"60.0",attributes:{x:-325.61102,y:166.71417,size:21.857143,label:"Prouvaire",color:"#D44028"}},{key:"61.0",attributes:{x:-276.3468,y:145.79153,size:23.57143,label:"Feuilly",color:"#DC5032"}},{key:"62.0",attributes:{x:-251.45561,y:97.83937,size:25.285713,label:"Courfeyrac",color:"#E5603D"}},{key:"63.0",attributes:{x:-318.40936,y:114.202415,size:24.428572,label:"Bahorel",color:"#E05837"}},{key:"64.0",attributes:{x:-278.9682,y:45.932438,size:25.285713,label:"Bossuet",color:"#E5603D"}},{key:"65.0",attributes:{x:-333.04984,y:62.438156,size:24.428572,label:"Joly",color:"#E05837"}},{key:"66.0",attributes:{x:-370.2446,y:101.73884,size:22.714287,label:"Grantaire",color:"#D8482D"}},{key:"67.0",attributes:{x:-253.54378,y:237.9443,size:15,label:"MotherPlutarch",color:"#B30000"}},{key:"68.0",attributes:{x:-16.550194,y:152.69055,size:22.714287,label:"Gueulemer",color:"#D8482D"}},{key:"69.0",attributes:{x:35.653145,y:144.49445,size:22.714287,label:"Babet",color:"#D8482D"}},{key:"70.0",attributes:{x:58.97649,y:188.46011,size:22.714287,label:"Claquesous",color:"#D8482D"}},{key:"71.0",attributes:{x:-2.9325058,y:200.66508,size:21.857143,label:"Montparnasse",color:"#D44028"}},{key:"72.0",attributes:{x:-30.056648,y:3.5053203,size:16.714285,label:"Toussaint",color:"#BB100A"}},{key:"73.0",attributes:{x:-244.859,y:-11.3161335,size:15.857142,label:"Child1",color:"#B70805"}},{key:"74.0",attributes:{x:-280.33203,y:-1.466383,size:15.857142,label:"Child2",color:"#B70805"}},{key:"75.0",attributes:{x:-56.819256,y:182.0544,size:20.142857,label:"Brujon",color:"#CC301E"}},{key:"76.0",attributes:{x:-382.06223,y:47.045475,size:20.142857,label:"MmeHucheloup",color:"#CC301E"}}],E=[{key:"0",source:"1.0",target:"0.0",attributes:{size:1}},{key:"1",source:"2.0",target:"0.0",attributes:{size:8}},{key:"2",source:"3.0",target:"0.0",attributes:{size:10}},{key:"3",source:"3.0",target:"2.0",attributes:{size:6}},{key:"4",source:"4.0",target:"0.0",attributes:{size:1}},{key:"5",source:"5.0",target:"0.0",attributes:{size:1}},{key:"6",source:"6.0",target:"0.0",attributes:{size:1}},{key:"7",source:"7.0",target:"0.0",attributes:{size:1}},{key:"8",source:"8.0",target:"0.0",attributes:{size:2}},{key:"9",source:"9.0",target:"0.0",attributes:{size:1}},{key:"13",source:"11.0",target:"0.0",attributes:{size:5}},{key:"12",source:"11.0",target:"2.0",attributes:{size:3}},{key:"11",source:"11.0",target:"3.0",attributes:{size:3}},{key:"10",source:"11.0",target:"10.0",attributes:{size:1}},{key:"14",source:"12.0",target:"11.0",attributes:{size:1}},{key:"15",source:"13.0",target:"11.0",attributes:{size:1}},{key:"16",source:"14.0",target:"11.0",attributes:{size:1}},{key:"17",source:"15.0",target:"11.0",attributes:{size:1}},{key:"18",source:"17.0",target:"16.0",attributes:{size:4}},{key:"19",source:"18.0",target:"16.0",attributes:{size:4}},{key:"20",source:"18.0",target:"17.0",attributes:{size:4}},{key:"21",source:"19.0",target:"16.0",attributes:{size:4}},{key:"22",source:"19.0",target:"17.0",attributes:{size:4}},{key:"23",source:"19.0",target:"18.0",attributes:{size:4}},{key:"24",source:"20.0",target:"16.0",attributes:{size:3}},{key:"25",source:"20.0",target:"17.0",attributes:{size:3}},{key:"26",source:"20.0",target:"18.0",attributes:{size:3}},{key:"27",source:"20.0",target:"19.0",attributes:{size:4}},{key:"28",source:"21.0",target:"16.0",attributes:{size:3}},{key:"29",source:"21.0",target:"17.0",attributes:{size:3}},{key:"30",source:"21.0",target:"18.0",attributes:{size:3}},{key:"31",source:"21.0",target:"19.0",attributes:{size:3}},{key:"32",source:"21.0",target:"20.0",attributes:{size:5}},{key:"33",source:"22.0",target:"16.0",attributes:{size:3}},{key:"34",source:"22.0",target:"17.0",attributes:{size:3}},{key:"35",source:"22.0",target:"18.0",attributes:{size:3}},{key:"36",source:"22.0",target:"19.0",attributes:{size:3}},{key:"37",source:"22.0",target:"20.0",attributes:{size:4}},{key:"38",source:"22.0",target:"21.0",attributes:{size:4}},{key:"47",source:"23.0",target:"11.0",attributes:{size:9}},{key:"46",source:"23.0",target:"12.0",attributes:{size:2}},{key:"39",source:"23.0",target:"16.0",attributes:{size:3}},{key:"40",source:"23.0",target:"17.0",attributes:{size:3}},{key:"41",source:"23.0",target:"18.0",attributes:{size:3}},{key:"42",source:"23.0",target:"19.0",attributes:{size:3}},{key:"43",source:"23.0",target:"20.0",attributes:{size:4}},{key:"44",source:"23.0",target:"21.0",attributes:{size:4}},{key:"45",source:"23.0",target:"22.0",attributes:{size:4}},{key:"49",source:"24.0",target:"11.0",attributes:{size:7}},{key:"48",source:"24.0",target:"23.0",attributes:{size:2}},{key:"52",source:"25.0",target:"11.0",attributes:{size:12}},{key:"51",source:"25.0",target:"23.0",attributes:{size:1}},{key:"50",source:"25.0",target:"24.0",attributes:{size:13}},{key:"54",source:"26.0",target:"11.0",attributes:{size:31}},{key:"55",source:"26.0",target:"16.0",attributes:{size:1}},{key:"53",source:"26.0",target:"24.0",attributes:{size:4}},{key:"56",source:"26.0",target:"25.0",attributes:{size:1}},{key:"57",source:"27.0",target:"11.0",attributes:{size:17}},{key:"58",source:"27.0",target:"23.0",attributes:{size:5}},{key:"60",source:"27.0",target:"24.0",attributes:{size:1}},{key:"59",source:"27.0",target:"25.0",attributes:{size:5}},{key:"61",source:"27.0",target:"26.0",attributes:{size:1}},{key:"62",source:"28.0",target:"11.0",attributes:{size:8}},{key:"63",source:"28.0",target:"27.0",attributes:{size:1}},{key:"66",source:"29.0",target:"11.0",attributes:{size:2}},{key:"64",source:"29.0",target:"23.0",attributes:{size:1}},{key:"65",source:"29.0",target:"27.0",attributes:{size:1}},{key:"67",source:"30.0",target:"23.0",attributes:{size:1}},{key:"69",source:"31.0",target:"11.0",attributes:{size:3}},{key:"70",source:"31.0",target:"23.0",attributes:{size:2}},{key:"71",source:"31.0",target:"27.0",attributes:{size:1}},{key:"68",source:"31.0",target:"30.0",attributes:{size:2}},{key:"72",source:"32.0",target:"11.0",attributes:{size:1}},{key:"73",source:"33.0",target:"11.0",attributes:{size:2}},{key:"74",source:"33.0",target:"27.0",attributes:{size:1}},{key:"75",source:"34.0",target:"11.0",attributes:{size:3}},{key:"76",source:"34.0",target:"29.0",attributes:{size:2}},{key:"77",source:"35.0",target:"11.0",attributes:{size:3}},{key:"79",source:"35.0",target:"29.0",attributes:{size:2}},{key:"78",source:"35.0",target:"34.0",attributes:{size:3}},{key:"82",source:"36.0",target:"11.0",attributes:{size:2}},{key:"83",source:"36.0",target:"29.0",attributes:{size:1}},{key:"80",source:"36.0",target:"34.0",attributes:{size:2}},{key:"81",source:"36.0",target:"35.0",attributes:{size:2}},{key:"87",source:"37.0",target:"11.0",attributes:{size:2}},{key:"88",source:"37.0",target:"29.0",attributes:{size:1}},{key:"84",source:"37.0",target:"34.0",attributes:{size:2}},{key:"85",source:"37.0",target:"35.0",attributes:{size:2}},{key:"86",source:"37.0",target:"36.0",attributes:{size:2}},{key:"93",source:"38.0",target:"11.0",attributes:{size:2}},{key:"94",source:"38.0",target:"29.0",attributes:{size:1}},{key:"89",source:"38.0",target:"34.0",attributes:{size:2}},{key:"90",source:"38.0",target:"35.0",attributes:{size:2}},{key:"91",source:"38.0",target:"36.0",attributes:{size:2}},{key:"92",source:"38.0",target:"37.0",attributes:{size:2}},{key:"95",source:"39.0",target:"25.0",attributes:{size:1}},{key:"96",source:"40.0",target:"25.0",attributes:{size:1}},{key:"97",source:"41.0",target:"24.0",attributes:{size:2}},{key:"98",source:"41.0",target:"25.0",attributes:{size:3}},{key:"101",source:"42.0",target:"24.0",attributes:{size:1}},{key:"100",source:"42.0",target:"25.0",attributes:{size:2}},{key:"99",source:"42.0",target:"41.0",attributes:{size:2}},{key:"102",source:"43.0",target:"11.0",attributes:{size:3}},{key:"103",source:"43.0",target:"26.0",attributes:{size:1}},{key:"104",source:"43.0",target:"27.0",attributes:{size:1}},{key:"106",source:"44.0",target:"11.0",attributes:{size:1}},{key:"105",source:"44.0",target:"28.0",attributes:{size:3}},{key:"107",source:"45.0",target:"28.0",attributes:{size:2}},{key:"108",source:"47.0",target:"46.0",attributes:{size:1}},{key:"112",source:"48.0",target:"11.0",attributes:{size:1}},{key:"110",source:"48.0",target:"25.0",attributes:{size:1}},{key:"111",source:"48.0",target:"27.0",attributes:{size:1}},{key:"109",source:"48.0",target:"47.0",attributes:{size:2}},{key:"114",source:"49.0",target:"11.0",attributes:{size:2}},{key:"113",source:"49.0",target:"26.0",attributes:{size:3}},{key:"116",source:"50.0",target:"24.0",attributes:{size:1}},{key:"115",source:"50.0",target:"49.0",attributes:{size:1}},{key:"119",source:"51.0",target:"11.0",attributes:{size:2}},{key:"118",source:"51.0",target:"26.0",attributes:{size:2}},{key:"117",source:"51.0",target:"49.0",attributes:{size:9}},{key:"121",source:"52.0",target:"39.0",attributes:{size:1}},{key:"120",source:"52.0",target:"51.0",attributes:{size:1}},{key:"122",source:"53.0",target:"51.0",attributes:{size:1}},{key:"125",source:"54.0",target:"26.0",attributes:{size:1}},{key:"124",source:"54.0",target:"49.0",attributes:{size:1}},{key:"123",source:"54.0",target:"51.0",attributes:{size:2}},{key:"131",source:"55.0",target:"11.0",attributes:{size:19}},{key:"132",source:"55.0",target:"16.0",attributes:{size:1}},{key:"133",source:"55.0",target:"25.0",attributes:{size:2}},{key:"130",source:"55.0",target:"26.0",attributes:{size:21}},{key:"128",source:"55.0",target:"39.0",attributes:{size:1}},{key:"134",source:"55.0",target:"41.0",attributes:{size:5}},{key:"135",source:"55.0",target:"48.0",attributes:{size:4}},{key:"127",source:"55.0",target:"49.0",attributes:{size:12}},{key:"126",source:"55.0",target:"51.0",attributes:{size:6}},{key:"129",source:"55.0",target:"54.0",attributes:{size:1}},{key:"136",source:"56.0",target:"49.0",attributes:{size:1}},{key:"137",source:"56.0",target:"55.0",attributes:{size:1}},{key:"139",source:"57.0",target:"41.0",attributes:{size:1}},{key:"140",source:"57.0",target:"48.0",attributes:{size:1}},{key:"138",source:"57.0",target:"55.0",attributes:{size:1}},{key:"145",source:"58.0",target:"11.0",attributes:{size:4}},{key:"143",source:"58.0",target:"27.0",attributes:{size:6}},{key:"142",source:"58.0",target:"48.0",attributes:{size:7}},{key:"141",source:"58.0",target:"55.0",attributes:{size:7}},{key:"144",source:"58.0",target:"57.0",attributes:{size:1}},{key:"148",source:"59.0",target:"48.0",attributes:{size:6}},{key:"147",source:"59.0",target:"55.0",attributes:{size:5}},{key:"149",source:"59.0",target:"57.0",attributes:{size:2}},{key:"146",source:"59.0",target:"58.0",attributes:{size:15}},{key:"150",source:"60.0",target:"48.0",attributes:{size:1}},{key:"151",source:"60.0",target:"58.0",attributes:{size:4}},{key:"152",source:"60.0",target:"59.0",attributes:{size:2}},{key:"153",source:"61.0",target:"48.0",attributes:{size:2}},{key:"158",source:"61.0",target:"55.0",attributes:{size:1}},{key:"157",source:"61.0",target:"57.0",attributes:{size:1}},{key:"154",source:"61.0",target:"58.0",attributes:{size:6}},{key:"156",source:"61.0",target:"59.0",attributes:{size:5}},{key:"155",source:"61.0",target:"60.0",attributes:{size:2}},{key:"164",source:"62.0",target:"41.0",attributes:{size:1}},{key:"162",source:"62.0",target:"48.0",attributes:{size:7}},{key:"159",source:"62.0",target:"55.0",attributes:{size:9}},{key:"163",source:"62.0",target:"57.0",attributes:{size:2}},{key:"160",source:"62.0",target:"58.0",attributes:{size:17}},{key:"161",source:"62.0",target:"59.0",attributes:{size:13}},{key:"166",source:"62.0",target:"60.0",attributes:{size:3}},{key:"165",source:"62.0",target:"61.0",attributes:{size:6}},{key:"168",source:"63.0",target:"48.0",attributes:{size:5}},{key:"174",source:"63.0",target:"55.0",attributes:{size:1}},{key:"170",source:"63.0",target:"57.0",attributes:{size:2}},{key:"171",source:"63.0",target:"58.0",attributes:{size:4}},{key:"167",source:"63.0",target:"59.0",attributes:{size:5}},{key:"173",source:"63.0",target:"60.0",attributes:{size:2}},{key:"172",source:"63.0",target:"61.0",attributes:{size:3}},{key:"169",source:"63.0",target:"62.0",attributes:{size:6}},{key:"184",source:"64.0",target:"11.0",attributes:{size:1}},{key:"177",source:"64.0",target:"48.0",attributes:{size:5}},{key:"175",source:"64.0",target:"55.0",attributes:{size:5}},{key:"183",source:"64.0",target:"57.0",attributes:{size:1}},{key:"179",source:"64.0",target:"58.0",attributes:{size:10}},{key:"182",source:"64.0",target:"59.0",attributes:{size:9}},{key:"181",source:"64.0",target:"60.0",attributes:{size:2}},{key:"180",source:"64.0",target:"61.0",attributes:{size:6}},{key:"176",source:"64.0",target:"62.0",attributes:{size:12}},{key:"178",source:"64.0",target:"63.0",attributes:{size:4}},{key:"187",source:"65.0",target:"48.0",attributes:{size:3}},{key:"194",source:"65.0",target:"55.0",attributes:{size:2}},{key:"193",source:"65.0",target:"57.0",attributes:{size:1}},{key:"189",source:"65.0",target:"58.0",attributes:{size:5}},{key:"192",source:"65.0",target:"59.0",attributes:{size:5}},{key:"191",source:"65.0",target:"60.0",attributes:{size:2}},{key:"190",source:"65.0",target:"61.0",attributes:{size:5}},{key:"188",source:"65.0",target:"62.0",attributes:{size:5}},{key:"185",source:"65.0",target:"63.0",attributes:{size:5}},{key:"186",source:"65.0",target:"64.0",attributes:{size:7}},{key:"200",source:"66.0",target:"48.0",attributes:{size:1}},{key:"196",source:"66.0",target:"58.0",attributes:{size:3}},{key:"197",source:"66.0",target:"59.0",attributes:{size:1}},{key:"203",source:"66.0",target:"60.0",attributes:{size:1}},{key:"202",source:"66.0",target:"61.0",attributes:{size:1}},{key:"198",source:"66.0",target:"62.0",attributes:{size:2}},{key:"201",source:"66.0",target:"63.0",attributes:{size:1}},{key:"195",source:"66.0",target:"64.0",attributes:{size:3}},{key:"199",source:"66.0",target:"65.0",attributes:{size:2}},{key:"204",source:"67.0",target:"57.0",attributes:{size:3}},{key:"206",source:"68.0",target:"11.0",attributes:{size:1}},{key:"207",source:"68.0",target:"24.0",attributes:{size:1}},{key:"205",source:"68.0",target:"25.0",attributes:{size:5}},{key:"208",source:"68.0",target:"27.0",attributes:{size:1}},{key:"210",source:"68.0",target:"41.0",attributes:{size:1}},{key:"209",source:"68.0",target:"48.0",attributes:{size:1}},{key:"213",source:"69.0",target:"11.0",attributes:{size:1}},{key:"214",source:"69.0",target:"24.0",attributes:{size:1}},{key:"211",source:"69.0",target:"25.0",attributes:{size:6}},{key:"215",source:"69.0",target:"27.0",attributes:{size:2}},{key:"217",source:"69.0",target:"41.0",attributes:{size:1}},{key:"216",source:"69.0",target:"48.0",attributes:{size:1}},{key:"212",source:"69.0",target:"68.0",attributes:{size:6}},{key:"221",source:"70.0",target:"11.0",attributes:{size:1}},{key:"222",source:"70.0",target:"24.0",attributes:{size:1}},{key:"218",source:"70.0",target:"25.0",attributes:{size:4}},{key:"223",source:"70.0",target:"27.0",attributes:{size:1}},{key:"224",source:"70.0",target:"41.0",attributes:{size:1}},{key:"225",source:"70.0",target:"58.0",attributes:{size:1}},{key:"220",source:"70.0",target:"68.0",attributes:{size:4}},{key:"219",source:"70.0",target:"69.0",attributes:{size:4}},{key:"230",source:"71.0",target:"11.0",attributes:{size:1}},{key:"233",source:"71.0",target:"25.0",attributes:{size:1}},{key:"226",source:"71.0",target:"27.0",attributes:{size:1}},{key:"232",source:"71.0",target:"41.0",attributes:{size:1}},{key:"231",source:"71.0",target:"48.0",attributes:{size:1}},{key:"228",source:"71.0",target:"68.0",attributes:{size:2}},{key:"227",source:"71.0",target:"69.0",attributes:{size:2}},{key:"229",source:"71.0",target:"70.0",attributes:{size:2}},{key:"236",source:"72.0",target:"11.0",attributes:{size:1}},{key:"234",source:"72.0",target:"26.0",attributes:{size:2}},{key:"235",source:"72.0",target:"27.0",attributes:{size:1}},{key:"237",source:"73.0",target:"48.0",attributes:{size:2}},{key:"238",source:"74.0",target:"48.0",attributes:{size:2}},{key:"239",source:"74.0",target:"73.0",attributes:{size:3}},{key:"242",source:"75.0",target:"25.0",attributes:{size:3}},{key:"244",source:"75.0",target:"41.0",attributes:{size:1}},{key:"243",source:"75.0",target:"48.0",attributes:{size:1}},{key:"241",source:"75.0",target:"68.0",attributes:{size:3}},{key:"240",source:"75.0",target:"69.0",attributes:{size:3}},{key:"245",source:"75.0",target:"70.0",attributes:{size:1}},{key:"246",source:"75.0",target:"71.0",attributes:{size:1}},{key:"252",source:"76.0",target:"48.0",attributes:{size:1}},{key:"253",source:"76.0",target:"58.0",attributes:{size:1}},{key:"251",source:"76.0",target:"62.0",attributes:{size:1}},{key:"250",source:"76.0",target:"63.0",attributes:{size:1}},{key:"247",source:"76.0",target:"64.0",attributes:{size:1}},{key:"248",source:"76.0",target:"65.0",attributes:{size:1}},{key:"249",source:"76.0",target:"66.0",attributes:{size:1}}],h={nodes:x,edges:E},v=()=>{const y=document.getElementById("sigma-container"),i=document.getElementById("sigma-logs"),a=new z;a.import(h);function o(e,t,r){const c=document.createElement("div");let u=`Event "${e}"`;if(r&&t)if(t==="positions")r=r,u+=`, x ${r.x}, y ${r.y}`;else{const k=t==="node"?a.getNodeAttribute(r,"label"):a.getEdgeAttribute(r,"label");u+=`, ${t} ${k||"with no label"} (id "${r}")`,t==="edge"&&(u+=`, source ${a.getSourceAttribute(r,"label")}, target: ${a.getTargetAttribute(r,"label")}`)}c.innerHTML=`${u}`,i.appendChild(c),i.scrollTo({top:i.scrollHeight}),i.children.length>50&&i.children[0].remove()}let b=null;const s=new d(a,y,{enableEdgeEvents:!0,edgeReducer(e,t){const r={...t};return e===b&&(r.color="#cc0000"),r}}),l=["enterNode","leaveNode","downNode","clickNode","rightClickNode","doubleClickNode","wheelNode"],g=["downEdge","clickEdge","rightClickEdge","doubleClickEdge","wheelEdge"],n=["downStage","clickStage","doubleClickStage","wheelStage"];l.forEach(e=>s.on(e,({node:t})=>o(e,"node",t))),g.forEach(e=>s.on(e,({edge:t})=>o(e,"edge",t))),s.on("enterEdge",({edge:e})=>{o("enterEdge","edge",e),b=e,s.refresh()}),s.on("leaveEdge",({edge:e})=>{o("leaveEdge","edge",e),b=null,s.refresh()}),n.forEach(e=>{s.on(e,({event:t})=>{o(e,"positions",t)})}),m(()=>{s.kill()})},p=` +
+
+`,C=`/** + * This example shows how to use node and edges events in sigma. + */ +import Graph from "graphology"; +import Sigma from "sigma"; +import { MouseCoords } from "sigma/types"; + +import { onStoryDown } from "../utils"; +import data from "./data.json"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + const logsDOM = document.getElementById("sigma-logs") as HTMLElement; + + const graph = new Graph(); + graph.import(data); + + function logEvent(event: string, itemType: "node" | "edge" | "positions", item: string | MouseCoords): void { + const div = document.createElement("div"); + let message = \`Event "\${event}"\`; + if (item && itemType) { + if (itemType === "positions") { + item = item as MouseCoords; + message += \`, x \${item.x}, y \${item.y}\`; + } else { + const label = + itemType === "node" ? graph.getNodeAttribute(item, "label") : graph.getEdgeAttribute(item, "label"); + message += \`, \${itemType} \${label || "with no label"} (id "\${item}")\`; + + if (itemType === "edge") { + message += \`, source \${graph.getSourceAttribute(item, "label")}, target: \${graph.getTargetAttribute( + item, + "label", + )}\`; + } + } + } + div.innerHTML = \`\${message}\`; + logsDOM.appendChild(div); + logsDOM.scrollTo({ top: logsDOM.scrollHeight }); + + if (logsDOM.children.length > 50) logsDOM.children[0].remove(); + } + + let hoveredEdge: null | string = null; + const renderer = new Sigma(graph, container, { + enableEdgeEvents: true, + edgeReducer(edge, data) { + const res = { ...data }; + if (edge === hoveredEdge) res.color = "#cc0000"; + return res; + }, + }); + + const nodeEvents = [ + "enterNode", + "leaveNode", + "downNode", + "clickNode", + "rightClickNode", + "doubleClickNode", + "wheelNode", + ] as const; + const edgeEvents = ["downEdge", "clickEdge", "rightClickEdge", "doubleClickEdge", "wheelEdge"] as const; + const stageEvents = ["downStage", "clickStage", "doubleClickStage", "wheelStage"] as const; + + nodeEvents.forEach((eventType) => renderer.on(eventType, ({ node }) => logEvent(eventType, "node", node))); + edgeEvents.forEach((eventType) => renderer.on(eventType, ({ edge }) => logEvent(eventType, "edge", edge))); + + renderer.on("enterEdge", ({ edge }) => { + logEvent("enterEdge", "edge", edge); + hoveredEdge = edge; + renderer.refresh(); + }); + renderer.on("leaveEdge", ({ edge }) => { + logEvent("leaveEdge", "edge", edge); + hoveredEdge = null; + renderer.refresh(); + }); + + stageEvents.forEach((eventType) => { + renderer.on(eventType, ({ event }) => { + logEvent(eventType, "positions", event); + }); + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,D={id:"events",title:"Examples"},M={name:"Events",render:()=>p,play:v,args:{},parameters:{storySource:{source:C}}};export{D as default,M as story}; diff --git a/storybook/assets/stories-C6AHsaqd.js b/storybook/assets/stories-C6AHsaqd.js new file mode 100644 index 000000000..35d8622d2 --- /dev/null +++ b/storybook/assets/stories-C6AHsaqd.js @@ -0,0 +1,415 @@ +var I=Object.defineProperty;var V=(o,e,t)=>e in o?I(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var u=(o,e,t)=>(V(o,typeof e!="symbol"?e+"":e,t),t);import{N as B,f as F,d as y,G as m,S as h,o as v,D as G}from"./utils-C5QP6GGe.js";import"./_commonjsHelpers-BosuxZz1.js";const _="#000000",w={defaultColor:_,offset:{value:0}};function j(o){return o%1===0?o.toFixed(1):o.toString()}function U({slices:o,offset:e}){return` +precision highp float; + +varying vec2 v_diffVector; +varying float v_radius; + +#ifdef PICKING_MODE +varying vec4 v_color; +#else +// For normal mode, we use the border colors defined in the program: +${o.flatMap(({value:n},a)=>"attribute"in n?[`varying float v_sliceValue_${a+1};`]:[]).join(` +`)} +${o.map(({color:n},a)=>"attribute"in n?`varying vec4 v_sliceColor_${a+1};`:`uniform vec4 u_sliceColor_${a+1};`).join(` +`)} +#endif + +uniform vec4 u_defaultColor; +uniform float u_cameraAngle; +uniform float u_correctionRatio; + +${"attribute"in e?`varying float v_offset; +`:""} +${"value"in e?`uniform float u_offset; +`:""} + +const float bias = 255.0 / 254.0; +const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + +void main(void) { + float aaBorder = u_correctionRatio * 2.0;; + float dist = length(v_diffVector); + float offset = ${"attribute"in e?"v_offset":"u_offset"}; + float angle = atan(v_diffVector.y / v_diffVector.x); + if (v_diffVector.x < 0.0 && v_diffVector.y < 0.0) angle += ${Math.PI}; + else if (v_diffVector.x < 0.0) angle += ${Math.PI}; + else if (v_diffVector.y < 0.0) angle += ${2*Math.PI}; + angle = angle - u_cameraAngle + offset; + angle = mod(angle, ${2*Math.PI}); + + // No antialiasing for picking mode: + #ifdef PICKING_MODE + if (dist > v_radius) + gl_FragColor = transparent; + else { + gl_FragColor = v_color; + gl_FragColor.a *= bias; + } + #else + // Colors: +${o.map(({color:n},a)=>{const d=[];return"attribute"in n?d.push(` vec4 sliceColor_${a+1} = v_sliceColor_${a+1};`):"transparent"in n?d.push(` vec4 sliceColor_${a+1} = vec4(0.0, 0.0, 0.0, 0.0);`):d.push(` vec4 sliceColor_${a+1} = u_sliceColor_${a+1};`),d.push(` sliceColor_${a+1}.a *= bias;`),d.join(` +`)}).join(` +`)} + vec4 color = u_defaultColor; + color.a *= bias; + + // Sizes: +${o.map(({value:n},a)=>` float sliceValue_${a+1} = ${"attribute"in n?`v_sliceValue_${a+1}`:j(n.value)};`).join(` +`)} + + // Angles and final color: + float total = ${o.map((n,a)=>`sliceValue_${a+1}`).join(" + ")}; + float angle_0 = 0.0; + if (total > 0.0) { +${o.map((n,a)=>` float angle_${a+1} = angle_${a} + sliceValue_${a+1} * ${2*Math.PI} / total;`).join(` +`)} + ${o.map((n,a)=>`if (angle < angle_${a+1}) color = sliceColor_${a+1};`).join(` + else `)} + } + + if (dist < v_radius - aaBorder) { + gl_FragColor = color; + } else if (dist < v_radius) { + gl_FragColor = mix(transparent, color, (v_radius - dist) / aaBorder); + } + #endif +} +`}function H({slices:o,offset:e}){return` +attribute vec4 a_id; +attribute vec2 a_position; +attribute float a_size; +attribute float a_angle; + +uniform mat3 u_matrix; +uniform float u_sizeRatio; +uniform float u_correctionRatio; + +varying vec2 v_diffVector; +varying float v_radius; + +${"attribute"in e?`attribute float a_offset; +`:""} +${"attribute"in e?`varying float v_offset; +`:""} + +#ifdef PICKING_MODE +varying vec4 v_color; +#else +${o.flatMap(({value:n},a)=>"attribute"in n?[`attribute float a_sliceValue_${a+1};`,`varying float v_sliceValue_${a+1};`]:[]).join(` +`)} +${o.flatMap(({color:n},a)=>"attribute"in n?[`attribute vec4 a_sliceColor_${a+1};`,`varying vec4 v_sliceColor_${a+1};`]:[]).join(` +`)} +#endif + +const vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0); + +void main() { + float size = a_size * u_correctionRatio / u_sizeRatio * 4.0; + vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle)); + vec2 position = a_position + diffVector; + gl_Position = vec4( + (u_matrix * vec3(position, 1)).xy, + 0, + 1 + ); + + v_radius = size / 2.0; + v_diffVector = diffVector; + ${"attribute"in e?`v_offset = a_offset; +`:""} + + #ifdef PICKING_MODE + v_color = a_id; + #else +${o.flatMap(({value:n},a)=>"attribute"in n?[` v_sliceValue_${a+1} = a_sliceValue_${a+1};`]:[]).join(` +`)} +${o.flatMap(({color:n},a)=>"attribute"in n?[` v_sliceColor_${a+1} = a_sliceColor_${a+1};`]:[]).join(` +`)} + #endif +} +`}const{UNSIGNED_BYTE:C,FLOAT:f}=WebGLRenderingContext;function b(o){var d;const e={...w,...o},{slices:t,offset:n}=e,a=["u_sizeRatio","u_correctionRatio","u_cameraAngle","u_matrix","u_defaultColor",..."value"in n?["u_offset"]:[],...t.flatMap(({color:p},c)=>"value"in p?[`u_sliceColor_${c+1}`]:[])];return d=class extends B{getDefinition(){return{VERTICES:3,VERTEX_SHADER_SOURCE:H(e),FRAGMENT_SHADER_SOURCE:U(e),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:a,ATTRIBUTES:[{name:"a_position",size:2,type:f},{name:"a_id",size:4,type:C,normalized:!0},{name:"a_size",size:1,type:f},..."attribute"in n?[{name:"a_offset",size:1,type:f}]:[],...t.flatMap(({color:c},r)=>"attribute"in c?[{name:`a_sliceColor_${r+1}`,size:4,type:C,normalized:!0}]:[]),...t.flatMap(({value:c},r)=>"attribute"in c?[{name:`a_sliceValue_${r+1}`,size:1,type:f}]:[])],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:f}],CONSTANT_DATA:[[d.ANGLE_1],[d.ANGLE_2],[d.ANGLE_3]]}}processVisibleItem(c,r,s){const i=this.array;i[r++]=s.x,i[r++]=s.y,i[r++]=c,i[r++]=s.size,"attribute"in n&&(i[r++]=s[n.attribute]||0),t.forEach(({color:l})=>{"attribute"in l&&(i[r++]=F(s[l.attribute]||l.defaultValue||_))}),t.forEach(({value:l})=>{"attribute"in l&&(i[r++]=s[l.attribute]||0)})}setUniforms(c,{gl:r,uniformLocations:s}){const{u_sizeRatio:i,u_correctionRatio:l,u_cameraAngle:g,u_matrix:N,u_defaultColor:P}=s;r.uniform1f(l,c.correctionRatio),r.uniform1f(i,c.sizeRatio),r.uniform1f(g,c.cameraAngle),r.uniformMatrix3fv(N,!1,c.matrix),"value"in n&&r.uniform1f(s.u_offset,n.value);const[x,O,$,R]=y(e.defaultColor||_);r.uniform4f(P,x/255,O/255,$/255,R/255),t.forEach(({color:z},S)=>{if("value"in z){const A=s[`u_sliceColor_${S+1}`],[D,L,M,T]=y(z.value);r.uniform4f(A,D/255,L/255,M/255,T/255)}})}},u(d,"ANGLE_1",0),u(d,"ANGLE_2",2*Math.PI/3),u(d,"ANGLE_3",4*Math.PI/3),d}const k=()=>{const o=document.getElementById("sigma-container"),e=new m;e.addNode("a",{x:0,y:0,size:20,label:"A",positive:10,neutral:17,negative:14}),e.addNode("b",{x:1,y:-1,size:40,label:"B",positive:2,neutral:4,negative:1}),e.addNode("c",{x:3,y:-2,size:20,label:"C",positive:0,neutral:8,negative:3}),e.addNode("d",{x:1,y:-3,size:20,label:"D",positive:0,negative:0}),e.addNode("e",{x:3,y:-4,size:40,label:"E",positive:17,neutral:1,negative:3}),e.addNode("f",{x:4,y:-5,size:20,label:"F",neutral:8,negative:4}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const t=b({defaultColor:"#BCB7C4",slices:[{color:{value:"#F05454"},value:{attribute:"negative"}},{color:{value:"#7798FA"},value:{attribute:"neutral"}},{color:{value:"#6DDB55"},value:{attribute:"positive"}}]}),n=new h(e,o,{defaultNodeType:"piechart",nodeProgramClasses:{piechart:t}});v(()=>{n.kill()})},K=`import { createNodePiechartProgram } from "@sigma/node-piechart"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + positive: 10, + neutral: 17, + negative: 14, + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + positive: 2, + neutral: 4, + negative: 1, + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + positive: 0, + neutral: 8, + negative: 3, + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + positive: 0, + negative: 0, + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + positive: 17, + neutral: 1, + negative: 3, + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + neutral: 8, + negative: 4, + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const NodePiechartProgram = createNodePiechartProgram({ + defaultColor: "#BCB7C4", + slices: [ + { color: { value: "#F05454" }, value: { attribute: "negative" } }, + { color: { value: "#7798FA" }, value: { attribute: "neutral" } }, + { color: { value: "#6DDB55" }, value: { attribute: "positive" } }, + ], + }); + const renderer = new Sigma(graph, container, { + defaultNodeType: "piechart", + nodeProgramClasses: { + piechart: NodePiechartProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,W=()=>{const o=document.getElementById("sigma-container"),e=new m,t="#956b5e",n="#ff44de",a="#71db97",d="#ff813b";e.addNode("a",{x:0,y:0,size:20,label:"A",colors:[t]}),e.addNode("b",{x:1,y:-1,size:40,label:"B",colors:[t,n,a]}),e.addNode("c",{x:3,y:-2,size:20,label:"C",colors:[n]}),e.addNode("d",{x:1,y:-3,size:20,label:"D",colors:[n,a]}),e.addNode("e",{x:3,y:-4,size:40,label:"E",colors:[n,a,d]}),e.addNode("f",{x:4,y:-5,size:20,label:"F",colors:[d]}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const p=Math.max(...e.mapNodes((s,{colors:i})=>i.length)),c={...G};for(let s=2;s<=p;s++){const i=[{color:{attribute:"color"},value:{value:1}}];for(let l=1;l{const l=i.colors;i.type=l.length<=1?"circle":`pie-${l.length}`,i.color=l[0];for(let g=1;g{r.kill()})},X=`import { CreateNodePiechartProgramOptions, createNodePiechartProgram } from "@sigma/node-piechart"; +import Graph from "graphology"; +import Sigma from "sigma"; +import { DEFAULT_NODE_PROGRAM_CLASSES } from "sigma/settings"; +import { NodeDisplayData } from "sigma/types"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph & { colors: string[] }>(); + + const COLOR_1 = "#956b5e"; + const COLOR_2 = "#ff44de"; + const COLOR_3 = "#71db97"; + const COLOR_4 = "#ff813b"; + + // This example shows how to render nodes that have multiple colors: + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + colors: [COLOR_1], + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + colors: [COLOR_1, COLOR_2, COLOR_3], + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + colors: [COLOR_2], + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + colors: [COLOR_2, COLOR_3], + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + colors: [COLOR_2, COLOR_3, COLOR_4], + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + colors: [COLOR_4], + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const maxCount = Math.max(...graph.mapNodes((_, { colors }) => colors.length)); + const nodeProgramClasses = { ...DEFAULT_NODE_PROGRAM_CLASSES }; + + for (let i = 2; i <= maxCount; i++) { + const slices: CreateNodePiechartProgramOptions["slices"] = [{ color: { attribute: "color" }, value: { value: 1 } }]; + for (let j = 1; j < i; j++) slices.push({ color: { attribute: \`color-\${j}\` }, value: { value: 1 } }); + nodeProgramClasses[\`pie-\${i}\`] = createNodePiechartProgram({ + slices, + }); + } + const renderer = new Sigma(graph, container, { + nodeProgramClasses, + nodeReducer: (_, data) => { + const colors = data.colors as string[]; + data.type = colors.length <= 1 ? "circle" : \`pie-\${colors.length}\`; + data.color = colors[0]; + for (let i = 1; i < colors.length; i++) data[\`color-\${i}\` as "color"] = colors[i]; + return data; + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,E=` +
+`,Y=()=>{const o=document.getElementById("sigma-container"),e=new m;e.addNode("a",{x:0,y:0,size:20,label:"A"}),e.addNode("b",{x:1,y:-1,size:40,label:"B",offset:Math.PI/3}),e.addNode("c",{x:3,y:-2,size:20,label:"C",offset:Math.PI/2}),e.addNode("d",{x:1,y:-3,size:20,label:"D",offset:Math.PI}),e.addNode("e",{x:3,y:-4,size:40,label:"E",offset:Math.PI*2/3}),e.addNode("f",{x:4,y:-5,size:20,label:"F",offset:Math.PI*3/2}),e.addEdge("a","b",{size:10}),e.addEdge("b","c",{size:10}),e.addEdge("b","d",{size:10}),e.addEdge("c","b",{size:10}),e.addEdge("c","e",{size:10}),e.addEdge("d","c",{size:10}),e.addEdge("d","e",{size:10}),e.addEdge("e","d",{size:10}),e.addEdge("f","e",{size:10});const t=b({defaultColor:"#BCB7C4",offset:{attribute:"offset"},slices:[{color:{value:"yellow"},value:{value:1}},{color:{value:"orange"},value:{value:1}}]}),n=new h(e,o,{defaultNodeType:"piechart",nodeProgramClasses:{piechart:t}});v(()=>{n.kill()})},q=`import { createNodePiechartProgram } from "@sigma/node-piechart"; +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("a", { + x: 0, + y: 0, + size: 20, + label: "A", + }); + graph.addNode("b", { + x: 1, + y: -1, + size: 40, + label: "B", + offset: Math.PI / 3, + }); + graph.addNode("c", { + x: 3, + y: -2, + size: 20, + label: "C", + offset: Math.PI / 2, + }); + graph.addNode("d", { + x: 1, + y: -3, + size: 20, + label: "D", + offset: Math.PI, + }); + graph.addNode("e", { + x: 3, + y: -4, + size: 40, + label: "E", + offset: (Math.PI * 2) / 3, + }); + graph.addNode("f", { + x: 4, + y: -5, + size: 20, + label: "F", + offset: (Math.PI * 3) / 2, + }); + + graph.addEdge("a", "b", { size: 10 }); + graph.addEdge("b", "c", { size: 10 }); + graph.addEdge("b", "d", { size: 10 }); + graph.addEdge("c", "b", { size: 10 }); + graph.addEdge("c", "e", { size: 10 }); + graph.addEdge("d", "c", { size: 10 }); + graph.addEdge("d", "e", { size: 10 }); + graph.addEdge("e", "d", { size: 10 }); + graph.addEdge("f", "e", { size: 10 }); + + const NodePiechartProgram = createNodePiechartProgram({ + defaultColor: "#BCB7C4", + offset: { attribute: "offset" }, + slices: [ + { color: { value: "yellow" }, value: { value: 1 } }, + { color: { value: "orange" }, value: { value: 1 } }, + ], + }); + const renderer = new Sigma(graph, container, { + defaultNodeType: "piechart", + nodeProgramClasses: { + piechart: NodePiechartProgram, + }, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,ee={id:"node-piechart",title:"node-piechart"},ae={name:"Fixed colors, varying values",render:()=>E,play:k,args:{},parameters:{storySource:{source:K}}},ne={name:"Fixed values, varying colors",render:()=>E,play:W,args:{},parameters:{storySource:{source:X}}},oe={name:"Varying offsets",render:()=>E,play:Y,args:{},parameters:{storySource:{source:q}}};export{ee as default,ae as fixedColors,ne as fixedValues,oe as offsets}; diff --git a/storybook/assets/stories-C9QiTCiY.js b/storybook/assets/stories-C9QiTCiY.js new file mode 100644 index 000000000..dd140117b --- /dev/null +++ b/storybook/assets/stories-C9QiTCiY.js @@ -0,0 +1,193 @@ +import{c as i}from"./chroma-CKzHTTCE.js";import{G as p,S as h,o as v}from"./utils-C5QP6GGe.js";import{F as f}from"./worker-B2VycAgJ.js";import{v as b}from"./v4-D8aEg3BZ.js";import"./_commonjsHelpers-BosuxZz1.js";import"./defaults-9mJNxk8k.js";const x=()=>{const c=document.getElementById("sigma-container"),e=new p;e.addNode("n1",{x:0,y:0,size:10,color:i.random().hex()}),e.addNode("n2",{x:-5,y:5,size:10,color:i.random().hex()}),e.addNode("n3",{x:5,y:5,size:10,color:i.random().hex()}),e.addNode("n4",{x:0,y:10,size:10,color:i.random().hex()}),e.addEdge("n1","n2"),e.addEdge("n2","n4"),e.addEdge("n4","n3"),e.addEdge("n3","n1"),new f(e,{isNodeFixed:(n,r)=>r.highlighted}).start();const t=new h(e,c);let a=null,u=!1;t.on("downNode",n=>{u=!0,a=n.node,e.setNodeAttribute(a,"highlighted",!0)}),t.getMouseCaptor().on("mousemovebody",n=>{if(!u||!a)return;const r=t.viewportToGraph(n);e.setNodeAttribute(a,"x",r.x),e.setNodeAttribute(a,"y",r.y),n.preventSigmaDefault(),n.original.preventDefault(),n.original.stopPropagation()}),t.getMouseCaptor().on("mouseup",()=>{a&&e.removeNodeAttribute(a,"highlighted"),u=!1,a=null}),t.getMouseCaptor().on("mousedown",()=>{t.getCustomBBox()||t.setCustomBBox(t.getBBox())}),t.on("clickStage",({event:n})=>{const d={...t.viewportToGraph({x:n.x,y:n.y}),size:10,color:i.random().hex()},m=e.nodes().map(o=>{const s=e.getNodeAttributes(o),g=Math.pow(d.x-s.x,2)+Math.pow(d.y-s.y,2);return{nodeId:o,distance:g}}).sort((o,s)=>o.distance-s.distance).slice(0,2),l=b();e.addNode(l,d),m.forEach(o=>e.addEdge(l,o.nodeId))}),v(()=>{t.kill()})},y=` +
+

+ + To be able to test the integration of sigma and its mouse interaction capabilities in a scrollable webpage, we + added some random texts around the container. + +

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla a justo vel velit efficitur ullamcorper non ut augue. + Nunc ultrices massa nulla, non rutrum justo accumsan eget. Aenean volutpat pharetra dolor, in mollis felis + consectetur faucibus. Vestibulum varius ligula et tempor varius. Suspendisse et neque vitae est porttitor malesuada + sit amet consectetur quam. Nam vestibulum vestibulum ante sit amet bibendum. Integer vel porta massa, ac suscipit + velit. In auctor ex eu tristique dignissim. Praesent vitae faucibus eros, vel ultricies lectus. Integer at turpis ut + ex ultrices tristique. Mauris venenatis imperdiet dignissim. Quisque eleifend dui ac neque consectetur, in + sollicitudin elit consequat. Sed suscipit mauris nec leo tristique, id lacinia purus aliquam. +

+

+ Duis nisl metus, pellentesque nec egestas nec, finibus eu erat. Morbi mollis, dui in rutrum blandit, tellus mauris + vestibulum eros, ac gravida orci augue eget mauris. Maecenas pharetra convallis est placerat lacinia. Curabitur + ipsum metus, sagittis vitae efficitur congue, suscipit quis nunc. Integer convallis, nisl sed mattis consectetur, mi + nunc rutrum purus, at bibendum quam mi nec elit. Aliquam vulputate posuere ipsum, quis condimentum tortor ultricies + vitae. Nunc vitae justo id neque dictum vulputate quis nec enim. Ut a venenatis metus. +

+

+ Etiam ut mattis ligula. Vestibulum a nisl vel magna fermentum sodales et ac metus. Ut cursus libero tincidunt nisl + imperdiet, vel vulputate tellus pulvinar. Donec ac nulla tempus, aliquam tellus vitae, ornare velit. Nam quis massa + ac elit scelerisque finibus eu ac metus. Nullam faucibus nunc id interdum tincidunt. Maecenas ut neque a justo + ultricies pretium. Integer efficitur sit amet est in mattis. Vivamus interdum erat in quam sodales sagittis. Sed + laoreet urna at neque volutpat rutrum. Duis id ornare lectus. Praesent in felis vitae tortor viverra congue. + Pellentesque commodo diam eu lorem dapibus, ac scelerisque turpis tristique. +

+

+ + You can move nodes with your mouse. Also, clicking the stage will create new nodes, connected to the closest + nodes. + +

+
+

+ Duis justo sapien, auctor a ligula eget, iaculis pharetra nulla. In sed malesuada arcu. Quisque viverra tortor sed + imperdiet euismod. Aliquam quis sem vitae metus consequat posuere id ornare elit. Donec porttitor nulla id euismod + luctus. In euismod a quam a convallis. Vivamus sit amet vehicula sapien, nec vulputate ex. Fusce non enim a felis + luctus mattis ac nec nulla. +

+

+ Praesent tortor risus, sagittis at aliquet vel, egestas a ligula. Aliquam euismod lobortis magna, a varius massa + tincidunt et. Praesent et ultrices turpis, sed rhoncus quam. Praesent quis congue tortor, sed ultrices mi. Curabitur + tincidunt placerat tincidunt. Sed non varius risus. Proin suscipit magna arcu, a congue augue tempor vel. Sed + hendrerit nisi a tellus luctus, eu venenatis orci semper. Vestibulum a nulla semper, elementum elit at, consequat + nisl. Mauris ipsum mauris, ultrices nec ante et, elementum rhoncus diam. Mauris nisl arcu, maximus at ultricies at, + convallis nec justo. Integer congue placerat sem, id ultrices odio porttitor consequat. Vestibulum porttitor + tincidunt justo, vel sodales dui imperdiet ut. Mauris eget accumsan sapien, et viverra ante. Donec et turpis et + neque euismod sollicitudin. Donec sit amet vulputate felis. +

+
+`,N=`import chroma from "chroma-js"; +import Graph from "graphology"; +import ForceSupervisor from "graphology-layout-force/worker"; +import Sigma from "sigma"; +import { v4 as uuid } from "uuid"; + +import { onStoryDown } from "../utils"; + +export default () => { + // Retrieve the html document for sigma container + const container = document.getElementById("sigma-container") as HTMLElement; + + // Create a sample graph + const graph = new Graph(); + graph.addNode("n1", { x: 0, y: 0, size: 10, color: chroma.random().hex() }); + graph.addNode("n2", { x: -5, y: 5, size: 10, color: chroma.random().hex() }); + graph.addNode("n3", { x: 5, y: 5, size: 10, color: chroma.random().hex() }); + graph.addNode("n4", { x: 0, y: 10, size: 10, color: chroma.random().hex() }); + graph.addEdge("n1", "n2"); + graph.addEdge("n2", "n4"); + graph.addEdge("n4", "n3"); + graph.addEdge("n3", "n1"); + + // Create the spring layout and start it + const layout = new ForceSupervisor(graph, { isNodeFixed: (_, attr) => attr.highlighted }); + layout.start(); + + // Create the sigma + const renderer = new Sigma(graph, container); + + // + // Drag'n'drop feature + // ~~~~~~~~~~~~~~~~~~~ + // + + // State for drag'n'drop + let draggedNode: string | null = null; + let isDragging = false; + + // On mouse down on a node + // - we enable the drag mode + // - save in the dragged node in the state + // - highlight the node + // - disable the camera so its state is not updated + renderer.on("downNode", (e) => { + isDragging = true; + draggedNode = e.node; + graph.setNodeAttribute(draggedNode, "highlighted", true); + }); + + // On mouse move, if the drag mode is enabled, we change the position of the draggedNode + renderer.getMouseCaptor().on("mousemovebody", (e) => { + if (!isDragging || !draggedNode) return; + + // Get new position of node + const pos = renderer.viewportToGraph(e); + + graph.setNodeAttribute(draggedNode, "x", pos.x); + graph.setNodeAttribute(draggedNode, "y", pos.y); + + // Prevent sigma to move camera: + e.preventSigmaDefault(); + e.original.preventDefault(); + e.original.stopPropagation(); + }); + + // On mouse up, we reset the autoscale and the dragging mode + renderer.getMouseCaptor().on("mouseup", () => { + if (draggedNode) { + graph.removeNodeAttribute(draggedNode, "highlighted"); + } + isDragging = false; + draggedNode = null; + }); + + // Disable the autoscale at the first down interaction + renderer.getMouseCaptor().on("mousedown", () => { + if (!renderer.getCustomBBox()) renderer.setCustomBBox(renderer.getBBox()); + }); + + // + // Create node (and edge) by click + // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + // + + // When clicking on the stage, we add a new node and connect it to the closest node + renderer.on("clickStage", ({ event }: { event: { x: number; y: number } }) => { + // Sigma (ie. graph) and screen (viewport) coordinates are not the same. + // So we need to translate the screen x & y coordinates to the graph one by calling the sigma helper \`viewportToGraph\` + const coordForGraph = renderer.viewportToGraph({ x: event.x, y: event.y }); + + // We create a new node + const node = { + ...coordForGraph, + size: 10, + color: chroma.random().hex(), + }; + + // Searching the two closest nodes to auto-create an edge to it + const closestNodes = graph + .nodes() + .map((nodeId) => { + const attrs = graph.getNodeAttributes(nodeId); + const distance = Math.pow(node.x - attrs.x, 2) + Math.pow(node.y - attrs.y, 2); + return { nodeId, distance }; + }) + .sort((a, b) => a.distance - b.distance) + .slice(0, 2); + + // We register the new node into graphology instance + const id = uuid(); + graph.addNode(id, node); + + // We create the edges + closestNodes.forEach((e) => graph.addEdge(id, e.nodeId)); + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,A={id:"mouse-manipulations",title:"Examples"},B={name:"Node drag'n'drop, with mouse graph creation",render:()=>y,play:x,args:{},parameters:{storySource:{source:N}}};export{A as default,B as story}; diff --git a/storybook/assets/stories-CNqanQRt.js b/storybook/assets/stories-CNqanQRt.js new file mode 100644 index 000000000..7fa9f2278 --- /dev/null +++ b/storybook/assets/stories-CNqanQRt.js @@ -0,0 +1,47 @@ +import{G as i,S as r,o as l}from"./utils-C5QP6GGe.js";import"./_commonjsHelpers-BosuxZz1.js";const d=()=>{const n=document.getElementById("sigma-container"),e=new i;e.addNode("Andrea",{x:0,y:0,size:6,label:"Andrea",color:"blue"}),e.addNode("Bill",{x:10,y:0,size:4,label:"Bill",color:"red"}),e.addNode("Carole",{x:10,y:10,size:6,label:"Carole",color:"green"}),e.addNode("Daniel",{x:0,y:10,size:4,label:"Daniel",color:"purple"}),e.addEdge("Andrea","Bill",{size:12}),e.addEdge("Bill","Carole",{size:12}),e.addEdge("Carole","Daniel",{size:8}),e.addEdge("Daniel","Andrea",{size:8});const o=new r(e,n,{itemSizesReference:"positions",zoomToSizeRatioFunction:a=>a});l(()=>{o.kill()})},s=` +
+`,t=`/** + * This is a minimal example of sigma. You can use it as a base to write new + * examples, or reproducible test cases for new issues, for instance. + */ +import Graph from "graphology"; +import Sigma from "sigma"; + +import { onStoryDown } from "../utils"; + +export default () => { + const container = document.getElementById("sigma-container") as HTMLElement; + + const graph = new Graph(); + + graph.addNode("Andrea", { x: 0, y: 0, size: 6, label: "Andrea", color: "blue" }); + graph.addNode("Bill", { x: 10, y: 0, size: 4, label: "Bill", color: "red" }); + graph.addNode("Carole", { x: 10, y: 10, size: 6, label: "Carole", color: "green" }); + graph.addNode("Daniel", { x: 0, y: 10, size: 4, label: "Daniel", color: "purple" }); + + graph.addEdge("Andrea", "Bill", { size: 12 }); + graph.addEdge("Bill", "Carole", { size: 12 }); + graph.addEdge("Carole", "Daniel", { size: 8 }); + graph.addEdge("Daniel", "Andrea", { size: 8 }); + + const renderer = new Sigma(graph, container, { + itemSizesReference: "positions", + zoomToSizeRatioFunction: (x) => x, + }); + + onStoryDown(() => { + renderer.kill(); + }); +}; +`,m={id:"fit-sizes-to-positions",title:"Examples"},p={name:"Fit sizes to positions",render:()=>s,play:d,args:{},parameters:{storySource:{source:t}}};export{m as default,p as story}; diff --git a/storybook/assets/stories-CPR8iE1X.js b/storybook/assets/stories-CPR8iE1X.js new file mode 100644 index 000000000..6005ecb7c --- /dev/null +++ b/storybook/assets/stories-CPR8iE1X.js @@ -0,0 +1,133 @@ +import{S as w,G as R,o as S}from"./utils-C5QP6GGe.js";import{F as k}from"./worker-B2VycAgJ.js";import{c as g,g as A}from"./_commonjsHelpers-BosuxZz1.js";import"./defaults-9mJNxk8k.js";var x={exports:{}};(function(m,n){(function(p,l){l()})(g,function(){function p(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function l(e,t,i){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){d(a.response,t,i)},a.onerror=function(){console.error("could not download file")},a.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof g=="object"&&g.global===g?g:void 0,h=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),d=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!h?function(e,t,i){var a=o.URL||o.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener",typeof e=="string"?(c.href=e,c.origin===location.origin?s(c):r(c.href)?l(e,t,i):s(c,c.target="_blank")):(c.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){s(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(p(e,i),t);else if(r(e))l(e,t,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){s(a)})}}:function(e,t,i,a){if(a=a||open("","_blank"),a&&(a.document.title=a.document.body.innerText="downloading..."),typeof e=="string")return l(e,t,i);var c=e.type==="application/octet-stream",E=/constructor/i.test(o.HTMLElement)||o.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||c&&E||h)&&typeof FileReader<"u"){var f=new FileReader;f.onloadend=function(){var u=f.result;u=v?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=u:location=u,a=null},f.readAsDataURL(e)}else{var b=o.URL||o.webkitURL,y=b.createObjectURL(e);a?a.location=y:location.href=y,a=null,setTimeout(function(){b.revokeObjectURL(y)},4e4)}});o.saveAs=d.saveAs=d,m.exports=d})})(x);var N=x.exports;const L=A(N);async function C(m,n){const{width:p,height:l}=m.getDimensions(),r=window.devicePixelRatio||1,s=document.createElement("DIV");s.style.width=`${p}px`,s.style.height=`${l}px`,s.style.position="absolute",s.style.right="101%",s.style.bottom="101%",document.body.appendChild(s);const o=new w(m.getGraph(),s,m.getSettings());o.getCamera().setState(m.getCamera().getState()),o.refresh();const h=document.createElement("CANVAS");h.setAttribute("width",p*r+""),h.setAttribute("height",l*r+"");const d=h.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,p*r,l*r);const e=o.getCanvases();(n?n.filter(i=>!!e[i]):Object.keys(e)).forEach(i=>{d.drawImage(e[i],0,0,p*r,l*r,0,0,p*r,l*r)}),h.toBlob(i=>{i&&L.saveAs(i,"graph.png"),o.kill(),s.remove()},"image/png")}const z=()=>{const m=document.getElementById("sigma-container"),n=new R,p="#FA4F40",l="#727EE0",r="#5DB346";n.addNode("John",{size:15,label:"John",color:p}),n.addNode("Mary",{size:15,label:"Mary",color:p}),n.addNode("Suzan",{size:15,label:"Suzan",color:p}),n.addNode("Nantes",{size:15,label:"Nantes",color:l}),n.addNode("New-York",{size:15,label:"New-York",color:l}),n.addNode("Sushis",{size:7,label:"Sushis",color:r}),n.addNode("Falafels",{size:7,label:"Falafels",color:r}),n.addNode("Kouign Amann",{size:7,label:"Kouign Amann",color:r}),n.addEdge("John","Mary",{type:"line",label:"works with",size:5}),n.addEdge("Mary","Suzan",{type:"line",label:"works with",size:5}),n.addEdge("Mary","Nantes",{type:"arrow",label:"lives in",size:5}),n.addEdge("John","New-York",{type:"arrow",label:"lives in",size:5}),n.addEdge("Suzan","New-York",{type:"arrow",label:"lives in",size:5}),n.addEdge("John","Falafels",{type:"arrow",label:"eats",size:5}),n.addEdge("Mary","Sushis",{type:"arrow",label:"eats",size:5}),n.addEdge("Suzan","Kouign Amann",{type:"arrow",label:"eats",size:5}),n.nodes().forEach((d,e)=>{const t=e*2*Math.PI/n.order;n.setNodeAttribute(d,"x",100*Math.cos(t)),n.setNodeAttribute(d,"y",100*Math.sin(t))});const s=new w(n,m,{renderEdgeLabels:!0}),o=new k(n);o.start(),document.getElementById("save-as-png").addEventListener("click",()=>{const d=["edges","nodes","edgeLabels","labels"].filter(e=>!!document.getElementById(`layer-${e}`).checked);C(s,d)}),S(()=>{o.kill(),s.kill()})},F=` + + + + + + Sigma example: PNG snapshot + + + +
+
+

Layers to save

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

No Preview

+

Sorry, but you either have no stories or none are selected somehow.

+
    +
  • Please check the Storybook config.
  • +
  • Try reloading the page.
  • +
+

+ If the problem persists, check the browser console, or the terminal you've run Storybook from. +

+
+
+ +
+

+  
+
+ +
+
+ + diff --git a/storybook/index.html b/storybook/index.html new file mode 100644 index 000000000..a851758b6 --- /dev/null +++ b/storybook/index.html @@ -0,0 +1,167 @@ + + + + + + @storybook/cli - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + diff --git a/storybook/index.json b/storybook/index.json new file mode 100644 index 000000000..808b72278 --- /dev/null +++ b/storybook/index.json @@ -0,0 +1 @@ +{"v":4,"entries":{"cluster-label--story":{"type":"story","id":"cluster-label--story","name":"Adding label on clusters","title":"Examples","importPath":"./stories/cluster-label/stories.ts","tags":["play-fn","story"]},"csv-to-network-map--story":{"type":"story","id":"csv-to-network-map--story","name":"From CSV to network mapples","title":"Examples","importPath":"./stories/csv-to-network-map/stories.ts","tags":["play-fn","story"]},"custom-rendering--story":{"type":"story","id":"custom-rendering--story","name":"Custom rendering","title":"Examples","importPath":"./stories/custom-rendering/stories.ts","tags":["play-fn","story"]},"edge-curve--basic":{"type":"story","id":"edge-curve--basic","name":"Basic example","title":"edge-curve","importPath":"./stories/edge-curve/stories.ts","tags":["play-fn","story"]},"edge-curve--interactions":{"type":"story","id":"edge-curve--interactions","name":"Interactions","title":"edge-curve","importPath":"./stories/edge-curve/stories.ts","tags":["play-fn","story"]},"edge-curve--labels":{"type":"story","id":"edge-curve--labels","name":"Labels","title":"edge-curve","importPath":"./stories/edge-curve/stories.ts","tags":["play-fn","story"]},"edge-curve--parallel-edges":{"type":"story","id":"edge-curve--parallel-edges","name":"Parallel edges","title":"edge-curve","importPath":"./stories/edge-curve/stories.ts","tags":["play-fn","story"]},"events--story":{"type":"story","id":"events--story","name":"Events","title":"Examples","importPath":"./stories/events/stories.ts","tags":["play-fn","story"]},"fit-sizes-to-positions--story":{"type":"story","id":"fit-sizes-to-positions--story","name":"Fit sizes to positions","title":"Examples","importPath":"./stories/fit-sizes-to-positions/stories.ts","tags":["play-fn","story"]},"large-graphs--story":{"type":"story","id":"large-graphs--story","name":"Performances showcase","title":"Examples","importPath":"./stories/large-graphs/stories.ts","tags":["play-fn","story"]},"layouts--story":{"type":"story","id":"layouts--story","name":"Layouts example","title":"Examples","importPath":"./stories/layouts/stories.ts","tags":["play-fn","story"]},"load-gexf-file--story":{"type":"story","id":"load-gexf-file--story","name":"Load GEXF file","title":"Examples","importPath":"./stories/load-gexf-file/stories.ts","tags":["play-fn","story"]},"mouse-manipulations--story":{"type":"story","id":"mouse-manipulations--story","name":"Node drag'n'drop, with mouse graph creation","title":"Examples","importPath":"./stories/mouse-manipulations/stories.ts","tags":["play-fn","story"]},"node-border--node-border":{"type":"story","id":"node-border--node-border","name":"NodeBorderProgram","title":"node-border","importPath":"./stories/node-border/stories.ts","tags":["play-fn","story"]},"node-border--pixels-border":{"type":"story","id":"node-border--pixels-border","name":"\"pixels\" mode for border sizes","title":"node-border","importPath":"./stories/node-border/stories.ts","tags":["play-fn","story"]},"node-border--with-images":{"type":"story","id":"node-border--with-images","name":"Combined with images","title":"node-border","importPath":"./stories/node-border/stories.ts","tags":["play-fn","story"]},"node-border--variable-sizes":{"type":"story","id":"node-border--variable-sizes","name":"Variable border sizes","title":"node-border","importPath":"./stories/node-border/stories.ts","tags":["play-fn","story"]},"node-image--node-images":{"type":"story","id":"node-image--node-images","name":"NodeImageRenderer","title":"node-image","importPath":"./stories/node-image/stories.ts","tags":["play-fn","story"]},"node-image--node-pictograms":{"type":"story","id":"node-image--node-pictograms","name":"NodePictogramRenderer","title":"node-image","importPath":"./stories/node-image/stories.ts","tags":["play-fn","story"]},"node-image--node-pictograms-with-background":{"type":"story","id":"node-image--node-pictograms-with-background","name":"NodePictogramRenderer with background colors","title":"node-image","importPath":"./stories/node-image/stories.ts","tags":["play-fn","story"]},"node-image--options-showcase":{"type":"story","id":"node-image--options-showcase","name":"Options showcase","title":"node-image","importPath":"./stories/node-image/stories.ts","tags":["play-fn","story"]},"node-piechart--fixed-colors":{"type":"story","id":"node-piechart--fixed-colors","name":"Fixed colors, varying values","title":"node-piechart","importPath":"./stories/node-piechart/stories.ts","tags":["play-fn","story"]},"node-piechart--fixed-values":{"type":"story","id":"node-piechart--fixed-values","name":"Fixed values, varying colors","title":"node-piechart","importPath":"./stories/node-piechart/stories.ts","tags":["play-fn","story"]},"node-piechart--offsets":{"type":"story","id":"node-piechart--offsets","name":"Varying offsets","title":"node-piechart","importPath":"./stories/node-piechart/stories.ts","tags":["play-fn","story"]},"png-snapshot--story":{"type":"story","id":"png-snapshot--story","name":" PNG snapshot","title":"Examples","importPath":"./stories/png-snapshot/stories.ts","tags":["play-fn","story"]},"use-reducers--story":{"type":"story","id":"use-reducers--story","name":"Use node and edge reducers","title":"Examples","importPath":"./stories/use-reducers/stories.ts","tags":["play-fn","story"]}}} diff --git a/storybook/project.json b/storybook/project.json new file mode 100644 index 000000000..9ef62fe45 --- /dev/null +++ b/storybook/project.json @@ -0,0 +1 @@ +{"generatedAt":1711624633218,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Lerna","packageManager":{"type":"npm","version":"10.2.4"},"typescriptOptions":{"check":true},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/html-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/html","storybookVersion":"8.0.0","storybookVersionSpecifier":"^8.0.0","language":"javascript","storybookPackages":{"@storybook/addon-essentials":{"version":"8.0.0"},"@storybook/addon-interactions":{"version":"8.0.0"},"@storybook/addon-links":{"version":"8.0.0"},"@storybook/addon-storysource":{"version":"8.0.0"},"@storybook/html":{"version":"8.0.0"},"@storybook/html-vite":{"version":"8.0.0"},"@storybook/web-components":{"version":"8.0.0"},"storybook":{"version":"8.0.0"}},"addons":{"$SNIP/node_modules/@storybook/addon-links":{"version":null},"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-interactions":{"version":null},"$SNIP/node_modules/@storybook/addon-storysource":{"version":null}}} diff --git a/storybook/sb-addons/essentials-actions-3/manager-bundle.js b/storybook/sb-addons/essentials-actions-3/manager-bundle.js new file mode 100644 index 000000000..0955bebde --- /dev/null +++ b/storybook/sb-addons/essentials-actions-3/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var o=__REACT__,{Children:Ae,Component:Re,Fragment:Ce,Profiler:Vr,PureComponent:$r,StrictMode:Yr,Suspense:Jr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr,cloneElement:Xr,createContext:K,createElement:Zr,createFactory:Kr,createRef:Qr,forwardRef:en,isValidElement:tn,lazy:rn,memo:k,startTransition:nn,unstable_act:an,useCallback:N,useContext:Q,useDebugValue:on,useDeferredValue:sn,useEffect:ln,useId:un,useImperativeHandle:cn,useInsertionEffect:pn,useLayoutEffect:we,useMemo:xe,useReducer:fn,useRef:dn,useState:G,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_API__,{ActiveTabs:vn,Consumer:_n,ManagerContext:Sn,Provider:An,addons:ee,combineParameters:Rn,controlOrMetaKey:Cn,controlOrMetaSymbol:wn,eventMatchesShortcut:xn,eventToShortcut:Nn,isMacLike:Ln,isShortcutTaken:In,keyToSymbol:Dn,merge:Mn,mockChannel:Pn,optionOrAltSymbol:Bn,shortcutMatchesShortcut:Fn,shortcutToHumanString:zn,types:Ne,useAddonState:Le,useArgTypes:Hn,useArgs:jn,useChannel:Ie,useGlobalTypes:Un,useGlobals:kn,useParameter:Gn,useSharedState:Wn,useStoryPrepared:Vn,useStorybookApi:$n,useStorybookState:Yn}=__STORYBOOK_API__;var Kn=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:Qn,CHANNEL_WS_DISCONNECT:ea,CONFIG_ERROR:ta,CURRENT_STORY_WAS_SET:ra,DOCS_PREPARED:na,DOCS_RENDERED:aa,FORCE_REMOUNT:oa,FORCE_RE_RENDER:ia,GLOBALS_UPDATED:sa,NAVIGATE_URL:la,PLAY_FUNCTION_THREW_EXCEPTION:ua,PRELOAD_ENTRIES:ca,PREVIEW_BUILDER_PROGRESS:pa,PREVIEW_KEYDOWN:fa,REGISTER_SUBSCRIPTION:da,REQUEST_WHATS_NEW_DATA:ma,RESET_STORY_ARGS:ga,RESULT_WHATS_NEW_DATA:ba,SELECT_STORY:ha,SET_CONFIG:Ea,SET_CURRENT_STORY:ya,SET_GLOBALS:Oa,SET_INDEX:Ta,SET_STORIES:va,SET_WHATS_NEW_CACHE:_a,SHARED_STATE_CHANGED:Sa,SHARED_STATE_SET:Aa,STORIES_COLLAPSE_ALL:Ra,STORIES_EXPAND_ALL:Ca,STORY_ARGS_UPDATED:wa,STORY_CHANGED:W,STORY_ERRORED:xa,STORY_INDEX_INVALIDATED:Na,STORY_MISSING:La,STORY_PREPARED:Ia,STORY_RENDERED:Da,STORY_RENDER_PHASE_CHANGED:Ma,STORY_SPECIFIED:Pa,STORY_THREW_EXCEPTION:Ba,STORY_UNCHANGED:Fa,TELEMETRY_ERROR:za,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ha,UNHANDLED_ERRORS_WHILE_PLAYING:ja,UPDATE_GLOBALS:Ua,UPDATE_QUERY_PARAMS:ka,UPDATE_STORY_ARGS:Ga}=__STORYBOOK_CORE_EVENTS__;var Ja=__STORYBOOK_COMPONENTS__,{A:qa,ActionBar:De,AddonPanel:Xa,Badge:Me,Bar:Za,Blockquote:Ka,Button:Qa,ClipboardCode:eo,Code:to,DL:ro,Div:no,DocumentWrapper:ao,ErrorFormatter:oo,FlexBar:io,Form:so,H1:lo,H2:uo,H3:co,H4:po,H5:fo,H6:mo,HR:go,IconButton:bo,IconButtonSkeleton:ho,Icons:Eo,Img:yo,LI:Oo,Link:To,ListItem:vo,Loader:_o,OL:So,P:Ao,Placeholder:Ro,Pre:Co,ResetWrapper:wo,ScrollArea:Pe,Separator:xo,Spaced:Be,Span:No,StorybookIcon:Lo,StorybookLogo:Io,Symbols:Do,SyntaxHighlighter:Mo,TT:Po,TabBar:Bo,TabButton:Fo,TabWrapper:zo,Table:Ho,Tabs:jo,TabsState:Uo,TooltipLinkList:ko,TooltipMessage:Go,TooltipNote:Wo,UL:Vo,WithTooltip:$o,WithTooltipPure:Yo,Zoom:Jo,codeCommon:qo,components:Xo,createCopyToClipboardFunction:Zo,getStoryHref:Ko,icons:Qo,interleaveSeparators:ei,nameSpaceClassNames:ti,resetComponents:ri,withReset:ni}=__STORYBOOK_COMPONENTS__;var Fe=Object.prototype.hasOwnProperty;function ze(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=ze(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=ze(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Fe.call(e,r)&&++n&&!Fe.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var fi=__STORYBOOK_THEMING__,{CacheProvider:di,ClassNames:mi,Global:gi,ThemeProvider:bi,background:hi,color:Ei,convert:yi,create:Oi,createCache:Ti,createGlobal:vi,createReset:_i,css:Si,darken:Ai,ensure:Ri,ignoreSsrWarning:Ci,isPropValid:wi,jsx:xi,keyframes:Ni,lighten:Li,styled:B,themes:Ii,typography:Di,useTheme:Mi,withTheme:He}=__STORYBOOK_THEMING__;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var ke={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ct(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ke[t]?"#"+ke[t]:e}var pt=/^#[a-fA-F0-9]{6}$/,ft=/^#[a-fA-F0-9]{8}$/,dt=/^#[a-fA-F0-9]{3}$/,mt=/^#[a-fA-F0-9]{4}$/,ie=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,gt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,bt=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ht=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new v(3);var t=ct(e);if(t.match(pt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ft)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(dt))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(mt)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=ie.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=gt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=bt.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+H(l,u,c)+")",d=ie.exec(p);if(!d)throw new v(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=ht.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,T="rgb("+H(E,m,y)+")",x=ie.exec(T);if(!x)throw new v(4,t,T);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new v(5)}function Et(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?$(e,t,r):"rgba("+H(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$(e.hue,e.saturation,e.lightness):"rgba("+H(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new v(2)}function ue(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return le("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return le("#"+w(e.red)+w(e.green)+w(e.blue));throw new v(6)}function Y(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ue(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ue(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new v(7)}var _t=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},St=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},At=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Rt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new v(8);if(St(e))return Y(e);if(_t(e))return ue(e);if(Rt(e))return vt(e);if(At(e))return Tt(e);throw new v(8)}function We(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):We(e,t,a)}}function _(e){return We(e,e.length,[])}function Ct(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{hue:r.hue+parseFloat(e)}))}var js=_(Ct);function D(e,t,r){return Math.max(e,Math.min(t,r))}function wt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var Us=_(wt);function xt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var ks=_(xt);function Nt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var Gs=_(Nt);function Lt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=O({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=O({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return Y(E)}var It=_(Lt),Ve=It;function Dt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return Y(a)}var Mt=_(Dt),$e=Mt;function Pt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var Ws=_(Pt);function Bt(e,t){return t==="transparent"?t:C(O({},R(t),{hue:parseFloat(e)}))}var Vs=_(Bt);function Ft(e,t){return t==="transparent"?t:C(O({},R(t),{lightness:parseFloat(e)}))}var $s=_(Ft);function zt(e,t){return t==="transparent"?t:C(O({},R(t),{saturation:parseFloat(e)}))}var Ys=_(zt);function Ht(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(0, 0, 0)",t)}var Js=_(Ht);function jt(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(255, 255, 255)",t)}var qs=_(jt);function Ut(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Y(a)}var Xs=_(Ut);var kt=Object.create,ge=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Ze=Object.getOwnPropertyNames,Wt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty,be=(e,t)=>function(){return t||(0,e[Ze(e)[0]])((t={exports:{}}).exports,t),t.exports},$t=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},Yt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!Vt.call(e,a)&&a!==r&&ge(e,a,{get:()=>t[a],enumerable:!(n=Gt(t,a))||n.enumerable});return e},Jt=(e,t,r)=>(r=e!=null?kt(Wt(e)):{},Yt(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),qt=be({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),Xt=be({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),Zt=be({"node_modules/is-dom/index.js"(e,t){var r=qt(),n=Xt();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),X={};$t(X,{chromeDark:()=>Kt,chromeLight:()=>Qt});var Kt={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Qt={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Ke=K([{},()=>{}]),ce={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},J=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ce},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ce},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ce}}),pe="chromeLight",Qe=K(J(X[pe])),S=e=>Q(Qe)[e],he=e=>({theme:t=pe,...r})=>{let n=xe(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return J(X[t]);case"[object Object]":return J(t);default:return J(X[pe])}},[t]);return o.createElement(Qe.Provider,{value:n},o.createElement(e,{...r}))},er=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),tr=k(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Ae.count(n)>0?o.createElement(er,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),Z="$",Ye="*";function q(e,t){return!t(e).next().done}var rr=e=>Array.from({length:e},(t,r)=>[Z].concat(Array.from({length:r},()=>"*")).join(".")),nr=(e,t,r,n,a)=>{let i=[].concat(rr(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)q(p,t)&&(E===Z||E===Ye)&&c(p,Z,f+1);else if(E===Ye)for(let{name:m,data:y}of t(p))q(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];q(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},et=k(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=Q(Ke),u=q(t,r),c=!!s[n],p=N(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(tr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(et,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),tt=k(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=G({}),[,u]=l;return we(()=>u(c=>nr(t,r,a,i,c)),[t,r,a,i]),o.createElement(Ke.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(et,{name:e,data:t,dataIterator:r,depth:0,path:Z,nodeRenderer:n})))}),Ee=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},j=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},rt=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;function fe(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Je(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var de=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(j,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(j,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Je(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(rt.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=fe(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(Ee,{name:s||'""'}),":\xA0",o.createElement(j,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Je(a,", "),"}"))}},or=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(Ee,{name:e}),o.createElement("span",null,": "),o.createElement(de,{data:t})):o.createElement(de,{data:t}),ir=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(Ee,{name:e,dimmed:r}):o.createElement(de,{data:e}),o.createElement("span",null,": "),o.createElement(j,{object:n}))},sr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(ar.call(r,i)){let s=fe(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=fe(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},lr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(or,{name:t,data:r}):o.createElement(ir,{name:t,data:r,isNonenumerable:n}),ur=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=sr(e,t),i=r||lr;return o.createElement(tt,{nodeRenderer:i,dataIterator:a,...n})},cr=he(ur);function pr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var fr=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&rt.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(j,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},dr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),mr=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},qe=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=G(!1),c=N(()=>u(!0),[]),p=N(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(dr,null,o.createElement(mr,{sortAscending:e})))},gr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(qe,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(qe,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},br=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=G({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=N(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=N(m=>{l(({sortColumn:y,sortAscending:T})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!T:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=pr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(T,x)=>(ot,it)=>{let ye=T(ot),Oe=T(it),Te=typeof ye,ve=typeof Oe,_e=(P,Se)=>PSe?1:0,M;if(Te===ve)M=_e(ye,Oe);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=_e(P[Te],P[ve])}return x||(M=-M),M},y=E.sort(m(T=>T[0],s)).map(T=>T[1]);p=y.map(T=>p[T]),f=y.map(T=>f[T])}return o.createElement("div",{style:r.base},o.createElement(gr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(fr,{rows:p,columns:d,rowsData:f}))},hr=he(br),Er=80,nt=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtho.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Xe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Or={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Tr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Xe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(yr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),nt(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Xe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Or[t.nodeType])}},vr=function*(e){if(e&&e.childNodes){if(nt(e))return;for(let t=0;to.createElement(tt,{nodeRenderer:Tr,dataIterator:vr,...e}),Sr=he(_r),Ar=Jt(Zt()),Rr=({table:e=!1,data:t,...r})=>e?o.createElement(hr,{data:t,...r}):(0,Ar.default)(t)?o.createElement(Sr,{data:t,...r}):o.createElement(cr,{data:t,...r}),Cr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),wr=B.div(({theme:e})=>({backgroundColor:$e(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),xr=B.div({flex:1,padding:"0 0 0 5px"}),Nr=({children:e,className:t})=>o.createElement(Pe,{horizontal:!0,vertical:!0,className:t},e),Lr=B(Nr)({margin:0,padding:"10px 5px 20px"}),Ir=He(({theme:e,...t})=>o.createElement(Rr,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Dr=({actions:e,onClear:t})=>o.createElement(Ce,null,o.createElement(Lr,null,e.map(r=>o.createElement(Cr,{key:r.id},r.count>1&&o.createElement(wr,null,r.count),o.createElement(xr,null,o.createElement(Ir,{sortObjectKeys:!0,showNonenumerable:!1,name:r.data.name,data:r.data.args||r.data}))))),o.createElement(De,{actionItems:[{title:"Clear",onClick:t}]})),Mr="actions",U="storybook/actions",Pr=`${U}/panel`,me=`${U}/action-event`,at=`${U}/action-clear`,Br=(e,t)=>{try{return L(e,t)}catch{return!1}},Fr=class extends Re{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[0];return a&&Br(a.data,t.data)?a.count++:(t.count=1,n.unshift(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(at),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(me,this.addAction),e.on(W,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(W,this.handleStoryChange),e.off(me,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Dr,{...r}):null}};function zr(){let[{count:e},t]=Le(U,{count:0});return Ie({[me]:()=>{t(r=>({...r,count:r.count+1}))},[W]:()=>{t(r=>({...r,count:0}))},[at]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Be,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(Me,{status:"neutral"},e)))}ee.register(U,e=>{ee.add(Pr,{title:zr,type:Ne.PANEL,render:({active:t})=>o.createElement(Fr,{api:e,active:!!t}),paramKey:Mr})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-backgrounds-4/manager-bundle.js b/storybook/sb-addons/essentials-backgrounds-4/manager-bundle.js new file mode 100644 index 000000000..ea8d1a870 --- /dev/null +++ b/storybook/sb-addons/essentials-backgrounds-4/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var ne=Object.create;var F=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty;var w=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,a)=>(typeof require<"u"?require:o)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var x=(e,o)=>()=>(e&&(o=e(e=0)),o);var ae=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var se=(e,o,a,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of re(o))!ie.call(e,c)&&c!==a&&F(e,c,{get:()=>o[c],enumerable:!(r=te(o,c))||r.enumerable});return e};var le=(e,o,a)=>(a=e!=null?ne(ce(e)):{},se(o||!e||!e.__esModule?F(a,"default",{value:e,enumerable:!0}):a,e));var I=x(()=>{});var d=x(()=>{});var m=x(()=>{});var V=ae((W,G)=>{I();d();m();(function(e){if(typeof W=="object"&&typeof G<"u")G.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,a;return function r(c,h,s){function t(i,p){if(!h[i]){if(!c[i]){var u=typeof w=="function"&&w;if(!p&&u)return u(i,!0);if(n)return n(i,!0);var S=new Error("Cannot find module '"+i+"'");throw S.code="MODULE_NOT_FOUND",S}var f=h[i]={exports:{}};c[i][0].call(f.exports,function(g){var b=c[i][1][g];return t(b||g)},f,f.exports,r,c,h,s)}return h[i].exports}for(var n=typeof w=="function"&&w,l=0;l=0)return this.lastItem=this.list[n],this.list[n].val},s.prototype.set=function(t,n){var l;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(l=this.indexOf(t),l>=0?(this.lastItem=this.list[l],this.list[l].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},s.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},s.prototype.forEach=function(t,n){var l;for(l=0;l0&&(E[T]={cacheItem:g,arg:arguments[T]},A?t(u,E):u.push(E),u.length>i&&n(u.shift())),f.wasMemoized=A,f.numArgs=T+1,B};return f.limit=i,f.wasMemoized=!1,f.cache=p,f.lru=u,f}};function t(i,p){var u=i.length,S=p.length,f,g,b;for(g=0;g=0&&(u=i[f],S=u.cacheItem.get(u.arg),!S||!S.size);f--)u.cacheItem.delete(u.arg)}function l(i,p){return i===p||i!==i&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})});I();d();m();I();d();m();I();d();m();I();d();m();var C=__REACT__,{Children:ke,Component:Te,Fragment:R,Profiler:Oe,PureComponent:ve,StrictMode:Ae,Suspense:we,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Be,cloneElement:Ee,createContext:xe,createElement:Re,createFactory:Le,createRef:Pe,forwardRef:Me,isValidElement:De,lazy:Ge,memo:L,startTransition:He,unstable_act:Ne,useCallback:q,useContext:Ue,useDebugValue:Fe,useDeferredValue:qe,useEffect:ze,useId:Ke,useImperativeHandle:Ye,useInsertionEffect:We,useLayoutEffect:Ve,useMemo:z,useReducer:$e,useRef:je,useState:K,useSyncExternalStore:Ze,useTransition:Je,version:Qe}=__REACT__;I();d();m();var to=__STORYBOOK_API__,{ActiveTabs:ro,Consumer:co,ManagerContext:io,Provider:ao,addons:P,combineParameters:so,controlOrMetaKey:lo,controlOrMetaSymbol:uo,eventMatchesShortcut:Io,eventToShortcut:mo,isMacLike:fo,isShortcutTaken:po,keyToSymbol:ho,merge:go,mockChannel:So,optionOrAltSymbol:bo,shortcutMatchesShortcut:Co,shortcutToHumanString:yo,types:Y,useAddonState:_o,useArgTypes:ko,useArgs:To,useChannel:Oo,useGlobalTypes:vo,useGlobals:M,useParameter:D,useSharedState:Ao,useStoryPrepared:wo,useStorybookApi:Bo,useStorybookState:Eo}=__STORYBOOK_API__;var U=le(V());I();d();m();var No=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Uo,logger:H,once:Fo,pretty:qo}=__STORYBOOK_CLIENT_LOGGER__;I();d();m();var Vo=__STORYBOOK_COMPONENTS__,{A:$o,ActionBar:jo,AddonPanel:Zo,Badge:Jo,Bar:Qo,Blockquote:Xo,Button:en,ClipboardCode:on,Code:nn,DL:tn,Div:rn,DocumentWrapper:cn,ErrorFormatter:an,FlexBar:sn,Form:ln,H1:un,H2:In,H3:dn,H4:mn,H5:fn,H6:pn,HR:hn,IconButton:N,IconButtonSkeleton:gn,Icons:Sn,Img:bn,LI:Cn,Link:yn,ListItem:_n,Loader:kn,OL:Tn,P:On,Placeholder:vn,Pre:An,ResetWrapper:wn,ScrollArea:Bn,Separator:En,Spaced:xn,Span:Rn,StorybookIcon:Ln,StorybookLogo:Pn,Symbols:Mn,SyntaxHighlighter:Dn,TT:Gn,TabBar:Hn,TabButton:Nn,TabWrapper:Un,Table:Fn,Tabs:qn,TabsState:zn,TooltipLinkList:$,TooltipMessage:Kn,TooltipNote:Yn,UL:Wn,WithTooltip:j,WithTooltipPure:Vn,Zoom:$n,codeCommon:jn,components:Zn,createCopyToClipboardFunction:Jn,getStoryHref:Qn,icons:Xn,interleaveSeparators:et,nameSpaceClassNames:ot,resetComponents:nt,withReset:tt}=__STORYBOOK_COMPONENTS__;I();d();m();var st=__STORYBOOK_ICONS__,{AccessibilityAltIcon:lt,AccessibilityIcon:ut,AddIcon:It,AdminIcon:dt,AlertAltIcon:mt,AlertIcon:ft,AlignLeftIcon:pt,AlignRightIcon:ht,AppleIcon:gt,ArrowDownIcon:St,ArrowLeftIcon:bt,ArrowRightIcon:Ct,ArrowSolidDownIcon:yt,ArrowSolidLeftIcon:_t,ArrowSolidRightIcon:kt,ArrowSolidUpIcon:Tt,ArrowUpIcon:Ot,AzureDevOpsIcon:vt,BackIcon:At,BasketIcon:wt,BatchAcceptIcon:Bt,BatchDenyIcon:Et,BeakerIcon:xt,BellIcon:Rt,BitbucketIcon:Lt,BoldIcon:Pt,BookIcon:Mt,BookmarkHollowIcon:Dt,BookmarkIcon:Gt,BottomBarIcon:Ht,BottomBarToggleIcon:Nt,BoxIcon:Ut,BranchIcon:Ft,BrowserIcon:qt,ButtonIcon:zt,CPUIcon:Kt,CalendarIcon:Yt,CameraIcon:Wt,CategoryIcon:Vt,CertificateIcon:$t,ChangedIcon:jt,ChatIcon:Zt,CheckIcon:Jt,ChevronDownIcon:Qt,ChevronLeftIcon:Xt,ChevronRightIcon:er,ChevronSmallDownIcon:or,ChevronSmallLeftIcon:nr,ChevronSmallRightIcon:tr,ChevronSmallUpIcon:rr,ChevronUpIcon:cr,ChromaticIcon:ir,ChromeIcon:ar,CircleHollowIcon:sr,CircleIcon:lr,ClearIcon:ur,CloseAltIcon:Ir,CloseIcon:dr,CloudHollowIcon:mr,CloudIcon:fr,CogIcon:pr,CollapseIcon:hr,CommandIcon:gr,CommentAddIcon:Sr,CommentIcon:br,CommentsIcon:Cr,CommitIcon:yr,CompassIcon:_r,ComponentDrivenIcon:kr,ComponentIcon:Tr,ContrastIcon:Or,ControlsIcon:vr,CopyIcon:Ar,CreditIcon:wr,CrossIcon:Br,DashboardIcon:Er,DatabaseIcon:xr,DeleteIcon:Rr,DiamondIcon:Lr,DirectionIcon:Pr,DiscordIcon:Mr,DocChartIcon:Dr,DocListIcon:Gr,DocumentIcon:Hr,DownloadIcon:Nr,DragIcon:Ur,EditIcon:Fr,EllipsisIcon:qr,EmailIcon:zr,ExpandAltIcon:Kr,ExpandIcon:Yr,EyeCloseIcon:Wr,EyeIcon:Vr,FaceHappyIcon:$r,FaceNeutralIcon:jr,FaceSadIcon:Zr,FacebookIcon:Jr,FailedIcon:Qr,FastForwardIcon:Xr,FigmaIcon:ec,FilterIcon:oc,FlagIcon:nc,FolderIcon:tc,FormIcon:rc,GDriveIcon:cc,GithubIcon:ic,GitlabIcon:ac,GlobeIcon:sc,GoogleIcon:lc,GraphBarIcon:uc,GraphLineIcon:Ic,GraphqlIcon:dc,GridAltIcon:mc,GridIcon:Z,GrowIcon:fc,HeartHollowIcon:pc,HeartIcon:hc,HomeIcon:gc,HourglassIcon:Sc,InfoIcon:bc,ItalicIcon:Cc,JumpToIcon:yc,KeyIcon:_c,LightningIcon:kc,LightningOffIcon:Tc,LinkBrokenIcon:Oc,LinkIcon:vc,LinkedinIcon:Ac,LinuxIcon:wc,ListOrderedIcon:Bc,ListUnorderedIcon:Ec,LocationIcon:xc,LockIcon:Rc,MarkdownIcon:Lc,MarkupIcon:Pc,MediumIcon:Mc,MemoryIcon:Dc,MenuIcon:Gc,MergeIcon:Hc,MirrorIcon:Nc,MobileIcon:Uc,MoonIcon:Fc,NutIcon:qc,OutboxIcon:zc,OutlineIcon:Kc,PaintBrushIcon:Yc,PaperClipIcon:Wc,ParagraphIcon:Vc,PassedIcon:$c,PhoneIcon:jc,PhotoDragIcon:Zc,PhotoIcon:J,PinAltIcon:Jc,PinIcon:Qc,PlayBackIcon:Xc,PlayIcon:ei,PlayNextIcon:oi,PlusIcon:ni,PointerDefaultIcon:ti,PointerHandIcon:ri,PowerIcon:ci,PrintIcon:ii,ProceedIcon:ai,ProfileIcon:si,PullRequestIcon:li,QuestionIcon:ui,RSSIcon:Ii,RedirectIcon:di,ReduxIcon:mi,RefreshIcon:fi,ReplyIcon:pi,RepoIcon:hi,RequestChangeIcon:gi,RewindIcon:Si,RulerIcon:bi,SearchIcon:Ci,ShareAltIcon:yi,ShareIcon:_i,ShieldIcon:ki,SideBySideIcon:Ti,SidebarAltIcon:Oi,SidebarAltToggleIcon:vi,SidebarIcon:Ai,SidebarToggleIcon:wi,SpeakerIcon:Bi,StackedIcon:Ei,StarHollowIcon:xi,StarIcon:Ri,StickerIcon:Li,StopAltIcon:Pi,StopIcon:Mi,StorybookIcon:Di,StructureIcon:Gi,SubtractIcon:Hi,SunIcon:Ni,SupportIcon:Ui,SwitchAltIcon:Fi,SyncIcon:qi,TabletIcon:zi,ThumbsUpIcon:Ki,TimeIcon:Yi,TimerIcon:Wi,TransferIcon:Vi,TrashIcon:$i,TwitterIcon:ji,TypeIcon:Zi,UbuntuIcon:Ji,UndoIcon:Qi,UnfoldIcon:Xi,UnlockIcon:ea,UnpinIcon:oa,UploadIcon:na,UserAddIcon:ta,UserAltIcon:ra,UserIcon:ca,UsersIcon:ia,VSCodeIcon:aa,VerifiedIcon:sa,VideoIcon:la,WandIcon:ua,WatchIcon:Ia,WindowsIcon:da,WrenchIcon:ma,YoutubeIcon:fa,ZoomIcon:pa,ZoomOutIcon:ha,ZoomResetIcon:ga,iconList:Sa}=__STORYBOOK_ICONS__;I();d();m();var ka=__STORYBOOK_THEMING__,{CacheProvider:Ta,ClassNames:Oa,Global:va,ThemeProvider:Aa,background:wa,color:Ba,convert:Ea,create:xa,createCache:Ra,createGlobal:La,createReset:Pa,css:Ma,darken:Da,ensure:Ga,ignoreSsrWarning:Ha,isPropValid:Na,jsx:Ua,keyframes:Fa,lighten:qa,styled:Q,themes:za,typography:Ka,useTheme:Ya,withTheme:Wa}=__STORYBOOK_THEMING__;I();d();m();var Ja=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();I();d();m();function X(e){for(var o=[],a=1;a({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),Ie=(e,o=[],a)=>{if(e==="transparent")return"transparent";if(o.find(c=>c.value===e))return e;let r=o.find(c=>c.name===a);if(r)return r.value;if(a){let c=o.map(h=>h.name).join(", ");H.warn(X` + Backgrounds Addon: could not find the default color "${a}". + These are the available colors for your story based on your configuration: + ${c}. + `)}return"transparent"},oe=(0,U.default)(1e3)((e,o,a,r,c,h)=>({id:e||o,title:o,onClick:()=>{c({selected:a,name:o})},value:a,right:r?C.createElement(ue,{background:a}):void 0,active:h})),de=(0,U.default)(10)((e,o,a)=>{let r=e.map(({name:c,value:h})=>oe(null,c,h,!0,a,h===o));return o!=="transparent"?[oe("reset","Clear background","transparent",null,a,!1),...r]:r}),me={default:null,disable:!0,values:[]},fe=L(function(){let e=D(v,me),[o,a]=K(!1),[r,c]=M(),h=r[v]?.value,s=z(()=>Ie(h,e.values,e.default),[e,h]);Array.isArray(e)&&H.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let t=q(n=>{c({[v]:{...r[v],value:n}})},[e,r,c]);return e.disable?null:C.createElement(R,null,C.createElement(j,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>C.createElement($,{links:de(e.values,s,({selected:l})=>{s!==l&&t(l),n()})}),onVisibleChange:a},C.createElement(N,{key:"background",title:"Change the background of the preview",active:s!=="transparent"||o},C.createElement(J,null))))}),pe=L(function(){let[e,o]=M(),{grid:a}=D(v,{grid:{disable:!1}});if(a?.disable)return null;let r=e[v]?.grid||!1;return C.createElement(N,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[v]:{...e[v],grid:!r}})},C.createElement(Z,null))});P.register(ee,()=>{P.add(ee,{title:"Backgrounds",type:Y.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>C.createElement(R,null,C.createElement(fe,null),C.createElement(pe,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-controls-2/manager-bundle.js b/storybook/sb-addons/essentials-controls-2/manager-bundle.js new file mode 100644 index 000000000..36a45129b --- /dev/null +++ b/storybook/sb-addons/essentials-controls-2/manager-bundle.js @@ -0,0 +1,79 @@ +try{ +(()=>{var $_=Object.create;var qs=Object.defineProperty;var U_=Object.getOwnPropertyDescriptor;var H_=Object.getOwnPropertyNames;var z_=Object.getPrototypeOf,W_=Object.prototype.hasOwnProperty;var Na=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var cr=(e,t)=>()=>(e&&(t=e(e=0)),t);var R=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Vd=(e,t)=>{for(var n in t)qs(e,n,{get:t[n],enumerable:!0})},G_=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of H_(t))!W_.call(e,u)&&u!==n&&qs(e,u,{get:()=>t[u],enumerable:!(i=U_(t,u))||i.enumerable});return e};var ft=(e,t,n)=>(n=e!=null?$_(z_(e)):{},G_(t||!e||!e.__esModule?qs(n,"default",{value:e,enumerable:!0}):n,e));var h=cr(()=>{});var g=cr(()=>{});var m=cr(()=>{});var E,Kd,qr,ZV,QV,eK,tK,Yd,rK,Je,La,js,nK,aK,iK,uK,Xd,oK,sK,lK,pt,Jd,cK,fK,it,pK,dK,hK,Zd,jr,gK,wt,qe,mK,yK,vK,Ln=cr(()=>{h();g();m();E=__REACT__,{Children:Kd,Component:qr,Fragment:ZV,Profiler:QV,PureComponent:eK,StrictMode:tK,Suspense:Yd,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rK,cloneElement:Je,createContext:La,createElement:js,createFactory:nK,createRef:aK,forwardRef:iK,isValidElement:uK,lazy:Xd,memo:oK,startTransition:sK,unstable_act:lK,useCallback:pt,useContext:Jd,useDebugValue:cK,useDeferredValue:fK,useEffect:it,useId:pK,useImperativeHandle:dK,useInsertionEffect:hK,useLayoutEffect:Zd,useMemo:jr,useReducer:gK,useRef:wt,useState:qe,useSyncExternalStore:mK,useTransition:yK,version:vK}=__REACT__});var c0={};Vd(c0,{A:()=>Y_,ActionBar:()=>Hs,AddonPanel:()=>zs,Badge:()=>Ws,Bar:()=>X_,Blockquote:()=>J_,Button:()=>Mn,ClipboardCode:()=>Z_,Code:()=>a0,DL:()=>Q_,Div:()=>eB,DocumentWrapper:()=>tB,ErrorFormatter:()=>i0,FlexBar:()=>Gs,Form:()=>fr,H1:()=>rB,H2:()=>Vs,H3:()=>u0,H4:()=>nB,H5:()=>aB,H6:()=>iB,HR:()=>uB,IconButton:()=>ln,IconButtonSkeleton:()=>oB,Icons:()=>sB,Img:()=>lB,LI:()=>cB,Link:()=>cn,ListItem:()=>fB,Loader:()=>o0,OL:()=>pB,P:()=>dB,Placeholder:()=>hB,Pre:()=>gB,ResetWrapper:()=>Ks,ScrollArea:()=>mB,Separator:()=>yB,Spaced:()=>Ys,Span:()=>vB,StorybookIcon:()=>bB,StorybookLogo:()=>AB,Symbols:()=>EB,SyntaxHighlighter:()=>su,TT:()=>DB,TabBar:()=>CB,TabButton:()=>xB,TabWrapper:()=>SB,Table:()=>wB,Tabs:()=>FB,TabsState:()=>s0,TooltipLinkList:()=>_B,TooltipMessage:()=>BB,TooltipNote:()=>Xs,UL:()=>TB,WithTooltip:()=>lu,WithTooltipPure:()=>Js,Zoom:()=>Zs,codeCommon:()=>qn,components:()=>Qs,createCopyToClipboardFunction:()=>IB,default:()=>K_,getStoryHref:()=>l0,icons:()=>OB,interleaveSeparators:()=>RB,nameSpaceClassNames:()=>el,resetComponents:()=>PB,withReset:()=>jn});var K_,Y_,Hs,zs,Ws,X_,J_,Mn,Z_,a0,Q_,eB,tB,i0,Gs,fr,rB,Vs,u0,nB,aB,iB,uB,ln,oB,sB,lB,cB,cn,fB,o0,pB,dB,hB,gB,Ks,mB,yB,Ys,vB,bB,AB,EB,su,DB,CB,xB,SB,wB,FB,s0,_B,BB,Xs,TB,lu,Js,Zs,qn,Qs,IB,l0,OB,RB,el,PB,jn,Ma=cr(()=>{h();g();m();K_=__STORYBOOK_COMPONENTS__,{A:Y_,ActionBar:Hs,AddonPanel:zs,Badge:Ws,Bar:X_,Blockquote:J_,Button:Mn,ClipboardCode:Z_,Code:a0,DL:Q_,Div:eB,DocumentWrapper:tB,ErrorFormatter:i0,FlexBar:Gs,Form:fr,H1:rB,H2:Vs,H3:u0,H4:nB,H5:aB,H6:iB,HR:uB,IconButton:ln,IconButtonSkeleton:oB,Icons:sB,Img:lB,LI:cB,Link:cn,ListItem:fB,Loader:o0,OL:pB,P:dB,Placeholder:hB,Pre:gB,ResetWrapper:Ks,ScrollArea:mB,Separator:yB,Spaced:Ys,Span:vB,StorybookIcon:bB,StorybookLogo:AB,Symbols:EB,SyntaxHighlighter:su,TT:DB,TabBar:CB,TabButton:xB,TabWrapper:SB,Table:wB,Tabs:FB,TabsState:s0,TooltipLinkList:_B,TooltipMessage:BB,TooltipNote:Xs,UL:TB,WithTooltip:lu,WithTooltipPure:Js,Zoom:Zs,codeCommon:qn,components:Qs,createCopyToClipboardFunction:IB,getStoryHref:l0,icons:OB,interleaveSeparators:RB,nameSpaceClassNames:el,resetComponents:PB,withReset:jn}=__STORYBOOK_COMPONENTS__});var It,qa,tl=cr(()=>{h();g();m();It=e=>`control-${e.replace(/\s+/g,"-")}`,qa=e=>`set-${e.replace(/\s+/g,"-")}`});var nY,aY,iY,uY,f0,oY,sY,p0,lY,cY,fY,pY,dY,hY,kB,d0,gY,mY,yY,vY,te,rl,bY,nl,AY,al=cr(()=>{h();g();m();nY=__STORYBOOK_THEMING__,{CacheProvider:aY,ClassNames:iY,Global:uY,ThemeProvider:f0,background:oY,color:sY,convert:p0,create:lY,createCache:cY,createGlobal:fY,createReset:pY,css:dY,darken:hY,ensure:kB,ignoreSsrWarning:d0,isPropValid:gY,jsx:mY,keyframes:yY,lighten:vY,styled:te,themes:rl,typography:bY,useTheme:nl,withTheme:AY}=__STORYBOOK_THEMING__});var UX,HX,zX,A0,WX,GX,VX,KX,YX,XX,JX,ZX,QX,eJ,tJ,rJ,nJ,aJ,iJ,uJ,oJ,sJ,lJ,cJ,fJ,pJ,dJ,hJ,gJ,mJ,yJ,vJ,bJ,AJ,EJ,DJ,CJ,xJ,SJ,wJ,FJ,_J,BJ,TJ,E0,IJ,D0,hl,OJ,RJ,C0,PJ,kJ,NJ,LJ,MJ,qJ,jJ,$J,UJ,HJ,zJ,WJ,GJ,VJ,KJ,YJ,XJ,JJ,ZJ,QJ,eZ,tZ,rZ,nZ,aZ,iZ,uZ,oZ,sZ,lZ,cZ,fZ,pZ,gl,dZ,hZ,gZ,mZ,yZ,vZ,bZ,x0,S0,AZ,EZ,DZ,CZ,xZ,SZ,wZ,FZ,_Z,BZ,TZ,IZ,OZ,RZ,PZ,kZ,NZ,LZ,MZ,qZ,jZ,$Z,UZ,HZ,zZ,WZ,GZ,VZ,KZ,YZ,XZ,JZ,ZZ,w0,QZ,eQ,tQ,rQ,nQ,aQ,iQ,F0,uQ,oQ,sQ,lQ,cQ,fQ,pQ,dQ,hQ,gQ,mQ,yQ,vQ,bQ,AQ,EQ,DQ,CQ,xQ,SQ,wQ,FQ,_Q,BQ,TQ,IQ,OQ,RQ,PQ,kQ,NQ,LQ,MQ,qQ,jQ,$Q,UQ,HQ,zQ,WQ,GQ,VQ,KQ,YQ,XQ,JQ,ZQ,QQ,eee,tee,ree,nee,aee,iee,uee,oee,see,lee,_0,cee,B0,fee,pee,dee,hee,gee,mee,yee,vee,bee,Aee,Eee,T0,Dee,Cee,xee,See,wee,Fee,_ee,Bee,Tee,Iee,I0,Oee,Ree,Pee,kee,Nee,O0,R0,P0,Lee,ml=cr(()=>{h();g();m();UX=__STORYBOOK_ICONS__,{AccessibilityAltIcon:HX,AccessibilityIcon:zX,AddIcon:A0,AdminIcon:WX,AlertAltIcon:GX,AlertIcon:VX,AlignLeftIcon:KX,AlignRightIcon:YX,AppleIcon:XX,ArrowDownIcon:JX,ArrowLeftIcon:ZX,ArrowRightIcon:QX,ArrowSolidDownIcon:eJ,ArrowSolidLeftIcon:tJ,ArrowSolidRightIcon:rJ,ArrowSolidUpIcon:nJ,ArrowUpIcon:aJ,AzureDevOpsIcon:iJ,BackIcon:uJ,BasketIcon:oJ,BatchAcceptIcon:sJ,BatchDenyIcon:lJ,BeakerIcon:cJ,BellIcon:fJ,BitbucketIcon:pJ,BoldIcon:dJ,BookIcon:hJ,BookmarkHollowIcon:gJ,BookmarkIcon:mJ,BottomBarIcon:yJ,BottomBarToggleIcon:vJ,BoxIcon:bJ,BranchIcon:AJ,BrowserIcon:EJ,ButtonIcon:DJ,CPUIcon:CJ,CalendarIcon:xJ,CameraIcon:SJ,CategoryIcon:wJ,CertificateIcon:FJ,ChangedIcon:_J,ChatIcon:BJ,CheckIcon:TJ,ChevronDownIcon:E0,ChevronLeftIcon:IJ,ChevronRightIcon:D0,ChevronSmallDownIcon:hl,ChevronSmallLeftIcon:OJ,ChevronSmallRightIcon:RJ,ChevronSmallUpIcon:C0,ChevronUpIcon:PJ,ChromaticIcon:kJ,ChromeIcon:NJ,CircleHollowIcon:LJ,CircleIcon:MJ,ClearIcon:qJ,CloseAltIcon:jJ,CloseIcon:$J,CloudHollowIcon:UJ,CloudIcon:HJ,CogIcon:zJ,CollapseIcon:WJ,CommandIcon:GJ,CommentAddIcon:VJ,CommentIcon:KJ,CommentsIcon:YJ,CommitIcon:XJ,CompassIcon:JJ,ComponentDrivenIcon:ZJ,ComponentIcon:QJ,ContrastIcon:eZ,ControlsIcon:tZ,CopyIcon:rZ,CreditIcon:nZ,CrossIcon:aZ,DashboardIcon:iZ,DatabaseIcon:uZ,DeleteIcon:oZ,DiamondIcon:sZ,DirectionIcon:lZ,DiscordIcon:cZ,DocChartIcon:fZ,DocListIcon:pZ,DocumentIcon:gl,DownloadIcon:dZ,DragIcon:hZ,EditIcon:gZ,EllipsisIcon:mZ,EmailIcon:yZ,ExpandAltIcon:vZ,ExpandIcon:bZ,EyeCloseIcon:x0,EyeIcon:S0,FaceHappyIcon:AZ,FaceNeutralIcon:EZ,FaceSadIcon:DZ,FacebookIcon:CZ,FailedIcon:xZ,FastForwardIcon:SZ,FigmaIcon:wZ,FilterIcon:FZ,FlagIcon:_Z,FolderIcon:BZ,FormIcon:TZ,GDriveIcon:IZ,GithubIcon:OZ,GitlabIcon:RZ,GlobeIcon:PZ,GoogleIcon:kZ,GraphBarIcon:NZ,GraphLineIcon:LZ,GraphqlIcon:MZ,GridAltIcon:qZ,GridIcon:jZ,GrowIcon:$Z,HeartHollowIcon:UZ,HeartIcon:HZ,HomeIcon:zZ,HourglassIcon:WZ,InfoIcon:GZ,ItalicIcon:VZ,JumpToIcon:KZ,KeyIcon:YZ,LightningIcon:XZ,LightningOffIcon:JZ,LinkBrokenIcon:ZZ,LinkIcon:w0,LinkedinIcon:QZ,LinuxIcon:eQ,ListOrderedIcon:tQ,ListUnorderedIcon:rQ,LocationIcon:nQ,LockIcon:aQ,MarkdownIcon:iQ,MarkupIcon:F0,MediumIcon:uQ,MemoryIcon:oQ,MenuIcon:sQ,MergeIcon:lQ,MirrorIcon:cQ,MobileIcon:fQ,MoonIcon:pQ,NutIcon:dQ,OutboxIcon:hQ,OutlineIcon:gQ,PaintBrushIcon:mQ,PaperClipIcon:yQ,ParagraphIcon:vQ,PassedIcon:bQ,PhoneIcon:AQ,PhotoDragIcon:EQ,PhotoIcon:DQ,PinAltIcon:CQ,PinIcon:xQ,PlayBackIcon:SQ,PlayIcon:wQ,PlayNextIcon:FQ,PlusIcon:_Q,PointerDefaultIcon:BQ,PointerHandIcon:TQ,PowerIcon:IQ,PrintIcon:OQ,ProceedIcon:RQ,ProfileIcon:PQ,PullRequestIcon:kQ,QuestionIcon:NQ,RSSIcon:LQ,RedirectIcon:MQ,ReduxIcon:qQ,RefreshIcon:jQ,ReplyIcon:$Q,RepoIcon:UQ,RequestChangeIcon:HQ,RewindIcon:zQ,RulerIcon:WQ,SearchIcon:GQ,ShareAltIcon:VQ,ShareIcon:KQ,ShieldIcon:YQ,SideBySideIcon:XQ,SidebarAltIcon:JQ,SidebarAltToggleIcon:ZQ,SidebarIcon:QQ,SidebarToggleIcon:eee,SpeakerIcon:tee,StackedIcon:ree,StarHollowIcon:nee,StarIcon:aee,StickerIcon:iee,StopAltIcon:uee,StopIcon:oee,StorybookIcon:see,StructureIcon:lee,SubtractIcon:_0,SunIcon:cee,SupportIcon:B0,SwitchAltIcon:fee,SyncIcon:pee,TabletIcon:dee,ThumbsUpIcon:hee,TimeIcon:gee,TimerIcon:mee,TransferIcon:yee,TrashIcon:vee,TwitterIcon:bee,TypeIcon:Aee,UbuntuIcon:Eee,UndoIcon:T0,UnfoldIcon:Dee,UnlockIcon:Cee,UnpinIcon:xee,UploadIcon:See,UserAddIcon:wee,UserAltIcon:Fee,UserIcon:_ee,UsersIcon:Bee,VSCodeIcon:Tee,VerifiedIcon:Iee,VideoIcon:I0,WandIcon:Oee,WatchIcon:Ree,WindowsIcon:Pee,WrenchIcon:kee,YoutubeIcon:Nee,ZoomIcon:O0,ZoomOutIcon:R0,ZoomResetIcon:P0,iconList:Lee}=__STORYBOOK_ICONS__});var yl=R((Uee,k0)=>{h();g();m();function AT(e,t){for(var n=-1,i=e==null?0:e.length,u=Array(i);++n{h();g();m();function ET(){this.__data__=[],this.size=0}N0.exports=ET});var pu=R((Xee,M0)=>{h();g();m();function DT(e,t){return e===t||e!==e&&t!==t}M0.exports=DT});var za=R((ete,q0)=>{h();g();m();var CT=pu();function xT(e,t){for(var n=e.length;n--;)if(CT(e[n][0],t))return n;return-1}q0.exports=xT});var $0=R((ate,j0)=>{h();g();m();var ST=za(),wT=Array.prototype,FT=wT.splice;function _T(e){var t=this.__data__,n=ST(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():FT.call(t,n,1),--this.size,!0}j0.exports=_T});var H0=R((ste,U0)=>{h();g();m();var BT=za();function TT(e){var t=this.__data__,n=BT(t,e);return n<0?void 0:t[n][1]}U0.exports=TT});var W0=R((pte,z0)=>{h();g();m();var IT=za();function OT(e){return IT(this.__data__,e)>-1}z0.exports=OT});var V0=R((mte,G0)=>{h();g();m();var RT=za();function PT(e,t){var n=this.__data__,i=RT(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}G0.exports=PT});var Wa=R((Ate,K0)=>{h();g();m();var kT=L0(),NT=$0(),LT=H0(),MT=W0(),qT=V0();function Hn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{h();g();m();var jT=Wa();function $T(){this.__data__=new jT,this.size=0}Y0.exports=$T});var Z0=R((_te,J0)=>{h();g();m();function UT(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}J0.exports=UT});var eh=R((Ote,Q0)=>{h();g();m();function HT(e){return this.__data__.get(e)}Q0.exports=HT});var rh=R((Nte,th)=>{h();g();m();function zT(e){return this.__data__.has(e)}th.exports=zT});var vl=R((jte,nh)=>{h();g();m();var WT=typeof window=="object"&&window&&window.Object===Object&&window;nh.exports=WT});var Zt=R((zte,ah)=>{h();g();m();var GT=vl(),VT=typeof self=="object"&&self&&self.Object===Object&&self,KT=GT||VT||Function("return this")();ah.exports=KT});var pn=R((Kte,ih)=>{h();g();m();var YT=Zt(),XT=YT.Symbol;ih.exports=XT});var lh=R((Zte,sh)=>{h();g();m();var uh=pn(),oh=Object.prototype,JT=oh.hasOwnProperty,ZT=oh.toString,Ga=uh?uh.toStringTag:void 0;function QT(e){var t=JT.call(e,Ga),n=e[Ga];try{e[Ga]=void 0;var i=!0}catch{}var u=ZT.call(e);return i&&(t?e[Ga]=n:delete e[Ga]),u}sh.exports=QT});var fh=R((rre,ch)=>{h();g();m();var e8=Object.prototype,t8=e8.toString;function r8(e){return t8.call(e)}ch.exports=r8});var dn=R((ure,hh)=>{h();g();m();var ph=pn(),n8=lh(),a8=fh(),i8="[object Null]",u8="[object Undefined]",dh=ph?ph.toStringTag:void 0;function o8(e){return e==null?e===void 0?u8:i8:dh&&dh in Object(e)?n8(e):a8(e)}hh.exports=o8});var ir=R((cre,gh)=>{h();g();m();function s8(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}gh.exports=s8});var bl=R((hre,mh)=>{h();g();m();var l8=dn(),c8=ir(),f8="[object AsyncFunction]",p8="[object Function]",d8="[object GeneratorFunction]",h8="[object Proxy]";function g8(e){if(!c8(e))return!1;var t=l8(e);return t==p8||t==d8||t==f8||t==h8}mh.exports=g8});var vh=R((vre,yh)=>{h();g();m();var m8=Zt(),y8=m8["__core-js_shared__"];yh.exports=y8});var Eh=R((Dre,Ah)=>{h();g();m();var Al=vh(),bh=function(){var e=/[^.]+$/.exec(Al&&Al.keys&&Al.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function v8(e){return!!bh&&bh in e}Ah.exports=v8});var El=R((wre,Dh)=>{h();g();m();var b8=Function.prototype,A8=b8.toString;function E8(e){if(e!=null){try{return A8.call(e)}catch{}try{return e+""}catch{}}return""}Dh.exports=E8});var xh=R((Tre,Ch)=>{h();g();m();var D8=bl(),C8=Eh(),x8=ir(),S8=El(),w8=/[\\^$.*+?()[\]{}|]/g,F8=/^\[object .+?Constructor\]$/,_8=Function.prototype,B8=Object.prototype,T8=_8.toString,I8=B8.hasOwnProperty,O8=RegExp("^"+T8.call(I8).replace(w8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R8(e){if(!x8(e)||C8(e))return!1;var t=D8(e)?O8:F8;return t.test(S8(e))}Ch.exports=R8});var wh=R((Pre,Sh)=>{h();g();m();function P8(e,t){return e?.[t]}Sh.exports=P8});var zr=R((Mre,Fh)=>{h();g();m();var k8=xh(),N8=wh();function L8(e,t){var n=N8(e,t);return k8(n)?n:void 0}Fh.exports=L8});var du=R((Ure,_h)=>{h();g();m();var M8=zr(),q8=Zt(),j8=M8(q8,"Map");_h.exports=j8});var Va=R((Gre,Bh)=>{h();g();m();var $8=zr(),U8=$8(Object,"create");Bh.exports=U8});var Oh=R((Xre,Ih)=>{h();g();m();var Th=Va();function H8(){this.__data__=Th?Th(null):{},this.size=0}Ih.exports=H8});var Ph=R((ene,Rh)=>{h();g();m();function z8(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Rh.exports=z8});var Nh=R((ane,kh)=>{h();g();m();var W8=Va(),G8="__lodash_hash_undefined__",V8=Object.prototype,K8=V8.hasOwnProperty;function Y8(e){var t=this.__data__;if(W8){var n=t[e];return n===G8?void 0:n}return K8.call(t,e)?t[e]:void 0}kh.exports=Y8});var Mh=R((sne,Lh)=>{h();g();m();var X8=Va(),J8=Object.prototype,Z8=J8.hasOwnProperty;function Q8(e){var t=this.__data__;return X8?t[e]!==void 0:Z8.call(t,e)}Lh.exports=Q8});var jh=R((pne,qh)=>{h();g();m();var eI=Va(),tI="__lodash_hash_undefined__";function rI(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=eI&&t===void 0?tI:t,this}qh.exports=rI});var Uh=R((mne,$h)=>{h();g();m();var nI=Oh(),aI=Ph(),iI=Nh(),uI=Mh(),oI=jh();function zn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{h();g();m();var Hh=Uh(),sI=Wa(),lI=du();function cI(){this.size=0,this.__data__={hash:new Hh,map:new(lI||sI),string:new Hh}}zh.exports=cI});var Vh=R((xne,Gh)=>{h();g();m();function fI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Gh.exports=fI});var Ka=R((_ne,Kh)=>{h();g();m();var pI=Vh();function dI(e,t){var n=e.__data__;return pI(t)?n[typeof t=="string"?"string":"hash"]:n.map}Kh.exports=dI});var Xh=R((One,Yh)=>{h();g();m();var hI=Ka();function gI(e){var t=hI(this,e).delete(e);return this.size-=t?1:0,t}Yh.exports=gI});var Zh=R((Nne,Jh)=>{h();g();m();var mI=Ka();function yI(e){return mI(this,e).get(e)}Jh.exports=yI});var eg=R((jne,Qh)=>{h();g();m();var vI=Ka();function bI(e){return vI(this,e).has(e)}Qh.exports=bI});var rg=R((zne,tg)=>{h();g();m();var AI=Ka();function EI(e,t){var n=AI(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}tg.exports=EI});var hu=R((Kne,ng)=>{h();g();m();var DI=Wh(),CI=Xh(),xI=Zh(),SI=eg(),wI=rg();function Wn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{h();g();m();var FI=Wa(),_I=du(),BI=hu(),TI=200;function II(e,t){var n=this.__data__;if(n instanceof FI){var i=n.__data__;if(!_I||i.length{h();g();m();var OI=Wa(),RI=X0(),PI=Z0(),kI=eh(),NI=rh(),LI=ig();function Gn(e){var t=this.__data__=new OI(e);this.size=t.size}Gn.prototype.clear=RI;Gn.prototype.delete=PI;Gn.prototype.get=kI;Gn.prototype.has=NI;Gn.prototype.set=LI;ug.exports=Gn});var sg=R((uae,og)=>{h();g();m();var MI="__lodash_hash_undefined__";function qI(e){return this.__data__.set(e,MI),this}og.exports=qI});var cg=R((cae,lg)=>{h();g();m();function jI(e){return this.__data__.has(e)}lg.exports=jI});var Dl=R((hae,fg)=>{h();g();m();var $I=hu(),UI=sg(),HI=cg();function mu(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new $I;++t{h();g();m();function zI(e,t){for(var n=-1,i=e==null?0:e.length;++n{h();g();m();function WI(e,t){return e.has(t)}hg.exports=WI});var xl=R((wae,gg)=>{h();g();m();var GI=Dl(),VI=dg(),KI=Cl(),YI=1,XI=2;function JI(e,t,n,i,u,s){var l=n&YI,c=e.length,p=t.length;if(c!=p&&!(l&&p>c))return!1;var y=s.get(e),D=s.get(t);if(y&&D)return y==t&&D==e;var F=-1,b=!0,A=n&XI?new GI:void 0;for(s.set(e,t),s.set(t,e);++F{h();g();m();var ZI=Zt(),QI=ZI.Uint8Array;mg.exports=QI});var vg=R((Pae,yg)=>{h();g();m();function eO(e){var t=-1,n=Array(e.size);return e.forEach(function(i,u){n[++t]=[u,i]}),n}yg.exports=eO});var yu=R((Mae,bg)=>{h();g();m();function tO(e){var t=-1,n=Array(e.size);return e.forEach(function(i){n[++t]=i}),n}bg.exports=tO});var xg=R((Uae,Cg)=>{h();g();m();var Ag=pn(),Eg=Sl(),rO=pu(),nO=xl(),aO=vg(),iO=yu(),uO=1,oO=2,sO="[object Boolean]",lO="[object Date]",cO="[object Error]",fO="[object Map]",pO="[object Number]",dO="[object RegExp]",hO="[object Set]",gO="[object String]",mO="[object Symbol]",yO="[object ArrayBuffer]",vO="[object DataView]",Dg=Ag?Ag.prototype:void 0,wl=Dg?Dg.valueOf:void 0;function bO(e,t,n,i,u,s,l){switch(n){case vO:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case yO:return!(e.byteLength!=t.byteLength||!s(new Eg(e),new Eg(t)));case sO:case lO:case pO:return rO(+e,+t);case cO:return e.name==t.name&&e.message==t.message;case dO:case gO:return e==t+"";case fO:var c=aO;case hO:var p=i&uO;if(c||(c=iO),e.size!=t.size&&!p)return!1;var y=l.get(e);if(y)return y==t;i|=oO,l.set(e,t);var D=nO(c(e),c(t),i,u,s,l);return l.delete(e),D;case mO:if(wl)return wl.call(e)==wl.call(t)}return!1}Cg.exports=bO});var vu=R((Gae,Sg)=>{h();g();m();function AO(e,t){for(var n=-1,i=t.length,u=e.length;++n{h();g();m();var EO=Array.isArray;wg.exports=EO});var Fl=R((eie,Fg)=>{h();g();m();var DO=vu(),CO=ur();function xO(e,t,n){var i=t(e);return CO(e)?i:DO(i,n(e))}Fg.exports=xO});var Bg=R((aie,_g)=>{h();g();m();function SO(e,t){for(var n=-1,i=e==null?0:e.length,u=0,s=[];++n{h();g();m();function wO(){return[]}Tg.exports=wO});var bu=R((pie,Og)=>{h();g();m();var FO=Bg(),_O=_l(),BO=Object.prototype,TO=BO.propertyIsEnumerable,Ig=Object.getOwnPropertySymbols,IO=Ig?function(e){return e==null?[]:(e=Object(e),FO(Ig(e),function(t){return TO.call(e,t)}))}:_O;Og.exports=IO});var Pg=R((mie,Rg)=>{h();g();m();function OO(e,t){for(var n=-1,i=Array(e);++n{h();g();m();function RO(e){return e!=null&&typeof e=="object"}kg.exports=RO});var Lg=R((xie,Ng)=>{h();g();m();var PO=dn(),kO=wr(),NO="[object Arguments]";function LO(e){return kO(e)&&PO(e)==NO}Ng.exports=LO});var Au=R((_ie,jg)=>{h();g();m();var Mg=Lg(),MO=wr(),qg=Object.prototype,qO=qg.hasOwnProperty,jO=qg.propertyIsEnumerable,$O=Mg(function(){return arguments}())?Mg:function(e){return MO(e)&&qO.call(e,"callee")&&!jO.call(e,"callee")};jg.exports=$O});var Ug=R((Oie,$g)=>{h();g();m();function UO(){return!1}$g.exports=UO});var Eu=R((Ya,Vn)=>{h();g();m();var HO=Zt(),zO=Ug(),Wg=typeof Ya=="object"&&Ya&&!Ya.nodeType&&Ya,Hg=Wg&&typeof Vn=="object"&&Vn&&!Vn.nodeType&&Vn,WO=Hg&&Hg.exports===Wg,zg=WO?HO.Buffer:void 0,GO=zg?zg.isBuffer:void 0,VO=GO||zO;Vn.exports=VO});var Du=R((qie,Gg)=>{h();g();m();var KO=9007199254740991,YO=/^(?:0|[1-9]\d*)$/;function XO(e,t){var n=typeof e;return t=t??KO,!!t&&(n=="number"||n!="symbol"&&YO.test(e))&&e>-1&&e%1==0&&e{h();g();m();var JO=9007199254740991;function ZO(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=JO}Vg.exports=ZO});var Yg=R((Vie,Kg)=>{h();g();m();var QO=dn(),e6=Cu(),t6=wr(),r6="[object Arguments]",n6="[object Array]",a6="[object Boolean]",i6="[object Date]",u6="[object Error]",o6="[object Function]",s6="[object Map]",l6="[object Number]",c6="[object Object]",f6="[object RegExp]",p6="[object Set]",d6="[object String]",h6="[object WeakMap]",g6="[object ArrayBuffer]",m6="[object DataView]",y6="[object Float32Array]",v6="[object Float64Array]",b6="[object Int8Array]",A6="[object Int16Array]",E6="[object Int32Array]",D6="[object Uint8Array]",C6="[object Uint8ClampedArray]",x6="[object Uint16Array]",S6="[object Uint32Array]",Ve={};Ve[y6]=Ve[v6]=Ve[b6]=Ve[A6]=Ve[E6]=Ve[D6]=Ve[C6]=Ve[x6]=Ve[S6]=!0;Ve[r6]=Ve[n6]=Ve[g6]=Ve[a6]=Ve[m6]=Ve[i6]=Ve[u6]=Ve[o6]=Ve[s6]=Ve[l6]=Ve[c6]=Ve[f6]=Ve[p6]=Ve[d6]=Ve[h6]=!1;function w6(e){return t6(e)&&e6(e.length)&&!!Ve[QO(e)]}Kg.exports=w6});var xu=R((Jie,Xg)=>{h();g();m();function F6(e){return function(t){return e(t)}}Xg.exports=F6});var Su=R((Xa,Kn)=>{h();g();m();var _6=vl(),Jg=typeof Xa=="object"&&Xa&&!Xa.nodeType&&Xa,Ja=Jg&&typeof Kn=="object"&&Kn&&!Kn.nodeType&&Kn,B6=Ja&&Ja.exports===Jg,Bl=B6&&_6.process,T6=function(){try{var e=Ja&&Ja.require&&Ja.require("util").types;return e||Bl&&Bl.binding&&Bl.binding("util")}catch{}}();Kn.exports=T6});var Tl=R((aue,em)=>{h();g();m();var I6=Yg(),O6=xu(),Zg=Su(),Qg=Zg&&Zg.isTypedArray,R6=Qg?O6(Qg):I6;em.exports=R6});var Il=R((sue,tm)=>{h();g();m();var P6=Pg(),k6=Au(),N6=ur(),L6=Eu(),M6=Du(),q6=Tl(),j6=Object.prototype,$6=j6.hasOwnProperty;function U6(e,t){var n=N6(e),i=!n&&k6(e),u=!n&&!i&&L6(e),s=!n&&!i&&!u&&q6(e),l=n||i||u||s,c=l?P6(e.length,String):[],p=c.length;for(var y in e)(t||$6.call(e,y))&&!(l&&(y=="length"||u&&(y=="offset"||y=="parent")||s&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||M6(y,p)))&&c.push(y);return c}tm.exports=U6});var wu=R((pue,rm)=>{h();g();m();var H6=Object.prototype;function z6(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||H6;return e===n}rm.exports=z6});var Ol=R((mue,nm)=>{h();g();m();function W6(e,t){return function(n){return e(t(n))}}nm.exports=W6});var im=R((Aue,am)=>{h();g();m();var G6=Ol(),V6=G6(Object.keys,Object);am.exports=V6});var om=R((xue,um)=>{h();g();m();var K6=wu(),Y6=im(),X6=Object.prototype,J6=X6.hasOwnProperty;function Z6(e){if(!K6(e))return Y6(e);var t=[];for(var n in Object(e))J6.call(e,n)&&n!="constructor"&&t.push(n);return t}um.exports=Z6});var Rl=R((_ue,sm)=>{h();g();m();var Q6=bl(),e4=Cu();function t4(e){return e!=null&&e4(e.length)&&!Q6(e)}sm.exports=t4});var Yn=R((Oue,lm)=>{h();g();m();var r4=Il(),n4=om(),a4=Rl();function i4(e){return a4(e)?r4(e):n4(e)}lm.exports=i4});var Pl=R((Nue,cm)=>{h();g();m();var u4=Fl(),o4=bu(),s4=Yn();function l4(e){return u4(e,s4,o4)}cm.exports=l4});var dm=R((jue,pm)=>{h();g();m();var fm=Pl(),c4=1,f4=Object.prototype,p4=f4.hasOwnProperty;function d4(e,t,n,i,u,s){var l=n&c4,c=fm(e),p=c.length,y=fm(t),D=y.length;if(p!=D&&!l)return!1;for(var F=p;F--;){var b=c[F];if(!(l?b in t:p4.call(t,b)))return!1}var A=s.get(e),w=s.get(t);if(A&&w)return A==t&&w==e;var x=!0;s.set(e,t),s.set(t,e);for(var I=l;++F{h();g();m();var h4=zr(),g4=Zt(),m4=h4(g4,"DataView");hm.exports=m4});var ym=R((Kue,mm)=>{h();g();m();var y4=zr(),v4=Zt(),b4=y4(v4,"Promise");mm.exports=b4});var kl=R((Zue,vm)=>{h();g();m();var A4=zr(),E4=Zt(),D4=A4(E4,"Set");vm.exports=D4});var Am=R((roe,bm)=>{h();g();m();var C4=zr(),x4=Zt(),S4=C4(x4,"WeakMap");bm.exports=S4});var Za=R((uoe,Fm)=>{h();g();m();var Nl=gm(),Ll=du(),Ml=ym(),ql=kl(),jl=Am(),wm=dn(),Xn=El(),Em="[object Map]",w4="[object Object]",Dm="[object Promise]",Cm="[object Set]",xm="[object WeakMap]",Sm="[object DataView]",F4=Xn(Nl),_4=Xn(Ll),B4=Xn(Ml),T4=Xn(ql),I4=Xn(jl),hn=wm;(Nl&&hn(new Nl(new ArrayBuffer(1)))!=Sm||Ll&&hn(new Ll)!=Em||Ml&&hn(Ml.resolve())!=Dm||ql&&hn(new ql)!=Cm||jl&&hn(new jl)!=xm)&&(hn=function(e){var t=wm(e),n=t==w4?e.constructor:void 0,i=n?Xn(n):"";if(i)switch(i){case F4:return Sm;case _4:return Em;case B4:return Dm;case T4:return Cm;case I4:return xm}return t});Fm.exports=hn});var km=R((coe,Pm)=>{h();g();m();var $l=gu(),O4=xl(),R4=xg(),P4=dm(),_m=Za(),Bm=ur(),Tm=Eu(),k4=Tl(),N4=1,Im="[object Arguments]",Om="[object Array]",Fu="[object Object]",L4=Object.prototype,Rm=L4.hasOwnProperty;function M4(e,t,n,i,u,s){var l=Bm(e),c=Bm(t),p=l?Om:_m(e),y=c?Om:_m(t);p=p==Im?Fu:p,y=y==Im?Fu:y;var D=p==Fu,F=y==Fu,b=p==y;if(b&&Tm(e)){if(!Tm(t))return!1;l=!0,D=!1}if(b&&!D)return s||(s=new $l),l||k4(e)?O4(e,t,n,i,u,s):R4(e,t,p,n,i,u,s);if(!(n&N4)){var A=D&&Rm.call(e,"__wrapped__"),w=F&&Rm.call(t,"__wrapped__");if(A||w){var x=A?e.value():e,I=w?t.value():t;return s||(s=new $l),u(x,I,n,i,s)}}return b?(s||(s=new $l),P4(e,t,n,i,u,s)):!1}Pm.exports=M4});var Ul=R((hoe,Mm)=>{h();g();m();var q4=km(),Nm=wr();function Lm(e,t,n,i,u){return e===t?!0:e==null||t==null||!Nm(e)&&!Nm(t)?e!==e&&t!==t:q4(e,t,n,i,Lm,u)}Mm.exports=Lm});var jm=R((voe,qm)=>{h();g();m();var j4=gu(),$4=Ul(),U4=1,H4=2;function z4(e,t,n,i){var u=n.length,s=u,l=!i;if(e==null)return!s;for(e=Object(e);u--;){var c=n[u];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++u{h();g();m();var W4=ir();function G4(e){return e===e&&!W4(e)}$m.exports=G4});var Hm=R((woe,Um)=>{h();g();m();var V4=Hl(),K4=Yn();function Y4(e){for(var t=K4(e),n=t.length;n--;){var i=t[n],u=e[i];t[n]=[i,u,V4(u)]}return t}Um.exports=Y4});var zl=R((Toe,zm)=>{h();g();m();function X4(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}zm.exports=X4});var Gm=R((Poe,Wm)=>{h();g();m();var J4=jm(),Z4=Hm(),Q4=zl();function eR(e){var t=Z4(e);return t.length==1&&t[0][2]?Q4(t[0][0],t[0][1]):function(n){return n===e||J4(n,e,t)}}Wm.exports=eR});var Qa=R((Moe,Vm)=>{h();g();m();var tR=dn(),rR=wr(),nR="[object Symbol]";function aR(e){return typeof e=="symbol"||rR(e)&&tR(e)==nR}Vm.exports=aR});var _u=R((Uoe,Km)=>{h();g();m();var iR=ur(),uR=Qa(),oR=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sR=/^\w*$/;function lR(e,t){if(iR(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||uR(e)?!0:sR.test(e)||!oR.test(e)||t!=null&&e in Object(t)}Km.exports=lR});var Jm=R((Goe,Xm)=>{h();g();m();var Ym=hu(),cR="Expected a function";function Wl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(cR);var n=function(){var i=arguments,u=t?t.apply(this,i):i[0],s=n.cache;if(s.has(u))return s.get(u);var l=e.apply(this,i);return n.cache=s.set(u,l)||s,l};return n.cache=new(Wl.Cache||Ym),n}Wl.Cache=Ym;Xm.exports=Wl});var Qm=R((Xoe,Zm)=>{h();g();m();var fR=Jm(),pR=500;function dR(e){var t=fR(e,function(i){return n.size===pR&&n.clear(),i}),n=t.cache;return t}Zm.exports=dR});var ty=R((ese,ey)=>{h();g();m();var hR=Qm(),gR=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mR=/\\(\\)?/g,yR=hR(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(gR,function(n,i,u,s){t.push(u?s.replace(mR,"$1"):i||n)}),t});ey.exports=yR});var oy=R((ase,uy)=>{h();g();m();var ry=pn(),vR=yl(),bR=ur(),AR=Qa(),ER=1/0,ny=ry?ry.prototype:void 0,ay=ny?ny.toString:void 0;function iy(e){if(typeof e=="string")return e;if(bR(e))return vR(e,iy)+"";if(AR(e))return ay?ay.call(e):"";var t=e+"";return t=="0"&&1/e==-ER?"-0":t}uy.exports=iy});var ly=R((sse,sy)=>{h();g();m();var DR=oy();function CR(e){return e==null?"":DR(e)}sy.exports=CR});var ei=R((pse,cy)=>{h();g();m();var xR=ur(),SR=_u(),wR=ty(),FR=ly();function _R(e,t){return xR(e)?e:SR(e,t)?[e]:wR(FR(e))}cy.exports=_R});var Jn=R((mse,fy)=>{h();g();m();var BR=Qa(),TR=1/0;function IR(e){if(typeof e=="string"||BR(e))return e;var t=e+"";return t=="0"&&1/e==-TR?"-0":t}fy.exports=IR});var Bu=R((Ase,py)=>{h();g();m();var OR=ei(),RR=Jn();function PR(e,t){t=OR(t,e);for(var n=0,i=t.length;e!=null&&n{h();g();m();var kR=Bu();function NR(e,t,n){var i=e==null?void 0:kR(e,t);return i===void 0?n:i}dy.exports=NR});var my=R((_se,gy)=>{h();g();m();function LR(e,t){return e!=null&&t in Object(e)}gy.exports=LR});var vy=R((Ose,yy)=>{h();g();m();var MR=ei(),qR=Au(),jR=ur(),$R=Du(),UR=Cu(),HR=Jn();function zR(e,t,n){t=MR(t,e);for(var i=-1,u=t.length,s=!1;++i{h();g();m();var WR=my(),GR=vy();function VR(e,t){return e!=null&&GR(e,t,WR)}by.exports=VR});var Ey=R((jse,Ay)=>{h();g();m();var KR=Ul(),YR=hy(),XR=Gl(),JR=_u(),ZR=Hl(),QR=zl(),e9=Jn(),t9=1,r9=2;function n9(e,t){return JR(e)&&ZR(t)?QR(e9(e),t):function(n){var i=YR(n,e);return i===void 0&&i===t?XR(n,e):KR(t,i,t9|r9)}}Ay.exports=n9});var Vl=R((zse,Dy)=>{h();g();m();function a9(e){return e}Dy.exports=a9});var xy=R((Kse,Cy)=>{h();g();m();function i9(e){return function(t){return t?.[e]}}Cy.exports=i9});var wy=R((Zse,Sy)=>{h();g();m();var u9=Bu();function o9(e){return function(t){return u9(t,e)}}Sy.exports=o9});var _y=R((rle,Fy)=>{h();g();m();var s9=xy(),l9=wy(),c9=_u(),f9=Jn();function p9(e){return c9(e)?s9(f9(e)):l9(e)}Fy.exports=p9});var Kl=R((ule,By)=>{h();g();m();var d9=Gm(),h9=Ey(),g9=Vl(),m9=ur(),y9=_y();function v9(e){return typeof e=="function"?e:e==null?g9:typeof e=="object"?m9(e)?h9(e[0],e[1]):d9(e):y9(e)}By.exports=v9});var Yl=R((cle,Ty)=>{h();g();m();var b9=zr(),A9=function(){try{var e=b9(Object,"defineProperty");return e({},"",{}),e}catch{}}();Ty.exports=A9});var Tu=R((hle,Oy)=>{h();g();m();var Iy=Yl();function E9(e,t,n){t=="__proto__"&&Iy?Iy(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}Oy.exports=E9});var Iu=R((vle,Ry)=>{h();g();m();var D9=Tu(),C9=pu(),x9=Object.prototype,S9=x9.hasOwnProperty;function w9(e,t,n){var i=e[t];(!(S9.call(e,t)&&C9(i,n))||n===void 0&&!(t in e))&&D9(e,t,n)}Ry.exports=w9});var Ny=R((Dle,ky)=>{h();g();m();var F9=Iu(),_9=ei(),B9=Du(),Py=ir(),T9=Jn();function I9(e,t,n,i){if(!Py(e))return e;t=_9(t,e);for(var u=-1,s=t.length,l=s-1,c=e;c!=null&&++u{h();g();m();var O9=Bu(),R9=Ny(),P9=ei();function k9(e,t,n){for(var i=-1,u=t.length,s={};++i{h();g();m();var N9=Ol(),L9=N9(Object.getPrototypeOf,Object);My.exports=L9});var Jl=R((Ple,qy)=>{h();g();m();var M9=vu(),q9=Ou(),j9=bu(),$9=_l(),U9=Object.getOwnPropertySymbols,H9=U9?function(e){for(var t=[];e;)M9(t,j9(e)),e=q9(e);return t}:$9;qy.exports=H9});var $y=R((Mle,jy)=>{h();g();m();function z9(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}jy.exports=z9});var Hy=R((Ule,Uy)=>{h();g();m();var W9=ir(),G9=wu(),V9=$y(),K9=Object.prototype,Y9=K9.hasOwnProperty;function X9(e){if(!W9(e))return V9(e);var t=G9(e),n=[];for(var i in e)i=="constructor"&&(t||!Y9.call(e,i))||n.push(i);return n}Uy.exports=X9});var Ru=R((Gle,zy)=>{h();g();m();var J9=Il(),Z9=Hy(),Q9=Rl();function eP(e){return Q9(e)?J9(e,!0):Z9(e)}zy.exports=eP});var Zl=R((Xle,Wy)=>{h();g();m();var tP=Fl(),rP=Jl(),nP=Ru();function aP(e){return tP(e,nP,rP)}Wy.exports=aP});var Ql=R((ece,Gy)=>{h();g();m();var iP=yl(),uP=Kl(),oP=Xl(),sP=Zl();function lP(e,t){if(e==null)return{};var n=iP(sP(e),function(i){return[i]});return t=uP(t),oP(e,n,function(i,u){return t(i,u[0])})}Gy.exports=lP});var ku=R((x1,lc)=>{h();g();m();(function(e){if(typeof x1=="object"&&typeof lc<"u")lc.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,n;return function i(u,s,l){function c(D,F){if(!s[D]){if(!u[D]){var b=typeof Na=="function"&&Na;if(!F&&b)return b(D,!0);if(p)return p(D,!0);var A=new Error("Cannot find module '"+D+"'");throw A.code="MODULE_NOT_FOUND",A}var w=s[D]={exports:{}};u[D][0].call(w.exports,function(x){var I=u[D][1][x];return c(I||x)},w,w.exports,i,u,s,l)}return s[D].exports}for(var p=typeof Na=="function"&&Na,y=0;y=0)return this.lastItem=this.list[p],this.list[p].val},l.prototype.set=function(c,p){var y;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=p,this):(y=this.indexOf(c),y>=0?(this.lastItem=this.list[y],this.list[y].val=p,this):(this.lastItem={key:c,val:p},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var p;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),p=this.indexOf(c),p>=0)return this.size--,this.list.splice(p,1)[0]},l.prototype.has=function(c){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],!0):!1)},l.prototype.forEach=function(c,p){var y;for(y=0;y0&&(M[k]={cacheItem:x,arg:arguments[k]},Y?c(b,M):b.push(M),b.length>D&&p(b.shift())),w.wasMemoized=Y,w.numArgs=k+1,L};return w.limit=D,w.wasMemoized=!1,w.cache=F,w.lru=b,w}};function c(D,F){var b=D.length,A=F.length,w,x,I;for(x=0;x=0&&(b=D[w],A=b.cacheItem.get(b.arg),!A||!A.size);w--)b.cacheItem.delete(b.arg)}function y(D,F){return D===F||D!==D&&F!==F}},{"map-or-similar":1}]},{},[3])(3)})});var w1=R((Dce,S1)=>{h();g();m();function x7(e,t,n,i){for(var u=e.length,s=n+(i?1:-1);i?s--:++s{h();g();m();function S7(e){return e!==e}F1.exports=S7});var T1=R((Tce,B1)=>{h();g();m();function w7(e,t,n){for(var i=n-1,u=e.length;++i{h();g();m();var F7=w1(),_7=_1(),B7=T1();function T7(e,t,n){return t===t?B7(e,t,n):F7(e,_7,n)}I1.exports=T7});var P1=R((Mce,R1)=>{h();g();m();var I7=O1();function O7(e,t){var n=e==null?0:e.length;return!!n&&I7(e,t,0)>-1}R1.exports=O7});var N1=R((Uce,k1)=>{h();g();m();function R7(e,t,n){for(var i=-1,u=e==null?0:e.length;++i{h();g();m();function P7(){}L1.exports=P7});var j1=R((Xce,q1)=>{h();g();m();var cc=kl(),k7=M1(),N7=yu(),L7=1/0,M7=cc&&1/N7(new cc([,-0]))[1]==L7?function(e){return new cc(e)}:k7;q1.exports=M7});var U1=R((efe,$1)=>{h();g();m();var q7=Dl(),j7=P1(),$7=N1(),U7=Cl(),H7=j1(),z7=yu(),W7=200;function G7(e,t,n){var i=-1,u=j7,s=e.length,l=!0,c=[],p=c;if(n)l=!1,u=$7;else if(s>=W7){var y=t?null:H7(e);if(y)return z7(y);l=!1,u=U7,p=new q7}else p=t?[]:c;e:for(;++i{h();g();m();var V7=U1();function K7(e){return e&&e.length?V7(e):[]}H1.exports=K7});var G1=R((sfe,W1)=>{h();g();m();function Y7(e,t){for(var n=-1,i=e==null?0:e.length;++n{h();g();m();var X7=Iu(),J7=Tu();function Z7(e,t,n,i){var u=!n;n||(n={});for(var s=-1,l=t.length;++s{h();g();m();var Q7=ri(),ek=Yn();function tk(e,t){return e&&Q7(t,ek(t),e)}K1.exports=tk});var J1=R((Afe,X1)=>{h();g();m();var rk=ri(),nk=Ru();function ak(e,t){return e&&rk(t,nk(t),e)}X1.exports=ak});var r2=R((ni,Qn)=>{h();g();m();var ik=Zt(),t2=typeof ni=="object"&&ni&&!ni.nodeType&&ni,Z1=t2&&typeof Qn=="object"&&Qn&&!Qn.nodeType&&Qn,uk=Z1&&Z1.exports===t2,Q1=uk?ik.Buffer:void 0,e2=Q1?Q1.allocUnsafe:void 0;function ok(e,t){if(t)return e.slice();var n=e.length,i=e2?e2(n):new e.constructor(n);return e.copy(i),i}Qn.exports=ok});var a2=R((Ffe,n2)=>{h();g();m();function sk(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n{h();g();m();var lk=ri(),ck=bu();function fk(e,t){return lk(e,ck(e),t)}i2.exports=fk});var s2=R((kfe,o2)=>{h();g();m();var pk=ri(),dk=Jl();function hk(e,t){return pk(e,dk(e),t)}o2.exports=hk});var c2=R((qfe,l2)=>{h();g();m();var gk=Object.prototype,mk=gk.hasOwnProperty;function yk(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&mk.call(e,"index")&&(n.index=e.index,n.input=e.input),n}l2.exports=yk});var Nu=R((Hfe,p2)=>{h();g();m();var f2=Sl();function vk(e){var t=new e.constructor(e.byteLength);return new f2(t).set(new f2(e)),t}p2.exports=vk});var h2=R((Vfe,d2)=>{h();g();m();var bk=Nu();function Ak(e,t){var n=t?bk(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}d2.exports=Ak});var m2=R((Jfe,g2)=>{h();g();m();var Ek=/\w*$/;function Dk(e){var t=new e.constructor(e.source,Ek.exec(e));return t.lastIndex=e.lastIndex,t}g2.exports=Dk});var E2=R((tpe,A2)=>{h();g();m();var y2=pn(),v2=y2?y2.prototype:void 0,b2=v2?v2.valueOf:void 0;function Ck(e){return b2?Object(b2.call(e)):{}}A2.exports=Ck});var C2=R((ipe,D2)=>{h();g();m();var xk=Nu();function Sk(e,t){var n=t?xk(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}D2.exports=Sk});var S2=R((lpe,x2)=>{h();g();m();var wk=Nu(),Fk=h2(),_k=m2(),Bk=E2(),Tk=C2(),Ik="[object Boolean]",Ok="[object Date]",Rk="[object Map]",Pk="[object Number]",kk="[object RegExp]",Nk="[object Set]",Lk="[object String]",Mk="[object Symbol]",qk="[object ArrayBuffer]",jk="[object DataView]",$k="[object Float32Array]",Uk="[object Float64Array]",Hk="[object Int8Array]",zk="[object Int16Array]",Wk="[object Int32Array]",Gk="[object Uint8Array]",Vk="[object Uint8ClampedArray]",Kk="[object Uint16Array]",Yk="[object Uint32Array]";function Xk(e,t,n){var i=e.constructor;switch(t){case qk:return wk(e);case Ik:case Ok:return new i(+e);case jk:return Fk(e,n);case $k:case Uk:case Hk:case zk:case Wk:case Gk:case Vk:case Kk:case Yk:return Tk(e,n);case Rk:return new i;case Pk:case Lk:return new i(e);case kk:return _k(e);case Nk:return new i;case Mk:return Bk(e)}}x2.exports=Xk});var _2=R((dpe,F2)=>{h();g();m();var Jk=ir(),w2=Object.create,Zk=function(){function e(){}return function(t){if(!Jk(t))return{};if(w2)return w2(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();F2.exports=Zk});var T2=R((ype,B2)=>{h();g();m();var Qk=_2(),eN=Ou(),tN=wu();function rN(e){return typeof e.constructor=="function"&&!tN(e)?Qk(eN(e)):{}}B2.exports=rN});var O2=R((Epe,I2)=>{h();g();m();var nN=Za(),aN=wr(),iN="[object Map]";function uN(e){return aN(e)&&nN(e)==iN}I2.exports=uN});var N2=R((Spe,k2)=>{h();g();m();var oN=O2(),sN=xu(),R2=Su(),P2=R2&&R2.isMap,lN=P2?sN(P2):oN;k2.exports=lN});var M2=R((Bpe,L2)=>{h();g();m();var cN=Za(),fN=wr(),pN="[object Set]";function dN(e){return fN(e)&&cN(e)==pN}L2.exports=dN});var U2=R((Rpe,$2)=>{h();g();m();var hN=M2(),gN=xu(),q2=Su(),j2=q2&&q2.isSet,mN=j2?gN(j2):hN;$2.exports=mN});var V2=R((Lpe,G2)=>{h();g();m();var yN=gu(),vN=G1(),bN=Iu(),AN=Y1(),EN=J1(),DN=r2(),CN=a2(),xN=u2(),SN=s2(),wN=Pl(),FN=Zl(),_N=Za(),BN=c2(),TN=S2(),IN=T2(),ON=ur(),RN=Eu(),PN=N2(),kN=ir(),NN=U2(),LN=Yn(),MN=Ru(),qN=1,jN=2,$N=4,H2="[object Arguments]",UN="[object Array]",HN="[object Boolean]",zN="[object Date]",WN="[object Error]",z2="[object Function]",GN="[object GeneratorFunction]",VN="[object Map]",KN="[object Number]",W2="[object Object]",YN="[object RegExp]",XN="[object Set]",JN="[object String]",ZN="[object Symbol]",QN="[object WeakMap]",eL="[object ArrayBuffer]",tL="[object DataView]",rL="[object Float32Array]",nL="[object Float64Array]",aL="[object Int8Array]",iL="[object Int16Array]",uL="[object Int32Array]",oL="[object Uint8Array]",sL="[object Uint8ClampedArray]",lL="[object Uint16Array]",cL="[object Uint32Array]",We={};We[H2]=We[UN]=We[eL]=We[tL]=We[HN]=We[zN]=We[rL]=We[nL]=We[aL]=We[iL]=We[uL]=We[VN]=We[KN]=We[W2]=We[YN]=We[XN]=We[JN]=We[ZN]=We[oL]=We[sL]=We[lL]=We[cL]=!0;We[WN]=We[z2]=We[QN]=!1;function Lu(e,t,n,i,u,s){var l,c=t&qN,p=t&jN,y=t&$N;if(n&&(l=u?n(e,i,u,s):n(e)),l!==void 0)return l;if(!kN(e))return e;var D=ON(e);if(D){if(l=BN(e),!c)return CN(e,l)}else{var F=_N(e),b=F==z2||F==GN;if(RN(e))return DN(e,c);if(F==W2||F==H2||b&&!u){if(l=p||b?{}:IN(e),!c)return p?SN(e,EN(l,e)):xN(e,AN(l,e))}else{if(!We[F])return u?e:{};l=TN(e,F,c)}}s||(s=new yN);var A=s.get(e);if(A)return A;s.set(e,l),NN(e)?e.forEach(function(I){l.add(Lu(I,t,n,I,e,s))}):PN(e)&&e.forEach(function(I,L){l.set(L,Lu(I,t,n,L,e,s))});var w=y?p?FN:wN:p?MN:LN,x=D?void 0:w(e);return vN(x||e,function(I,L){x&&(L=I,I=e[L]),bN(l,L,Lu(I,t,n,L,e,s))}),l}G2.exports=Lu});var Y2=R(($pe,K2)=>{h();g();m();var fL=V2(),pL=1,dL=4;function hL(e){return fL(e,pL|dL)}K2.exports=hL});var rv=R((Ede,tv)=>{h();g();m();function qL(e){return function(t,n,i){for(var u=-1,s=Object(t),l=i(t),c=l.length;c--;){var p=l[e?c:++u];if(n(s[p],p,s)===!1)break}return t}}tv.exports=qL});var av=R((Sde,nv)=>{h();g();m();var jL=rv(),$L=jL();nv.exports=$L});var uv=R((Bde,iv)=>{h();g();m();var UL=av(),HL=Yn();function zL(e,t){return e&&UL(e,t,HL)}iv.exports=zL});var pc=R((Rde,ov)=>{h();g();m();var WL=Tu(),GL=uv(),VL=Kl();function KL(e,t){var n={};return t=VL(t,3),GL(e,function(i,u,s){WL(n,u,t(i,u,s))}),n}ov.exports=KL});var lv=R((Lde,sv)=>{h();g();m();var YL=Xl(),XL=Gl();function JL(e,t){return YL(e,t,function(n,i){return XL(e,i)})}sv.exports=JL});var dv=R(($de,pv)=>{h();g();m();var cv=pn(),ZL=Au(),QL=ur(),fv=cv?cv.isConcatSpreadable:void 0;function eM(e){return QL(e)||ZL(e)||!!(fv&&e&&e[fv])}pv.exports=eM});var mv=R((Wde,gv)=>{h();g();m();var tM=vu(),rM=dv();function hv(e,t,n,i,u){var s=-1,l=e.length;for(n||(n=rM),u||(u=[]);++s0&&n(c)?t>1?hv(c,t-1,n,i,u):tM(u,c):i||(u[u.length]=c)}return u}gv.exports=hv});var vv=R((Yde,yv)=>{h();g();m();var nM=mv();function aM(e){var t=e==null?0:e.length;return t?nM(e,1):[]}yv.exports=aM});var Av=R((Qde,bv)=>{h();g();m();function iM(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}bv.exports=iM});var Cv=R((n0e,Dv)=>{h();g();m();var uM=Av(),Ev=Math.max;function oM(e,t,n){return t=Ev(t===void 0?e.length-1:t,0),function(){for(var i=arguments,u=-1,s=Ev(i.length-t,0),l=Array(s);++u{h();g();m();function sM(e){return function(){return e}}xv.exports=sM});var _v=R((f0e,Fv)=>{h();g();m();var lM=Sv(),wv=Yl(),cM=Vl(),fM=wv?function(e,t){return wv(e,"toString",{configurable:!0,enumerable:!1,value:lM(t),writable:!0})}:cM;Fv.exports=fM});var Tv=R((g0e,Bv)=>{h();g();m();var pM=800,dM=16,hM=Date.now;function gM(e){var t=0,n=0;return function(){var i=hM(),u=dM-(i-n);if(n=i,u>0){if(++t>=pM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}Bv.exports=gM});var Ov=R((b0e,Iv)=>{h();g();m();var mM=_v(),yM=Tv(),vM=yM(mM);Iv.exports=vM});var Pv=R((C0e,Rv)=>{h();g();m();var bM=vv(),AM=Cv(),EM=Ov();function DM(e){return EM(AM(e,void 0,bM),e+"")}Rv.exports=DM});var Nv=R((F0e,kv)=>{h();g();m();var CM=lv(),xM=Pv(),SM=xM(function(e,t){return e==null?{}:CM(e,t)});kv.exports=SM});var jv=R((the,qv)=>{h();g();m();var FM=dn(),_M=Ou(),BM=wr(),TM="[object Object]",IM=Function.prototype,OM=Object.prototype,Mv=IM.toString,RM=OM.hasOwnProperty,PM=Mv.call(Object);function kM(e){if(!BM(e)||FM(e)!=TM)return!1;var t=_M(e);if(t===null)return!0;var n=RM.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Mv.call(n)==PM}qv.exports=kM});var Hv=R((che,Uv)=>{h();g();m();Uv.exports=WM;function WM(e,t){if(hc("noDeprecation"))return e;var n=!1;function i(){if(!n){if(hc("throwDeprecation"))throw new Error(t);hc("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function hc(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var Wv=R((vhe,zv)=>{"use strict";h();g();m();zv.exports=Error});var Vv=R((Dhe,Gv)=>{"use strict";h();g();m();Gv.exports=EvalError});var Yv=R((whe,Kv)=>{"use strict";h();g();m();Kv.exports=RangeError});var Jv=R((The,Xv)=>{"use strict";h();g();m();Xv.exports=ReferenceError});var gc=R((Phe,Zv)=>{"use strict";h();g();m();Zv.exports=SyntaxError});var ea=R((Mhe,Qv)=>{"use strict";h();g();m();Qv.exports=TypeError});var tb=R((Uhe,eb)=>{"use strict";h();g();m();eb.exports=URIError});var nb=R((Ghe,rb)=>{"use strict";h();g();m();rb.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var u=42;t[n]=u;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,n);if(l.value!==u||l.enumerable!==!0)return!1}return!0}});var ub=R((Xhe,ib)=>{"use strict";h();g();m();var ab=typeof Symbol<"u"&&Symbol,GM=nb();ib.exports=function(){return typeof ab!="function"||typeof Symbol!="function"||typeof ab("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:GM()}});var sb=R((ege,ob)=>{"use strict";h();g();m();var mc={__proto__:null,foo:{}},VM=Object;ob.exports=function(){return{__proto__:mc}.foo===mc.foo&&!(mc instanceof VM)}});var fb=R((age,cb)=>{"use strict";h();g();m();var KM="Function.prototype.bind called on incompatible ",YM=Object.prototype.toString,XM=Math.max,JM="[object Function]",lb=function(t,n){for(var i=[],u=0;u{"use strict";h();g();m();var eq=fb();pb.exports=Function.prototype.bind||eq});var hb=R((pge,db)=>{"use strict";h();g();m();var tq=Function.prototype.call,rq=Object.prototype.hasOwnProperty,nq=Mu();db.exports=nq.call(tq,rq)});var bn=R((mge,bb)=>{"use strict";h();g();m();var _e,aq=Wv(),iq=Vv(),uq=Yv(),oq=Jv(),aa=gc(),na=ea(),sq=tb(),vb=Function,yc=function(e){try{return vb('"use strict"; return ('+e+").constructor;")()}catch{}},yn=Object.getOwnPropertyDescriptor;if(yn)try{yn({},"")}catch{yn=null}var vc=function(){throw new na},lq=yn?function(){try{return arguments.callee,vc}catch{try{return yn(arguments,"callee").get}catch{return vc}}}():vc,ta=ub()(),cq=sb()(),dt=Object.getPrototypeOf||(cq?function(e){return e.__proto__}:null),ra={},fq=typeof Uint8Array>"u"||!dt?_e:dt(Uint8Array),vn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?_e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?_e:ArrayBuffer,"%ArrayIteratorPrototype%":ta&&dt?dt([][Symbol.iterator]()):_e,"%AsyncFromSyncIteratorPrototype%":_e,"%AsyncFunction%":ra,"%AsyncGenerator%":ra,"%AsyncGeneratorFunction%":ra,"%AsyncIteratorPrototype%":ra,"%Atomics%":typeof Atomics>"u"?_e:Atomics,"%BigInt%":typeof BigInt>"u"?_e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?_e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?_e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?_e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":aq,"%eval%":eval,"%EvalError%":iq,"%Float32Array%":typeof Float32Array>"u"?_e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?_e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?_e:FinalizationRegistry,"%Function%":vb,"%GeneratorFunction%":ra,"%Int8Array%":typeof Int8Array>"u"?_e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?_e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?_e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ta&&dt?dt(dt([][Symbol.iterator]())):_e,"%JSON%":typeof JSON=="object"?JSON:_e,"%Map%":typeof Map>"u"?_e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ta||!dt?_e:dt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?_e:Promise,"%Proxy%":typeof Proxy>"u"?_e:Proxy,"%RangeError%":uq,"%ReferenceError%":oq,"%Reflect%":typeof Reflect>"u"?_e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?_e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ta||!dt?_e:dt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?_e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ta&&dt?dt(""[Symbol.iterator]()):_e,"%Symbol%":ta?Symbol:_e,"%SyntaxError%":aa,"%ThrowTypeError%":lq,"%TypedArray%":fq,"%TypeError%":na,"%Uint8Array%":typeof Uint8Array>"u"?_e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?_e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?_e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?_e:Uint32Array,"%URIError%":sq,"%WeakMap%":typeof WeakMap>"u"?_e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?_e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?_e:WeakSet};if(dt)try{null.error}catch(e){gb=dt(dt(e)),vn["%Error.prototype%"]=gb}var gb,pq=function e(t){var n;if(t==="%AsyncFunction%")n=yc("async function () {}");else if(t==="%GeneratorFunction%")n=yc("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=yc("async function* () {}");else if(t==="%AsyncGenerator%"){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if(t==="%AsyncIteratorPrototype%"){var u=e("%AsyncGenerator%");u&&dt&&(n=dt(u.prototype))}return vn[t]=n,n},mb={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ai=Mu(),qu=hb(),dq=ai.call(Function.call,Array.prototype.concat),hq=ai.call(Function.apply,Array.prototype.splice),yb=ai.call(Function.call,String.prototype.replace),ju=ai.call(Function.call,String.prototype.slice),gq=ai.call(Function.call,RegExp.prototype.exec),mq=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,yq=/\\(\\)?/g,vq=function(t){var n=ju(t,0,1),i=ju(t,-1);if(n==="%"&&i!=="%")throw new aa("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new aa("invalid intrinsic syntax, expected opening `%`");var u=[];return yb(t,mq,function(s,l,c,p){u[u.length]=c?yb(p,yq,"$1"):l||s}),u},bq=function(t,n){var i=t,u;if(qu(mb,i)&&(u=mb[i],i="%"+u[0]+"%"),qu(vn,i)){var s=vn[i];if(s===ra&&(s=pq(i)),typeof s>"u"&&!n)throw new na("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:u,name:i,value:s}}throw new aa("intrinsic "+t+" does not exist!")};bb.exports=function(t,n){if(typeof t!="string"||t.length===0)throw new na("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new na('"allowMissing" argument must be a boolean');if(gq(/^%?[^%]*%?$/,t)===null)throw new aa("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=vq(t),u=i.length>0?i[0]:"",s=bq("%"+u+"%",n),l=s.name,c=s.value,p=!1,y=s.alias;y&&(u=y[0],hq(i,dq([0,1],y)));for(var D=1,F=!0;D=i.length){var x=yn(c,b);F=!!x,F&&"get"in x&&!("originalValue"in x.get)?c=x.get:c=c[b]}else F=qu(c,b),c=c[b];F&&!p&&(vn[l]=c)}}return c}});var Uu=R((Age,Ab)=>{"use strict";h();g();m();var Aq=bn(),$u=Aq("%Object.defineProperty%",!0)||!1;if($u)try{$u({},"a",{value:1})}catch{$u=!1}Ab.exports=$u});var bc=R((xge,Eb)=>{"use strict";h();g();m();var Eq=bn(),Hu=Eq("%Object.getOwnPropertyDescriptor%",!0);if(Hu)try{Hu([],"length")}catch{Hu=null}Eb.exports=Hu});var Sb=R((_ge,xb)=>{"use strict";h();g();m();var Db=Uu(),Dq=gc(),ia=ea(),Cb=bc();xb.exports=function(t,n,i){if(!t||typeof t!="object"&&typeof t!="function")throw new ia("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new ia("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ia("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ia("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ia("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ia("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,p=!!Cb&&Cb(t,n);if(Db)Db(t,n,{configurable:l===null&&p?p.configurable:!l,enumerable:u===null&&p?p.enumerable:!u,value:i,writable:s===null&&p?p.writable:!s});else if(c||!u&&!s&&!l)t[n]=i;else throw new Dq("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var _b=R((Oge,Fb)=>{"use strict";h();g();m();var Ac=Uu(),wb=function(){return!!Ac};wb.hasArrayLengthDefineBug=function(){if(!Ac)return null;try{return Ac([],"length",{value:1}).length!==1}catch{return!0}};Fb.exports=wb});var Rb=R((Nge,Ob)=>{"use strict";h();g();m();var Cq=bn(),Bb=Sb(),xq=_b()(),Tb=bc(),Ib=ea(),Sq=Cq("%Math.floor%");Ob.exports=function(t,n){if(typeof t!="function")throw new Ib("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||Sq(n)!==n)throw new Ib("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],u=!0,s=!0;if("length"in t&&Tb){var l=Tb(t,"length");l&&!l.configurable&&(u=!1),l&&!l.writable&&(s=!1)}return(u||s||!i)&&(xq?Bb(t,"length",n,!0,!0):Bb(t,"length",n)),t}});var qb=R((jge,zu)=>{"use strict";h();g();m();var Ec=Mu(),Wu=bn(),wq=Rb(),Fq=ea(),Nb=Wu("%Function.prototype.apply%"),Lb=Wu("%Function.prototype.call%"),Mb=Wu("%Reflect.apply%",!0)||Ec.call(Lb,Nb),Pb=Uu(),_q=Wu("%Math.max%");zu.exports=function(t){if(typeof t!="function")throw new Fq("a function is required");var n=Mb(Ec,Lb,arguments);return wq(n,1+_q(0,t.length-(arguments.length-1)),!0)};var kb=function(){return Mb(Ec,Nb,arguments)};Pb?Pb(zu.exports,"apply",{value:kb}):zu.exports.apply=kb});var Hb=R((zge,Ub)=>{"use strict";h();g();m();var jb=bn(),$b=qb(),Bq=$b(jb("String.prototype.indexOf"));Ub.exports=function(t,n){var i=jb(t,!!n);return typeof i=="function"&&Bq(t,".prototype.")>-1?$b(i):i}});var zb=R(()=>{h();g();m()});var cA=R((Qge,lA)=>{h();g();m();var Ic=typeof Map=="function"&&Map.prototype,Dc=Object.getOwnPropertyDescriptor&&Ic?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Vu=Ic&&Dc&&typeof Dc.get=="function"?Dc.get:null,Wb=Ic&&Map.prototype.forEach,Oc=typeof Set=="function"&&Set.prototype,Cc=Object.getOwnPropertyDescriptor&&Oc?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ku=Oc&&Cc&&typeof Cc.get=="function"?Cc.get:null,Gb=Oc&&Set.prototype.forEach,Tq=typeof WeakMap=="function"&&WeakMap.prototype,ui=Tq?WeakMap.prototype.has:null,Iq=typeof WeakSet=="function"&&WeakSet.prototype,oi=Iq?WeakSet.prototype.has:null,Oq=typeof WeakRef=="function"&&WeakRef.prototype,Vb=Oq?WeakRef.prototype.deref:null,Rq=Boolean.prototype.valueOf,Pq=Object.prototype.toString,kq=Function.prototype.toString,Nq=String.prototype.match,Rc=String.prototype.slice,Kr=String.prototype.replace,Lq=String.prototype.toUpperCase,Kb=String.prototype.toLowerCase,nA=RegExp.prototype.test,Yb=Array.prototype.concat,pr=Array.prototype.join,Mq=Array.prototype.slice,Xb=Math.floor,wc=typeof BigInt=="function"?BigInt.prototype.valueOf:null,xc=Object.getOwnPropertySymbols,Fc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ua=typeof Symbol=="function"&&typeof Symbol.iterator=="object",bt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ua||!0)?Symbol.toStringTag:null,aA=Object.prototype.propertyIsEnumerable,Jb=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Zb(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||nA.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var i=e<0?-Xb(-e):Xb(e);if(i!==e){var u=String(i),s=Rc.call(t,u.length+1);return Kr.call(u,n,"$&_")+"."+Kr.call(Kr.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Kr.call(t,n,"$&_")}var _c=zb(),Qb=_c.custom,eA=uA(Qb)?Qb:null;lA.exports=function e(t,n,i,u){var s=n||{};if(Vr(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Vr(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=Vr(s,"customInspect")?s.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Vr(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Vr(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return sA(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var p=String(t);return c?Zb(t,p):p}if(typeof t=="bigint"){var y=String(t)+"n";return c?Zb(t,y):y}var D=typeof s.depth>"u"?5:s.depth;if(typeof i>"u"&&(i=0),i>=D&&D>0&&typeof t=="object")return Bc(t)?"[Array]":"[Object]";var F=rj(s,i);if(typeof u>"u")u=[];else if(oA(u,t)>=0)return"[Circular]";function b(he,z,j){if(z&&(u=Mq.call(u),u.push(z)),j){var Z={depth:s.depth};return Vr(s,"quoteStyle")&&(Z.quoteStyle=s.quoteStyle),e(he,Z,i+1,u)}return e(he,s,i+1,u)}if(typeof t=="function"&&!tA(t)){var A=Vq(t),w=Gu(t,b);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(w.length>0?" { "+pr.call(w,", ")+" }":"")}if(uA(t)){var x=ua?Kr.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Fc.call(t);return typeof t=="object"&&!ua?ii(x):x}if(Qq(t)){for(var I="<"+Kb.call(String(t.nodeName)),L=t.attributes||[],k=0;k",I}if(Bc(t)){if(t.length===0)return"[]";var M=Gu(t,b);return F&&!tj(M)?"["+Tc(M,F)+"]":"[ "+pr.call(M,", ")+" ]"}if($q(t)){var Y=Gu(t,b);return!("cause"in Error.prototype)&&"cause"in t&&!aA.call(t,"cause")?"{ ["+String(t)+"] "+pr.call(Yb.call("[cause]: "+b(t.cause),Y),", ")+" }":Y.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+pr.call(Y,", ")+" }"}if(typeof t=="object"&&l){if(eA&&typeof t[eA]=="function"&&_c)return _c(t,{depth:D-i});if(l!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Kq(t)){var P=[];return Wb&&Wb.call(t,function(he,z){P.push(b(z,t,!0)+" => "+b(he,t))}),rA("Map",Vu.call(t),P,F)}if(Jq(t)){var K=[];return Gb&&Gb.call(t,function(he){K.push(b(he,t))}),rA("Set",Ku.call(t),K,F)}if(Yq(t))return Sc("WeakMap");if(Zq(t))return Sc("WeakSet");if(Xq(t))return Sc("WeakRef");if(Hq(t))return ii(b(Number(t)));if(Wq(t))return ii(b(wc.call(t)));if(zq(t))return ii(Rq.call(t));if(Uq(t))return ii(b(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===window)return"{ [object globalThis] }";if(!jq(t)&&!tA(t)){var G=Gu(t,b),ie=Jb?Jb(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",ae=!ie&&bt&&Object(t)===t&&bt in t?Rc.call(Yr(t),8,-1):de?"Object":"",Le=ie||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Ae=Le+(ae||de?"["+pr.call(Yb.call([],ae||[],de||[]),": ")+"] ":"");return G.length===0?Ae+"{}":F?Ae+"{"+Tc(G,F)+"}":Ae+"{ "+pr.call(G,", ")+" }"}return String(t)};function iA(e,t,n){var i=(n.quoteStyle||t)==="double"?'"':"'";return i+e+i}function qq(e){return Kr.call(String(e),/"/g,""")}function Bc(e){return Yr(e)==="[object Array]"&&(!bt||!(typeof e=="object"&&bt in e))}function jq(e){return Yr(e)==="[object Date]"&&(!bt||!(typeof e=="object"&&bt in e))}function tA(e){return Yr(e)==="[object RegExp]"&&(!bt||!(typeof e=="object"&&bt in e))}function $q(e){return Yr(e)==="[object Error]"&&(!bt||!(typeof e=="object"&&bt in e))}function Uq(e){return Yr(e)==="[object String]"&&(!bt||!(typeof e=="object"&&bt in e))}function Hq(e){return Yr(e)==="[object Number]"&&(!bt||!(typeof e=="object"&&bt in e))}function zq(e){return Yr(e)==="[object Boolean]"&&(!bt||!(typeof e=="object"&&bt in e))}function uA(e){if(ua)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Fc)return!1;try{return Fc.call(e),!0}catch{}return!1}function Wq(e){if(!e||typeof e!="object"||!wc)return!1;try{return wc.call(e),!0}catch{}return!1}var Gq=Object.prototype.hasOwnProperty||function(e){return e in this};function Vr(e,t){return Gq.call(e,t)}function Yr(e){return Pq.call(e)}function Vq(e){if(e.name)return e.name;var t=Nq.call(kq.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function oA(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return sA(Rc.call(e,0,t.maxStringLength),t)+i}var u=Kr.call(Kr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ej);return iA(u,"single",t)}function ej(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+Lq.call(t.toString(16))}function ii(e){return"Object("+e+")"}function Sc(e){return e+" { ? }"}function rA(e,t,n,i){var u=i?Tc(n,i):pr.call(n,", ");return e+" ("+t+") {"+u+"}"}function tj(e){for(var t=0;t=0)return!1;return!0}function rj(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=pr.call(Array(e.indent+1)," ");else return null;return{base:n,prev:pr.call(Array(t+1),n)}}function Tc(e,t){if(e.length===0)return"";var n=` +`+t.prev+t.base;return n+pr.call(e,","+n)+` +`+t.prev}function Gu(e,t){var n=Bc(e),i=[];if(n){i.length=e.length;for(var u=0;u{"use strict";h();g();m();var fA=bn(),oa=Hb(),nj=cA(),aj=ea(),Yu=fA("%WeakMap%",!0),Xu=fA("%Map%",!0),ij=oa("WeakMap.prototype.get",!0),uj=oa("WeakMap.prototype.set",!0),oj=oa("WeakMap.prototype.has",!0),sj=oa("Map.prototype.get",!0),lj=oa("Map.prototype.set",!0),cj=oa("Map.prototype.has",!0),Pc=function(e,t){for(var n=e,i;(i=n.next)!==null;n=i)if(i.key===t)return n.next=i.next,i.next=e.next,e.next=i,i},fj=function(e,t){var n=Pc(e,t);return n&&n.value},pj=function(e,t,n){var i=Pc(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},dj=function(e,t){return!!Pc(e,t)};pA.exports=function(){var t,n,i,u={assert:function(s){if(!u.has(s))throw new aj("Side channel does not contain "+nj(s))},get:function(s){if(Yu&&s&&(typeof s=="object"||typeof s=="function")){if(t)return ij(t,s)}else if(Xu){if(n)return sj(n,s)}else if(i)return fj(i,s)},has:function(s){if(Yu&&s&&(typeof s=="object"||typeof s=="function")){if(t)return oj(t,s)}else if(Xu){if(n)return cj(n,s)}else if(i)return dj(i,s);return!1},set:function(s,l){Yu&&s&&(typeof s=="object"||typeof s=="function")?(t||(t=new Yu),uj(t,s,l)):Xu?(n||(n=new Xu),lj(n,s,l)):(i||(i={key:{},next:null}),pj(i,s,l))}};return u}});var Ju=R((ome,hA)=>{"use strict";h();g();m();var hj=String.prototype.replace,gj=/%20/g,kc={RFC1738:"RFC1738",RFC3986:"RFC3986"};hA.exports={default:kc.RFC3986,formatters:{RFC1738:function(e){return hj.call(e,gj,"+")},RFC3986:function(e){return String(e)}},RFC1738:kc.RFC1738,RFC3986:kc.RFC3986}});var Lc=R((fme,mA)=>{"use strict";h();g();m();var mj=Ju(),Nc=Object.prototype.hasOwnProperty,An=Array.isArray,dr=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),yj=function(t){for(;t.length>1;){var n=t.pop(),i=n.obj[n.prop];if(An(i)){for(var u=[],s=0;s=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||s===mj.RFC1738&&(y===40||y===41)){c+=l.charAt(p);continue}if(y<128){c=c+dr[y];continue}if(y<2048){c=c+(dr[192|y>>6]+dr[128|y&63]);continue}if(y<55296||y>=57344){c=c+(dr[224|y>>12]+dr[128|y>>6&63]+dr[128|y&63]);continue}p+=1,y=65536+((y&1023)<<10|l.charCodeAt(p)&1023),c+=dr[240|y>>18]+dr[128|y>>12&63]+dr[128|y>>6&63]+dr[128|y&63]}return c},Dj=function(t){for(var n=[{obj:{o:t},prop:"o"}],i=[],u=0;u{"use strict";h();g();m();var vA=dA(),Zu=Lc(),si=Ju(),Fj=Object.prototype.hasOwnProperty,bA={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},hr=Array.isArray,_j=Array.prototype.push,AA=function(e,t){_j.apply(e,hr(t)?t:[t])},Bj=Date.prototype.toISOString,yA=si.default,ut={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Zu.encode,encodeValuesOnly:!1,format:yA,formatter:si.formatters[yA],indices:!1,serializeDate:function(t){return Bj.call(t)},skipNulls:!1,strictNullHandling:!1},Tj=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Mc={},Ij=function e(t,n,i,u,s,l,c,p,y,D,F,b,A,w,x,I,L,k){for(var M=t,Y=k,P=0,K=!1;(Y=Y.get(Mc))!==void 0&&!K;){var G=Y.get(t);if(P+=1,typeof G<"u"){if(G===P)throw new RangeError("Cyclic object value");K=!0}typeof Y.get(Mc)>"u"&&(P=0)}if(typeof D=="function"?M=D(n,M):M instanceof Date?M=A(M):i==="comma"&&hr(M)&&(M=Zu.maybeMap(M,function(Be){return Be instanceof Date?A(Be):Be})),M===null){if(l)return y&&!I?y(n,ut.encoder,L,"key",w):n;M=""}if(Tj(M)||Zu.isBuffer(M)){if(y){var ie=I?n:y(n,ut.encoder,L,"key",w);return[x(ie)+"="+x(y(M,ut.encoder,L,"value",w))]}return[x(n)+"="+x(String(M))]}var de=[];if(typeof M>"u")return de;var ae;if(i==="comma"&&hr(M))I&&y&&(M=Zu.maybeMap(M,y)),ae=[{value:M.length>0?M.join(",")||null:void 0}];else if(hr(D))ae=D;else{var Le=Object.keys(M);ae=F?Le.sort(F):Le}var Ae=p?n.replace(/\./g,"%2E"):n,he=u&&hr(M)&&M.length===1?Ae+"[]":Ae;if(s&&hr(M)&&M.length===0)return he+"[]";for(var z=0;z"u"?t.encodeDotInKeys===!0?!0:ut.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:ut.addQueryPrefix,allowDots:c,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:ut.allowEmptyArrays,arrayFormat:l,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:ut.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?ut.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:ut.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:ut.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:ut.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:ut.encodeValuesOnly,filter:s,format:i,formatter:u,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:ut.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:ut.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:ut.strictNullHandling}};EA.exports=function(e,t){var n=e,i=Oj(t),u,s;typeof i.filter=="function"?(s=i.filter,n=s("",n)):hr(i.filter)&&(s=i.filter,u=s);var l=[];if(typeof n!="object"||n===null)return"";var c=bA[i.arrayFormat],p=c==="comma"&&i.commaRoundTrip;u||(u=Object.keys(n)),i.sort&&u.sort(i.sort);for(var y=vA(),D=0;D0?A+b:""}});var SA=R((bme,xA)=>{"use strict";h();g();m();var sa=Lc(),qc=Object.prototype.hasOwnProperty,Rj=Array.isArray,tt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:sa.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Pj=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},CA=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},kj="utf8=%26%2310003%3B",Nj="utf8=%E2%9C%93",Lj=function(t,n){var i={__proto__:null},u=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,s=n.parameterLimit===1/0?void 0:n.parameterLimit,l=u.split(n.delimiter,s),c=-1,p,y=n.charset;if(n.charsetSentinel)for(p=0;p-1&&(w=Rj(w)?[w]:w);var x=qc.call(i,A);x&&n.duplicates==="combine"?i[A]=sa.combine(i[A],w):(!x||n.duplicates==="last")&&(i[A]=w)}return i},Mj=function(e,t,n,i){for(var u=i?t:CA(t,n),s=e.length-1;s>=0;--s){var l,c=e[s];if(c==="[]"&&n.parseArrays)l=n.allowEmptyArrays&&u===""?[]:[].concat(u);else{l=n.plainObjects?Object.create(null):{};var p=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,y=n.decodeDotInKeys?p.replace(/%2E/g,"."):p,D=parseInt(y,10);!n.parseArrays&&y===""?l={0:u}:!isNaN(D)&&c!==y&&String(D)===y&&D>=0&&n.parseArrays&&D<=n.arrayLimit?(l=[],l[D]=u):y!=="__proto__"&&(l[y]=u)}u=l}return u},qj=function(t,n,i,u){if(t){var s=i.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,l=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,p=i.depth>0&&l.exec(s),y=p?s.slice(0,p.index):s,D=[];if(y){if(!i.plainObjects&&qc.call(Object.prototype,y)&&!i.allowPrototypes)return;D.push(y)}for(var F=0;i.depth>0&&(p=c.exec(s))!==null&&F"u"?tt.charset:t.charset,i=typeof t.duplicates>"u"?tt.duplicates:t.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var u=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:tt.allowDots:!!t.allowDots;return{allowDots:u,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:tt.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:tt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:tt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:tt.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:tt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:tt.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:tt.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:tt.decoder,delimiter:typeof t.delimiter=="string"||sa.isRegExp(t.delimiter)?t.delimiter:tt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:tt.depth,duplicates:i,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:tt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:tt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:tt.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:tt.strictNullHandling}};xA.exports=function(e,t){var n=jj(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var i=typeof e=="string"?Lj(e,n):e,u=n.plainObjects?Object.create(null):{},s=Object.keys(i),l=0;l{"use strict";h();g();m();var $j=DA(),Uj=SA(),Hj=Ju();wA.exports={formats:Hj,parse:Uj,stringify:$j}});var qA=R((la,ci)=>{h();g();m();(function(){var e,t="4.17.21",n=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",c=500,p="__lodash_placeholder__",y=1,D=2,F=4,b=1,A=2,w=1,x=2,I=4,L=8,k=16,M=32,Y=64,P=128,K=256,G=512,ie=30,de="...",ae=800,Le=16,Ae=1,he=2,z=3,j=1/0,Z=9007199254740991,oe=17976931348623157e292,ge=NaN,ce=4294967295,Be=ce-1,je=ce>>>1,Dt=[["ary",P],["bind",w],["bindKey",x],["curry",L],["curryRight",k],["flip",G],["partial",M],["partialRight",Y],["rearg",K]],rt="[object Arguments]",me="[object Array]",Rt="[object AsyncFunction]",$="[object Boolean]",W="[object Date]",X="[object DOMException]",H="[object Error]",ne="[object Function]",ue="[object GeneratorFunction]",Te="[object Map]",Ie="[object Number]",ke="[object Null]",$e="[object Object]",Jr="[object Promise]",vi="[object Proxy]",Zr="[object RegExp]",Pt="[object Set]",va="[object String]",bi="[object Symbol]",uC="[object Undefined]",ba="[object WeakMap]",oC="[object WeakSet]",Aa="[object ArrayBuffer]",Cn="[object DataView]",vo="[object Float32Array]",bo="[object Float64Array]",Ao="[object Int8Array]",Eo="[object Int16Array]",Do="[object Int32Array]",Co="[object Uint8Array]",xo="[object Uint8ClampedArray]",So="[object Uint16Array]",wo="[object Uint32Array]",sC=/\b__p \+= '';/g,lC=/\b(__p \+=) '' \+/g,cC=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vf=/&(?:amp|lt|gt|quot|#39);/g,bf=/[&<>"']/g,fC=RegExp(vf.source),pC=RegExp(bf.source),dC=/<%-([\s\S]+?)%>/g,hC=/<%([\s\S]+?)%>/g,Af=/<%=([\s\S]+?)%>/g,gC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mC=/^\w*$/,yC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fo=/[\\^$.*+?()[\]{}|]/g,vC=RegExp(Fo.source),_o=/^\s+/,bC=/\s/,AC=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,EC=/\{\n\/\* \[wrapped with (.+)\] \*/,DC=/,? & /,CC=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xC=/[()=,{}\[\]\/\s]/,SC=/\\(\\)?/g,wC=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ef=/\w*$/,FC=/^[-+]0x[0-9a-f]+$/i,_C=/^0b[01]+$/i,BC=/^\[object .+?Constructor\]$/,TC=/^0o[0-7]+$/i,IC=/^(?:0|[1-9]\d*)$/,OC=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ai=/($^)/,RC=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",PC="\\u0300-\\u036f",kC="\\ufe20-\\ufe2f",NC="\\u20d0-\\u20ff",Df=PC+kC+NC,Cf="\\u2700-\\u27bf",xf="a-z\\xdf-\\xf6\\xf8-\\xff",LC="\\xac\\xb1\\xd7\\xf7",MC="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qC="\\u2000-\\u206f",jC=" \\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",Sf="A-Z\\xc0-\\xd6\\xd8-\\xde",wf="\\ufe0e\\ufe0f",Ff=LC+MC+qC+jC,Bo="['\u2019]",$C="["+Ei+"]",_f="["+Ff+"]",Di="["+Df+"]",Bf="\\d+",UC="["+Cf+"]",Tf="["+xf+"]",If="[^"+Ei+Ff+Bf+Cf+xf+Sf+"]",To="\\ud83c[\\udffb-\\udfff]",HC="(?:"+Di+"|"+To+")",Of="[^"+Ei+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",Oo="[\\ud800-\\udbff][\\udc00-\\udfff]",xn="["+Sf+"]",Rf="\\u200d",Pf="(?:"+Tf+"|"+If+")",zC="(?:"+xn+"|"+If+")",kf="(?:"+Bo+"(?:d|ll|m|re|s|t|ve))?",Nf="(?:"+Bo+"(?:D|LL|M|RE|S|T|VE))?",Lf=HC+"?",Mf="["+wf+"]?",WC="(?:"+Rf+"(?:"+[Of,Io,Oo].join("|")+")"+Mf+Lf+")*",GC="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",VC="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qf=Mf+Lf+WC,KC="(?:"+[UC,Io,Oo].join("|")+")"+qf,YC="(?:"+[Of+Di+"?",Di,Io,Oo,$C].join("|")+")",XC=RegExp(Bo,"g"),JC=RegExp(Di,"g"),Ro=RegExp(To+"(?="+To+")|"+YC+qf,"g"),ZC=RegExp([xn+"?"+Tf+"+"+kf+"(?="+[_f,xn,"$"].join("|")+")",zC+"+"+Nf+"(?="+[_f,xn+Pf,"$"].join("|")+")",xn+"?"+Pf+"+"+kf,xn+"+"+Nf,VC,GC,Bf,KC].join("|"),"g"),QC=RegExp("["+Rf+Ei+Df+wf+"]"),ex=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tx=["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"],rx=-1,Ge={};Ge[vo]=Ge[bo]=Ge[Ao]=Ge[Eo]=Ge[Do]=Ge[Co]=Ge[xo]=Ge[So]=Ge[wo]=!0,Ge[rt]=Ge[me]=Ge[Aa]=Ge[$]=Ge[Cn]=Ge[W]=Ge[H]=Ge[ne]=Ge[Te]=Ge[Ie]=Ge[$e]=Ge[Zr]=Ge[Pt]=Ge[va]=Ge[ba]=!1;var He={};He[rt]=He[me]=He[Aa]=He[Cn]=He[$]=He[W]=He[vo]=He[bo]=He[Ao]=He[Eo]=He[Do]=He[Te]=He[Ie]=He[$e]=He[Zr]=He[Pt]=He[va]=He[bi]=He[Co]=He[xo]=He[So]=He[wo]=!0,He[H]=He[ne]=He[ba]=!1;var nx={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"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"},ax={"&":"&","<":"<",">":">",'"':""","'":"'"},ix={"&":"&","<":"<",">":">",""":'"',"'":"'"},ux={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ox=parseFloat,sx=parseInt,jf=typeof window=="object"&&window&&window.Object===Object&&window,lx=typeof self=="object"&&self&&self.Object===Object&&self,lt=jf||lx||Function("return this")(),Po=typeof la=="object"&&la&&!la.nodeType&&la,Qr=Po&&typeof ci=="object"&&ci&&!ci.nodeType&&ci,$f=Qr&&Qr.exports===Po,ko=$f&&jf.process,zt=function(){try{var q=Qr&&Qr.require&&Qr.require("util").types;return q||ko&&ko.binding&&ko.binding("util")}catch{}}(),Uf=zt&&zt.isArrayBuffer,Hf=zt&&zt.isDate,zf=zt&&zt.isMap,Wf=zt&&zt.isRegExp,Gf=zt&&zt.isSet,Vf=zt&&zt.isTypedArray;function kt(q,J,V){switch(V.length){case 0:return q.call(J);case 1:return q.call(J,V[0]);case 2:return q.call(J,V[0],V[1]);case 3:return q.call(J,V[0],V[1],V[2])}return q.apply(J,V)}function cx(q,J,V,le){for(var Ee=-1,Pe=q==null?0:q.length;++Ee-1}function No(q,J,V){for(var le=-1,Ee=q==null?0:q.length;++le-1;);return V}function tp(q,J){for(var V=q.length;V--&&Sn(J,q[V],0)>-1;);return V}function bx(q,J){for(var V=q.length,le=0;V--;)q[V]===J&&++le;return le}var Ax=jo(nx),Ex=jo(ax);function Dx(q){return"\\"+ux[q]}function Cx(q,J){return q==null?e:q[J]}function wn(q){return QC.test(q)}function xx(q){return ex.test(q)}function Sx(q){for(var J,V=[];!(J=q.next()).done;)V.push(J.value);return V}function zo(q){var J=-1,V=Array(q.size);return q.forEach(function(le,Ee){V[++J]=[Ee,le]}),V}function rp(q,J){return function(V){return q(J(V))}}function Ir(q,J){for(var V=-1,le=q.length,Ee=0,Pe=[];++V-1}function pS(r,a){var o=this.__data__,d=ji(o,r);return d<0?(++this.size,o.push([r,a])):o[d][1]=a,this}mr.prototype.clear=sS,mr.prototype.delete=lS,mr.prototype.get=cS,mr.prototype.has=fS,mr.prototype.set=pS;function yr(r){var a=-1,o=r==null?0:r.length;for(this.clear();++a=a?r:a)),r}function Kt(r,a,o,d,v,S){var O,N=a&y,U=a&D,Q=a&F;if(o&&(O=v?o(r,d,v,S):o(r)),O!==e)return O;if(!Ye(r))return r;var ee=De(r);if(ee){if(O=mw(r),!N)return Ft(r,O)}else{var re=yt(r),se=re==ne||re==ue;if(Mr(r))return Mp(r,N);if(re==$e||re==rt||se&&!v){if(O=U||se?{}:nd(r),!N)return U?iw(r,_S(O,r)):aw(r,hp(O,r))}else{if(!He[re])return v?r:{};O=yw(r,re,N)}}S||(S=new er);var pe=S.get(r);if(pe)return pe;S.set(r,O),Od(r)?r.forEach(function(be){O.add(Kt(be,a,o,be,r,S))}):Td(r)&&r.forEach(function(be,we){O.set(we,Kt(be,a,o,we,r,S))});var ve=Q?U?ms:gs:U?Bt:ct,xe=ee?e:ve(r);return Wt(xe||r,function(be,we){xe&&(we=be,be=r[we]),Fa(O,we,Kt(be,a,o,we,r,S))}),O}function BS(r){var a=ct(r);return function(o){return gp(o,r,a)}}function gp(r,a,o){var d=o.length;if(r==null)return!d;for(r=Ue(r);d--;){var v=o[d],S=a[v],O=r[v];if(O===e&&!(v in r)||!S(O))return!1}return!0}function mp(r,a,o){if(typeof r!="function")throw new Gt(u);return Pa(function(){r.apply(e,o)},a)}function _a(r,a,o,d){var v=-1,S=Ci,O=!0,N=r.length,U=[],Q=a.length;if(!N)return U;o&&(a=Ke(a,Nt(o))),d?(S=No,O=!1):a.length>=n&&(S=Ea,O=!1,a=new rn(a));e:for(;++vv?0:v+o),d=d===e||d>v?v:Ce(d),d<0&&(d+=v),d=o>d?0:Pd(d);o0&&o(N)?a>1?gt(N,a-1,o,d,v):Tr(v,N):d||(v[v.length]=N)}return v}var Jo=zp(),bp=zp(!0);function or(r,a){return r&&Jo(r,a,ct)}function Zo(r,a){return r&&bp(r,a,ct)}function Ui(r,a){return Br(a,function(o){return Dr(r[o])})}function an(r,a){a=Nr(a,r);for(var o=0,d=a.length;r!=null&&oa}function OS(r,a){return r!=null&&Me.call(r,a)}function RS(r,a){return r!=null&&a in Ue(r)}function PS(r,a,o){return r>=mt(a,o)&&r=120&&ee.length>=120)?new rn(O&&ee):e}ee=r[0];var re=-1,se=N[0];e:for(;++re-1;)N!==r&&Ri.call(N,U,1),Ri.call(r,U,1);return r}function Tp(r,a){for(var o=r?a.length:0,d=o-1;o--;){var v=a[o];if(o==d||v!==S){var S=v;Er(v)?Ri.call(r,v,1):ss(r,v)}}return r}function is(r,a){return r+Ni(cp()*(a-r+1))}function VS(r,a,o,d){for(var v=-1,S=at(ki((a-r)/(o||1)),0),O=V(S);S--;)O[d?S:++v]=r,r+=o;return O}function us(r,a){var o="";if(!r||a<1||a>Z)return o;do a%2&&(o+=r),a=Ni(a/2),a&&(r+=r);while(a);return o}function Se(r,a){return Cs(ud(r,a,Tt),r+"")}function KS(r){return dp(Nn(r))}function YS(r,a){var o=Nn(r);return Qi(o,nn(a,0,o.length))}function Ia(r,a,o,d){if(!Ye(r))return r;a=Nr(a,r);for(var v=-1,S=a.length,O=S-1,N=r;N!=null&&++vv?0:v+a),o=o>v?v:o,o<0&&(o+=v),v=a>o?0:o-a>>>0,a>>>=0;for(var S=V(v);++d>>1,O=r[S];O!==null&&!Mt(O)&&(o?O<=a:O=n){var Q=a?null:lw(r);if(Q)return Si(Q);O=!1,v=Ea,U=new rn}else U=a?[]:N;e:for(;++d=d?r:Yt(r,a,o)}var Lp=jx||function(r){return lt.clearTimeout(r)};function Mp(r,a){if(a)return r.slice();var o=r.length,d=ip?ip(o):new r.constructor(o);return r.copy(d),d}function ps(r){var a=new r.constructor(r.byteLength);return new Ii(a).set(new Ii(r)),a}function ew(r,a){var o=a?ps(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.byteLength)}function tw(r){var a=new r.constructor(r.source,Ef.exec(r));return a.lastIndex=r.lastIndex,a}function rw(r){return wa?Ue(wa.call(r)):{}}function qp(r,a){var o=a?ps(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.length)}function jp(r,a){if(r!==a){var o=r!==e,d=r===null,v=r===r,S=Mt(r),O=a!==e,N=a===null,U=a===a,Q=Mt(a);if(!N&&!Q&&!S&&r>a||S&&O&&U&&!N&&!Q||d&&O&&U||!o&&U||!v)return 1;if(!d&&!S&&!Q&&r=N)return U;var Q=o[d];return U*(Q=="desc"?-1:1)}}return r.index-a.index}function $p(r,a,o,d){for(var v=-1,S=r.length,O=o.length,N=-1,U=a.length,Q=at(S-O,0),ee=V(U+Q),re=!d;++N1?o[v-1]:e,O=v>2?o[2]:e;for(S=r.length>3&&typeof S=="function"?(v--,S):e,O&&xt(o[0],o[1],O)&&(S=v<3?e:S,v=1),a=Ue(a);++d-1?v[S?a[O]:O]:e}}function Vp(r){return Ar(function(a){var o=a.length,d=o,v=Vt.prototype.thru;for(r&&a.reverse();d--;){var S=a[d];if(typeof S!="function")throw new Gt(u);if(v&&!O&&Ji(S)=="wrapper")var O=new Vt([],!0)}for(d=O?d:o;++d1&&Oe.reverse(),ee&&UN))return!1;var Q=S.get(r),ee=S.get(a);if(Q&&ee)return Q==a&&ee==r;var re=-1,se=!0,pe=o&A?new rn:e;for(S.set(r,a),S.set(a,r);++re1?"& ":"")+a[d],a=a.join(o>2?", ":" "),r.replace(AC,`{ +/* [wrapped with `+a+`] */ +`)}function bw(r){return De(r)||sn(r)||!!(sp&&r&&r[sp])}function Er(r,a){var o=typeof r;return a=a??Z,!!a&&(o=="number"||o!="symbol"&&IC.test(r))&&r>-1&&r%1==0&&r0){if(++a>=ae)return arguments[0]}else a=0;return r.apply(e,arguments)}}function Qi(r,a){var o=-1,d=r.length,v=d-1;for(a=a===e?d:a;++o1?r[a-1]:e;return o=typeof o=="function"?(r.pop(),o):e,vd(r,o)});function bd(r){var a=C(r);return a.__chain__=!0,a}function TF(r,a){return a(r),r}function eu(r,a){return a(r)}var IF=Ar(function(r){var a=r.length,o=a?r[0]:0,d=this.__wrapped__,v=function(S){return Xo(S,r)};return a>1||this.__actions__.length||!(d instanceof Fe)||!Er(o)?this.thru(v):(d=d.slice(o,+o+(a?1:0)),d.__actions__.push({func:eu,args:[v],thisArg:e}),new Vt(d,this.__chain__).thru(function(S){return a&&!S.length&&S.push(e),S}))});function OF(){return bd(this)}function RF(){return new Vt(this.value(),this.__chain__)}function PF(){this.__values__===e&&(this.__values__=Rd(this.value()));var r=this.__index__>=this.__values__.length,a=r?e:this.__values__[this.__index__++];return{done:r,value:a}}function kF(){return this}function NF(r){for(var a,o=this;o instanceof qi;){var d=pd(o);d.__index__=0,d.__values__=e,a?v.__wrapped__=d:a=d;var v=d;o=o.__wrapped__}return v.__wrapped__=r,a}function LF(){var r=this.__wrapped__;if(r instanceof Fe){var a=r;return this.__actions__.length&&(a=new Fe(this)),a=a.reverse(),a.__actions__.push({func:eu,args:[xs],thisArg:e}),new Vt(a,this.__chain__)}return this.thru(xs)}function MF(){return kp(this.__wrapped__,this.__actions__)}var qF=Gi(function(r,a,o){Me.call(r,o)?++r[o]:vr(r,o,1)});function jF(r,a,o){var d=De(r)?Kf:TS;return o&&xt(r,a,o)&&(a=e),d(r,ye(a,3))}function $F(r,a){var o=De(r)?Br:vp;return o(r,ye(a,3))}var UF=Gp(dd),HF=Gp(hd);function zF(r,a){return gt(tu(r,a),1)}function WF(r,a){return gt(tu(r,a),j)}function GF(r,a,o){return o=o===e?1:Ce(o),gt(tu(r,a),o)}function Ad(r,a){var o=De(r)?Wt:Pr;return o(r,ye(a,3))}function Ed(r,a){var o=De(r)?fx:yp;return o(r,ye(a,3))}var VF=Gi(function(r,a,o){Me.call(r,o)?r[o].push(a):vr(r,o,[a])});function KF(r,a,o,d){r=_t(r)?r:Nn(r),o=o&&!d?Ce(o):0;var v=r.length;return o<0&&(o=at(v+o,0)),uu(r)?o<=v&&r.indexOf(a,o)>-1:!!v&&Sn(r,a,o)>-1}var YF=Se(function(r,a,o){var d=-1,v=typeof a=="function",S=_t(r)?V(r.length):[];return Pr(r,function(O){S[++d]=v?kt(a,O,o):Ba(O,a,o)}),S}),XF=Gi(function(r,a,o){vr(r,o,a)});function tu(r,a){var o=De(r)?Ke:xp;return o(r,ye(a,3))}function JF(r,a,o,d){return r==null?[]:(De(a)||(a=a==null?[]:[a]),o=d?e:o,De(o)||(o=o==null?[]:[o]),_p(r,a,o))}var ZF=Gi(function(r,a,o){r[o?0:1].push(a)},function(){return[[],[]]});function QF(r,a,o){var d=De(r)?Lo:Zf,v=arguments.length<3;return d(r,ye(a,4),o,v,Pr)}function e5(r,a,o){var d=De(r)?px:Zf,v=arguments.length<3;return d(r,ye(a,4),o,v,yp)}function t5(r,a){var o=De(r)?Br:vp;return o(r,au(ye(a,3)))}function r5(r){var a=De(r)?dp:KS;return a(r)}function n5(r,a,o){(o?xt(r,a,o):a===e)?a=1:a=Ce(a);var d=De(r)?SS:YS;return d(r,a)}function a5(r){var a=De(r)?wS:JS;return a(r)}function i5(r){if(r==null)return 0;if(_t(r))return uu(r)?Fn(r):r.length;var a=yt(r);return a==Te||a==Pt?r.size:rs(r).length}function u5(r,a,o){var d=De(r)?Mo:ZS;return o&&xt(r,a,o)&&(a=e),d(r,ye(a,3))}var o5=Se(function(r,a){if(r==null)return[];var o=a.length;return o>1&&xt(r,a[0],a[1])?a=[]:o>2&&xt(a[0],a[1],a[2])&&(a=[a[0]]),_p(r,gt(a,1),[])}),ru=$x||function(){return lt.Date.now()};function s5(r,a){if(typeof a!="function")throw new Gt(u);return r=Ce(r),function(){if(--r<1)return a.apply(this,arguments)}}function Dd(r,a,o){return a=o?e:a,a=r&&a==null?r.length:a,br(r,P,e,e,e,e,a)}function Cd(r,a){var o;if(typeof a!="function")throw new Gt(u);return r=Ce(r),function(){return--r>0&&(o=a.apply(this,arguments)),r<=1&&(a=e),o}}var ws=Se(function(r,a,o){var d=w;if(o.length){var v=Ir(o,Pn(ws));d|=M}return br(r,d,a,o,v)}),xd=Se(function(r,a,o){var d=w|x;if(o.length){var v=Ir(o,Pn(xd));d|=M}return br(a,d,r,o,v)});function Sd(r,a,o){a=o?e:a;var d=br(r,L,e,e,e,e,e,a);return d.placeholder=Sd.placeholder,d}function wd(r,a,o){a=o?e:a;var d=br(r,k,e,e,e,e,e,a);return d.placeholder=wd.placeholder,d}function Fd(r,a,o){var d,v,S,O,N,U,Q=0,ee=!1,re=!1,se=!0;if(typeof r!="function")throw new Gt(u);a=Jt(a)||0,Ye(o)&&(ee=!!o.leading,re="maxWait"in o,S=re?at(Jt(o.maxWait)||0,a):S,se="trailing"in o?!!o.trailing:se);function pe(Qe){var rr=d,xr=v;return d=v=e,Q=Qe,O=r.apply(xr,rr),O}function ve(Qe){return Q=Qe,N=Pa(we,a),ee?pe(Qe):O}function xe(Qe){var rr=Qe-U,xr=Qe-Q,Gd=a-rr;return re?mt(Gd,S-xr):Gd}function be(Qe){var rr=Qe-U,xr=Qe-Q;return U===e||rr>=a||rr<0||re&&xr>=S}function we(){var Qe=ru();if(be(Qe))return Oe(Qe);N=Pa(we,xe(Qe))}function Oe(Qe){return N=e,se&&d?pe(Qe):(d=v=e,O)}function qt(){N!==e&&Lp(N),Q=0,d=U=v=N=e}function St(){return N===e?O:Oe(ru())}function jt(){var Qe=ru(),rr=be(Qe);if(d=arguments,v=this,U=Qe,rr){if(N===e)return ve(U);if(re)return Lp(N),N=Pa(we,a),pe(U)}return N===e&&(N=Pa(we,a)),O}return jt.cancel=qt,jt.flush=St,jt}var l5=Se(function(r,a){return mp(r,1,a)}),c5=Se(function(r,a,o){return mp(r,Jt(a)||0,o)});function f5(r){return br(r,G)}function nu(r,a){if(typeof r!="function"||a!=null&&typeof a!="function")throw new Gt(u);var o=function(){var d=arguments,v=a?a.apply(this,d):d[0],S=o.cache;if(S.has(v))return S.get(v);var O=r.apply(this,d);return o.cache=S.set(v,O)||S,O};return o.cache=new(nu.Cache||yr),o}nu.Cache=yr;function au(r){if(typeof r!="function")throw new Gt(u);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}function p5(r){return Cd(2,r)}var d5=QS(function(r,a){a=a.length==1&&De(a[0])?Ke(a[0],Nt(ye())):Ke(gt(a,1),Nt(ye()));var o=a.length;return Se(function(d){for(var v=-1,S=mt(d.length,o);++v=a}),sn=Ep(function(){return arguments}())?Ep:function(r){return Xe(r)&&Me.call(r,"callee")&&!op.call(r,"callee")},De=V.isArray,_5=Uf?Nt(Uf):NS;function _t(r){return r!=null&&iu(r.length)&&!Dr(r)}function Ze(r){return Xe(r)&&_t(r)}function B5(r){return r===!0||r===!1||Xe(r)&&Ct(r)==$}var Mr=Hx||Ms,T5=Hf?Nt(Hf):LS;function I5(r){return Xe(r)&&r.nodeType===1&&!ka(r)}function O5(r){if(r==null)return!0;if(_t(r)&&(De(r)||typeof r=="string"||typeof r.splice=="function"||Mr(r)||kn(r)||sn(r)))return!r.length;var a=yt(r);if(a==Te||a==Pt)return!r.size;if(Ra(r))return!rs(r).length;for(var o in r)if(Me.call(r,o))return!1;return!0}function R5(r,a){return Ta(r,a)}function P5(r,a,o){o=typeof o=="function"?o:e;var d=o?o(r,a):e;return d===e?Ta(r,a,e,o):!!d}function _s(r){if(!Xe(r))return!1;var a=Ct(r);return a==H||a==X||typeof r.message=="string"&&typeof r.name=="string"&&!ka(r)}function k5(r){return typeof r=="number"&&lp(r)}function Dr(r){if(!Ye(r))return!1;var a=Ct(r);return a==ne||a==ue||a==Rt||a==vi}function Bd(r){return typeof r=="number"&&r==Ce(r)}function iu(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Z}function Ye(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Xe(r){return r!=null&&typeof r=="object"}var Td=zf?Nt(zf):qS;function N5(r,a){return r===a||ts(r,a,vs(a))}function L5(r,a,o){return o=typeof o=="function"?o:e,ts(r,a,vs(a),o)}function M5(r){return Id(r)&&r!=+r}function q5(r){if(Dw(r))throw new Ee(i);return Dp(r)}function j5(r){return r===null}function $5(r){return r==null}function Id(r){return typeof r=="number"||Xe(r)&&Ct(r)==Ie}function ka(r){if(!Xe(r)||Ct(r)!=$e)return!1;var a=Oi(r);if(a===null)return!0;var o=Me.call(a,"constructor")&&a.constructor;return typeof o=="function"&&o instanceof o&&_i.call(o)==Lx}var Bs=Wf?Nt(Wf):jS;function U5(r){return Bd(r)&&r>=-Z&&r<=Z}var Od=Gf?Nt(Gf):$S;function uu(r){return typeof r=="string"||!De(r)&&Xe(r)&&Ct(r)==va}function Mt(r){return typeof r=="symbol"||Xe(r)&&Ct(r)==bi}var kn=Vf?Nt(Vf):US;function H5(r){return r===e}function z5(r){return Xe(r)&&yt(r)==ba}function W5(r){return Xe(r)&&Ct(r)==oC}var G5=Xi(ns),V5=Xi(function(r,a){return r<=a});function Rd(r){if(!r)return[];if(_t(r))return uu(r)?Qt(r):Ft(r);if(Da&&r[Da])return Sx(r[Da]());var a=yt(r),o=a==Te?zo:a==Pt?Si:Nn;return o(r)}function Cr(r){if(!r)return r===0?r:0;if(r=Jt(r),r===j||r===-j){var a=r<0?-1:1;return a*oe}return r===r?r:0}function Ce(r){var a=Cr(r),o=a%1;return a===a?o?a-o:a:0}function Pd(r){return r?nn(Ce(r),0,ce):0}function Jt(r){if(typeof r=="number")return r;if(Mt(r))return ge;if(Ye(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=Ye(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=Qf(r);var o=_C.test(r);return o||TC.test(r)?sx(r.slice(2),o?2:8):FC.test(r)?ge:+r}function kd(r){return sr(r,Bt(r))}function K5(r){return r?nn(Ce(r),-Z,Z):r===0?r:0}function Ne(r){return r==null?"":Lt(r)}var Y5=On(function(r,a){if(Ra(a)||_t(a)){sr(a,ct(a),r);return}for(var o in a)Me.call(a,o)&&Fa(r,o,a[o])}),Nd=On(function(r,a){sr(a,Bt(a),r)}),ou=On(function(r,a,o,d){sr(a,Bt(a),r,d)}),X5=On(function(r,a,o,d){sr(a,ct(a),r,d)}),J5=Ar(Xo);function Z5(r,a){var o=In(r);return a==null?o:hp(o,a)}var Q5=Se(function(r,a){r=Ue(r);var o=-1,d=a.length,v=d>2?a[2]:e;for(v&&xt(a[0],a[1],v)&&(d=1);++o1),S}),sr(r,ms(r),o),d&&(o=Kt(o,y|D|F,cw));for(var v=a.length;v--;)ss(o,a[v]);return o});function y3(r,a){return Md(r,au(ye(a)))}var v3=Ar(function(r,a){return r==null?{}:WS(r,a)});function Md(r,a){if(r==null)return{};var o=Ke(ms(r),function(d){return[d]});return a=ye(a),Bp(r,o,function(d,v){return a(d,v[0])})}function b3(r,a,o){a=Nr(a,r);var d=-1,v=a.length;for(v||(v=1,r=e);++da){var d=r;r=a,a=d}if(o||r%1||a%1){var v=cp();return mt(r+v*(a-r+ox("1e-"+((v+"").length-1))),a)}return is(r,a)}var T3=Rn(function(r,a,o){return a=a.toLowerCase(),r+(o?$d(a):a)});function $d(r){return Os(Ne(r).toLowerCase())}function Ud(r){return r=Ne(r),r&&r.replace(OC,Ax).replace(JC,"")}function I3(r,a,o){r=Ne(r),a=Lt(a);var d=r.length;o=o===e?d:nn(Ce(o),0,d);var v=o;return o-=a.length,o>=0&&r.slice(o,v)==a}function O3(r){return r=Ne(r),r&&pC.test(r)?r.replace(bf,Ex):r}function R3(r){return r=Ne(r),r&&vC.test(r)?r.replace(Fo,"\\$&"):r}var P3=Rn(function(r,a,o){return r+(o?"-":"")+a.toLowerCase()}),k3=Rn(function(r,a,o){return r+(o?" ":"")+a.toLowerCase()}),N3=Wp("toLowerCase");function L3(r,a,o){r=Ne(r),a=Ce(a);var d=a?Fn(r):0;if(!a||d>=a)return r;var v=(a-d)/2;return Yi(Ni(v),o)+r+Yi(ki(v),o)}function M3(r,a,o){r=Ne(r),a=Ce(a);var d=a?Fn(r):0;return a&&d>>0,o?(r=Ne(r),r&&(typeof a=="string"||a!=null&&!Bs(a))&&(a=Lt(a),!a&&wn(r))?Lr(Qt(r),0,o):r.split(a,o)):[]}var W3=Rn(function(r,a,o){return r+(o?" ":"")+Os(a)});function G3(r,a,o){return r=Ne(r),o=o==null?0:nn(Ce(o),0,r.length),a=Lt(a),r.slice(o,o+a.length)==a}function V3(r,a,o){var d=C.templateSettings;o&&xt(r,a,o)&&(a=e),r=Ne(r),a=ou({},a,d,Zp);var v=ou({},a.imports,d.imports,Zp),S=ct(v),O=Ho(v,S),N,U,Q=0,ee=a.interpolate||Ai,re="__p += '",se=Wo((a.escape||Ai).source+"|"+ee.source+"|"+(ee===Af?wC:Ai).source+"|"+(a.evaluate||Ai).source+"|$","g"),pe="//# sourceURL="+(Me.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rx+"]")+` +`;r.replace(se,function(be,we,Oe,qt,St,jt){return Oe||(Oe=qt),re+=r.slice(Q,jt).replace(RC,Dx),we&&(N=!0,re+=`' + +__e(`+we+`) + +'`),St&&(U=!0,re+=`'; +`+St+`; +__p += '`),Oe&&(re+=`' + +((__t = (`+Oe+`)) == null ? '' : __t) + +'`),Q=jt+be.length,be}),re+=`'; +`;var ve=Me.call(a,"variable")&&a.variable;if(!ve)re=`with (obj) { +`+re+` +} +`;else if(xC.test(ve))throw new Ee(s);re=(U?re.replace(sC,""):re).replace(lC,"$1").replace(cC,"$1;"),re="function("+(ve||"obj")+`) { +`+(ve?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(N?", __e = _.escape":"")+(U?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+re+`return __p +}`;var xe=zd(function(){return Pe(S,pe+"return "+re).apply(e,O)});if(xe.source=re,_s(xe))throw xe;return xe}function K3(r){return Ne(r).toLowerCase()}function Y3(r){return Ne(r).toUpperCase()}function X3(r,a,o){if(r=Ne(r),r&&(o||a===e))return Qf(r);if(!r||!(a=Lt(a)))return r;var d=Qt(r),v=Qt(a),S=ep(d,v),O=tp(d,v)+1;return Lr(d,S,O).join("")}function J3(r,a,o){if(r=Ne(r),r&&(o||a===e))return r.slice(0,np(r)+1);if(!r||!(a=Lt(a)))return r;var d=Qt(r),v=tp(d,Qt(a))+1;return Lr(d,0,v).join("")}function Z3(r,a,o){if(r=Ne(r),r&&(o||a===e))return r.replace(_o,"");if(!r||!(a=Lt(a)))return r;var d=Qt(r),v=ep(d,Qt(a));return Lr(d,v).join("")}function Q3(r,a){var o=ie,d=de;if(Ye(a)){var v="separator"in a?a.separator:v;o="length"in a?Ce(a.length):o,d="omission"in a?Lt(a.omission):d}r=Ne(r);var S=r.length;if(wn(r)){var O=Qt(r);S=O.length}if(o>=S)return r;var N=o-Fn(d);if(N<1)return d;var U=O?Lr(O,0,N).join(""):r.slice(0,N);if(v===e)return U+d;if(O&&(N+=U.length-N),Bs(v)){if(r.slice(N).search(v)){var Q,ee=U;for(v.global||(v=Wo(v.source,Ne(Ef.exec(v))+"g")),v.lastIndex=0;Q=v.exec(ee);)var re=Q.index;U=U.slice(0,re===e?N:re)}}else if(r.indexOf(Lt(v),N)!=N){var se=U.lastIndexOf(v);se>-1&&(U=U.slice(0,se))}return U+d}function e_(r){return r=Ne(r),r&&fC.test(r)?r.replace(vf,Bx):r}var t_=Rn(function(r,a,o){return r+(o?" ":"")+a.toUpperCase()}),Os=Wp("toUpperCase");function Hd(r,a,o){return r=Ne(r),a=o?e:a,a===e?xx(r)?Ox(r):gx(r):r.match(a)||[]}var zd=Se(function(r,a){try{return kt(r,e,a)}catch(o){return _s(o)?o:new Ee(o)}}),r_=Ar(function(r,a){return Wt(a,function(o){o=lr(o),vr(r,o,ws(r[o],r))}),r});function n_(r){var a=r==null?0:r.length,o=ye();return r=a?Ke(r,function(d){if(typeof d[1]!="function")throw new Gt(u);return[o(d[0]),d[1]]}):[],Se(function(d){for(var v=-1;++vZ)return[];var o=ce,d=mt(r,ce);a=ye(a),r-=ce;for(var v=Uo(d,a);++o0||a<0)?new Fe(o):(r<0?o=o.takeRight(-r):r&&(o=o.drop(r)),a!==e&&(a=Ce(a),o=a<0?o.dropRight(-a):o.take(a-r)),o)},Fe.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Fe.prototype.toArray=function(){return this.take(ce)},or(Fe.prototype,function(r,a){var o=/^(?:filter|find|map|reject)|While$/.test(a),d=/^(?:head|last)$/.test(a),v=C[d?"take"+(a=="last"?"Right":""):a],S=d||/^find/.test(a);v&&(C.prototype[a]=function(){var O=this.__wrapped__,N=d?[1]:arguments,U=O instanceof Fe,Q=N[0],ee=U||De(O),re=function(we){var Oe=v.apply(C,Tr([we],N));return d&&se?Oe[0]:Oe};ee&&o&&typeof Q=="function"&&Q.length!=1&&(U=ee=!1);var se=this.__chain__,pe=!!this.__actions__.length,ve=S&&!se,xe=U&&!pe;if(!S&&ee){O=xe?O:new Fe(this);var be=r.apply(O,N);return be.__actions__.push({func:eu,args:[re],thisArg:e}),new Vt(be,se)}return ve&&xe?r.apply(this,N):(be=this.thru(re),ve?d?be.value()[0]:be.value():be)})}),Wt(["pop","push","shift","sort","splice","unshift"],function(r){var a=wi[r],o=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);C.prototype[r]=function(){var v=arguments;if(d&&!this.__chain__){var S=this.value();return a.apply(De(S)?S:[],v)}return this[o](function(O){return a.apply(De(O)?O:[],v)})}}),or(Fe.prototype,function(r,a){var o=C[a];if(o){var d=o.name+"";Me.call(Tn,d)||(Tn[d]=[]),Tn[d].push({name:a,func:o})}}),Tn[Vi(e,x).name]=[{name:"wrapper",func:e}],Fe.prototype.clone=eS,Fe.prototype.reverse=tS,Fe.prototype.value=rS,C.prototype.at=IF,C.prototype.chain=OF,C.prototype.commit=RF,C.prototype.next=PF,C.prototype.plant=NF,C.prototype.reverse=LF,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=MF,C.prototype.first=C.prototype.head,Da&&(C.prototype[Da]=kF),C},Or=Rx();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(lt._=Or,define(function(){return Or})):Qr?((Qr.exports=Or)._=Or,Po._=Or):lt._=Or}).call(la)});var $A=R((Aye,jA)=>{h();g();m();(function(){"use strict";function e(l){if(l==null)return!1;switch(l.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(l){if(l==null)return!1;switch(l.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function n(l){if(l==null)return!1;switch(l.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(l){return n(l)||l!=null&&l.type==="FunctionDeclaration"}function u(l){switch(l.type){case"IfStatement":return l.alternate!=null?l.alternate:l.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return l.body}return null}function s(l){var c;if(l.type!=="IfStatement"||l.alternate==null)return!1;c=l.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=u(c)}while(c);return!1}jA.exports={isExpression:e,isStatement:n,isIterationStatement:t,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:u}})()});var Uc=R((xye,UA)=>{h();g();m();(function(){"use strict";var e,t,n,i,u,s;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2160-\u2188\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-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function l(I){return 48<=I&&I<=57}function c(I){return 48<=I&&I<=57||97<=I&&I<=102||65<=I&&I<=70}function p(I){return I>=48&&I<=55}n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(I){return I===32||I===9||I===11||I===12||I===160||I>=5760&&n.indexOf(I)>=0}function D(I){return I===10||I===13||I===8232||I===8233}function F(I){if(I<=65535)return String.fromCharCode(I);var L=String.fromCharCode(Math.floor((I-65536)/1024)+55296),k=String.fromCharCode((I-65536)%1024+56320);return L+k}for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function b(I){return I<128?i[I]:t.NonAsciiIdentifierStart.test(F(I))}function A(I){return I<128?u[I]:t.NonAsciiIdentifierPart.test(F(I))}function w(I){return I<128?i[I]:e.NonAsciiIdentifierStart.test(F(I))}function x(I){return I<128?u[I]:e.NonAsciiIdentifierPart.test(F(I))}UA.exports={isDecimalDigit:l,isHexDigit:c,isOctalDigit:p,isWhiteSpace:y,isLineTerminator:D,isIdentifierStartES5:b,isIdentifierPartES5:A,isIdentifierStartES6:w,isIdentifierPartES6:x}})()});var zA=R((_ye,HA)=>{h();g();m();(function(){"use strict";var e=Uc();function t(b){switch(b){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(b,A){return!A&&b==="yield"?!1:i(b,A)}function i(b,A){if(A&&t(b))return!0;switch(b.length){case 2:return b==="if"||b==="in"||b==="do";case 3:return b==="var"||b==="for"||b==="new"||b==="try";case 4:return b==="this"||b==="else"||b==="case"||b==="void"||b==="with"||b==="enum";case 5:return b==="while"||b==="break"||b==="catch"||b==="throw"||b==="const"||b==="yield"||b==="class"||b==="super";case 6:return b==="return"||b==="typeof"||b==="delete"||b==="switch"||b==="export"||b==="import";case 7:return b==="default"||b==="finally"||b==="extends";case 8:return b==="function"||b==="continue"||b==="debugger";case 10:return b==="instanceof";default:return!1}}function u(b,A){return b==="null"||b==="true"||b==="false"||n(b,A)}function s(b,A){return b==="null"||b==="true"||b==="false"||i(b,A)}function l(b){return b==="eval"||b==="arguments"}function c(b){var A,w,x;if(b.length===0||(x=b.charCodeAt(0),!e.isIdentifierStartES5(x)))return!1;for(A=1,w=b.length;A=w||(I=b.charCodeAt(A),!(56320<=I&&I<=57343)))return!1;x=p(x,I)}if(!L(x))return!1;L=e.isIdentifierPartES6}return!0}function D(b,A){return c(b)&&!u(b,A)}function F(b,A){return y(b)&&!s(b,A)}HA.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:u,isReservedWordES6:s,isRestrictedWord:l,isIdentifierNameES5:c,isIdentifierNameES6:y,isIdentifierES5:D,isIdentifierES6:F}})()});var Hc=R(to=>{h();g();m();(function(){"use strict";to.ast=$A(),to.code=Uc(),to.keyword=zA()})()});var WA=R((Nye,p$)=>{p$.exports={name:"doctrine",description:"JSDoc parser",homepage:"https://github.com/eslint/doctrine",main:"lib/doctrine.js",version:"3.0.0",engines:{node:">=6.0.0"},directories:{lib:"./lib"},files:["lib"],maintainers:[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],repository:"eslint/doctrine",devDependencies:{coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},license:"Apache-2.0",scripts:{pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},dependencies:{esutils:"^2.0.2"}}});var VA=R((Lye,GA)=>{h();g();m();function d$(e,t){if(!e)throw new Error(t||"unknown assertion error")}GA.exports=d$});var zc=R(fi=>{h();g();m();(function(){"use strict";var e;e=WA().version,fi.VERSION=e;function t(i){this.name="DoctrineError",this.message=i}t.prototype=function(){var i=function(){};return i.prototype=Error.prototype,new i}(),t.prototype.constructor=t,fi.DoctrineError=t;function n(i){throw new t(i)}fi.throwError=n,fi.assert=VA()})()});var KA=R(pi=>{h();g();m();(function(){"use strict";var e,t,n,i,u,s,l,c,p,y,D,F;p=Hc(),y=zc(),e={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},t={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function b($){return"><(){}[],:*|?!=".indexOf(String.fromCharCode($))===-1&&!p.code.isWhiteSpace($)&&!p.code.isLineTerminator($)}function A($,W,X,H){this._previous=$,this._index=W,this._token=X,this._value=H}A.prototype.restore=function(){s=this._previous,u=this._index,l=this._token,c=this._value},A.save=function(){return new A(s,u,l,c)};function w($,W){return F&&($.range=[W[0]+D,W[1]+D]),$}function x(){var $=n.charAt(u);return u+=1,$}function I($){var W,X,H,ne=0;for(X=$==="u"?4:2,W=0;W=0&&u=i)return t.ILLEGAL;if(W=n.charCodeAt(u+1),W===60)break}c+=x()}return t.NAME}function Y(){var $;for(s=u;u=i)return l=t.EOF,l;switch($=n.charCodeAt(u),$){case 39:case 34:return l=L(),l;case 58:return x(),l=t.COLON,l;case 44:return x(),l=t.COMMA,l;case 40:return x(),l=t.LPAREN,l;case 41:return x(),l=t.RPAREN,l;case 91:return x(),l=t.LBRACK,l;case 93:return x(),l=t.RBRACK,l;case 123:return x(),l=t.LBRACE,l;case 125:return x(),l=t.RBRACE,l;case 46:if(u+1{h();g();m();(function(){"use strict";var e,t,n,i,u;i=Hc(),e=KA(),t=zc();function s(P,K,G){return P.slice(K,G)}u=function(){var P=Object.prototype.hasOwnProperty;return function(G,ie){return P.call(G,ie)}}();function l(P){var K={},G;for(G in P)P.hasOwnProperty(G)&&(K[G]=P[G]);return K}function c(P){return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57}function p(P){return P==="param"||P==="argument"||P==="arg"}function y(P){return P==="return"||P==="returns"}function D(P){return P==="property"||P==="prop"}function F(P){return p(P)||D(P)||P==="alias"||P==="this"||P==="mixes"||P==="requires"}function b(P){return F(P)||P==="const"||P==="constant"}function A(P){return D(P)||p(P)}function w(P){return D(P)||p(P)}function x(P){return p(P)||y(P)||P==="define"||P==="enum"||P==="implements"||P==="this"||P==="type"||P==="typedef"||D(P)}function I(P){return x(P)||P==="throws"||P==="const"||P==="constant"||P==="namespace"||P==="member"||P==="var"||P==="module"||P==="constructor"||P==="class"||P==="extends"||P==="augments"||P==="public"||P==="private"||P==="protected"}var L="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",k="("+L+"*(?:\\*"+L+`?)?)(.+|[\r +\u2028\u2029])`;function M(P){return P.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(k,"g"),"$2").replace(/\s*$/,"")}function Y(P,K){for(var G=P.replace(/^\/\*\*?/,""),ie=0,de=new RegExp(k,"g"),ae;ae=de.exec(G);)if(ie+=ae[1].length,ae.index+ae[0].length>K+ie)return K+ie+P.length-G.length;return P.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(P){var K,G,ie,de,ae,Le,Ae,he,z;function j(){var X=ae.charCodeAt(G);return G+=1,i.code.isLineTerminator(X)&&!(X===13&&ae.charCodeAt(G)===10)&&(ie+=1),String.fromCharCode(X)}function Z(){var X="";for(j();G=X)return null;if(ae.charCodeAt(G)===91)if(H)Te=!0,ue=j();else return null;if(ue+=ce(X),ne)for(ae.charCodeAt(G)===58&&(ue==="module"||ue==="external"||ue==="event")&&(ue+=j(),ue+=ce(X)),ae.charCodeAt(G)===91&&ae.charCodeAt(G+1)===93&&(ue+=j(),ue+=j());ae.charCodeAt(G)===46||ae.charCodeAt(G)===47||ae.charCodeAt(G)===35||ae.charCodeAt(G)===45||ae.charCodeAt(G)===126;)ue+=j(),ue+=ce(X);if(Te){if(Be(X),ae.charCodeAt(G)===61){ue+=j(),Be(X);for(var ke,$e=1;G=X||ae.charCodeAt(G)!==93)return null;ue+=j()}return ue}function Dt(){for(;G=de?!1:(t.assert(ae.charCodeAt(G)===64),!0)}function rt(X){return ae===Le?X:Y(Le,X)}function me(X,H){this._options=X,this._title=H.toLowerCase(),this._tag={title:H,description:null},this._options.lineNumbers&&(this._tag.lineNumber=ie),this._first=G-H.length-1,this._last=0,this._extra={}}me.prototype.addError=function(H){var ne=Array.prototype.slice.call(arguments,1),ue=H.replace(/%(\d)/g,function(Te,Ie){return t.assert(Ie1&&(this._tag.default=X.slice(1).join("=")),this._tag.name=X[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!F(this._title))return!0;if(p(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},me.prototype.parseDescription=function(){var H=s(ae,G,this._last).trim();return H&&(/^-\s+/.test(H)&&(H=H.substring(2)),this._tag.description=H),!0},me.prototype.parseCaption=function(){var H=s(ae,G,this._last).trim(),ne="",ue="",Te=H.indexOf(ne),Ie=H.indexOf(ue);return Te>=0&&Ie>=0?(this._tag.caption=H.substring(Te+ne.length,Ie).trim(),this._tag.description=H.substring(Ie+ue.length).trim()):this._tag.description=H,!0},me.prototype.parseKind=function(){var H,ne;return ne={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},H=s(ae,G,this._last).trim(),this._tag.kind=H,!(!u(ne,H)&&!this.addError("Invalid kind name '%0'",H))},me.prototype.parseAccess=function(){var H;return H=s(ae,G,this._last).trim(),this._tag.access=H,!(H!=="private"&&H!=="protected"&&H!=="public"&&!this.addError("Invalid access name '%0'",H))},me.prototype.parseThis=function(){var H=s(ae,G,this._last).trim();if(H&&H.charAt(0)==="{"){var ne=this.parseType();return ne&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},me.prototype.parseVariation=function(){var H,ne;return ne=s(ae,G,this._last).trim(),H=parseFloat(ne,10),this._tag.variation=H,!(isNaN(H)&&!this.addError("Invalid variation '%0'",ne))},me.prototype.ensureEnd=function(){var X=s(ae,G,this._last).trim();return!(X&&!this.addError("Unknown content '%0'",X))},me.prototype.epilogue=function(){var H;return H=this._tag.description,!(w(this._title)&&!this._tag.type&&H&&H.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!he&&!this.addError("Missing or invalid tag name")))},K={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},me.prototype.parse=function(){var H,ne,ue,Te;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=oe(this._title),this._options.range&&(this._tag.range=[this._first,ae.slice(0,this._last).replace(/\s*$/,"").length].map(rt)),u(K,this._title)?ue=K[this._title]:ue=["parseType","parseName","parseDescription","epilogue"],H=0,ne=ue.length;H{h();g();m();vE.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}});var EE=R((b1e,AE)=>{h();g();m();AE.exports=function(e){var t=[].forEach,n=[].some,i=document.body,u,s=!0,l=" ";function c(k,M){var Y=M.appendChild(y(k));if(k.children.length){var P=D(k.isCollapsed);k.children.forEach(function(K){c(K,P)}),Y.appendChild(P)}}function p(k,M){var Y=!1,P=D(Y);if(M.forEach(function(K){c(K,P)}),u=k||u,u!==null)return u.firstChild&&u.removeChild(u.firstChild),M.length===0?u:u.appendChild(P)}function y(k){var M=document.createElement("li"),Y=document.createElement("a");return e.listItemClass&&M.setAttribute("class",e.listItemClass),e.onClick&&(Y.onclick=e.onClick),e.includeTitleTags&&Y.setAttribute("title",k.textContent),e.includeHtml&&k.childNodes.length?t.call(k.childNodes,function(P){Y.appendChild(P.cloneNode(!0))}):Y.textContent=k.textContent,Y.setAttribute("href",e.basePath+"#"+k.id),Y.setAttribute("class",e.linkClass+l+"node-name--"+k.nodeName+l+e.extraLinkClasses),M.appendChild(Y),M}function D(k){var M=e.orderedList?"ol":"ul",Y=document.createElement(M),P=e.listClass+l+e.extraListClasses;return k&&(P=P+l+e.collapsibleClass,P=P+l+e.isCollapsedClass),Y.setAttribute("class",P),Y}function F(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var k;k=document.querySelector(e.scrollContainer).scrollTop}else k=document.documentElement.scrollTop||i.scrollTop;var M=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=u.offsetTop),k>e.fixedSidebarOffset?M.className.indexOf(e.positionFixedClass)===-1&&(M.className+=l+e.positionFixedClass):M.className=M.className.replace(l+e.positionFixedClass,"")}function b(k){var M=0;return k!==null&&(M=k.offsetTop,e.hasInnerContainers&&(M+=b(k.offsetParent))),M}function A(k,M){return k&&k.className!==M&&(k.className=M),k}function w(k){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var M;M=document.querySelector(e.scrollContainer).scrollTop}else M=document.documentElement.scrollTop||i.scrollTop;e.positionFixedSelector&&F();var Y=k,P;if(s&&u!==null&&Y.length>0){n.call(Y,function(Ae,he){if(b(Ae)>M+e.headingsOffset+10){var z=he===0?he:he-1;return P=Y[z],!0}else if(he===Y.length-1)return P=Y[Y.length-1],!0});var K=u.querySelector("."+e.activeLinkClass),G=u.querySelector("."+e.linkClass+".node-name--"+P.nodeName+'[href="'+e.basePath+"#"+P.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(K===G)return;var ie=u.querySelectorAll("."+e.linkClass);t.call(ie,function(Ae){A(Ae,Ae.className.replace(l+e.activeLinkClass,""))});var de=u.querySelectorAll("."+e.listItemClass);t.call(de,function(Ae){A(Ae,Ae.className.replace(l+e.activeListItemClass,""))}),G&&G.className.indexOf(e.activeLinkClass)===-1&&(G.className+=l+e.activeLinkClass);var ae=G&&G.parentNode;ae&&ae.className.indexOf(e.activeListItemClass)===-1&&(ae.className+=l+e.activeListItemClass);var Le=u.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(Le,function(Ae){Ae.className.indexOf(e.isCollapsedClass)===-1&&(Ae.className+=l+e.isCollapsedClass)}),G&&G.nextSibling&&G.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&A(G.nextSibling,G.nextSibling.className.replace(l+e.isCollapsedClass,"")),x(G&&G.parentNode.parentNode)}}function x(k){return k&&k.className.indexOf(e.collapsibleClass)!==-1&&k.className.indexOf(e.isCollapsedClass)!==-1?(A(k,k.className.replace(l+e.isCollapsedClass,"")),x(k.parentNode.parentNode)):k}function I(k){var M=k.target||k.srcElement;typeof M.className!="string"||M.className.indexOf(e.linkClass)===-1||(s=!1)}function L(){s=!0}return{enableTocAnimation:L,disableTocAnimation:I,render:p,updateToc:w}}});var CE=R((C1e,DE)=>{h();g();m();DE.exports=function(t){var n=[].reduce;function i(D){return D[D.length-1]}function u(D){return+D.nodeName.toUpperCase().replace("H","")}function s(D){try{return D instanceof window.HTMLElement||D instanceof window.parent.HTMLElement}catch{return D instanceof window.HTMLElement}}function l(D){if(!s(D))return D;if(t.ignoreHiddenElements&&(!D.offsetHeight||!D.offsetParent))return null;let F=D.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(D.innerText)):(D.innerText||D.textContent).trim());var b={id:D.id,children:[],nodeName:D.nodeName,headingLevel:u(D),textContent:F};return t.includeHtml&&(b.childNodes=D.childNodes),t.headingObjectCallback?t.headingObjectCallback(b,D):b}function c(D,F){for(var b=l(D),A=b.headingLevel,w=F,x=i(w),I=x?x.headingLevel:0,L=A-I;L>0&&(x=i(w),!(x&&A===x.headingLevel));)x&&x.children!==void 0&&(w=x.children),L--;return A>=t.collapseDepth&&(b.isCollapsed=!0),w.push(b),w}function p(D,F){var b=F;t.ignoreSelector&&(b=F.split(",").map(function(w){return w.trim()+":not("+t.ignoreSelector+")"}));try{return D.querySelectorAll(b)}catch{return console.warn("Headers not found with selector: "+b),null}}function y(D){return n.call(D,function(b,A){var w=l(A);return w&&c(w,b.nest),b},{nest:[]})}return{nestHeadingsArray:y,selectHeadings:p}}});var SE=R((F1e,xE)=>{h();g();m();xE.exports=function(t){var n=t.tocElement||document.querySelector(t.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var i=n.querySelector("."+t.activeListItemClass);if(i){var u=n.scrollTop,s=u+n.clientHeight,l=i.offsetTop,c=l+i.clientHeight;ls-t.tocScrollOffset-30&&(n.scrollTop+=c-s+t.tocScrollOffset+2*30)}}}});var FE=R(wE=>{h();g();m();wE.initSmoothScrolling=oz;function oz(e){var t=e.duration,n=e.offset,i=location.hash?l(location.href):location.href;u();function u(){document.body.addEventListener("click",p,!1);function p(y){!s(y.target)||y.target.className.indexOf("no-smooth-scroll")>-1||y.target.href.charAt(y.target.href.length-2)==="#"&&y.target.href.charAt(y.target.href.length-1)==="!"||y.target.className.indexOf(e.linkClass)===-1||sz(y.target.hash,{duration:t,offset:n,callback:function(){c(y.target.hash)}})}}function s(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(l(p.href)===i||l(p.href)+"#"===i)}function l(p){return p.slice(0,p.lastIndexOf("#"))}function c(p){var y=document.getElementById(p.substring(1));y&&(/^(?:a|select|input|button|textarea)$/i.test(y.tagName)||(y.tabIndex=-1),y.focus())}}function sz(e,t){var n=window.pageYOffset,i={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||F},u=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),s=typeof e=="string"?i.offset+(e?u&&u.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,l=typeof i.duration=="function"?i.duration(s):i.duration,c,p;requestAnimationFrame(function(b){c=b,y(b)});function y(b){p=b-c,window.scrollTo(0,i.easing(p,n,s,l)),p{h();g();m();(function(e,t){typeof define=="function"&&define.amd?define([],t(e)):typeof _E=="object"?BE.exports=t(e):e.tocbot=t(e)})(typeof window<"u"?window:window||window,function(e){"use strict";var t=bE(),n={},i={},u=EE(),s=CE(),l=SE(),c,p,y=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window>"u"&&!y)return;var D,F=Object.prototype.hasOwnProperty;function b(){for(var I={},L=0;L=0||(u[n]=e[n]);return u}function Jc(e){var t=wt(e),n=wt(function(i){t.current&&t.current(i)});return t.current=e,n.current}function $E(e,t,n){var i=Jc(n),u=qe(function(){return e.toHsva(t)}),s=u[0],l=u[1],c=wt({color:t,hsva:s});it(function(){if(!e.equal(t,c.current.color)){var y=e.toHsva(t);c.current={hsva:y,color:t},l(y)}},[t,e]),it(function(){var y;qE(s,c.current.hsva)||e.equal(y=e.fromHsva(s),c.current.color)||(c.current={hsva:s,color:y},i(y))},[s,e,i]);var p=pt(function(y){l(function(D){return Object.assign({},D,y)})},[]);return[s,p]}var ha,gi,Zc,IE,OE,rf,mi,nf,ht,lz,cz,Qc,fz,pz,dz,hz,PE,ef,oo,kE,gz,uo,mz,NE,LE,ME,qE,jE,yz,vz,bz,Az,RE,UE,Ez,Dz,HE,Cz,zE,xz,WE,Sz,GE,VE=cr(()=>{h();g();m();Ln();ha=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:I.buttons>0)&&u.current?s(IE(u.current,I,c.current)):x(!1)},w=function(){return x(!1)};function x(I){var L=p.current,k=Zc(u.current),M=I?k.addEventListener:k.removeEventListener;M(L?"touchmove":"mousemove",A),M(L?"touchend":"mouseup",w)}return[function(I){var L=I.nativeEvent,k=u.current;if(k&&(OE(L),!function(Y,P){return P&&!gi(Y)}(L,p.current)&&k)){if(gi(L)){p.current=!0;var M=L.changedTouches||[];M.length&&(c.current=M[0].identifier)}k.focus(),s(IE(k,L,c.current)),x(!0)}},function(I){var L=I.which||I.keyCode;L<37||L>40||(I.preventDefault(),l({left:L===39?.05:L===37?-.05:0,top:L===40?.05:L===38?-.05:0}))},x]},[l,s]),D=y[0],F=y[1],b=y[2];return it(function(){return b},[b]),E.createElement("div",En({},i,{onTouchStart:D,onMouseDown:D,className:"react-colorful__interactive",ref:u,onKeyDown:F,tabIndex:0,role:"slider"}))}),mi=function(e){return e.filter(Boolean).join(" ")},nf=function(e){var t=e.color,n=e.left,i=e.top,u=i===void 0?.5:i,s=mi(["react-colorful__pointer",e.className]);return E.createElement("div",{className:s,style:{top:100*u+"%",left:100*n+"%"}},E.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ht=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},lz={grad:.9,turn:360,rad:360/(2*Math.PI)},cz=function(e){return NE(Qc(e))},Qc=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?ht(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?ht(parseInt(e.substring(6,8),16)/255,2):1}},fz=function(e,t){return t===void 0&&(t="deg"),Number(e)*(lz[t]||1)},pz=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?dz({h:fz(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},dz=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},hz=function(e){return mz(kE(e))},PE=function(e){var t=e.s,n=e.v,i=e.a,u=(200-t)*n/100;return{h:ht(e.h),s:ht(u>0&&u<200?t*n/100/(u<=100?u:200-u)*100:0),l:ht(u/2),a:ht(i,2)}},ef=function(e){var t=PE(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},oo=function(e){var t=PE(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},kE=function(e){var t=e.h,n=e.s,i=e.v,u=e.a;t=t/360*6,n/=100,i/=100;var s=Math.floor(t),l=i*(1-n),c=i*(1-(t-s)*n),p=i*(1-(1-t+s)*n),y=s%6;return{r:ht(255*[i,c,l,l,p,i][y]),g:ht(255*[p,i,i,c,l,l][y]),b:ht(255*[l,l,p,i,i,c][y]),a:ht(u,2)}},gz=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?NE({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},uo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},mz=function(e){var t=e.r,n=e.g,i=e.b,u=e.a,s=u<1?uo(ht(255*u)):"";return"#"+uo(t)+uo(n)+uo(i)+s},NE=function(e){var t=e.r,n=e.g,i=e.b,u=e.a,s=Math.max(t,n,i),l=s-Math.min(t,n,i),c=l?s===t?(n-i)/l:s===n?2+(i-t)/l:4+(t-n)/l:0;return{h:ht(60*(c<0?c+6:c)),s:ht(s?l/s*100:0),v:ht(s/255*100),a:u}},LE=E.memo(function(e){var t=e.hue,n=e.onChange,i=mi(["react-colorful__hue",e.className]);return E.createElement("div",{className:i},E.createElement(rf,{onMove:function(u){n({h:360*u.left})},onKey:function(u){n({h:ha(t+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":ht(t),"aria-valuemax":"360","aria-valuemin":"0"},E.createElement(nf,{className:"react-colorful__hue-pointer",left:t/360,color:ef({h:t,s:100,v:100,a:1})})))}),ME=E.memo(function(e){var t=e.hsva,n=e.onChange,i={backgroundColor:ef({h:t.h,s:100,v:100,a:1})};return E.createElement("div",{className:"react-colorful__saturation",style:i},E.createElement(rf,{onMove:function(u){n({s:100*u.left,v:100-100*u.top})},onKey:function(u){n({s:ha(t.s+100*u.left,0,100),v:ha(t.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ht(t.s)+"%, Brightness "+ht(t.v)+"%"},E.createElement(nf,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:ef(t)})))}),qE=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},jE=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},yz=function(e,t){return e.toLowerCase()===t.toLowerCase()||qE(Qc(e),Qc(t))};bz=typeof window<"u"?Zd:it,Az=function(){return vz||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)},RE=new Map,UE=function(e){bz(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!RE.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,RE.set(t,n);var i=Az();i&&n.setAttribute("nonce",i),t.head.appendChild(n)}},[])},Ez=function(e){var t=e.className,n=e.colorModel,i=e.color,u=i===void 0?n.defaultColor:i,s=e.onChange,l=tf(e,["className","colorModel","color","onChange"]),c=wt(null);UE(c);var p=$E(n,u,s),y=p[0],D=p[1],F=mi(["react-colorful",t]);return E.createElement("div",En({},l,{ref:c,className:F}),E.createElement(ME,{hsva:y,onChange:D}),E.createElement(LE,{hue:y.h,onChange:D,className:"react-colorful__last-control"}))},Dz={defaultColor:"000",toHsva:cz,fromHsva:function(e){return hz({h:e.h,s:e.s,v:e.v,a:1})},equal:yz},HE=function(e){return E.createElement(Ez,En({},e,{colorModel:Dz}))},Cz=function(e){var t=e.className,n=e.hsva,i=e.onChange,u={backgroundImage:"linear-gradient(90deg, "+oo(Object.assign({},n,{a:0}))+", "+oo(Object.assign({},n,{a:1}))+")"},s=mi(["react-colorful__alpha",t]),l=ht(100*n.a);return E.createElement("div",{className:s},E.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),E.createElement(rf,{onMove:function(c){i({a:c.left})},onKey:function(c){i({a:ha(n.a+c.left)})},"aria-label":"Alpha","aria-valuetext":l+"%","aria-valuenow":l,"aria-valuemin":"0","aria-valuemax":"100"},E.createElement(nf,{className:"react-colorful__alpha-pointer",left:n.a,color:oo(n)})))},zE=function(e){var t=e.className,n=e.colorModel,i=e.color,u=i===void 0?n.defaultColor:i,s=e.onChange,l=tf(e,["className","colorModel","color","onChange"]),c=wt(null);UE(c);var p=$E(n,u,s),y=p[0],D=p[1],F=mi(["react-colorful",t]);return E.createElement("div",En({},l,{ref:c,className:F}),E.createElement(ME,{hsva:y,onChange:D}),E.createElement(LE,{hue:y.h,onChange:D}),E.createElement(Cz,{hsva:y,onChange:D,className:"react-colorful__last-control"}))},xz={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:pz,fromHsva:oo,equal:jE},WE=function(e){return E.createElement(zE,En({},e,{colorModel:xz}))},Sz={defaultColor:"rgba(0, 0, 0, 1)",toHsva:gz,fromHsva:function(e){var t=kE(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:jE},GE=function(e){return E.createElement(zE,En({},e,{colorModel:Sz}))}});var YE=R((H1e,KE)=>{"use strict";h();g();m();KE.exports={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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],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],rebeccapurple:[102,51,153],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]}});var af=R((V1e,JE)=>{h();g();m();var yi=YE(),XE={};for(let e of Object.keys(yi))XE[yi[e]]=e;var fe={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};JE.exports=fe;for(let e of Object.keys(fe)){if(!("channels"in fe[e]))throw new Error("missing channels property: "+e);if(!("labels"in fe[e]))throw new Error("missing channel labels property: "+e);if(fe[e].labels.length!==fe[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=fe[e];delete fe[e].channels,delete fe[e].labels,Object.defineProperty(fe[e],"channels",{value:t}),Object.defineProperty(fe[e],"labels",{value:n})}fe.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,u=Math.min(t,n,i),s=Math.max(t,n,i),l=s-u,c,p;s===u?c=0:t===s?c=(n-i)/l:n===s?c=2+(i-t)/l:i===s&&(c=4+(t-n)/l),c=Math.min(c*60,360),c<0&&(c+=360);let y=(u+s)/2;return s===u?p=0:y<=.5?p=l/(s+u):p=l/(2-s-u),[c,p*100,y*100]};fe.rgb.hsv=function(e){let t,n,i,u,s,l=e[0]/255,c=e[1]/255,p=e[2]/255,y=Math.max(l,c,p),D=y-Math.min(l,c,p),F=function(b){return(y-b)/6/D+1/2};return D===0?(u=0,s=0):(s=D/y,t=F(l),n=F(c),i=F(p),l===y?u=i-n:c===y?u=1/3+t-i:p===y&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[u*360,s*100,y*100]};fe.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],u=fe.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[u,s*100,i*100]};fe.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,u=Math.min(1-t,1-n,1-i),s=(1-t-u)/(1-u)||0,l=(1-n-u)/(1-u)||0,c=(1-i-u)/(1-u)||0;return[s*100,l*100,c*100,u*100]};function wz(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}fe.rgb.keyword=function(e){let t=XE[e];if(t)return t;let n=1/0,i;for(let u of Object.keys(yi)){let s=yi[u],l=wz(e,s);l.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;let u=t*.4124+n*.3576+i*.1805,s=t*.2126+n*.7152+i*.0722,l=t*.0193+n*.1192+i*.9505;return[u*100,s*100,l*100]};fe.rgb.lab=function(e){let t=fe.rgb.xyz(e),n=t[0],i=t[1],u=t[2];n/=95.047,i/=100,u/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let s=116*i-16,l=500*(n-i),c=200*(i-u);return[s,l,c]};fe.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,u,s,l;if(n===0)return l=i*255,[l,l,l];i<.5?u=i*(1+n):u=i+n-i*n;let c=2*i-u,p=[0,0,0];for(let y=0;y<3;y++)s=t+1/3*-(y-1),s<0&&s++,s>1&&s--,6*s<1?l=c+(u-c)*6*s:2*s<1?l=u:3*s<2?l=c+(u-c)*(2/3-s)*6:l=c,p[y]=l*255;return p};fe.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,u=n,s=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,u*=s<=1?s:2-s;let l=(i+n)/2,c=i===0?2*u/(s+u):2*n/(i+n);return[t,c*100,l*100]};fe.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,u=Math.floor(t)%6,s=t-Math.floor(t),l=255*i*(1-n),c=255*i*(1-n*s),p=255*i*(1-n*(1-s));switch(i*=255,u){case 0:return[i,p,l];case 1:return[c,i,l];case 2:return[l,i,p];case 3:return[l,c,i];case 4:return[p,l,i];case 5:return[i,l,c]}};fe.hsv.hsl=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,u=Math.max(i,.01),s,l;l=(2-n)*i;let c=(2-n)*u;return s=n*u,s/=c<=1?c:2-c,s=s||0,l/=2,[t,s*100,l*100]};fe.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,u=n+i,s;u>1&&(n/=u,i/=u);let l=Math.floor(6*t),c=1-i;s=6*t-l,l&1&&(s=1-s);let p=n+s*(c-n),y,D,F;switch(l){default:case 6:case 0:y=c,D=p,F=n;break;case 1:y=p,D=c,F=n;break;case 2:y=n,D=c,F=p;break;case 3:y=n,D=p,F=c;break;case 4:y=p,D=n,F=c;break;case 5:y=c,D=n,F=p;break}return[y*255,D*255,F*255]};fe.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,u=e[3]/100,s=1-Math.min(1,t*(1-u)+u),l=1-Math.min(1,n*(1-u)+u),c=1-Math.min(1,i*(1-u)+u);return[s*255,l*255,c*255]};fe.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,u,s,l;return u=t*3.2406+n*-1.5372+i*-.4986,s=t*-.9689+n*1.8758+i*.0415,l=t*.0557+n*-.204+i*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=Math.min(Math.max(0,u),1),s=Math.min(Math.max(0,s),1),l=Math.min(Math.max(0,l),1),[u*255,s*255,l*255]};fe.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let u=116*n-16,s=500*(t-n),l=200*(n-i);return[u,s,l]};fe.lab.xyz=function(e){let t=e[0],n=e[1],i=e[2],u,s,l;s=(t+16)/116,u=n/500+s,l=s-i/200;let c=s**3,p=u**3,y=l**3;return s=c>.008856?c:(s-16/116)/7.787,u=p>.008856?p:(u-16/116)/7.787,l=y>.008856?y:(l-16/116)/7.787,u*=95.047,s*=100,l*=108.883,[u,s,l]};fe.lab.lch=function(e){let t=e[0],n=e[1],i=e[2],u;u=Math.atan2(i,n)*360/2/Math.PI,u<0&&(u+=360);let l=Math.sqrt(n*n+i*i);return[t,l,u]};fe.lch.lab=function(e){let t=e[0],n=e[1],u=e[2]/360*2*Math.PI,s=n*Math.cos(u),l=n*Math.sin(u);return[t,s,l]};fe.rgb.ansi16=function(e,t=null){let[n,i,u]=e,s=t===null?fe.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let l=30+(Math.round(u/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return s===2&&(l+=60),l};fe.hsv.ansi16=function(e){return fe.rgb.ansi16(fe.hsv.rgb(e),e[2])};fe.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};fe.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5,i=(t&1)*n*255,u=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[i,u,s]};fe.ansi256.rgb=function(e){if(e>=232){let s=(e-232)*10+8;return[s,s,s]}e-=16;let t,n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,u=t%6/5*255;return[n,i,u]};fe.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};fe.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(c=>c+c).join(""));let i=parseInt(n,16),u=i>>16&255,s=i>>8&255,l=i&255;return[u,s,l]};fe.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,u=Math.max(Math.max(t,n),i),s=Math.min(Math.min(t,n),i),l=u-s,c,p;return l<1?c=s/(1-l):c=0,l<=0?p=0:u===t?p=(n-i)/l%6:u===n?p=2+(i-t)/l:p=4+(t-n)/l,p/=6,p%=1,[p*360,l*100,c*100]};fe.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),u=0;return i<1&&(u=(n-.5*i)/(1-i)),[e[0],i*100,u*100]};fe.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,u=0;return i<1&&(u=(n-i)/(1-i)),[e[0],i*100,u*100]};fe.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];let u=[0,0,0],s=t%1*6,l=s%1,c=1-l,p=0;switch(Math.floor(s)){case 0:u[0]=1,u[1]=l,u[2]=0;break;case 1:u[0]=c,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=l;break;case 3:u[0]=0,u[1]=c,u[2]=1;break;case 4:u[0]=l,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=c}return p=(1-n)*i,[(n*u[0]+p)*255,(n*u[1]+p)*255,(n*u[2]+p)*255]};fe.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t),u=0;return i>0&&(u=t/i),[e[0],u*100,i*100]};fe.hcg.hsl=function(e){let t=e[1]/100,i=e[2]/100*(1-t)+.5*t,u=0;return i>0&&i<.5?u=t/(2*i):i>=.5&&i<1&&(u=t/(2*(1-i))),[e[0],u*100,i*100]};fe.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};fe.hwb.hcg=function(e){let t=e[1]/100,i=1-e[2]/100,u=i-t,s=0;return u<1&&(s=(i-u)/(1-u)),[e[0],u*100,s*100]};fe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};fe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};fe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};fe.gray.hsl=function(e){return[0,0,e[0]]};fe.gray.hsv=fe.gray.hsl;fe.gray.hwb=function(e){return[0,100,e[0]]};fe.gray.cmyk=function(e){return[0,0,0,e[0]]};fe.gray.lab=function(e){return[e[0],0,0]};fe.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i};fe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var QE=R((J1e,ZE)=>{h();g();m();var so=af();function Fz(){let e={},t=Object.keys(so);for(let n=t.length,i=0;i{h();g();m();var uf=af(),Iz=QE(),ga={},Oz=Object.keys(uf);function Rz(e){let t=function(...n){let i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Pz(e){let t=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let u=e(n);if(typeof u=="object")for(let s=u.length,l=0;l{ga[e]={},Object.defineProperty(ga[e],"channels",{value:uf[e].channels}),Object.defineProperty(ga[e],"labels",{value:uf[e].labels});let t=Iz(e);Object.keys(t).forEach(i=>{let u=t[i];ga[e][i]=Pz(u),ga[e][i].raw=Rz(u)})});eD.exports=ga});var nD=R((i2e,rD)=>{h();g();m();var kz=Zt(),Nz=function(){return kz.Date.now()};rD.exports=Nz});var iD=R((l2e,aD)=>{h();g();m();var Lz=/\s/;function Mz(e){for(var t=e.length;t--&&Lz.test(e.charAt(t)););return t}aD.exports=Mz});var oD=R((d2e,uD)=>{h();g();m();var qz=iD(),jz=/^\s+/;function $z(e){return e&&e.slice(0,qz(e)+1).replace(jz,"")}uD.exports=$z});var fD=R((y2e,cD)=>{h();g();m();var Uz=oD(),sD=ir(),Hz=Qa(),lD=NaN,zz=/^[-+]0x[0-9a-f]+$/i,Wz=/^0b[01]+$/i,Gz=/^0o[0-7]+$/i,Vz=parseInt;function Kz(e){if(typeof e=="number")return e;if(Hz(e))return lD;if(sD(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=sD(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Uz(e);var n=Wz.test(e);return n||Gz.test(e)?Vz(e.slice(2),n?2:8):zz.test(e)?lD:+e}cD.exports=Kz});var hD=R((E2e,dD)=>{h();g();m();var Yz=ir(),of=nD(),pD=fD(),Xz="Expected a function",Jz=Math.max,Zz=Math.min;function Qz(e,t,n){var i,u,s,l,c,p,y=0,D=!1,F=!1,b=!0;if(typeof e!="function")throw new TypeError(Xz);t=pD(t)||0,Yz(n)&&(D=!!n.leading,F="maxWait"in n,s=F?Jz(pD(n.maxWait)||0,t):s,b="trailing"in n?!!n.trailing:b);function A(K){var G=i,ie=u;return i=u=void 0,y=K,l=e.apply(ie,G),l}function w(K){return y=K,c=setTimeout(L,t),D?A(K):l}function x(K){var G=K-p,ie=K-y,de=t-G;return F?Zz(de,s-ie):de}function I(K){var G=K-p,ie=K-y;return p===void 0||G>=t||G<0||F&&ie>=s}function L(){var K=of();if(I(K))return k(K);c=setTimeout(L,x(K))}function k(K){return c=void 0,b&&i?A(K):(i=u=void 0,l)}function M(){c!==void 0&&clearTimeout(c),y=0,i=p=u=c=void 0}function Y(){return c===void 0?l:k(of())}function P(){var K=of(),G=I(K);if(i=arguments,u=this,p=K,G){if(c===void 0)return w(p);if(F)return clearTimeout(c),c=setTimeout(L,t),A(p)}return c===void 0&&(c=setTimeout(L,t)),l}return P.cancel=M,P.flush=Y,P}dD.exports=Qz});var mD=R((S2e,gD)=>{h();g();m();var eW=hD(),tW=ir(),rW="Expected a function";function nW(e,t,n){var i=!0,u=!0;if(typeof e!="function")throw new TypeError(rW);return tW(n)&&(i="leading"in n?!!n.leading:i,u="trailing"in n?!!n.trailing:u),eW(e,t,{leading:i,maxWait:t,trailing:u})}gD.exports=nW});var DD={};Vd(DD,{ColorControl:()=>ED,default:()=>EW});var Ht,bD,aW,iW,uW,oW,sW,lW,cW,yD,fW,pW,AD,lo,dW,hW,gW,sf,mW,yW,co,vD,ma,vW,bW,fo,AW,ED,EW,CD=cr(()=>{h();g();m();tl();Ln();VE();Ht=ft(tD(),1),bD=ft(mD(),1);al();Ma();ml();aW=te.div({position:"relative",maxWidth:250}),iW=te(lu)({position:"absolute",zIndex:1,top:4,left:4}),uW=te.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),oW=te(Xs)(({theme:e})=>({fontFamily:e.typography.fonts.base})),sW=te.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),lW=te.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),cW=`url('data:image/svg+xml;charset=utf-8,')`,yD=({value:e,active:t,onClick:n,style:i,...u})=>{let s=`linear-gradient(${e}, ${e}), ${cW}, linear-gradient(#fff, #fff)`;return E.createElement(lW,{...u,active:t,onClick:n,style:{...i,backgroundImage:s}})},fW=te(fr.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),pW=te(F0)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),AD=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(AD||{}),lo=Object.values(AD),dW=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,hW=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,gW=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,sf=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,mW=/^\s*#?([0-9a-f]{3})\s*$/i,yW={hex:HE,rgb:GE,hsl:WE},co={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},vD=e=>{let t=e?.match(dW);if(!t)return[0,0,0,1];let[,n,i,u,s=1]=t;return[n,i,u,s].map(Number)},ma=e=>{if(!e)return;let t=!0;if(hW.test(e)){let[l,c,p,y]=vD(e),[D,F,b]=Ht.default.rgb.hsl([l,c,p])||[0,0,0];return{valid:t,value:e,keyword:Ht.default.rgb.keyword([l,c,p]),colorSpace:"rgb",rgb:e,hsl:`hsla(${D}, ${F}%, ${b}%, ${y})`,hex:`#${Ht.default.rgb.hex([l,c,p]).toLowerCase()}`}}if(gW.test(e)){let[l,c,p,y]=vD(e),[D,F,b]=Ht.default.hsl.rgb([l,c,p])||[0,0,0];return{valid:t,value:e,keyword:Ht.default.hsl.keyword([l,c,p]),colorSpace:"hsl",rgb:`rgba(${D}, ${F}, ${b}, ${y})`,hsl:e,hex:`#${Ht.default.hsl.hex([l,c,p]).toLowerCase()}`}}let n=e.replace("#",""),i=Ht.default.keyword.rgb(n)||Ht.default.hex.rgb(n),u=Ht.default.rgb.hsl(i),s=e;if(/[^#a-f0-9]/i.test(e)?s=n:sf.test(e)&&(s=`#${n}`),s.startsWith("#"))t=sf.test(s);else try{Ht.default.keyword.hex(s)}catch{t=!1}return{valid:t,value:s,keyword:Ht.default.rgb.keyword(i),colorSpace:"hex",rgb:`rgba(${i[0]}, ${i[1]}, ${i[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:s}},vW=(e,t,n)=>{if(!e||!t?.valid)return co[n];if(n!=="hex")return t?.[n]||co[n];if(!t.hex.startsWith("#"))try{return`#${Ht.default.keyword.hex(t.hex)}`}catch{return co.hex}let i=t.hex.match(mW);if(!i)return sf.test(t.hex)?t.hex:co.hex;let[u,s,l]=i[1].split("");return`#${u}${u}${s}${s}${l}${l}`},bW=(e,t)=>{let[n,i]=qe(e||""),[u,s]=qe(()=>ma(n)),[l,c]=qe(u?.colorSpace||"hex");it(()=>{let F=e||"",b=ma(F);i(F),s(b),c(b?.colorSpace||"hex")},[e]);let p=jr(()=>vW(n,u,l).toLowerCase(),[n,u,l]),y=pt(F=>{let b=ma(F),A=b?.value||F||"";i(A),A===""&&(s(void 0),t(void 0)),b&&(s(b),c(b.colorSpace),t(b.value))},[t]),D=pt(()=>{let F=lo.indexOf(l)+1;F>=lo.length&&(F=0),c(lo[F]);let b=u?.[lo[F]]||"";i(b),t(b)},[u,l,t]);return{value:n,realValue:p,updateValue:y,color:u,colorSpace:l,cycleColorSpace:D}},fo=e=>e.replace(/\s*/,"").toLowerCase(),AW=(e,t,n)=>{let[i,u]=qe(t?.valid?[t]:[]);it(()=>{t===void 0&&u([])},[t]);let s=jr(()=>(e||[]).map(c=>typeof c=="string"?ma(c):c.title?{...ma(c.color),keyword:c.title}:ma(c.color)).concat(i).filter(Boolean).slice(-27),[e,i]),l=pt(c=>{c?.valid&&(s.some(p=>fo(p[n])===fo(c[n]))||u(p=>p.concat(c)))},[n,s]);return{presets:s,addPreset:l}},ED=({name:e,value:t,onChange:n,onFocus:i,onBlur:u,presetColors:s,startOpen:l=!1})=>{let c=pt((0,bD.default)(n,200),[n]),{value:p,realValue:y,updateValue:D,color:F,colorSpace:b,cycleColorSpace:A}=bW(t,c),{presets:w,addPreset:x}=AW(s,F,b),I=yW[b];return E.createElement(aW,null,E.createElement(iW,{startOpen:l,closeOnOutsideClick:!0,onVisibleChange:()=>x(F),tooltip:E.createElement(uW,null,E.createElement(I,{color:y==="transparent"?"#000000":y,onChange:D,onFocus:i,onBlur:u}),w.length>0&&E.createElement(sW,null,w.map((L,k)=>E.createElement(lu,{key:`${L.value}-${k}`,hasChrome:!1,tooltip:E.createElement(oW,{note:L.keyword||L.value})},E.createElement(yD,{value:L[b],active:F&&fo(L[b])===fo(F[b]),onClick:()=>D(L.value)})))))},E.createElement(yD,{value:y,style:{margin:4}})),E.createElement(fW,{id:It(e),value:p,onChange:L=>D(L.target.value),onFocus:L=>L.target.select(),placeholder:"Choose color..."}),p?E.createElement(pW,{onClick:A}):null)},EW=ED});h();g();m();h();g();m();h();g();m();Ln();h();g();m();var DK=__STORYBOOK_API__,{ActiveTabs:CK,Consumer:xK,ManagerContext:SK,Provider:wK,addons:$s,combineParameters:FK,controlOrMetaKey:_K,controlOrMetaSymbol:BK,eventMatchesShortcut:TK,eventToShortcut:IK,isMacLike:OK,isShortcutTaken:RK,keyToSymbol:PK,merge:kK,mockChannel:NK,optionOrAltSymbol:LK,shortcutMatchesShortcut:MK,shortcutToHumanString:qK,types:Qd,useAddonState:jK,useArgTypes:Us,useArgs:e0,useChannel:$K,useGlobalTypes:UK,useGlobals:t0,useParameter:r0,useSharedState:HK,useStoryPrepared:zK,useStorybookApi:WK,useStorybookState:n0}=__STORYBOOK_API__;Ma();h();g();m();tl();Ln();al();Ma();h();g();m();h();g();m();function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&u<1?(c=s,p=l):u>=1&&u<2?(c=l,p=s):u>=2&&u<3?(p=s,y=l):u>=3&&u<4?(p=l,y=s):u>=4&&u<5?(c=l,y=s):u>=5&&u<6&&(c=s,y=l);var D=n-s/2,F=c+D,b=p+D,A=y+D;return i(F,b,A)}var m0={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qB(e){if(typeof e!="string")return e;var t=e.toLowerCase();return m0[t]?"#"+m0[t]:e}var jB=/^#[a-fA-F0-9]{6}$/,$B=/^#[a-fA-F0-9]{8}$/,UB=/^#[a-fA-F0-9]{3}$/,HB=/^#[a-fA-F0-9]{4}$/,cl=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,zB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,WB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,GB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function $n(e){if(typeof e!="string")throw new Ot(3);var t=qB(e);if(t.match(jB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match($B)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(UB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(HB)){var i=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:i}}var u=cl.exec(t);if(u)return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)};var s=zB.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var l=WB.exec(t);if(l){var c=parseInt(""+l[1],10),p=parseInt(""+l[2],10)/100,y=parseInt(""+l[3],10)/100,D="rgb("+Ua(c,p,y)+")",F=cl.exec(D);if(!F)throw new Ot(4,t,D);return{red:parseInt(""+F[1],10),green:parseInt(""+F[2],10),blue:parseInt(""+F[3],10)}}var b=GB.exec(t.substring(0,50));if(b){var A=parseInt(""+b[1],10),w=parseInt(""+b[2],10)/100,x=parseInt(""+b[3],10)/100,I="rgb("+Ua(A,w,x)+")",L=cl.exec(I);if(!L)throw new Ot(4,t,I);return{red:parseInt(""+L[1],10),green:parseInt(""+L[2],10),blue:parseInt(""+L[3],10),alpha:parseFloat(""+b[4])>1?parseFloat(""+b[4])/100:parseFloat(""+b[4])}}throw new Ot(5)}function VB(e){var t=e.red/255,n=e.green/255,i=e.blue/255,u=Math.max(t,n,i),s=Math.min(t,n,i),l=(u+s)/2;if(u===s)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var c,p=u-s,y=l>.5?p/(2-u-s):p/(u+s);switch(u){case t:c=(n-i)/p+(n=1?fu(e,t,n):"rgba("+Ua(e,t,n)+","+i+")";if(typeof e=="object"&&t===void 0&&n===void 0&&i===void 0)return e.alpha>=1?fu(e.hue,e.saturation,e.lightness):"rgba("+Ua(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ot(2)}function dl(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return pl("#"+fn(e)+fn(t)+fn(n));if(typeof e=="object"&&t===void 0&&n===void 0)return pl("#"+fn(e.red)+fn(e.green)+fn(e.blue));throw new Ot(6)}function nr(e,t,n,i){if(typeof e=="string"&&typeof t=="number"){var u=$n(e);return"rgba("+u.red+","+u.green+","+u.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof i=="number")return i>=1?dl(e,t,n):"rgba("+e+","+t+","+n+","+i+")";if(typeof e=="object"&&t===void 0&&n===void 0&&i===void 0)return e.alpha>=1?dl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ot(7)}var ZB=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},QB=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},eT=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},tT=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Ur(e){if(typeof e!="object")throw new Ot(8);if(QB(e))return nr(e);if(ZB(e))return dl(e);if(tT(e))return JB(e);if(eT(e))return XB(e);throw new Ot(8)}function v0(e,t,n){return function(){var u=n.concat(Array.prototype.slice.call(arguments));return u.length>=t?e.apply(this,u):v0(e,t,u)}}function $t(e){return v0(e,e.length,[])}function rT(e,t){if(t==="transparent")return t;var n=$r(t);return Ur(vt({},n,{hue:n.hue+parseFloat(e)}))}var wX=$t(rT);function Un(e,t,n){return Math.max(e,Math.min(t,n))}function nT(e,t){if(t==="transparent")return t;var n=$r(t);return Ur(vt({},n,{lightness:Un(0,1,n.lightness-parseFloat(e))}))}var aT=$t(nT),ar=aT;function iT(e,t){if(t==="transparent")return t;var n=$r(t);return Ur(vt({},n,{saturation:Un(0,1,n.saturation-parseFloat(e))}))}var FX=$t(iT);function uT(e,t){if(t==="transparent")return t;var n=$r(t);return Ur(vt({},n,{lightness:Un(0,1,n.lightness+parseFloat(e))}))}var oT=$t(uT),Hr=oT;function sT(e,t,n){if(t==="transparent")return n;if(n==="transparent")return t;if(e===0)return n;var i=$n(t),u=vt({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),s=$n(n),l=vt({},s,{alpha:typeof s.alpha=="number"?s.alpha:1}),c=u.alpha-l.alpha,p=parseFloat(e)*2-1,y=p*c===-1?p:p+c,D=1+p*c,F=(y/D+1)/2,b=1-F,A={red:Math.floor(u.red*F+l.red*b),green:Math.floor(u.green*F+l.green*b),blue:Math.floor(u.blue*F+l.blue*b),alpha:u.alpha*parseFloat(e)+l.alpha*(1-parseFloat(e))};return nr(A)}var lT=$t(sT),b0=lT;function cT(e,t){if(t==="transparent")return t;var n=$n(t),i=typeof n.alpha=="number"?n.alpha:1,u=vt({},n,{alpha:Un(0,1,(i*100+parseFloat(e)*100)/100)});return nr(u)}var fT=$t(cT),Ha=fT;function pT(e,t){if(t==="transparent")return t;var n=$r(t);return Ur(vt({},n,{saturation:Un(0,1,n.saturation+parseFloat(e))}))}var _X=$t(pT);function dT(e,t){return t==="transparent"?t:Ur(vt({},$r(t),{hue:parseFloat(e)}))}var BX=$t(dT);function hT(e,t){return t==="transparent"?t:Ur(vt({},$r(t),{lightness:parseFloat(e)}))}var TX=$t(hT);function gT(e,t){return t==="transparent"?t:Ur(vt({},$r(t),{saturation:parseFloat(e)}))}var IX=$t(gT);function mT(e,t){return t==="transparent"?t:b0(parseFloat(e),"rgb(0, 0, 0)",t)}var OX=$t(mT);function yT(e,t){return t==="transparent"?t:b0(parseFloat(e),"rgb(255, 255, 255)",t)}var RX=$t(yT);function vT(e,t){if(t==="transparent")return t;var n=$n(t),i=typeof n.alpha=="number"?n.alpha:1,u=vt({},n,{alpha:Un(0,1,+(i*100-parseFloat(e)*100).toFixed(2)/100)});return nr(u)}var bT=$t(vT),ze=bT;h();g();m();var et=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();ml();var kD=ft(Ql(),1);h();g();m();var cP=Object.create,Ky=Object.defineProperty,fP=Object.getOwnPropertyDescriptor,pP=Object.getOwnPropertyNames,dP=Object.getPrototypeOf,hP=Object.prototype.hasOwnProperty,gP=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mP=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of pP(t))!hP.call(e,u)&&u!==n&&Ky(e,u,{get:()=>t[u],enumerable:!(i=fP(t,u))||i.enumerable});return e},yP=(e,t,n)=>(n=e!=null?cP(dP(e)):{},mP(t||!e||!e.__esModule?Ky(n,"default",{value:e,enumerable:!0}):n,e)),vP=gP(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,n=Object.getPrototypeOf,i=Object.getOwnPropertySymbols?function(u){return Object.keys(u).concat(Object.getOwnPropertySymbols(u))}:Object.keys;return function(u,s){return function l(c,p,y){var D,F,b,A=t.call(c),w=t.call(p);if(c===p)return!0;if(c==null||p==null)return!1;if(y.indexOf(c)>-1&&y.indexOf(p)>-1)return!0;if(y.push(c,p),A!=w||(D=i(c),F=i(p),D.length!=F.length||D.some(function(x){return!l(c[x],p[x],y)})))return!1;switch(A.slice(8,-1)){case"Symbol":return c.valueOf()==p.valueOf();case"Date":case"Number":return+c==+p||+c!=+c&&+p!=+p;case"RegExp":case"Function":case"String":case"Boolean":return""+c==""+p;case"Set":case"Map":D=c.entries(),F=p.entries();do if(!l((b=D.next()).value,F.next().value,y))return!1;while(!b.done);return!0;case"ArrayBuffer":c=new Uint8Array(c),p=new Uint8Array(p);case"DataView":c=new Uint8Array(c.buffer),p=new Uint8Array(p.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(c.length!=p.length)return!1;for(b=0;be.map(t=>typeof t<"u").filter(Boolean).length,bP=(e,t)=>{let{exists:n,eq:i,neq:u,truthy:s}=e;if(Yy([n,i,u,s])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:i,neq:u})}`);if(typeof i<"u")return(0,Vy.isEqual)(t,i);if(typeof u<"u")return!(0,Vy.isEqual)(t,u);if(typeof n<"u"){let l=typeof t<"u";return n?l:!l}return typeof s>"u"||s?!!t:!t},Xy=(e,t,n)=>{if(!e.if)return!0;let{arg:i,global:u}=e.if;if(Yy([i,u])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:i,global:u})}`);let s=i?t[i]:n[u];return bP(e.if,s)};h();g();m();var sce=__STORYBOOK_CLIENT_LOGGER__,{deprecate:AP,logger:gn,once:ec,pretty:lce}=__STORYBOOK_CLIENT_LOGGER__;h();g();m();Ln();function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Zy={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},DP=["style","script"],CP=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,xP=/mailto:/i,SP=/\n{2,}$/,a1=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,wP=/^ *> ?/gm,FP=/^ {2,}\n/,_P=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,i1=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,u1=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,BP=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,TP=/^(?:\n *)*\n/,IP=/\r\n?/g,OP=/^\[\^([^\]]+)](:.*)\n/,RP=/^\[\^([^\]]+)]/,PP=/\f/g,kP=/^\s*?\[(x|\s)\]/,o1=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,s1=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,l1=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,ic=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,NP=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,c1=/^)/,LP=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,uc=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,MP=/^\{.*\}$/,qP=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,jP=/^<([^ >]+@[^ >]+)>/,$P=/^<([^ >]+:\/[^ >]+)>/,UP=/-([a-z])?/gi,f1=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,HP=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,zP=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,WP=/^\[([^\]]*)\] ?\[([^\]]*)\]/,GP=/(\[|\])/g,VP=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,KP=/\t/g,YP=/^ *\| */,XP=/(^ *\||\| *$)/g,JP=/ *$/,ZP=/^ *:-+: *$/,QP=/^ *:-+ *$/,e7=/^ *-+: *$/,t7=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,r7=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,n7=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,a7=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,i7=/^\\([^0-9A-Za-z\s])/,u7=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,o7=/^\n+/,s7=/^([ \t]*)/,l7=/\\([^\\])/g,Qy=/ *\n+$/,c7=/(?:^|\n)( *)$/,oc="(?:\\d+\\.)",sc="(?:[*+-])";function p1(e){return"( *)("+(e===1?oc:sc)+") +"}var d1=p1(1),h1=p1(2);function g1(e){return new RegExp("^"+(e===1?d1:h1))}var f7=g1(1),p7=g1(2);function m1(e){return new RegExp("^"+(e===1?d1:h1)+"[^\\n]*(?:\\n(?!\\1"+(e===1?oc:sc)+" )[^\\n]*)*(\\n|$)","gm")}var y1=m1(1),v1=m1(2);function b1(e){let t=e===1?oc:sc;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var A1=b1(1),E1=b1(2);function e1(e,t){let n=t===1,i=n?A1:E1,u=n?y1:v1,s=n?f7:p7;return{t(l,c,p){let y=c7.exec(p);return y&&(c.o||!c._&&!c.u)?i.exec(l=y[1]+l):null},i:Re.HIGH,l(l,c,p){let y=n?+l[2]:void 0,D=l[0].replace(SP,` +`).match(u),F=!1;return{p:D.map(function(b,A){let w=s.exec(b)[0].length,x=new RegExp("^ {1,"+w+"}","gm"),I=b.replace(x,"").replace(s,""),L=A===D.length-1,k=I.indexOf(` + +`)!==-1||L&&F;F=k;let M=p._,Y=p.o,P;p.o=!0,k?(p._=!1,P=I.replace(Qy,` + +`)):(p._=!0,P=I.replace(Qy,""));let K=c(P,p);return p._=M,p.o=Y,K}),m:n,g:y}},h:(l,c,p)=>e(l.m?"ol":"ul",{key:p.k,start:l.g},l.p.map(function(y,D){return e("li",{key:D},c(y,p))}))}}var d7=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,h7=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,D1=[a1,i1,u1,o1,l1,s1,c1,f1,y1,A1,v1,E1],g7=[...D1,/^[^\n]+(?: \n|\n{2,})/,ic,uc];function m7(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function y7(e){return e7.test(e)?"right":ZP.test(e)?"center":QP.test(e)?"left":null}function t1(e,t,n){let i=n.$;n.$=!0;let u=t(e.trim(),n);n.$=i;let s=[[]];return u.forEach(function(l,c){l.type==="tableSeparator"?c!==0&&c!==u.length-1&&s.push([]):(l.type!=="text"||u[c+1]!=null&&u[c+1].type!=="tableSeparator"||(l.v=l.v.replace(JP,"")),s[s.length-1].push(l))}),s}function v7(e,t,n){n._=!0;let i=t1(e[1],t,n),u=e[2].replace(XP,"").split("|").map(y7),s=function(l,c,p){return l.trim().split(` +`).map(function(y){return t1(y,c,p)})}(e[3],t,n);return n._=!1,{S:u,A:s,L:i,type:"table"}}function r1(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Wr(e){return function(t,n){return n._?e.exec(t):null}}function Gr(e){return function(t,n){return n._||n.u?e.exec(t):null}}function Fr(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function ti(e){return function(t){return e.exec(t)}}function b7(e,t,n){if(t._||t.u||n&&!n.endsWith(` +`))return null;let i="";e.split(` +`).every(s=>!D1.some(l=>l.test(s))&&(i+=s+` +`,s.trim()));let u=i.trimEnd();return u==""?null:[i,u]}function Zn(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function n1(e){return e.replace(l7,"$1")}function Pu(e,t,n){let i=n._||!1,u=n.u||!1;n._=!0,n.u=!0;let s=e(t,n);return n._=i,n.u=u,s}function A7(e,t,n){let i=n._||!1,u=n.u||!1;n._=!1,n.u=!0;let s=e(t,n);return n._=i,n.u=u,s}function E7(e,t,n){return n._=!1,e(t,n)}var tc=(e,t,n)=>({v:Pu(t,e[1],n)});function rc(){return{}}function nc(){return null}function D7(...e){return e.filter(Boolean).join(" ")}function ac(e,t,n){let i=e,u=t.split(".");for(;u.length&&(i=i[u[0]],i!==void 0);)u.shift();return i||n}var Re;function C7(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||m7,t.namedCodesToUnicode=t.namedCodesToUnicode?mn({},Zy,t.namedCodesToUnicode):Zy;let n=t.createElement||js;function i(A,w,...x){let I=ac(t.overrides,`${A}.props`,{});return n(function(L,k){let M=ac(k,L);return M?typeof M=="function"||typeof M=="object"&&"render"in M?M:ac(k,`${L}.component`,L):L}(A,t.overrides),mn({},w,I,{className:D7(w?.className,I.className)||void 0}),...x)}function u(A){let w=!1;t.forceInline?w=!0:t.forceBlock||(w=VP.test(A)===!1);let x=D(y(w?A:`${A.trimEnd().replace(o7,"")} + +`,{_:w}));for(;typeof x[x.length-1]=="string"&&!x[x.length-1].trim();)x.pop();if(t.wrapper===null)return x;let I=t.wrapper||(w?"span":"div"),L;if(x.length>1||t.forceWrapper)L=x;else{if(x.length===1)return L=x[0],typeof L=="string"?i("span",{key:"outer"},L):L;L=null}return js(I,{key:"outer"},L)}function s(A){let w=A.match(CP);return w?w.reduce(function(x,I,L){let k=I.indexOf("=");if(k!==-1){let M=function(G){return G.indexOf("-")!==-1&&G.match(LP)===null&&(G=G.replace(UP,function(ie,de){return de.toUpperCase()})),G}(I.slice(0,k)).trim(),Y=function(G){let ie=G[0];return(ie==='"'||ie==="'")&&G.length>=2&&G[G.length-1]===ie?G.slice(1,-1):G}(I.slice(k+1).trim()),P=Jy[M]||M,K=x[P]=function(G,ie){return G==="style"?ie.split(/;\s?/).reduce(function(de,ae){let Le=ae.slice(0,ae.indexOf(":"));return de[Le.replace(/(-[a-z])/g,Ae=>Ae[1].toUpperCase())]=ae.slice(Le.length+1).trim(),de},{}):G==="href"?Zn(ie):(ie.match(MP)&&(ie=ie.slice(1,ie.length-1)),ie==="true"||ie!=="false"&&ie)}(M,Y);typeof K=="string"&&(ic.test(K)||uc.test(K))&&(x[P]=Je(u(K.trim()),{key:L}))}else I!=="style"&&(x[Jy[I]||I]=!0);return x},{}):null}let l=[],c={},p={blockQuote:{t:Fr(a1),i:Re.HIGH,l:(A,w,x)=>({v:w(A[0].replace(wP,""),x)}),h:(A,w,x)=>i("blockquote",{key:x.k},w(A.v,x))},breakLine:{t:ti(FP),i:Re.HIGH,l:rc,h:(A,w,x)=>i("br",{key:x.k})},breakThematic:{t:Fr(_P),i:Re.HIGH,l:rc,h:(A,w,x)=>i("hr",{key:x.k})},codeBlock:{t:Fr(u1),i:Re.MAX,l:A=>({v:A[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(A,w,x)=>i("pre",{key:x.k},i("code",mn({},A.O,{className:A.M?`lang-${A.M}`:""}),A.v))},codeFenced:{t:Fr(i1),i:Re.MAX,l:A=>({O:s(A[3]||""),v:A[4],M:A[2]||void 0,type:"codeBlock"})},codeInline:{t:Gr(BP),i:Re.LOW,l:A=>({v:A[2]}),h:(A,w,x)=>i("code",{key:x.k},A.v)},footnote:{t:Fr(OP),i:Re.MAX,l:A=>(l.push({I:A[2],j:A[1]}),{}),h:nc},footnoteReference:{t:Wr(RP),i:Re.HIGH,l:A=>({v:A[1],B:`#${t.slugify(A[1])}`}),h:(A,w,x)=>i("a",{key:x.k,href:Zn(A.B)},i("sup",{key:x.k},A.v))},gfmTask:{t:Wr(kP),i:Re.HIGH,l:A=>({R:A[1].toLowerCase()==="x"}),h:(A,w,x)=>i("input",{checked:A.R,key:x.k,readOnly:!0,type:"checkbox"})},heading:{t:Fr(t.enforceAtxHeadings?s1:o1),i:Re.HIGH,l:(A,w,x)=>({v:Pu(w,A[2],x),T:t.slugify(A[2]),C:A[1].length}),h:(A,w,x)=>i(`h${A.C}`,{id:A.T,key:x.k},w(A.v,x))},headingSetext:{t:Fr(l1),i:Re.MAX,l:(A,w,x)=>({v:Pu(w,A[1],x),C:A[2]==="="?1:2,type:"heading"})},htmlComment:{t:ti(c1),i:Re.HIGH,l:()=>({}),h:nc},image:{t:Gr(h7),i:Re.HIGH,l:A=>({D:A[1],B:n1(A[2]),F:A[3]}),h:(A,w,x)=>i("img",{key:x.k,alt:A.D||void 0,title:A.F||void 0,src:Zn(A.B)})},link:{t:Wr(d7),i:Re.LOW,l:(A,w,x)=>({v:A7(w,A[1],x),B:n1(A[2]),F:A[3]}),h:(A,w,x)=>i("a",{key:x.k,href:Zn(A.B),title:A.F},w(A.v,x))},linkAngleBraceStyleDetector:{t:Wr($P),i:Re.MAX,l:A=>({v:[{v:A[1],type:"text"}],B:A[1],type:"link"})},linkBareUrlDetector:{t:(A,w)=>w.N?null:Wr(qP)(A,w),i:Re.MAX,l:A=>({v:[{v:A[1],type:"text"}],B:A[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Wr(jP),i:Re.MAX,l(A){let w=A[1],x=A[1];return xP.test(x)||(x="mailto:"+x),{v:[{v:w.replace("mailto:",""),type:"text"}],B:x,type:"link"}}},orderedList:e1(i,1),unorderedList:e1(i,2),newlineCoalescer:{t:Fr(TP),i:Re.LOW,l:rc,h:()=>` +`},paragraph:{t:b7,i:Re.LOW,l:tc,h:(A,w,x)=>i("p",{key:x.k},w(A.v,x))},ref:{t:Wr(HP),i:Re.MAX,l:A=>(c[A[1]]={B:A[2],F:A[4]},{}),h:nc},refImage:{t:Gr(zP),i:Re.MAX,l:A=>({D:A[1]||void 0,P:A[2]}),h:(A,w,x)=>i("img",{key:x.k,alt:A.D,src:Zn(c[A.P].B),title:c[A.P].F})},refLink:{t:Wr(WP),i:Re.MAX,l:(A,w,x)=>({v:w(A[1],x),Z:w(A[0].replace(GP,"\\$1"),x),P:A[2]}),h:(A,w,x)=>c[A.P]?i("a",{key:x.k,href:Zn(c[A.P].B),title:c[A.P].F},w(A.v,x)):i("span",{key:x.k},w(A.Z,x))},table:{t:Fr(f1),i:Re.HIGH,l:v7,h:(A,w,x)=>i("table",{key:x.k},i("thead",null,i("tr",null,A.L.map(function(I,L){return i("th",{key:L,style:r1(A,L)},w(I,x))}))),i("tbody",null,A.A.map(function(I,L){return i("tr",{key:L},I.map(function(k,M){return i("td",{key:M,style:r1(A,M)},w(k,x))}))})))},tableSeparator:{t:function(A,w){return w.$?(w._=!0,YP.exec(A)):null},i:Re.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:ti(u7),i:Re.MIN,l:A=>({v:A[0].replace(NP,(w,x)=>t.namedCodesToUnicode[x]?t.namedCodesToUnicode[x]:w)}),h:A=>A.v},textBolded:{t:Gr(t7),i:Re.MED,l:(A,w,x)=>({v:w(A[2],x)}),h:(A,w,x)=>i("strong",{key:x.k},w(A.v,x))},textEmphasized:{t:Gr(r7),i:Re.LOW,l:(A,w,x)=>({v:w(A[2],x)}),h:(A,w,x)=>i("em",{key:x.k},w(A.v,x))},textEscaped:{t:Gr(i7),i:Re.HIGH,l:A=>({v:A[1],type:"text"})},textMarked:{t:Gr(n7),i:Re.LOW,l:tc,h:(A,w,x)=>i("mark",{key:x.k},w(A.v,x))},textStrikethroughed:{t:Gr(a7),i:Re.LOW,l:tc,h:(A,w,x)=>i("del",{key:x.k},w(A.v,x))}};t.disableParsingRawHTML!==!0&&(p.htmlBlock={t:ti(ic),i:Re.HIGH,l(A,w,x){let[,I]=A[3].match(s7),L=new RegExp(`^${I}`,"gm"),k=A[3].replace(L,""),M=(Y=k,g7.some(ie=>ie.test(Y))?E7:Pu);var Y;let P=A[1].toLowerCase(),K=DP.indexOf(P)!==-1;x.N=x.N||P==="a";let G=K?A[3]:M(w,k,x);return x.N=!1,{O:s(A[2]),v:G,G:K,H:K?P:A[1]}},h:(A,w,x)=>i(A.H,mn({key:x.k},A.O),A.G?A.v:w(A.v,x))},p.htmlSelfClosing={t:ti(uc),i:Re.HIGH,l:A=>({O:s(A[2]||""),H:A[1]}),h:(A,w,x)=>i(A.H,mn({},A.O,{key:x.k}))});let y=function(A){let w=Object.keys(A);function x(I,L){let k=[],M="";for(;I;){let Y=0;for(;Y{let{children:t,options:n}=e,i=function(u,s){if(u==null)return{};var l,c,p={},y=Object.keys(u);for(c=0;c=0||(p[l]=u[l]);return p}(e,EP);return Je(C7(t,n),i)};var ND=ft(ku(),1),LD=ft(z1(),1),MD=ft(Y2(),1);h();g();m();h();g();m();var Wpe=__STORYBOOK_CHANNELS__,{Channel:fc,PostMessageTransport:Gpe,WebsocketTransport:Vpe,createBrowserChannel:Kpe}=__STORYBOOK_CHANNELS__;h();g();m();var Qpe=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:ede,CHANNEL_WS_DISCONNECT:tde,CONFIG_ERROR:gL,CURRENT_STORY_WAS_SET:mL,DOCS_PREPARED:yL,DOCS_RENDERED:vL,FORCE_REMOUNT:bL,FORCE_RE_RENDER:AL,GLOBALS_UPDATED:X2,NAVIGATE_URL:J2,PLAY_FUNCTION_THREW_EXCEPTION:EL,PRELOAD_ENTRIES:DL,PREVIEW_BUILDER_PROGRESS:rde,PREVIEW_KEYDOWN:CL,REGISTER_SUBSCRIPTION:nde,REQUEST_WHATS_NEW_DATA:ade,RESET_STORY_ARGS:Z2,RESULT_WHATS_NEW_DATA:ide,SELECT_STORY:ude,SET_CONFIG:ode,SET_CURRENT_STORY:xL,SET_GLOBALS:SL,SET_INDEX:sde,SET_STORIES:lde,SET_WHATS_NEW_CACHE:cde,SHARED_STATE_CHANGED:fde,SHARED_STATE_SET:pde,STORIES_COLLAPSE_ALL:dde,STORIES_EXPAND_ALL:hde,STORY_ARGS_UPDATED:Q2,STORY_CHANGED:wL,STORY_ERRORED:FL,STORY_INDEX_INVALIDATED:_L,STORY_MISSING:BL,STORY_PREPARED:TL,STORY_RENDERED:IL,STORY_RENDER_PHASE_CHANGED:OL,STORY_SPECIFIED:RL,STORY_THREW_EXCEPTION:PL,STORY_UNCHANGED:kL,TELEMETRY_ERROR:gde,TOGGLE_WHATS_NEW_NOTIFICATIONS:mde,UNHANDLED_ERRORS_WHILE_PLAYING:NL,UPDATE_GLOBALS:LL,UPDATE_QUERY_PARAMS:ML,UPDATE_STORY_ARGS:ev}=__STORYBOOK_CORE_EVENTS__;var IA=ft(ku(),1),li=ft(pc(),1),zj=ft(Nv(),1);h();g();m();h();g();m();h();g();m();h();g();m();function dc(e){for(var t=[],n=1;n(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(wM||{});h();g();m();var Qu=ft(jv(),1);h();g();m();var NM=Object.create,$v=Object.defineProperty,LM=Object.getOwnPropertyDescriptor,MM=Object.getOwnPropertyNames,qM=Object.getPrototypeOf,jM=Object.prototype.hasOwnProperty,$M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UM=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of MM(t))!jM.call(e,u)&&u!==n&&$v(e,u,{get:()=>t[u],enumerable:!(i=LM(t,u))||i.enumerable});return e},HM=(e,t,n)=>(n=e!=null?NM(qM(e)):{},UM(t||!e||!e.__esModule?$v(n,"default",{value:e,enumerable:!0}):n,e)),zM=$M(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,n=Object.getPrototypeOf,i=Object.getOwnPropertySymbols?function(u){return Object.keys(u).concat(Object.getOwnPropertySymbols(u))}:Object.keys;return function(u,s){return function l(c,p,y){var D,F,b,A=t.call(c),w=t.call(p);if(c===p)return!0;if(c==null||p==null)return!1;if(y.indexOf(c)>-1&&y.indexOf(p)>-1)return!0;if(y.push(c,p),A!=w||(D=i(c),F=i(p),D.length!=F.length||D.some(function(x){return!l(c[x],p[x],y)})))return!1;switch(A.slice(8,-1)){case"Symbol":return c.valueOf()==p.valueOf();case"Date":case"Number":return+c==+p||+c!=+c&&+p!=+p;case"RegExp":case"Function":case"String":case"Boolean":return""+c==""+p;case"Set":case"Map":D=c.entries(),F=p.entries();do if(!l((b=D.next()).value,F.next().value,y))return!1;while(!b.done);return!0;case"ArrayBuffer":c=new Uint8Array(c),p=new Uint8Array(p);case"DataView":c=new Uint8Array(c.buffer),p=new Uint8Array(p.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(c.length!=p.length)return!1;for(b=0;bfunction(){return t||(0,e[kA(e)[0]])((t={exports:{}}).exports,t),t.exports},Xj=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of kA(t))!Yj.call(e,u)&&u!==n&&PA(e,u,{get:()=>t[u],enumerable:!(i=Vj(t,u))||i.enumerable});return e},Jj=(e,t,n)=>(n=e!=null?Gj(Kj(e)):{},Xj(t||!e||!e.__esModule?PA(n,"default",{value:e,enumerable:!0}):n,e)),NA=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),Zj=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),LA=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),Qj=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),e$=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(Qj()),i=String.fromCodePoint||function(s){var l="";return s>65535&&(s-=65536,l+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),l+=String.fromCharCode(s),l};function u(s){return s>=55296&&s<=57343||s>1114111?"\uFFFD":(s in n.default&&(s=n.default[s]),i(s))}e.default=u}}),_A=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var n=t(NA()),i=t(Zj()),u=t(LA()),s=t(e$()),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=c(u.default),e.decodeHTMLStrict=c(n.default);function c(D){var F=y(D);return function(b){return String(b).replace(l,F)}}var p=function(D,F){return D1?F(k):k.charCodeAt(0)).toString(16).toUpperCase()+";"}function A(k,M){return function(Y){return Y.replace(M,function(P){return k[P]}).replace(D,b)}}var w=new RegExp(u.source+"|"+D.source,"g");function x(k){return k.replace(w,b)}e.escape=x;function I(k){return k.replace(u,b)}e.escapeUTF8=I;function L(k){return function(M){return M.replace(w,function(Y){return k[Y]||b(Y)})}}}}),t$=_r({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=_A(),n=BA();function i(p,y){return(!y||y<=0?t.decodeXML:t.decodeHTML)(p)}e.decode=i;function u(p,y){return(!y||y<=0?t.decodeXML:t.decodeHTMLStrict)(p)}e.decodeStrict=u;function s(p,y){return(!y||y<=0?n.encodeXML:n.encodeHTML)(p)}e.encode=s;var l=BA();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var c=_A();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return c.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return c.decodeXML}})}}),r$=_r({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function n(z,j){if(!(z instanceof j))throw new TypeError("Cannot call a class as a function")}function i(z,j){for(var Z=0;Z"u"||z[Symbol.iterator]==null){if(Array.isArray(z)||(z=l(z))){var j=0,Z=function(){};return{s:Z,n:function(){return j>=z.length?{done:!0}:{done:!1,value:z[j++]}},e:function(je){throw je},f:Z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe,ge=!0,ce=!1,Be;return{s:function(){oe=z[Symbol.iterator]()},n:function(){var je=oe.next();return ge=je.done,je},e:function(je){ce=!0,Be=je},f:function(){try{!ge&&oe.return!=null&&oe.return()}finally{if(ce)throw Be}}}}function l(z,j){if(z){if(typeof z=="string")return c(z,j);var Z=Object.prototype.toString.call(z).slice(8,-1);if(Z==="Object"&&z.constructor&&(Z=z.constructor.name),Z==="Map"||Z==="Set")return Array.from(Z);if(Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z))return c(z,j)}}function c(z,j){(j==null||j>z.length)&&(j=z.length);for(var Z=0,oe=new Array(j);Z0?z*40+55:0,Be=j>0?j*40+55:0,je=Z>0?Z*40+55:0;oe[ge]=A([ce,Be,je])}function b(z){for(var j=z.toString(16);j.length<2;)j="0"+j;return j}function A(z){var j=[],Z=s(z),oe;try{for(Z.s();!(oe=Z.n()).done;){var ge=oe.value;j.push(b(ge))}}catch(ce){Z.e(ce)}finally{Z.f()}return"#"+j.join("")}function w(z,j,Z,oe){var ge;return j==="text"?ge=P(Z,oe):j==="display"?ge=I(z,Z,oe):j==="xterm256"?ge=ie(z,oe.colors[Z]):j==="rgb"&&(ge=x(z,Z)),ge}function x(z,j){j=j.substring(2).slice(0,-1);var Z=+j.substr(0,2),oe=j.substring(5).split(";"),ge=oe.map(function(ce){return("0"+Number(ce).toString(16)).substr(-2)}).join("");return G(z,(Z===38?"color:#":"background-color:#")+ge)}function I(z,j,Z){j=parseInt(j,10);var oe={"-1":function(){return"
"},0:function(){return z.length&&L(z)},1:function(){return K(z,"b")},3:function(){return K(z,"i")},4:function(){return K(z,"u")},8:function(){return G(z,"display:none")},9:function(){return K(z,"strike")},22:function(){return G(z,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return ae(z,"i")},24:function(){return ae(z,"u")},39:function(){return ie(z,Z.fg)},49:function(){return de(z,Z.bg)},53:function(){return G(z,"text-decoration:overline")}},ge;return oe[j]?ge=oe[j]():4"}).join("")}function k(z,j){for(var Z=[],oe=z;oe<=j;oe++)Z.push(oe);return Z}function M(z){return function(j){return(z===null||j.category!==z)&&z!=="all"}}function Y(z){z=parseInt(z,10);var j=null;return z===0?j="all":z===1?j="bold":2")}function G(z,j){return K(z,"span",j)}function ie(z,j){return K(z,"span","color:"+j)}function de(z,j){return K(z,"span","background-color:"+j)}function ae(z,j){var Z;if(z.slice(-1)[0]===j&&(Z=z.pop()),Z)return""}function Le(z,j,Z){var oe=!1,ge=3;function ce(){return""}function Be(ke,$e){return Z("xterm256",$e),""}function je(ke){return j.newline?Z("display",-1):Z("text",ke),""}function Dt(ke,$e){oe=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var Jr=s($e),vi;try{for(Jr.s();!(vi=Jr.n()).done;){var Zr=vi.value;Z("display",Zr)}}catch(Pt){Jr.e(Pt)}finally{Jr.f()}return""}function rt(ke){return Z("text",ke),""}function me(ke){return Z("rgb",ke),""}var Rt=[{pattern:/^\x08+/,sub:ce},{pattern:/^\x1b\[[012]?K/,sub:ce},{pattern:/^\x1b\[\(B/,sub:ce},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:me},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Be},{pattern:/^\n/,sub:je},{pattern:/^\r+\n/,sub:je},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Dt},{pattern:/^\x1b\[\d?J/,sub:ce},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ce},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ce},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:rt}];function $(ke,$e){$e>ge&&oe||(oe=!1,z=z.replace(ke.pattern,ke.sub))}var W=[],X=z,H=X.length;e:for(;H>0;){for(var ne=0,ue=0,Te=Rt.length;ue{},send:()=>{}};return new fc({transport:e})}var a$=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=n$();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},jc="__STORYBOOK_ADDONS_PREVIEW";function i$(){return et[jc]||(et[jc]=new a$),et[jc]}var Qme=i$();var eye=(0,IA.default)(1)(e=>Object.values(e).reduce((t,n)=>(t[n.importPath]=t[n.importPath]||n,t),{}));var tye=Symbol("incompatible");var rye=Symbol("Deeply equal");var u$=dc` +CSF .story annotations deprecated; annotate story functions directly: +- StoryFn.story.name => StoryFn.storyName +- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) +See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. +`,nye=(0,OA.default)(()=>{},u$);var eo=(...e)=>{let t={},n=e.filter(Boolean),i=n.reduce((u,s)=>(Object.entries(s).forEach(([l,c])=>{let p=u[l];Array.isArray(c)||typeof p>"u"?u[l]=c:(0,Qu.default)(c)&&(0,Qu.default)(p)?t[l]=!0:typeof c<"u"&&(u[l]=c)}),u),{});return Object.keys(t).forEach(u=>{let s=n.filter(Boolean).map(l=>l[u]).filter(l=>typeof l<"u");s.every(l=>(0,Qu.default)(l))?i[u]=eo(...s):i[u]=s[s.length-1]}),i};var $c=(e,t,n)=>{let i=typeof e;switch(i){case"boolean":case"string":case"number":case"function":case"symbol":return{name:i}}return e?n.has(e)?(gn.warn(dc` + We've detected a cycle in arg '${t}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(n.add(e),Array.isArray(e)?{name:"array",value:e.length>0?$c(e[0],t,new Set(n)):{name:"other",value:"unknown"}}:{name:"object",value:(0,li.default)(e,u=>$c(u,t,new Set(n)))}):{name:"object",value:{}}},o$=e=>{let{id:t,argTypes:n={},initialArgs:i={}}=e,u=(0,li.default)(i,(l,c)=>({name:c,type:$c(l,`${t}.${c}`,new Set)})),s=(0,li.default)(n,(l,c)=>({name:c}));return eo(u,s,n)};o$.secondPass=!0;var TA=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),MA=(e,t,n)=>!t&&!n?e:e&&(0,RA.default)(e,(i,u)=>{let s=i.name||u;return(!t||TA(s,t))&&(!n||!TA(s,n))}),s$=(e,t,n)=>{let{type:i,options:u}=e;if(i){if(n.color&&n.color.test(t)){let s=i.name;if(s==="string")return{control:{type:"color"}};s!=="enum"&&gn.warn(`Addon controls: Control of type color only supports string, received "${s}" instead`)}if(n.date&&n.date.test(t))return{control:{type:"date"}};switch(i.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:s}=i;return{control:{type:s?.length<=5?"radio":"select"},options:s}}case"function":case"symbol":return null;default:return{control:{type:u?"select":"object"}}}}},l$=e=>{let{argTypes:t,parameters:{__isArgsStory:n,controls:{include:i=null,exclude:u=null,matchers:s={}}={}}}=e;if(!n)return t;let l=MA(t,i,u),c=(0,li.default)(l,(p,y)=>p?.type&&s$(p,y,s));return eo(c,l)};l$.secondPass=!0;var aye=new Error("prepareAborted"),{AbortController:iye}=globalThis;var{fetch:uye}=et;var{history:oye,document:sye}=et;var c$=Jj(r$()),{document:lye}=et;var f$=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(f$||{});var cye=new c$.default({escapeXML:!0});var{document:fye}=et;var DW=ft(qA(),1);h();g();m();var h$=ft(pc(),1),g$=ft(YA(),1);var m$=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(m$||{});var XA="storybook/docs",e1e=`${XA}/panel`;var y$=`${XA}/snippet-rendered`,JA=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(JA||{});h();g();m();h();g();m();var v$=Object.create,ZA=Object.defineProperty,b$=Object.getOwnPropertyDescriptor,QA=Object.getOwnPropertyNames,A$=Object.getPrototypeOf,E$=Object.prototype.hasOwnProperty,Ut=(e,t)=>function(){return t||(0,e[QA(e)[0]])((t={exports:{}}).exports,t),t.exports},D$=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of QA(t))!E$.call(e,u)&&u!==n&&ZA(e,u,{get:()=>t[u],enumerable:!(i=b$(t,u))||i.enumerable});return e},ro=(e,t,n)=>(n=e!=null?v$(A$(e)):{},D$(t||!e||!e.__esModule?ZA(n,"default",{value:e,enumerable:!0}):n,e)),C$=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],x$=["detail"];function eE(e){let t=C$.filter(n=>e[n]!==void 0).reduce((n,i)=>({...n,[i]:e[i]}),{});return e instanceof CustomEvent&&x$.filter(n=>e[n]!==void 0).forEach(n=>{t[n]=e[n]}),t}var gE=ft(ku(),1),uE=Ut({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var i={},u=Symbol("test"),s=Object(u);if(typeof u=="string"||Object.prototype.toString.call(u)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var l=42;i[u]=l;for(u in i)return!1;if(typeof Object.keys=="function"&&Object.keys(i).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(i).length!==0)return!1;var c=Object.getOwnPropertySymbols(i);if(c.length!==1||c[0]!==u||!Object.prototype.propertyIsEnumerable.call(i,u))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(i,u);if(p.value!==l||p.enumerable!==!0)return!1}return!0}}}),oE=Ut({"node_modules/has-symbols/index.js"(e,t){"use strict";var n=typeof Symbol<"u"&&Symbol,i=uE();t.exports=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:i()}}}),S$=Ut({"node_modules/function-bind/implementation.js"(e,t){"use strict";var n="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,u=Object.prototype.toString,s="[object Function]";t.exports=function(c){var p=this;if(typeof p!="function"||u.call(p)!==s)throw new TypeError(n+p);for(var y=i.call(arguments,1),D,F=function(){if(this instanceof D){var I=p.apply(this,y.concat(i.call(arguments)));return Object(I)===I?I:this}else return p.apply(c,y.concat(i.call(arguments)))},b=Math.max(0,p.length-y.length),A=[],w=0;w"u"?n:F(Uint8Array),w={"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":D?F([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":D?F(F([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!D?n:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!D?n:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":D?F(""[Symbol.iterator]()):n,"%Symbol%":D?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":y,"%TypedArray%":A,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet},x=function Ae(he){var z;if(he==="%AsyncFunction%")z=l("async function () {}");else if(he==="%GeneratorFunction%")z=l("function* () {}");else if(he==="%AsyncGeneratorFunction%")z=l("async function* () {}");else if(he==="%AsyncGenerator%"){var j=Ae("%AsyncGeneratorFunction%");j&&(z=j.prototype)}else if(he==="%AsyncIteratorPrototype%"){var Z=Ae("%AsyncGenerator%");Z&&(z=F(Z.prototype))}return w[he]=z,z},I={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=Gc(),k=w$(),M=L.call(Function.call,Array.prototype.concat),Y=L.call(Function.apply,Array.prototype.splice),P=L.call(Function.call,String.prototype.replace),K=L.call(Function.call,String.prototype.slice),G=L.call(Function.call,RegExp.prototype.exec),ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,de=/\\(\\)?/g,ae=function(he){var z=K(he,0,1),j=K(he,-1);if(z==="%"&&j!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(j==="%"&&z!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var Z=[];return P(he,ie,function(oe,ge,ce,Be){Z[Z.length]=ce?P(Be,de,"$1"):ge||oe}),Z},Le=function(he,z){var j=he,Z;if(k(I,j)&&(Z=I[j],j="%"+Z[0]+"%"),k(w,j)){var oe=w[j];if(oe===b&&(oe=x(j)),typeof oe>"u"&&!z)throw new s("intrinsic "+he+" exists, but is not available. Please file an issue!");return{alias:Z,name:j,value:oe}}throw new i("intrinsic "+he+" does not exist!")};t.exports=function(he,z){if(typeof he!="string"||he.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!="boolean")throw new s('"allowMissing" argument must be a boolean');if(G(/^%?[^%]*%?$/,he)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var j=ae(he),Z=j.length>0?j[0]:"",oe=Le("%"+Z+"%",z),ge=oe.name,ce=oe.value,Be=!1,je=oe.alias;je&&(Z=je[0],Y(j,M([0,1],je)));for(var Dt=1,rt=!0;Dt=j.length){var W=c(ce,me);rt=!!W,rt&&"get"in W&&!("originalValue"in W.get)?ce=W.get:ce=ce[me]}else rt=k(ce,me),ce=ce[me];rt&&!Be&&(w[ge]=ce)}}return ce}}}),F$=Ut({"node_modules/call-bind/index.js"(e,t){"use strict";var n=Gc(),i=sE(),u=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),l=i("%Reflect.apply%",!0)||n.call(s,u),c=i("%Object.getOwnPropertyDescriptor%",!0),p=i("%Object.defineProperty%",!0),y=i("%Math.max%");if(p)try{p({},"a",{value:1})}catch{p=null}t.exports=function(b){var A=l(n,s,arguments);if(c&&p){var w=c(A,"length");w.configurable&&p(A,"length",{value:1+y(0,b.length-(arguments.length-1))})}return A};var D=function(){return l(n,u,arguments)};p?p(t.exports,"apply",{value:D}):t.exports.apply=D}}),_$=Ut({"node_modules/call-bind/callBound.js"(e,t){"use strict";var n=sE(),i=F$(),u=i(n("String.prototype.indexOf"));t.exports=function(l,c){var p=n(l,!!c);return typeof p=="function"&&u(l,".prototype.")>-1?i(p):p}}}),B$=Ut({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var n=uE();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),T$=Ut({"node_modules/is-regex/index.js"(e,t){"use strict";var n=_$(),i=B$()(),u,s,l,c;i&&(u=n("Object.prototype.hasOwnProperty"),s=n("RegExp.prototype.exec"),l={},p=function(){throw l},c={toString:p,valueOf:p},typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=p));var p,y=n("Object.prototype.toString"),D=Object.getOwnPropertyDescriptor,F="[object RegExp]";t.exports=i?function(A){if(!A||typeof A!="object")return!1;var w=D(A,"lastIndex"),x=w&&u(w,"value");if(!x)return!1;try{s(A,c)}catch(I){return I===l}}:function(A){return!A||typeof A!="object"&&typeof A!="function"?!1:y(A)===F}}}),I$=Ut({"node_modules/is-function/index.js"(e,t){t.exports=i;var n=Object.prototype.toString;function i(u){if(!u)return!1;var s=n.call(u);return s==="[object Function]"||typeof u=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(u===window.setTimeout||u===window.alert||u===window.confirm||u===window.prompt)}}}),O$=Ut({"node_modules/is-symbol/index.js"(e,t){"use strict";var n=Object.prototype.toString,i=oE()();i?(u=Symbol.prototype.toString,s=/^Symbol\(.*\)$/,l=function(p){return typeof p.valueOf()!="symbol"?!1:s.test(u.call(p))},t.exports=function(p){if(typeof p=="symbol")return!0;if(n.call(p)!=="[object Symbol]")return!1;try{return l(p)}catch{return!1}}):t.exports=function(p){return!1};var u,s,l}}),R$=ro(T$()),P$=ro(I$()),k$=ro(O$());function N$(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var L$=typeof window=="object"&&window&&window.Object===Object&&window,M$=L$,q$=typeof self=="object"&&self&&self.Object===Object&&self,j$=M$||q$||Function("return this")(),Vc=j$,$$=Vc.Symbol,ca=$$,lE=Object.prototype,U$=lE.hasOwnProperty,H$=lE.toString,di=ca?ca.toStringTag:void 0;function z$(e){var t=U$.call(e,di),n=e[di];try{e[di]=void 0;var i=!0}catch{}var u=H$.call(e);return i&&(t?e[di]=n:delete e[di]),u}var W$=z$,G$=Object.prototype,V$=G$.toString;function K$(e){return V$.call(e)}var Y$=K$,X$="[object Null]",J$="[object Undefined]",tE=ca?ca.toStringTag:void 0;function Z$(e){return e==null?e===void 0?J$:X$:tE&&tE in Object(e)?W$(e):Y$(e)}var cE=Z$;function Q$(e){return e!=null&&typeof e=="object"}var eU=Q$,tU="[object Symbol]";function rU(e){return typeof e=="symbol"||eU(e)&&cE(e)==tU}var Kc=rU;function nU(e,t){for(var n=-1,i=e==null?0:e.length,u=Array(i);++n-1}var dH=pH;function hH(e,t){var n=this.__data__,i=ao(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}var gH=hH;function pa(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{let t=null,n=!1,i=!1,u=!1,s="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;lZH(e).replace(/\n\s*/g,"").trim()),ez=function(t,n){let i=n.slice(0,n.indexOf("{")),u=n.slice(n.indexOf("{"));if(i.includes("=>")||i.includes("function"))return n;let s=i;return s=s.replace(t,"function"),s+u},tz=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,rz=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function mE(e){if(!no(e))return e;let t=e,n=!1;return typeof Event<"u"&&e instanceof Event&&(t=eE(t),n=!0),t=Object.keys(t).reduce((i,u)=>{try{t[u]&&t[u].toJSON,i[u]=t[u]}catch{n=!0}return i},{}),n?t:e}var nz=function(t){let n,i,u,s;return function(c,p){try{if(c==="")return s=[],n=new Map([[p,"[]"]]),i=new Map,u=[],p;let y=i.get(this)||this;for(;u.length&&y!==u[0];)u.shift(),s.pop();if(typeof p=="boolean")return p;if(p===void 0)return t.allowUndefined?"_undefined_":void 0;if(p===null)return null;if(typeof p=="number")return p===-1/0?"_-Infinity_":p===1/0?"_Infinity_":Number.isNaN(p)?"_NaN_":p;if(typeof p=="bigint")return`_bigint_${p.toString()}`;if(typeof p=="string")return tz.test(p)?t.allowDate?`_date_${p}`:void 0:p;if((0,R$.default)(p))return t.allowRegExp?`_regexp_${p.flags}|${p.source}`:void 0;if((0,P$.default)(p)){if(!t.allowFunction)return;let{name:F}=p,b=p.toString();return b.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${F}|${(()=>{}).toString()}`:`_function_${F}|${QH(ez(c,b))}`}if((0,k$.default)(p)){if(!t.allowSymbol)return;let F=Symbol.keyFor(p);return F!==void 0?`_gsymbol_${F}`:`_symbol_${p.toString().slice(7,-1)}`}if(u.length>=t.maxDepth)return Array.isArray(p)?`[Array(${p.length})]`:"[Object]";if(p===this)return`_duplicate_${JSON.stringify(s)}`;if(p instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...p.cause?{cause:p.cause}:{},...p,name:p.name,message:p.message,stack:p.stack,"_constructor-name_":p.constructor.name}};if(p.constructor&&p.constructor.name&&p.constructor.name!=="Object"&&!Array.isArray(p)&&!t.allowClass)return;let D=n.get(p);if(!D){let F=Array.isArray(p)?p:mE(p);if(p.constructor&&p.constructor.name&&p.constructor.name!=="Object"&&!Array.isArray(p)&&t.allowClass)try{Object.assign(F,{"_constructor-name_":p.constructor.name})}catch{}return s.push(c),u.unshift(F),n.set(p,JSON.stringify(s)),p!==F&&i.set(p,F),F}return`_duplicate_${D}`}catch{return}}},az=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:n})=>{let i=rz(n)?JSON.parse(n):n.split(".");i.length===0?t[e]=root:t[e]=JH(root,i)})),key==="_constructor-name_")return value;if(no(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,n=new Error(e);return Object.assign(n,t),n}if(no(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},yE={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},iz=(e,t={})=>{let n={...yE,...t};return JSON.stringify(mE(e),nz(n),t.space)},uz=()=>{let e=new Map;return function t(n){no(n)&&Object.entries(n).forEach(([i,u])=>{u==="_undefined_"?n[i]=void 0:e.get(u)||(e.set(u,!0),t(u))}),Array.isArray(n)&&n.forEach((i,u)=>{i==="_undefined_"?(e.set(i,!0),n[u]=void 0):e.get(i)||(e.set(i,!0),t(i))})}},c1e=(e,t={})=>{let n={...yE,...t},i=JSON.parse(e,az(n));return uz()(i),i};var qD=ft(TE(),1);var CW=te.div(jn,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ze(.3,e.color.defaultText),fontSize:e.typography.size.s2})),jD=e=>E.createElement(CW,{...e,className:"docblock-emptyblock sb-unstyled"}),xW=te(su)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),SW=te.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),po=te.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${d0}`]:{margin:0}})),wW=()=>E.createElement(SW,null,E.createElement(po,null),E.createElement(po,{style:{width:"80%"}}),E.createElement(po,{style:{width:"30%"}}),E.createElement(po,{style:{width:"80%"}})),$D=({isLoading:e,error:t,language:n,code:i,dark:u,format:s,...l})=>{let{typography:c}=nl();if(e)return E.createElement(wW,null);if(t)return E.createElement(jD,null,t);let p=E.createElement(xW,{bordered:!0,copyable:!0,format:s,language:n,className:"docblock-source sb-unstyled",...l},i);if(typeof u>"u")return p;let y=u?rl.dark:rl.light;return E.createElement(f0,{theme:p0({...y,fontCode:c.fonts.mono,fontBase:c.fonts.base})},p)};$D.defaultProps={format:!1};var ot=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,gf=600,nve=te.h1(jn,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${gf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),ave=te.h2(jn,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${gf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ze(.25,e.color.defaultText)})),ive=te.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},n={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},i={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ze(.1,e.color.defaultText):ze(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ot("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ot("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ot("div")]:t,[ot("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ot("h1")]:{...t,...n,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ot("h2")]:{...t,...n,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ot("h3")]:{...t,...n,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ot("h4")]:{...t,...n,fontSize:`${e.typography.size.s3}px`},[ot("h5")]:{...t,...n,fontSize:`${e.typography.size.s2}px`},[ot("h6")]:{...t,...n,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ot("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ot("img")]:{maxWidth:"100%"},[ot("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":i},[ot("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ot("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":i},[ot("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ot("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ot("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ot("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),uve=te.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${gf}px)`]:{}}));var mo=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),FW=te(Gs)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),_W=te.div({display:"flex",alignItems:"center",gap:4}),BW=te.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),TW=({isLoading:e,storyId:t,baseUrl:n,zoom:i,resetZoom:u,...s})=>E.createElement(FW,{...s},E.createElement(_W,{key:"left"},e?[1,2,3].map(l=>E.createElement(BW,{key:l})):E.createElement(E.Fragment,null,E.createElement(ln,{key:"zoomin",onClick:l=>{l.preventDefault(),i(.8)},title:"Zoom in"},E.createElement(O0,null)),E.createElement(ln,{key:"zoomout",onClick:l=>{l.preventDefault(),i(1.25)},title:"Zoom out"},E.createElement(R0,null)),E.createElement(ln,{key:"zoomreset",onClick:l=>{l.preventDefault(),u()},title:"Reset zoom"},E.createElement(P0,null))))),IW=La({scale:1}),{window:ove}=et;var{PREVIEW_URL:sve}=et;var OW=te.div(({isColumn:e,columns:t,layout:n})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:n!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:n!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),xD=te($D)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ar(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ar(.05,e.background.content)}})),RW=te.div(({theme:e,withSource:t,isExpanded:n})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...mo(e),borderBottomLeftRadius:t&&n&&0,borderBottomRightRadius:t&&n&&0,borderBottomWidth:n&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),PW=(e,t,n)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>n(!1)}};case t:return{source:E.createElement(xD,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>n(!1)}};default:return{source:E.createElement(xD,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>n(!0)}}}};function kW(e){if(Kd.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var NW=te(TW)({position:"absolute",top:0,left:0,right:0,height:40}),LW=te.div({overflow:"hidden",position:"relative"}),MW=({isLoading:e,isColumn:t,columns:n,children:i,withSource:u,withToolbar:s=!1,isExpanded:l=!1,additionalActions:c,className:p,layout:y="padded",...D})=>{let[F,b]=qe(l),{source:A,actionItem:w}=PW(u,F,b),[x,I]=qe(1),L=[p].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),k=u?[w]:[],[M,Y]=qe(c?[...c]:[]),P=[...k,...M],{window:K}=et,G=pt(async de=>{let{createCopyToClipboardFunction:ae}=await Promise.resolve().then(()=>(Ma(),c0));ae()},[]),ie=de=>{let ae=K.getSelection();ae&&ae.type==="Range"||(de.preventDefault(),M.filter(Le=>Le.title==="Copied").length===0&&G(A.props.code).then(()=>{Y([...M,{title:"Copied",onClick:()=>{}}]),K.setTimeout(()=>Y(M.filter(Le=>Le.title!=="Copied")),1500)}))};return E.createElement(RW,{withSource:u,withToolbar:s,...D,className:L.join(" ")},s&&E.createElement(NW,{isLoading:e,border:!0,zoom:de=>I(x*de),resetZoom:()=>I(1),storyId:kW(i),baseUrl:"./iframe.html"}),E.createElement(IW.Provider,{value:{scale:x}},E.createElement(LW,{className:"docs-story",onCopyCapture:u&&ie},E.createElement(OW,{isColumn:t||!Array.isArray(i),columns:n,layout:y},E.createElement(Zs.Element,{scale:x},Array.isArray(i)?i.map((de,ae)=>E.createElement("div",{key:ae},de)):E.createElement("div",null,i))),E.createElement(Hs,{actionItems:P}))),u&&F&&A)};te(MW)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var qW=te.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:qn({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),jW=({tags:e})=>{let t=(e.params||[]).filter(s=>s.description),n=t.length!==0,i=e.deprecated!=null,u=e.returns!=null&&e.returns.description!=null;return!n&&!u&&!i?null:E.createElement(E.Fragment,null,E.createElement(qW,null,E.createElement("tbody",null,i&&E.createElement("tr",{key:"deprecated"},E.createElement("td",{colSpan:2},E.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),n&&t.map(s=>E.createElement("tr",{key:s.name},E.createElement("td",null,E.createElement("code",null,s.name)),E.createElement("td",null,s.description))),u&&E.createElement("tr",{key:"returns"},E.createElement("td",null,E.createElement("code",null,"Returns")),E.createElement("td",null,e.returns.description)))))},pf=8,SD=te.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),$W=te.span(qn,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),UW=te.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),HW=te.div(qn,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),zW=te.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),WW=te(C0)({marginLeft:4}),GW=te(hl)({marginLeft:4}),VW=()=>E.createElement("span",null,"-"),UD=({text:e,simple:t})=>E.createElement($W,{simple:t},e),KW=(0,ND.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(n=>n.length))}ch`}),YW=e=>{if(!e)return[e];let t=e.split("|").map(n=>n.trim());return(0,LD.default)(t)},wD=(e,t=!0)=>{let n=e;return t||(n=e.slice(0,pf)),n.map(i=>E.createElement(UD,{key:i,text:i===""?'""':i}))},XW=({value:e,initialExpandedArgs:t})=>{let{summary:n,detail:i}=e,[u,s]=qe(!1),[l,c]=qe(t||!1);if(n==null)return null;let p=typeof n.toString=="function"?n.toString():n;if(i==null){if(/[(){}[\]<>]/.test(p))return E.createElement(UD,{text:p});let y=YW(p),D=y.length;return D>pf?E.createElement(SD,{isExpanded:l},wD(y,l),E.createElement(UW,{onClick:()=>c(!l)},l?"Show less...":`Show ${D-pf} more...`)):E.createElement(SD,null,wD(y))}return E.createElement(Js,{closeOnOutsideClick:!0,placement:"bottom",visible:u,onVisibleChange:y=>{s(y)},tooltip:E.createElement(zW,{width:KW(i)},E.createElement(su,{language:"jsx",format:!1},i))},E.createElement(HW,{className:"sbdocs-expandable"},E.createElement("span",null,p),u?E.createElement(WW,null):E.createElement(GW,null)))},lf=({value:e,initialExpandedArgs:t})=>e==null?E.createElement(VW,null):E.createElement(XW,{value:e,initialExpandedArgs:t}),JW=te.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ze(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ha(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ha(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ha(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ha(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),ZW=e=>e==="true",QW=({name:e,value:t,onChange:n,onBlur:i,onFocus:u})=>{let s=pt(()=>n(!1),[n]);if(t===void 0)return E.createElement(Mn,{variant:"outline",size:"medium",id:qa(e),onClick:s},"Set boolean");let l=It(e),c=typeof t=="string"?ZW(t):t;return E.createElement(JW,{htmlFor:l,"aria-label":e},E.createElement("input",{id:l,type:"checkbox",onChange:p=>n(p.target.checked),checked:c,role:"switch",name:e,onBlur:i,onFocus:u}),E.createElement("span",{"aria-hidden":"true"},"False"),E.createElement("span",{"aria-hidden":"true"},"True"))},eG=e=>{let[t,n,i]=e.split("-"),u=new Date;return u.setFullYear(parseInt(t,10),parseInt(n,10)-1,parseInt(i,10)),u},tG=e=>{let[t,n]=e.split(":"),i=new Date;return i.setHours(parseInt(t,10)),i.setMinutes(parseInt(n,10)),i},rG=e=>{let t=new Date(e),n=`000${t.getFullYear()}`.slice(-4),i=`0${t.getMonth()+1}`.slice(-2),u=`0${t.getDate()}`.slice(-2);return`${n}-${i}-${u}`},nG=e=>{let t=new Date(e),n=`0${t.getHours()}`.slice(-2),i=`0${t.getMinutes()}`.slice(-2);return`${n}:${i}`},aG=te.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),iG=({name:e,value:t,onChange:n,onFocus:i,onBlur:u})=>{let[s,l]=qe(!0),c=wt(),p=wt();it(()=>{s!==!1&&(c&&c.current&&(c.current.value=rG(t)),p&&p.current&&(p.current.value=nG(t)))},[t]);let y=b=>{let A=eG(b.target.value),w=new Date(t);w.setFullYear(A.getFullYear(),A.getMonth(),A.getDate());let x=w.getTime();x&&n(x),l(!!x)},D=b=>{let A=tG(b.target.value),w=new Date(t);w.setHours(A.getHours()),w.setMinutes(A.getMinutes());let x=w.getTime();x&&n(x),l(!!x)},F=It(e);return E.createElement(aG,null,E.createElement(fr.Input,{type:"date",max:"9999-12-31",ref:c,id:`${F}-date`,name:`${F}-date`,onChange:y,onFocus:i,onBlur:u}),E.createElement(fr.Input,{type:"time",id:`${F}-time`,name:`${F}-time`,ref:p,onChange:D,onFocus:i,onBlur:u}),s?null:E.createElement("div",null,"invalid"))},uG=te.label({display:"flex"}),oG=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t};var sG=({name:e,value:t,onChange:n,min:i,max:u,step:s,onBlur:l,onFocus:c})=>{let[p,y]=qe(typeof t=="number"?t:""),[D,F]=qe(!1),[b,A]=qe(null),w=pt(L=>{y(L.target.value);let k=parseFloat(L.target.value);Number.isNaN(k)?A(new Error(`'${L.target.value}' is not a number`)):(n(k),A(null))},[n,A]),x=pt(()=>{y("0"),n(0),F(!0)},[F]),I=wt(null);return it(()=>{D&&I.current&&I.current.select()},[D]),it(()=>{p!==(typeof t=="number"?t:"")&&y(t)},[t]),!D&&t===void 0?E.createElement(Mn,{variant:"outline",size:"medium",id:qa(e),onClick:x},"Set number"):E.createElement(uG,null,E.createElement(fr.Input,{ref:I,id:It(e),type:"number",onChange:w,size:"flex",placeholder:"Edit number...",value:p,valid:b?"error":null,autoFocus:D,name:e,min:i,max:u,step:s,onFocus:c,onBlur:l}))},HD=(e,t)=>{let n=t&&Object.entries(t).find(([i,u])=>u===e);return n?n[0]:void 0},df=(e,t)=>e&&t?Object.entries(t).filter(n=>e.includes(n[1])).map(n=>n[0]):[],zD=(e,t)=>e&&t&&e.map(n=>t[n]),lG=te.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),cG=te.span({}),fG=te.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),FD=({name:e,options:t,value:n,onChange:i,isInline:u})=>{if(!t)return gn.warn(`Checkbox with no options: ${e}`),E.createElement(E.Fragment,null,"-");let s=df(n,t),[l,c]=qe(s),p=D=>{let F=D.target.value,b=[...l];b.includes(F)?b.splice(b.indexOf(F),1):b.push(F),i(zD(b,t)),c(b)};it(()=>{c(df(n,t))},[n]);let y=It(e);return E.createElement(lG,{isInline:u},Object.keys(t).map((D,F)=>{let b=`${y}-${F}`;return E.createElement(fG,{key:b,htmlFor:b},E.createElement("input",{type:"checkbox",id:b,name:b,value:D,onChange:p,checked:l?.includes(D)}),E.createElement(cG,null,D))}))},pG=te.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),dG=te.span({}),hG=te.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_D=({name:e,options:t,value:n,onChange:i,isInline:u})=>{if(!t)return gn.warn(`Radio with no options: ${e}`),E.createElement(E.Fragment,null,"-");let s=HD(n,t),l=It(e);return E.createElement(pG,{isInline:u},Object.keys(t).map((c,p)=>{let y=`${l}-${p}`;return E.createElement(hG,{key:y,htmlFor:y},E.createElement("input",{type:"radio",id:y,name:y,value:c,onChange:D=>i(t[D.currentTarget.value]),checked:c===s}),E.createElement(dG,null,c))}))},gG={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},WD=te.select(gG,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),GD=te.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),BD="Choose option...",mG=({name:e,value:t,options:n,onChange:i})=>{let u=c=>{i(n[c.currentTarget.value])},s=HD(t,n)||BD,l=It(e);return E.createElement(GD,null,E.createElement(hl,null),E.createElement(WD,{id:l,value:s,onChange:u},E.createElement("option",{key:"no-selection",disabled:!0},BD),Object.keys(n).map(c=>E.createElement("option",{key:c,value:c},c))))},yG=({name:e,value:t,options:n,onChange:i})=>{let u=c=>{let p=Array.from(c.currentTarget.options).filter(y=>y.selected).map(y=>y.value);i(zD(p,n))},s=df(t,n),l=It(e);return E.createElement(GD,null,E.createElement(WD,{id:l,multiple:!0,value:s,onChange:u},Object.keys(n).map(c=>E.createElement("option",{key:c,value:c},c))))},TD=e=>{let{name:t,options:n}=e;return n?e.isMulti?E.createElement(yG,{...e}):E.createElement(mG,{...e}):(gn.warn(`Select with no options: ${t}`),E.createElement(E.Fragment,null,"-"))},vG=(e,t)=>Array.isArray(e)?e.reduce((n,i)=>(n[t?.[i]||String(i)]=i,n),{}):e,bG={check:FD,"inline-check":FD,radio:_D,"inline-radio":_D,select:TD,"multi-select":TD},ya=e=>{let{type:t="select",labels:n,argType:i}=e,u={...e,options:i?vG(i.options,n):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},s=bG[t];if(s)return E.createElement(s,{...u});throw new Error(`Unknown options type: ${t}`)},mf="value",AG="key",EG="Error",DG="Object",CG="Array",xG="String",SG="Number",wG="Boolean",FG="Date",_G="Null",BG="Undefined",TG="Function",IG="Symbol",VD="ADD_DELTA_TYPE",KD="REMOVE_DELTA_TYPE",YD="UPDATE_DELTA_TYPE";function Dn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function XD(e,t){let n=Dn(e),i=Dn(t);return(n==="Function"||i==="Function")&&i!==n}var yf=class extends qr{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:n}=this.props;e&&typeof e.focus=="function"&&e.focus(),n&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:n,keyPath:i,deep:u}=this.props,{inputRefKey:s,inputRefValue:l}=this.state,c={};if(!t){if(!s.value)return;c.key=s.value}c.newValue=n(!1,i,u,c.key,l.value),e(c)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:n,cancelButtonElement:i,inputElementGenerator:u,keyPath:s,deep:l}=this.props,c=Je(n,{onClick:this.onSubmit}),p=Je(i,{onClick:e}),y=u(mf,s,l),D=Je(y,{placeholder:"Value",ref:this.refInputValue}),F=null;if(!t){let b=u(AG,s,l);F=Je(b,{placeholder:"Key",ref:this.refInputKey})}return E.createElement("span",{className:"rejt-add-value-node"},F,D,p,c)}};yf.defaultProps={onlyValue:!1,addButtonElement:E.createElement("button",null,"+"),cancelButtonElement:E.createElement("button",null,"c")};var JD=class extends qr{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:n,keyPath:i}=this.state;n[e]=t,this.setState({data:n});let{onUpdate:u}=this.props,s=i.length;u(i[s-1],n)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:n}=this.props,{data:i,keyPath:u,nextDeep:s}=this.state,l=i[e];t(e,u,s,l).then(()=>{let c={keyPath:u,deep:s,key:e,oldValue:l,type:KD};i.splice(e,1),this.setState({data:i});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(u[u.length-1],i),y(c)}).catch(n.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:n,nextDeep:i}=this.state,{beforeAddAction:u,logger:s}=this.props;u(t.length,n,i,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:p}=this.props;c(n[n.length-1],l),p({type:VD,keyPath:n,deep:i,key:l.length-1,newValue:e})}).catch(s.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((n,i)=>{let{beforeUpdateAction:u}=this.props,{data:s,keyPath:l,nextDeep:c}=this.state,p=s[e];u(e,l,c,p,t).then(()=>{s[e]=t,this.setState({data:s});let{onUpdate:y,onDeltaUpdate:D}=this.props;y(l[l.length-1],s),D({type:YD,keyPath:l,deep:c,key:e,newValue:t,oldValue:p}),n(void 0)}).catch(i)})}renderCollapsed(){let{name:e,data:t,keyPath:n,deep:i}=this.state,{handleRemove:u,readOnly:s,getStyle:l,dataType:c,minusMenuElement:p}=this.props,{minus:y,collapsed:D}=l(e,t,n,i,c),F=s(e,t,n,i,c),b=Je(p,{onClick:u,className:"rejt-minus-menu",style:y});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:D,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!F&&b)}renderNotCollapsed(){let{name:e,data:t,keyPath:n,deep:i,addFormVisible:u,nextDeep:s}=this.state,{isCollapsed:l,handleRemove:c,onDeltaUpdate:p,readOnly:y,getStyle:D,dataType:F,addButtonElement:b,cancelButtonElement:A,editButtonElement:w,inputElementGenerator:x,textareaElementGenerator:I,minusMenuElement:L,plusMenuElement:k,beforeRemoveAction:M,beforeAddAction:Y,beforeUpdateAction:P,logger:K,onSubmitValueParser:G}=this.props,{minus:ie,plus:de,delimiter:ae,ul:Le,addForm:Ae}=D(e,t,n,i,F),he=y(e,t,n,i,F),z=Je(k,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:de}),j=Je(L,{onClick:c,className:"rejt-minus-menu",style:ie});return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:ae},"["),!u&&z,E.createElement("ul",{className:"rejt-not-collapsed-list",style:Le},t.map((Z,oe)=>E.createElement(yo,{key:oe,name:oe.toString(),data:Z,keyPath:n,deep:s,isCollapsed:l,handleRemove:this.handleRemoveItem(oe),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:p,readOnly:y,getStyle:D,addButtonElement:b,cancelButtonElement:A,editButtonElement:w,inputElementGenerator:x,textareaElementGenerator:I,minusMenuElement:L,plusMenuElement:k,beforeRemoveAction:M,beforeAddAction:Y,beforeUpdateAction:P,logger:K,onSubmitValueParser:G}))),!he&&u&&E.createElement("div",{className:"rejt-add-form",style:Ae},E.createElement(yf,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:b,cancelButtonElement:A,inputElementGenerator:x,keyPath:n,deep:i,onSubmitValueParser:G})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:ae},"]"),!he&&j)}render(){let{name:e,collapsed:t,data:n,keyPath:i,deep:u}=this.state,{dataType:s,getStyle:l}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),p=l(e,n,i,u,s);return E.createElement("div",{className:"rejt-array-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:p.name},e," :"," ")),c)}};JD.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var ZD=class extends qr{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:n,value:i,keyPath:u,deep:s}=this.state,{readOnly:l,dataType:c}=this.props,p=l(n,i,u,s,c);e&&!p&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:n,onSubmitValueParser:i,keyPath:u}=this.props,{inputRef:s,name:l,deep:c}=this.state;if(!s)return;let p=i(!0,u,c,l,s.value);e({value:p,key:l}).then(()=>{XD(t,p)||this.handleCancelEdit()}).catch(n.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:n,keyPath:i,deep:u}=this.state,{handleRemove:s,originalValue:l,readOnly:c,dataType:p,getStyle:y,editButtonElement:D,cancelButtonElement:F,textareaElementGenerator:b,minusMenuElement:A,keyPath:w}=this.props,x=y(e,l,i,u,p),I=null,L=null,k=c(e,l,i,u,p);if(n&&!k){let M=b(mf,w,u,e,l,p),Y=Je(D,{onClick:this.handleEdit}),P=Je(F,{onClick:this.handleCancelEdit}),K=Je(M,{ref:this.refInput,defaultValue:l});I=E.createElement("span",{className:"rejt-edit-form",style:x.editForm},K," ",P,Y),L=null}else{I=E.createElement("span",{className:"rejt-value",style:x.value,onClick:k?null:this.handleEditMode},t);let M=Je(A,{onClick:s,className:"rejt-minus-menu",style:x.minus});L=k?null:M}return E.createElement("li",{className:"rejt-function-value-node",style:x.li},E.createElement("span",{className:"rejt-name",style:x.name},e," :"," "),I,L)}};ZD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var yo=class extends qr{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:n,deep:i}=this.state,{isCollapsed:u,handleRemove:s,handleUpdateValue:l,onUpdate:c,onDeltaUpdate:p,readOnly:y,getStyle:D,addButtonElement:F,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,textareaElementGenerator:x,minusMenuElement:I,plusMenuElement:L,beforeRemoveAction:k,beforeAddAction:M,beforeUpdateAction:Y,logger:P,onSubmitValueParser:K}=this.props,G=()=>!0,ie=Dn(e);switch(ie){case EG:return E.createElement(hf,{data:e,name:t,isCollapsed:u,keyPath:n,deep:i,handleRemove:s,onUpdate:c,onDeltaUpdate:p,readOnly:G,dataType:ie,getStyle:D,addButtonElement:F,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,textareaElementGenerator:x,minusMenuElement:I,plusMenuElement:L,beforeRemoveAction:k,beforeAddAction:M,beforeUpdateAction:Y,logger:P,onSubmitValueParser:K});case DG:return E.createElement(hf,{data:e,name:t,isCollapsed:u,keyPath:n,deep:i,handleRemove:s,onUpdate:c,onDeltaUpdate:p,readOnly:y,dataType:ie,getStyle:D,addButtonElement:F,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,textareaElementGenerator:x,minusMenuElement:I,plusMenuElement:L,beforeRemoveAction:k,beforeAddAction:M,beforeUpdateAction:Y,logger:P,onSubmitValueParser:K});case CG:return E.createElement(JD,{data:e,name:t,isCollapsed:u,keyPath:n,deep:i,handleRemove:s,onUpdate:c,onDeltaUpdate:p,readOnly:y,dataType:ie,getStyle:D,addButtonElement:F,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,textareaElementGenerator:x,minusMenuElement:I,plusMenuElement:L,beforeRemoveAction:k,beforeAddAction:M,beforeUpdateAction:Y,logger:P,onSubmitValueParser:K});case xG:return E.createElement(Xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case SG:return E.createElement(Xr,{name:t,value:e,originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case wG:return E.createElement(Xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case FG:return E.createElement(Xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:G,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case _G:return E.createElement(Xr,{name:t,value:"null",originalValue:"null",keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case BG:return E.createElement(Xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});case TG:return E.createElement(ZD,{name:t,value:e.toString(),originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:y,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,textareaElementGenerator:x,minusMenuElement:I,logger:P,onSubmitValueParser:K});case IG:return E.createElement(Xr,{name:t,value:e.toString(),originalValue:e,keyPath:n,deep:i,handleRemove:s,handleUpdateValue:l,readOnly:G,dataType:ie,getStyle:D,cancelButtonElement:b,editButtonElement:A,inputElementGenerator:w,minusMenuElement:I,logger:P,onSubmitValueParser:K});default:return null}}};yo.defaultProps={keyPath:[],deep:0};var hf=class extends qr{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:n,keyPath:i}=this.state;n[e]=t,this.setState({data:n});let{onUpdate:u}=this.props,s=i.length;u(i[s-1],n)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:n,keyPath:i,nextDeep:u}=this.state,{beforeAddAction:s,logger:l}=this.props;s(e,i,u,t).then(()=>{n[e]=t,this.setState({data:n}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:p}=this.props;c(i[i.length-1],n),p({type:VD,keyPath:i,deep:u,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:n}=this.props,{data:i,keyPath:u,nextDeep:s}=this.state,l=i[e];t(e,u,s,l).then(()=>{let c={keyPath:u,deep:s,key:e,oldValue:l,type:KD};delete i[e],this.setState({data:i});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(u[u.length-1],i),y(c)}).catch(n.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((n,i)=>{let{beforeUpdateAction:u}=this.props,{data:s,keyPath:l,nextDeep:c}=this.state,p=s[e];u(e,l,c,p,t).then(()=>{s[e]=t,this.setState({data:s});let{onUpdate:y,onDeltaUpdate:D}=this.props;y(l[l.length-1],s),D({type:YD,keyPath:l,deep:c,key:e,newValue:t,oldValue:p}),n()}).catch(i)})}renderCollapsed(){let{name:e,keyPath:t,deep:n,data:i}=this.state,{handleRemove:u,readOnly:s,dataType:l,getStyle:c,minusMenuElement:p}=this.props,{minus:y,collapsed:D}=c(e,i,t,n,l),F=Object.getOwnPropertyNames(i),b=s(e,i,t,n,l),A=Je(p,{onClick:u,className:"rejt-minus-menu",style:y});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:D,onClick:this.handleCollapseMode},"{...}"," ",F.length," ",F.length===1?"key":"keys"),!b&&A)}renderNotCollapsed(){let{name:e,data:t,keyPath:n,deep:i,nextDeep:u,addFormVisible:s}=this.state,{isCollapsed:l,handleRemove:c,onDeltaUpdate:p,readOnly:y,getStyle:D,dataType:F,addButtonElement:b,cancelButtonElement:A,editButtonElement:w,inputElementGenerator:x,textareaElementGenerator:I,minusMenuElement:L,plusMenuElement:k,beforeRemoveAction:M,beforeAddAction:Y,beforeUpdateAction:P,logger:K,onSubmitValueParser:G}=this.props,{minus:ie,plus:de,addForm:ae,ul:Le,delimiter:Ae}=D(e,t,n,i,F),he=Object.getOwnPropertyNames(t),z=y(e,t,n,i,F),j=Je(k,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:de}),Z=Je(L,{onClick:c,className:"rejt-minus-menu",style:ie}),oe=he.map(ge=>E.createElement(yo,{key:ge,name:ge,data:t[ge],keyPath:n,deep:u,isCollapsed:l,handleRemove:this.handleRemoveValue(ge),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:p,readOnly:y,getStyle:D,addButtonElement:b,cancelButtonElement:A,editButtonElement:w,inputElementGenerator:x,textareaElementGenerator:I,minusMenuElement:L,plusMenuElement:k,beforeRemoveAction:M,beforeAddAction:Y,beforeUpdateAction:P,logger:K,onSubmitValueParser:G}));return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Ae},"{"),!z&&j,E.createElement("ul",{className:"rejt-not-collapsed-list",style:Le},oe),!z&&s&&E.createElement("div",{className:"rejt-add-form",style:ae},E.createElement(yf,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:b,cancelButtonElement:A,inputElementGenerator:x,keyPath:n,deep:i,onSubmitValueParser:G})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Ae},"}"),!z&&Z)}render(){let{name:e,collapsed:t,data:n,keyPath:i,deep:u}=this.state,{getStyle:s,dataType:l}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),p=s(e,n,i,u,l);return E.createElement("div",{className:"rejt-object-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:p.name},e," :"," ")),c)}};hf.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var Xr=class extends qr{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:n,value:i,keyPath:u,deep:s}=this.state,{readOnly:l,dataType:c}=this.props,p=l(n,i,u,s,c);e&&!p&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:n,onSubmitValueParser:i,keyPath:u}=this.props,{inputRef:s,name:l,deep:c}=this.state;if(!s)return;let p=i(!0,u,c,l,s.value);e({value:p,key:l}).then(()=>{XD(t,p)||this.handleCancelEdit()}).catch(n.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:n,keyPath:i,deep:u}=this.state,{handleRemove:s,originalValue:l,readOnly:c,dataType:p,getStyle:y,editButtonElement:D,cancelButtonElement:F,inputElementGenerator:b,minusMenuElement:A,keyPath:w}=this.props,x=y(e,l,i,u,p),I=c(e,l,i,u,p),L=n&&!I,k=b(mf,w,u,e,l,p),M=Je(D,{onClick:this.handleEdit}),Y=Je(F,{onClick:this.handleCancelEdit}),P=Je(k,{ref:this.refInput,defaultValue:JSON.stringify(l)}),K=Je(A,{onClick:s,className:"rejt-minus-menu",style:x.minus});return E.createElement("li",{className:"rejt-value-node",style:x.li},E.createElement("span",{className:"rejt-name",style:x.name},e," : "),L?E.createElement("span",{className:"rejt-edit-form",style:x.editForm},P," ",Y,M):E.createElement("span",{className:"rejt-value",style:x.value,onClick:I?null:this.handleEditMode},String(t)),!I&&!L&&K)}};Xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var OG={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},RG={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},PG={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function kG(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var QD=class extends qr{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:n,onDeltaUpdate:i,readOnly:u,getStyle:s,addButtonElement:l,cancelButtonElement:c,editButtonElement:p,inputElement:y,textareaElement:D,minusMenuElement:F,plusMenuElement:b,beforeRemoveAction:A,beforeAddAction:w,beforeUpdateAction:x,logger:I,onSubmitValueParser:L,fallback:k=null}=this.props,M=Dn(e),Y=u;Dn(u)==="Boolean"&&(Y=()=>u);let P=y;y&&Dn(y)!=="Function"&&(P=()=>y);let K=D;return D&&Dn(D)!=="Function"&&(K=()=>D),M==="Object"||M==="Array"?E.createElement("div",{className:"rejt-tree"},E.createElement(yo,{data:e,name:t,deep:-1,isCollapsed:n,onUpdate:this.onUpdate,onDeltaUpdate:i,readOnly:Y,getStyle:s,addButtonElement:l,cancelButtonElement:c,editButtonElement:p,inputElementGenerator:P,textareaElementGenerator:K,minusMenuElement:F,plusMenuElement:b,handleRemove:this.removeRoot,beforeRemoveAction:A,beforeAddAction:w,beforeUpdateAction:x,logger:I,onSubmitValueParser:L})):k}};QD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,n,i,u)=>{switch(u){case"Object":case"Error":return OG;case"Array":return RG;default:return PG}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,n,i,u)=>kG(u),inputElement:()=>E.createElement("input",null),textareaElement:()=>E.createElement("textarea",null),fallback:null};var{window:NG}=et,LG=te.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),cf=te.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),MG=te(A0)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),qG=te(_0)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),ID=te.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),jG=te(ln)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),$G=te(fr.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),UG={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},HG=e=>{e.currentTarget.dispatchEvent(new NG.KeyboardEvent("keydown",UG))},zG=e=>{e.currentTarget.select()},WG=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),OD=({name:e,value:t,onChange:n})=>{let i=nl(),u=jr(()=>t&&(0,MD.default)(t),[t]),s=u!=null,[l,c]=qe(!s),[p,y]=qe(null),D=pt(L=>{try{L&&n(JSON.parse(L)),y(void 0)}catch(k){y(k)}},[n]),[F,b]=qe(!1),A=pt(()=>{n({}),b(!0)},[b]),w=wt(null);if(it(()=>{F&&w.current&&w.current.select()},[F]),!s)return E.createElement(Mn,{id:qa(e),onClick:A},"Set object");let x=E.createElement($G,{ref:w,id:It(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:L=>D(L.target.value),placeholder:"Edit JSON string...",autoFocus:F,valid:p?"error":null}),I=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return E.createElement(LG,null,I&&E.createElement(jG,{onClick:L=>{L.preventDefault(),c(k=>!k)}},l?E.createElement(x0,null):E.createElement(S0,null),E.createElement("span",null,"RAW")),l?x:E.createElement(QD,{readOnly:!I,isCollapsed:I?void 0:()=>!0,data:u,rootName:e,onFullyUpdate:n,getStyle:WG(i),cancelButtonElement:E.createElement(cf,{type:"button"},"Cancel"),editButtonElement:E.createElement(cf,{type:"submit"},"Save"),addButtonElement:E.createElement(cf,{type:"submit",primary:!0},"Save"),plusMenuElement:E.createElement(MG,null),minusMenuElement:E.createElement(qG,null),inputElement:(L,k,M,Y)=>Y?E.createElement(ID,{onFocus:zG,onBlur:HG}):E.createElement(ID,null),fallback:x}))},GG=te.input(({theme:e,min:t,max:n,value:i})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ar(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:nr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ar(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${ar(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} ${(i-t)/(n-t)*100}%, + ${Hr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),eC=te.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),VG=te(eC)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),KG=te.div({display:"flex",alignItems:"center",width:"100%"});function YG(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var XG=({name:e,value:t,onChange:n,min:i=0,max:u=100,step:s=1,onBlur:l,onFocus:c})=>{let p=F=>{n(oG(F.target.value))},y=t!==void 0,D=jr(()=>YG(s),[s]);return E.createElement(KG,null,E.createElement(eC,null,i),E.createElement(GG,{id:It(e),type:"range",onChange:p,name:e,value:t,min:i,max:u,step:s,onFocus:c,onBlur:l}),E.createElement(VG,{numberOFDecimalsPlaces:D,max:u},y?t.toFixed(D):"--"," / ",u))},JG=te.label({display:"flex"}),ZG=te.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),QG=({name:e,value:t,onChange:n,onFocus:i,onBlur:u,maxLength:s})=>{let l=F=>{n(F.target.value)},[c,p]=qe(!1),y=pt(()=>{n(""),p(!0)},[p]);if(t===void 0)return E.createElement(Mn,{variant:"outline",size:"medium",id:qa(e),onClick:y},"Set string");let D=typeof t=="string";return E.createElement(JG,null,E.createElement(fr.Textarea,{id:It(e),maxLength:s,onChange:l,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:D?null:"error",name:e,value:D?t:"",onFocus:i,onBlur:u}),s&&E.createElement(ZG,{isMaxed:t?.length===s},t?.length??0," / ",s))},eV=te(fr.Input)({padding:10});function tV(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var rV=({onChange:e,name:t,accept:n="image/*",value:i})=>{let u=wt(null);function s(l){if(!l.target.files)return;let c=Array.from(l.target.files).map(p=>URL.createObjectURL(p));e(c),tV(i)}return it(()=>{i==null&&u.current&&(u.current.value=null)},[i,t]),E.createElement(eV,{ref:u,id:It(t),type:"file",name:t,multiple:!0,onChange:s,accept:n,size:"flex"})},nV=Xd(()=>Promise.resolve().then(()=>(CD(),DD))),aV=e=>E.createElement(Yd,{fallback:E.createElement("div",null)},E.createElement(nV,{...e})),iV={array:OD,object:OD,boolean:QW,color:aV,date:iG,number:sG,check:ya,"inline-check":ya,radio:ya,"inline-radio":ya,select:ya,"multi-select":ya,range:XG,text:QG,file:rV},RD=()=>E.createElement(E.Fragment,null,"-"),uV=({row:e,arg:t,updateArgs:n,isHovered:i})=>{let{key:u,control:s}=e,[l,c]=qe(!1),[p,y]=qe({value:t});it(()=>{l||y({value:t})},[l,t]);let D=pt(x=>(y({value:x}),n({[u]:x}),x),[n,u]),F=pt(()=>c(!1),[]),b=pt(()=>c(!0),[]);if(!s||s.disabled){let x=s?.disabled!==!0&&e?.type?.name!=="function";return i&&x?E.createElement(cn,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):E.createElement(RD,null)}let A={name:u,argType:e,value:p.value,onChange:D,onBlur:F,onFocus:b},w=iV[s.type]||RD;return E.createElement(w,{...A,...s,controlType:s.type})},oV=te.span({fontWeight:"bold"}),sV=te.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),lV=te.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...qn({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),cV=te.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ze(.1,e.color.defaultText):ze(.2,e.color.defaultText),marginTop:t?4:0})),fV=te.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ze(.1,e.color.defaultText):ze(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),pV=te.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),dV=e=>e&&{summary:typeof e=="string"?e:e.name},ho=e=>{let[t,n]=qe(!1),{row:i,updateArgs:u,compact:s,expandable:l,initialExpandedArgs:c}=e,{name:p,description:y}=i,D=i.table||{},F=D.type||dV(i.type),b=D.defaultValue||i.defaultValue,A=i.type?.required,w=y!=null&&y!=="";return E.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},E.createElement(pV,{expandable:l},E.createElement(oV,null,p),A?E.createElement(sV,{title:"Required"},"*"):null),s?null:E.createElement("td",null,w&&E.createElement(lV,null,E.createElement(C1,null,y)),D.jsDocTags!=null?E.createElement(E.Fragment,null,E.createElement(fV,{hasDescription:w},E.createElement(lf,{value:F,initialExpandedArgs:c})),E.createElement(jW,{tags:D.jsDocTags})):E.createElement(cV,{hasDescription:w},E.createElement(lf,{value:F,initialExpandedArgs:c}))),s?null:E.createElement("td",null,E.createElement(lf,{value:b,initialExpandedArgs:c})),u?E.createElement("td",null,E.createElement(uV,{...e,isHovered:t})):null)},hV=te(E0)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ze(.25,e.color.defaultText):ze(.3,e.color.defaultText),border:"none",display:"inline-block"})),gV=te(D0)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ze(.25,e.color.defaultText):ze(.3,e.color.defaultText),border:"none",display:"inline-block"})),mV=te.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),yV=te.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ze(.4,e.color.defaultText):ze(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),vV=te.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),bV=te.td(()=>({position:"relative"})),AV=te.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Hr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),PD=te.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),ff=({level:e="section",label:t,children:n,initialExpanded:i=!0,colSpan:u=3})=>{let[s,l]=qe(i),c=e==="subsection"?vV:yV,p=n?.length||0,y=e==="subsection"?`${p} item${p!==1?"s":""}`:"",D=`${s?"Hide":"Show"} ${e==="subsection"?p:t} item${p!==1?"s":""}`;return E.createElement(E.Fragment,null,E.createElement(AV,{title:D},E.createElement(c,{colSpan:1},E.createElement(PD,{onClick:F=>l(!s),tabIndex:0},D),E.createElement(mV,null,s?E.createElement(hV,null):E.createElement(gV,null),t)),E.createElement(bV,{colSpan:u-1},E.createElement(PD,{onClick:F=>l(!s),tabIndex:-1,style:{outline:"none"}},D),s?null:y)),s?n:null)},go=te.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),At=te.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),st=te.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),Et=[2,4,2,2],EV=()=>E.createElement(E.Fragment,null,E.createElement(go,null,E.createElement(At,{numColumn:Et[0]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[1]},E.createElement(st,{width:"30%"})),E.createElement(At,{numColumn:Et[2]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[3]},E.createElement(st,{width:"60%"}))),E.createElement(go,null,E.createElement(At,{numColumn:Et[0]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[1]},E.createElement(st,{width:"80%"}),E.createElement(st,{width:"30%"})),E.createElement(At,{numColumn:Et[2]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[3]},E.createElement(st,{width:"60%"}))),E.createElement(go,null,E.createElement(At,{numColumn:Et[0]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[1]},E.createElement(st,{width:"80%"}),E.createElement(st,{width:"30%"})),E.createElement(At,{numColumn:Et[2]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[3]},E.createElement(st,{width:"60%"}))),E.createElement(go,null,E.createElement(At,{numColumn:Et[0]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[1]},E.createElement(st,{width:"80%"}),E.createElement(st,{width:"30%"})),E.createElement(At,{numColumn:Et[2]},E.createElement(st,{width:"60%"})),E.createElement(At,{numColumn:Et[3]},E.createElement(st,{width:"60%"})))),DV=te.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),CV=te.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),xV=te.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),SV=te.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),wV=te.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),FV=te.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),_V=({inAddonPanel:e})=>{let[t,n]=qe(!0);return it(()=>{let i=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(i)},[]),t?null:E.createElement(DV,{inAddonPanel:e},E.createElement(CV,null,E.createElement(xV,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),E.createElement(SV,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),E.createElement(wV,null,e&&E.createElement(E.Fragment,null,E.createElement(cn,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},E.createElement(I0,null)," Watch 5m video"),E.createElement(FV,null),E.createElement(cn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(gl,null)," Read docs")),!e&&E.createElement(cn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(B0,null)," Learn how to set that up")))},BV=te.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ze(.25,e.color.defaultText):ze(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),TV=te(ln)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),IV=te.span({display:"flex",justifyContent:"space-between"}),OV={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},RV=(e,t)=>{let n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([s,l])=>{let{category:c,subcategory:p}=l?.table||{};if(c){let y=n.sections[c]||{ungrouped:[],subsections:{}};if(!p)y.ungrouped.push({key:s,...l});else{let D=y.subsections[p]||[];D.push({key:s,...l}),y.subsections[p]=D}n.sections[c]=y}else if(p){let y=n.ungroupedSubsections[p]||[];y.push({key:s,...l}),n.ungroupedSubsections[p]=y}else n.ungrouped.push({key:s,...l})});let i=OV[t],u=s=>i?Object.keys(s).reduce((l,c)=>({...l,[c]:s[c].sort(i)}),{}):s;return{ungrouped:n.ungrouped.sort(i),ungroupedSubsections:u(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((s,l)=>({...s,[l]:{ungrouped:n.sections[l].ungrouped.sort(i),subsections:u(n.sections[l].subsections)}}),{})}},PV=(e,t,n)=>{try{return Xy(e,t,n)}catch(i){return ec.warn(i.message),!1}},tC=e=>{let{updateArgs:t,resetArgs:n,compact:i,inAddonPanel:u,initialExpandedArgs:s,sort:l="none",isLoading:c}=e;if("error"in e){let{error:k}=e;return E.createElement(jD,null,k,"\xA0",E.createElement(cn,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},E.createElement(gl,null)," Read the docs"))}if(c)return E.createElement(EV,null);let{rows:p,args:y,globals:D}="rows"in e&&e,F=RV((0,kD.default)(p,k=>!k?.table?.disable&&PV(k,y||{},D||{})),l),b=F.ungrouped.length===0,A=Object.entries(F.sections).length===0,w=Object.entries(F.ungroupedSubsections).length===0;if(b&&A&&w)return E.createElement(_V,{inAddonPanel:u});let x=1;t&&(x+=1),i||(x+=2);let I=Object.keys(F.sections).length>0,L={updateArgs:t,compact:i,inAddonPanel:u,initialExpandedArgs:s};return E.createElement(Ks,null,E.createElement(BV,{compact:i,inAddonPanel:u,className:"docblock-argstable sb-unstyled"},E.createElement("thead",{className:"docblock-argstable-head"},E.createElement("tr",null,E.createElement("th",null,E.createElement("span",null,"Name")),i?null:E.createElement("th",null,E.createElement("span",null,"Description")),i?null:E.createElement("th",null,E.createElement("span",null,"Default")),t?E.createElement("th",null,E.createElement(IV,null,"Control"," ",!c&&n&&E.createElement(TV,{onClick:()=>n(),title:"Reset controls"},E.createElement(T0,{"aria-hidden":!0})))):null)),E.createElement("tbody",{className:"docblock-argstable-body"},F.ungrouped.map(k=>E.createElement(ho,{key:k.key,row:k,arg:y&&y[k.key],...L})),Object.entries(F.ungroupedSubsections).map(([k,M])=>E.createElement(ff,{key:k,label:k,level:"subsection",colSpan:x},M.map(Y=>E.createElement(ho,{key:Y.key,row:Y,arg:y&&y[Y.key],expandable:I,...L})))),Object.entries(F.sections).map(([k,M])=>E.createElement(ff,{key:k,label:k,level:"section",colSpan:x},M.ungrouped.map(Y=>E.createElement(ho,{key:Y.key,row:Y,arg:y&&y[Y.key],...L})),Object.entries(M.subsections).map(([Y,P])=>E.createElement(ff,{key:Y,label:Y,level:"subsection",colSpan:x},P.map(K=>E.createElement(ho,{key:K.key,row:K,arg:y&&y[K.key],expandable:I,...L})))))))))};var lve=te.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ze(.4,e.color.defaultText):ze(.6,e.color.defaultText)})),cve=te.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),fve=te.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),pve=te.div(jn,({theme:e})=>({...mo(e),margin:"25px 0 40px",padding:"30px 20px"}));var dve=te.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),hve=te.div(({theme:e})=>({color:e.base==="light"?ze(.2,e.color.defaultText):ze(.6,e.color.defaultText)})),gve=te.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),mve=te.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ze(.4,e.color.defaultText):ze(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),yve=te.div({display:"flex",flexDirection:"row"}),vve=te.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),bve=te.div(({theme:e})=>({...mo(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),Ave=te.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Eve=te.div({flex:1,display:"flex",flexDirection:"row"}),Dve=te.div({display:"flex",alignItems:"flex-start"}),Cve=te.div({flex:"0 0 30%"}),xve=te.div({flex:1}),Sve=te.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ze(.4,e.color.defaultText):ze(.6,e.color.defaultText)})),wve=te.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Fve=te.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),_ve=te.div(({theme:e})=>({...mo(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Bve=te.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Tve=te.div({display:"flex",flexFlow:"row wrap"});et&&et.__DOCS_CONTEXT__===void 0&&(et.__DOCS_CONTEXT__=La(null),et.__DOCS_CONTEXT__.displayName="DocsContext");var kV=et?et.__DOCS_CONTEXT__:La(null);var Ive=La({sources:{}});var{document:NV}=et;function LV(e,t){e.channel.emit(J2,t)}var Ove=Qs.a;var rC=["h1","h2","h3","h4","h5","h6"],MV=rC.reduce((e,t)=>({...e,[t]:te(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),qV=te.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),jV=({as:e,id:t,children:n,...i})=>{let u=Jd(kV),s=MV[e],l=`#${t}`;return E.createElement(s,{id:t,...i},E.createElement(qV,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:c=>{NV.getElementById(t)&&LV(u,l)}},E.createElement(w0,null)),n)},nC=e=>{let{as:t,id:n,children:i,...u}=e;if(n)return E.createElement(jV,{as:t,id:n,...u},i);let s=t,{as:l,...c}=e;return E.createElement(s,{...el(c,t)})},Rve=rC.reduce((e,t)=>({...e,[t]:n=>E.createElement(nC,{as:t,...n})}),{});var $V=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))($V||{});var Pve=te.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),kve=te.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),Nve=te.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:Lve,window:Mve}=et;var UV=({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return E.createElement(Vs,null,e);let i=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return E.createElement(nC,{as:"h2",id:i,...n},e)},qve=te(UV)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var aC="addon-controls",iC="controls",HV=()=>{let[e,t]=qe(!0),[n,i,u]=e0(),[s]=t0(),l=Us(),{expanded:c,sort:p,presetColors:y}=r0(iC,{}),{path:D,previewInitialized:F}=n0();it(()=>{F&&t(!1)},[F]);let b=Object.values(l).some(w=>w?.control),A=Object.entries(l).reduce((w,[x,I])=>(I?.control?.type!=="color"||I?.control?.presetColors?w[x]=I:w[x]={...I,control:{...I.control,presetColors:y}},w),{});return E.createElement(tC,{key:D,compact:!c&&b,rows:A,args:n,globals:s,updateArgs:i,resetArgs:u,inAddonPanel:!0,sort:p,isLoading:e})};function zV(){let e=Us(),t=Object.values(e).filter(n=>n?.control&&!n?.table?.disable).length;return E.createElement("div",null,E.createElement(Ys,{col:1},E.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":E.createElement(Ws,{status:"neutral"},t)))}$s.register(aC,e=>{$s.add(aC,{title:zV,type:Qd.PANEL,paramKey:iC,render:({active:t})=>!t||!e.getCurrentStoryData()?null:E.createElement(zs,{active:t},E.createElement(HV,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..cd62da06a --- /dev/null +++ b/storybook/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt @@ -0,0 +1,28 @@ +Bundled license information: + +lodash/lodash.js: + /** + * @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 + */ + +telejson/dist/index.mjs: + /*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + /** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * 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/storybook/sb-addons/essentials-measure-7/manager-bundle.js b/storybook/sb-addons/essentials-measure-7/manager-bundle.js new file mode 100644 index 000000000..1c60f367f --- /dev/null +++ b/storybook/sb-addons/essentials-measure-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:B,Component:f,Fragment:R,Profiler:P,PureComponent:L,StrictMode:D,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:w,cloneElement:M,createContext:v,createElement:x,createFactory:H,createRef:U,forwardRef:F,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:V,useDebugValue:q,useDeferredValue:Z,useEffect:d,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,addons:l,combineParameters:So,controlOrMetaKey:Co,controlOrMetaSymbol:ho,eventMatchesShortcut:bo,eventToShortcut:To,isMacLike:_o,isShortcutTaken:Ao,keyToSymbol:go,merge:yo,mockChannel:Oo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Bo,shortcutToHumanString:fo,types:m,useAddonState:Ro,useArgTypes:Po,useArgs:Lo,useChannel:Do,useGlobalTypes:Eo,useGlobals:p,useParameter:wo,useSharedState:Mo,useStoryPrepared:vo,useStorybookApi:S,useStorybookState:xo}=__STORYBOOK_API__;var Go=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Ko,AddonPanel:Yo,Badge:Vo,Bar:qo,Blockquote:Zo,Button:zo,ClipboardCode:Jo,Code:Qo,DL:$o,Div:jo,DocumentWrapper:Xo,ErrorFormatter:on,FlexBar:nn,Form:en,H1:cn,H2:tn,H3:rn,H4:In,H5:an,H6:ln,HR:sn,IconButton:C,IconButtonSkeleton:un,Icons:dn,Img:mn,LI:pn,Link:Sn,ListItem:Cn,Loader:hn,OL:bn,P:Tn,Placeholder:_n,Pre:An,ResetWrapper:gn,ScrollArea:yn,Separator:On,Spaced:kn,Span:Bn,StorybookIcon:fn,StorybookLogo:Rn,Symbols:Pn,SyntaxHighlighter:Ln,TT:Dn,TabBar:En,TabButton:wn,TabWrapper:Mn,Table:vn,Tabs:xn,TabsState:Hn,TooltipLinkList:Un,TooltipMessage:Fn,TooltipNote:Nn,UL:Gn,WithTooltip:Wn,WithTooltipPure:Kn,Zoom:Yn,codeCommon:Vn,components:qn,createCopyToClipboardFunction:Zn,getStoryHref:zn,icons:Jn,interleaveSeparators:Qn,nameSpaceClassNames:$n,resetComponents:jn,withReset:Xn}=__STORYBOOK_COMPONENTS__;var te=__STORYBOOK_ICONS__,{AccessibilityAltIcon:re,AccessibilityIcon:Ie,AddIcon:ae,AdminIcon:le,AlertAltIcon:ie,AlertIcon:se,AlignLeftIcon:ue,AlignRightIcon:de,AppleIcon:me,ArrowDownIcon:pe,ArrowLeftIcon:Se,ArrowRightIcon:Ce,ArrowSolidDownIcon:he,ArrowSolidLeftIcon:be,ArrowSolidRightIcon:Te,ArrowSolidUpIcon:_e,ArrowUpIcon:Ae,AzureDevOpsIcon:ge,BackIcon:ye,BasketIcon:Oe,BatchAcceptIcon:ke,BatchDenyIcon:Be,BeakerIcon:fe,BellIcon:Re,BitbucketIcon:Pe,BoldIcon:Le,BookIcon:De,BookmarkHollowIcon:Ee,BookmarkIcon:we,BottomBarIcon:Me,BottomBarToggleIcon:ve,BoxIcon:xe,BranchIcon:He,BrowserIcon:Ue,ButtonIcon:Fe,CPUIcon:Ne,CalendarIcon:Ge,CameraIcon:We,CategoryIcon:Ke,CertificateIcon:Ye,ChangedIcon:Ve,ChatIcon:qe,CheckIcon:Ze,ChevronDownIcon:ze,ChevronLeftIcon:Je,ChevronRightIcon:Qe,ChevronSmallDownIcon:$e,ChevronSmallLeftIcon:je,ChevronSmallRightIcon:Xe,ChevronSmallUpIcon:oc,ChevronUpIcon:nc,ChromaticIcon:ec,ChromeIcon:cc,CircleHollowIcon:tc,CircleIcon:rc,ClearIcon:Ic,CloseAltIcon:ac,CloseIcon:lc,CloudHollowIcon:ic,CloudIcon:sc,CogIcon:uc,CollapseIcon:dc,CommandIcon:mc,CommentAddIcon:pc,CommentIcon:Sc,CommentsIcon:Cc,CommitIcon:hc,CompassIcon:bc,ComponentDrivenIcon:Tc,ComponentIcon:_c,ContrastIcon:Ac,ControlsIcon:gc,CopyIcon:yc,CreditIcon:Oc,CrossIcon:kc,DashboardIcon:Bc,DatabaseIcon:fc,DeleteIcon:Rc,DiamondIcon:Pc,DirectionIcon:Lc,DiscordIcon:Dc,DocChartIcon:Ec,DocListIcon:wc,DocumentIcon:Mc,DownloadIcon:vc,DragIcon:xc,EditIcon:Hc,EllipsisIcon:Uc,EmailIcon:Fc,ExpandAltIcon:Nc,ExpandIcon:Gc,EyeCloseIcon:Wc,EyeIcon:Kc,FaceHappyIcon:Yc,FaceNeutralIcon:Vc,FaceSadIcon:qc,FacebookIcon:Zc,FailedIcon:zc,FastForwardIcon:Jc,FigmaIcon:Qc,FilterIcon:$c,FlagIcon:jc,FolderIcon:Xc,FormIcon:ot,GDriveIcon:nt,GithubIcon:et,GitlabIcon:ct,GlobeIcon:tt,GoogleIcon:rt,GraphBarIcon:It,GraphLineIcon:at,GraphqlIcon:lt,GridAltIcon:it,GridIcon:st,GrowIcon:ut,HeartHollowIcon:dt,HeartIcon:mt,HomeIcon:pt,HourglassIcon:St,InfoIcon:Ct,ItalicIcon:ht,JumpToIcon:bt,KeyIcon:Tt,LightningIcon:_t,LightningOffIcon:At,LinkBrokenIcon:gt,LinkIcon:yt,LinkedinIcon:Ot,LinuxIcon:kt,ListOrderedIcon:Bt,ListUnorderedIcon:ft,LocationIcon:Rt,LockIcon:Pt,MarkdownIcon:Lt,MarkupIcon:Dt,MediumIcon:Et,MemoryIcon:wt,MenuIcon:Mt,MergeIcon:vt,MirrorIcon:xt,MobileIcon:Ht,MoonIcon:Ut,NutIcon:Ft,OutboxIcon:Nt,OutlineIcon:Gt,PaintBrushIcon:Wt,PaperClipIcon:Kt,ParagraphIcon:Yt,PassedIcon:Vt,PhoneIcon:qt,PhotoDragIcon:Zt,PhotoIcon:zt,PinAltIcon:Jt,PinIcon:Qt,PlayBackIcon:$t,PlayIcon:jt,PlayNextIcon:Xt,PlusIcon:or,PointerDefaultIcon:nr,PointerHandIcon:er,PowerIcon:cr,PrintIcon:tr,ProceedIcon:rr,ProfileIcon:Ir,PullRequestIcon:ar,QuestionIcon:lr,RSSIcon:ir,RedirectIcon:sr,ReduxIcon:ur,RefreshIcon:dr,ReplyIcon:mr,RepoIcon:pr,RequestChangeIcon:Sr,RewindIcon:Cr,RulerIcon:h,SearchIcon:hr,ShareAltIcon:br,ShareIcon:Tr,ShieldIcon:_r,SideBySideIcon:Ar,SidebarAltIcon:gr,SidebarAltToggleIcon:yr,SidebarIcon:Or,SidebarToggleIcon:kr,SpeakerIcon:Br,StackedIcon:fr,StarHollowIcon:Rr,StarIcon:Pr,StickerIcon:Lr,StopAltIcon:Dr,StopIcon:Er,StorybookIcon:wr,StructureIcon:Mr,SubtractIcon:vr,SunIcon:xr,SupportIcon:Hr,SwitchAltIcon:Ur,SyncIcon:Fr,TabletIcon:Nr,ThumbsUpIcon:Gr,TimeIcon:Wr,TimerIcon:Kr,TransferIcon:Yr,TrashIcon:Vr,TwitterIcon:qr,TypeIcon:Zr,UbuntuIcon:zr,UndoIcon:Jr,UnfoldIcon:Qr,UnlockIcon:$r,UnpinIcon:jr,UploadIcon:Xr,UserAddIcon:oI,UserAltIcon:nI,UserIcon:eI,UsersIcon:cI,VSCodeIcon:tI,VerifiedIcon:rI,VideoIcon:II,WandIcon:aI,WatchIcon:lI,WindowsIcon:iI,WrenchIcon:sI,YoutubeIcon:uI,ZoomIcon:dI,ZoomOutIcon:mI,ZoomResetIcon:pI,iconList:SI}=__STORYBOOK_ICONS__;var i="storybook/measure-addon",b=`${i}/tool`,T=()=>{let[r,c]=p(),{measureEnabled:I}=r,s=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{s.setAddonShortcut(i,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,s]),t.createElement(C,{key:b,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(i,()=>{l.add(b,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(T,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-outline-8/manager-bundle.js b/storybook/sb-addons/essentials-outline-8/manager-bundle.js new file mode 100644 index 000000000..5882e1763 --- /dev/null +++ b/storybook/sb-addons/essentials-outline-8/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:f,Component:P,Fragment:R,Profiler:L,PureComponent:D,StrictMode:w,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:U,createRef:F,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:V,useDebugValue:q,useDeferredValue:Z,useEffect:m,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,addons:l,combineParameters:So,controlOrMetaKey:Co,controlOrMetaSymbol:ho,eventMatchesShortcut:Ao,eventToShortcut:_o,isMacLike:bo,isShortcutTaken:To,keyToSymbol:go,merge:Oo,mockChannel:yo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Bo,shortcutToHumanString:fo,types:p,useAddonState:Po,useArgTypes:Ro,useArgs:Lo,useChannel:Do,useGlobalTypes:wo,useGlobals:S,useParameter:Eo,useSharedState:vo,useStoryPrepared:xo,useStorybookApi:C,useStorybookState:Ho}=__STORYBOOK_API__;var Go=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Ko,AddonPanel:Yo,Badge:Vo,Bar:qo,Blockquote:Zo,Button:zo,ClipboardCode:Jo,Code:Qo,DL:$o,Div:jo,DocumentWrapper:Xo,ErrorFormatter:on,FlexBar:nn,Form:en,H1:cn,H2:tn,H3:rn,H4:In,H5:an,H6:ln,HR:sn,IconButton:h,IconButtonSkeleton:un,Icons:dn,Img:mn,LI:pn,Link:Sn,ListItem:Cn,Loader:hn,OL:An,P:_n,Placeholder:bn,Pre:Tn,ResetWrapper:gn,ScrollArea:On,Separator:yn,Spaced:kn,Span:Bn,StorybookIcon:fn,StorybookLogo:Pn,Symbols:Rn,SyntaxHighlighter:Ln,TT:Dn,TabBar:wn,TabButton:En,TabWrapper:vn,Table:xn,Tabs:Hn,TabsState:Mn,TooltipLinkList:Un,TooltipMessage:Fn,TooltipNote:Nn,UL:Gn,WithTooltip:Wn,WithTooltipPure:Kn,Zoom:Yn,codeCommon:Vn,components:qn,createCopyToClipboardFunction:Zn,getStoryHref:zn,icons:Jn,interleaveSeparators:Qn,nameSpaceClassNames:$n,resetComponents:jn,withReset:Xn}=__STORYBOOK_COMPONENTS__;var te=__STORYBOOK_ICONS__,{AccessibilityAltIcon:re,AccessibilityIcon:Ie,AddIcon:ae,AdminIcon:le,AlertAltIcon:ie,AlertIcon:se,AlignLeftIcon:ue,AlignRightIcon:de,AppleIcon:me,ArrowDownIcon:pe,ArrowLeftIcon:Se,ArrowRightIcon:Ce,ArrowSolidDownIcon:he,ArrowSolidLeftIcon:Ae,ArrowSolidRightIcon:_e,ArrowSolidUpIcon:be,ArrowUpIcon:Te,AzureDevOpsIcon:ge,BackIcon:Oe,BasketIcon:ye,BatchAcceptIcon:ke,BatchDenyIcon:Be,BeakerIcon:fe,BellIcon:Pe,BitbucketIcon:Re,BoldIcon:Le,BookIcon:De,BookmarkHollowIcon:we,BookmarkIcon:Ee,BottomBarIcon:ve,BottomBarToggleIcon:xe,BoxIcon:He,BranchIcon:Me,BrowserIcon:Ue,ButtonIcon:Fe,CPUIcon:Ne,CalendarIcon:Ge,CameraIcon:We,CategoryIcon:Ke,CertificateIcon:Ye,ChangedIcon:Ve,ChatIcon:qe,CheckIcon:Ze,ChevronDownIcon:ze,ChevronLeftIcon:Je,ChevronRightIcon:Qe,ChevronSmallDownIcon:$e,ChevronSmallLeftIcon:je,ChevronSmallRightIcon:Xe,ChevronSmallUpIcon:oc,ChevronUpIcon:nc,ChromaticIcon:ec,ChromeIcon:cc,CircleHollowIcon:tc,CircleIcon:rc,ClearIcon:Ic,CloseAltIcon:ac,CloseIcon:lc,CloudHollowIcon:ic,CloudIcon:sc,CogIcon:uc,CollapseIcon:dc,CommandIcon:mc,CommentAddIcon:pc,CommentIcon:Sc,CommentsIcon:Cc,CommitIcon:hc,CompassIcon:Ac,ComponentDrivenIcon:_c,ComponentIcon:bc,ContrastIcon:Tc,ControlsIcon:gc,CopyIcon:Oc,CreditIcon:yc,CrossIcon:kc,DashboardIcon:Bc,DatabaseIcon:fc,DeleteIcon:Pc,DiamondIcon:Rc,DirectionIcon:Lc,DiscordIcon:Dc,DocChartIcon:wc,DocListIcon:Ec,DocumentIcon:vc,DownloadIcon:xc,DragIcon:Hc,EditIcon:Mc,EllipsisIcon:Uc,EmailIcon:Fc,ExpandAltIcon:Nc,ExpandIcon:Gc,EyeCloseIcon:Wc,EyeIcon:Kc,FaceHappyIcon:Yc,FaceNeutralIcon:Vc,FaceSadIcon:qc,FacebookIcon:Zc,FailedIcon:zc,FastForwardIcon:Jc,FigmaIcon:Qc,FilterIcon:$c,FlagIcon:jc,FolderIcon:Xc,FormIcon:ot,GDriveIcon:nt,GithubIcon:et,GitlabIcon:ct,GlobeIcon:tt,GoogleIcon:rt,GraphBarIcon:It,GraphLineIcon:at,GraphqlIcon:lt,GridAltIcon:it,GridIcon:st,GrowIcon:ut,HeartHollowIcon:dt,HeartIcon:mt,HomeIcon:pt,HourglassIcon:St,InfoIcon:Ct,ItalicIcon:ht,JumpToIcon:At,KeyIcon:_t,LightningIcon:bt,LightningOffIcon:Tt,LinkBrokenIcon:gt,LinkIcon:Ot,LinkedinIcon:yt,LinuxIcon:kt,ListOrderedIcon:Bt,ListUnorderedIcon:ft,LocationIcon:Pt,LockIcon:Rt,MarkdownIcon:Lt,MarkupIcon:Dt,MediumIcon:wt,MemoryIcon:Et,MenuIcon:vt,MergeIcon:xt,MirrorIcon:Ht,MobileIcon:Mt,MoonIcon:Ut,NutIcon:Ft,OutboxIcon:Nt,OutlineIcon:A,PaintBrushIcon:Gt,PaperClipIcon:Wt,ParagraphIcon:Kt,PassedIcon:Yt,PhoneIcon:Vt,PhotoDragIcon:qt,PhotoIcon:Zt,PinAltIcon:zt,PinIcon:Jt,PlayBackIcon:Qt,PlayIcon:$t,PlayNextIcon:jt,PlusIcon:Xt,PointerDefaultIcon:or,PointerHandIcon:nr,PowerIcon:er,PrintIcon:cr,ProceedIcon:tr,ProfileIcon:rr,PullRequestIcon:Ir,QuestionIcon:ar,RSSIcon:lr,RedirectIcon:ir,ReduxIcon:sr,RefreshIcon:ur,ReplyIcon:dr,RepoIcon:mr,RequestChangeIcon:pr,RewindIcon:Sr,RulerIcon:Cr,SearchIcon:hr,ShareAltIcon:Ar,ShareIcon:_r,ShieldIcon:br,SideBySideIcon:Tr,SidebarAltIcon:gr,SidebarAltToggleIcon:Or,SidebarIcon:yr,SidebarToggleIcon:kr,SpeakerIcon:Br,StackedIcon:fr,StarHollowIcon:Pr,StarIcon:Rr,StickerIcon:Lr,StopAltIcon:Dr,StopIcon:wr,StorybookIcon:Er,StructureIcon:vr,SubtractIcon:xr,SunIcon:Hr,SupportIcon:Mr,SwitchAltIcon:Ur,SyncIcon:Fr,TabletIcon:Nr,ThumbsUpIcon:Gr,TimeIcon:Wr,TimerIcon:Kr,TransferIcon:Yr,TrashIcon:Vr,TwitterIcon:qr,TypeIcon:Zr,UbuntuIcon:zr,UndoIcon:Jr,UnfoldIcon:Qr,UnlockIcon:$r,UnpinIcon:jr,UploadIcon:Xr,UserAddIcon:oI,UserAltIcon:nI,UserIcon:eI,UsersIcon:cI,VSCodeIcon:tI,VerifiedIcon:rI,VideoIcon:II,WandIcon:aI,WatchIcon:lI,WindowsIcon:iI,WrenchIcon:sI,YoutubeIcon:uI,ZoomIcon:dI,ZoomOutIcon:mI,ZoomResetIcon:pI,iconList:SI}=__STORYBOOK_ICONS__;var i="storybook/outline",_="outline",b=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[_]),a=d(()=>r({[_]:!I}),[I]);return m(()=>{s.setAddonShortcut(i,{label:"Toggle Outline",defaultShortcut:["alt","O"],actionName:"outline",showInMenu:!1,action:a})},[a,s]),t.createElement(h,{key:"outline",active:I,title:"Apply outlines to the preview",onClick:a},t.createElement(A,null))});l.register(i,()=>{l.add(i,{title:"Outline",type:p.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(b,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-toolbars-6/manager-bundle.js b/storybook/sb-addons/essentials-toolbars-6/manager-bundle.js new file mode 100644 index 000000000..4dccf570e --- /dev/null +++ b/storybook/sb-addons/essentials-toolbars-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var n=__REACT__,{Children:le,Component:ne,Fragment:se,Profiler:ie,PureComponent:ue,StrictMode:ce,Suspense:pe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:Ie,startTransition:ve,unstable_act:Oe,useCallback:I,useContext:Ee,useDebugValue:xe,useDeferredValue:ge,useEffect:x,useId:he,useImperativeHandle:ke,useInsertionEffect:Ae,useLayoutEffect:Le,useMemo:Re,useReducer:Be,useRef:L,useState:R,useSyncExternalStore:Pe,useTransition:Me,version:Ne}=__REACT__;var Fe=__STORYBOOK_API__,{ActiveTabs:We,Consumer:Ge,ManagerContext:Ke,Provider:Ye,addons:g,combineParameters:$e,controlOrMetaKey:ze,controlOrMetaSymbol:Ue,eventMatchesShortcut:je,eventToShortcut:qe,isMacLike:Ze,isShortcutTaken:Je,keyToSymbol:Qe,merge:Xe,mockChannel:et,optionOrAltSymbol:tt,shortcutMatchesShortcut:ot,shortcutToHumanString:rt,types:B,useAddonState:at,useArgTypes:lt,useArgs:nt,useChannel:st,useGlobalTypes:P,useGlobals:h,useParameter:it,useSharedState:ut,useStoryPrepared:ct,useStorybookApi:M,useStorybookState:pt}=__STORYBOOK_API__;var Tt=__STORYBOOK_COMPONENTS__,{A:yt,ActionBar:_t,AddonPanel:ft,Badge:Ct,Bar:It,Blockquote:vt,Button:Ot,ClipboardCode:Et,Code:xt,DL:gt,Div:ht,DocumentWrapper:kt,ErrorFormatter:At,FlexBar:Lt,Form:Rt,H1:Bt,H2:Pt,H3:Mt,H4:Nt,H5:wt,H6:Vt,HR:Dt,IconButton:N,IconButtonSkeleton:Ht,Icons:k,Img:Ft,LI:Wt,Link:Gt,ListItem:Kt,Loader:Yt,OL:$t,P:zt,Placeholder:Ut,Pre:jt,ResetWrapper:qt,ScrollArea:Zt,Separator:w,Spaced:Jt,Span:Qt,StorybookIcon:Xt,StorybookLogo:eo,Symbols:to,SyntaxHighlighter:oo,TT:ro,TabBar:ao,TabButton:lo,TabWrapper:no,Table:so,Tabs:io,TabsState:uo,TooltipLinkList:V,TooltipMessage:co,TooltipNote:po,UL:mo,WithTooltip:D,WithTooltipPure:bo,Zoom:So,codeCommon:To,components:yo,createCopyToClipboardFunction:_o,getStoryHref:fo,icons:Co,interleaveSeparators:Io,nameSpaceClassNames:vo,resetComponents:Oo,withReset:Eo}=__STORYBOOK_COMPONENTS__;var W=({active:o,title:t,icon:e,description:r,onClick:a})=>n.createElement(N,{active:o,title:r,onClick:a},e&&n.createElement(k,{icon:e,__suppressDeprecationWarning:!0}),t?`\xA0${t}`:null),G=["reset"],K=o=>o.filter(t=>!G.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=M(),[S,s]=h(),l=L([]),p=S[e],v=I(()=>{s({[e]:""})},[s]),O=I(()=>{let m=l.current,i=m.indexOf(p),c=i===m.length-1?0:i+1,T=l.current[c];s({[e]:T})},[l,p,s]),u=I(()=>{let m=l.current,i=m.indexOf(p),c=i>-1?i:0,T=c===0?m.length-1:c-1,y=l.current[T];s({[e]:y})},[l,p,s]);return x(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:v}})},[d,e,a,O,u,v]),x(()=>{l.current=K(r)},[]),n.createElement(o,{cycleValues:l.current,...t})},H=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),z=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.icon},U=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.title},j=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:d,currentValue:S})=>{let s=r&&n.createElement(k,{style:{opacity:1},icon:r}),l={id:e??"_reset",active:S===e,right:o,title:t,icon:r,onClick:d};return r&&!a&&(l.icon=s),l},q=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:s}})=>{let[l,p]=h(),[v,O]=R(!1),u=l[o],m=!!u,i=r,c=d;S||(i=z({currentValue:u,items:a})||i),s&&(c=U({currentValue:u,items:a})||c),!c&&!i&&console.warn(`Toolbar '${t}' has no title or icon`);let T=I(y=>{p({[o]:y})},[u,p]);return n.createElement(D,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:E})=>{let A=!0;return E==="reset"&&!u&&(A=!1),A}).map(E=>j({...E,currentValue:u,onClick:()=>{T(E.value),y()}}));return n.createElement(V,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(W,{active:v||m,description:e||"",icon:i,title:c||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return n.createElement(q,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:({tabId:o})=>!o,render:()=>n.createElement(Q,null)}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-viewport-5/manager-bundle.js b/storybook/sb-addons/essentials-viewport-5/manager-bundle.js new file mode 100644 index 000000000..ddb7ddb59 --- /dev/null +++ b/storybook/sb-addons/essentials-viewport-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var ie=Object.create;var H=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var O=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var P=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ue=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ae(t))!se.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(l=ce(t,a))||l.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?ie(le(e)):{},ue(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e));var d=P(()=>{});var h=P(()=>{});var m=P(()=>{});var $=Ie((Z,D)=>{d();h();m();(function(e){if(typeof Z=="object"&&typeof D<"u")D.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function l(a,S,u){function i(c,I){if(!S[c]){if(!a[c]){var s=typeof O=="function"&&O;if(!I&&s)return s(c,!0);if(o)return o(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var n=S[c]={exports:{}};a[c][0].call(n.exports,function(p){var b=a[c][1][p];return i(b||p)},n,n.exports,l,a,S,u)}return S[c].exports}for(var o=typeof O=="function"&&O,f=0;f=0)return this.lastItem=this.list[o],this.list[o].val},u.prototype.set=function(i,o){var f;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=o,this):(f=this.indexOf(i),f>=0?(this.lastItem=this.list[f],this.list[f].val=o,this):(this.lastItem={key:i,val:o},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(i){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),o=this.indexOf(i),o>=0)return this.size--,this.list.splice(o,1)[0]},u.prototype.has=function(i){var o;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(o=this.indexOf(i),o>=0?(this.lastItem=this.list[o],!0):!1)},u.prototype.forEach=function(i,o){var f;for(f=0;f0&&(E[y]={cacheItem:p,arg:arguments[y]},x?i(s,E):s.push(E),s.length>c&&o(s.shift())),n.wasMemoized=x,n.numArgs=y+1,R};return n.limit=c,n.wasMemoized=!1,n.cache=I,n.lru=s,n}};function i(c,I){var s=c.length,g=I.length,n,p,b;for(p=0;p=0&&(s=c[n],g=s.cacheItem.get(s.arg),!g||!g.size);n--)s.cacheItem.delete(s.arg)}function f(c,I){return c===I||c!==c&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});d();h();m();d();h();m();d();h();m();d();h();m();var w=__REACT__,{Children:De,Component:Ve,Fragment:U,Profiler:Ne,PureComponent:He,StrictMode:Ue,Suspense:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fe,cloneElement:Ge,createContext:qe,createElement:z,createFactory:We,createRef:Ye,forwardRef:je,isValidElement:Ke,lazy:Ze,memo:F,startTransition:$e,unstable_act:Je,useCallback:Qe,useContext:Xe,useDebugValue:et,useDeferredValue:tt,useEffect:L,useId:ot,useImperativeHandle:nt,useInsertionEffect:rt,useLayoutEffect:it,useMemo:ct,useReducer:at,useRef:G,useState:q,useSyncExternalStore:lt,useTransition:st,version:It}=__REACT__;d();h();m();var ht=__STORYBOOK_API__,{ActiveTabs:mt,Consumer:ft,ManagerContext:gt,Provider:St,addons:M,combineParameters:wt,controlOrMetaKey:bt,controlOrMetaSymbol:yt,eventMatchesShortcut:Ct,eventToShortcut:vt,isMacLike:_t,isShortcutTaken:Tt,keyToSymbol:xt,merge:Ot,mockChannel:At,optionOrAltSymbol:kt,shortcutMatchesShortcut:Rt,shortcutToHumanString:Et,types:W,useAddonState:Lt,useArgTypes:Bt,useArgs:Pt,useChannel:Mt,useGlobalTypes:Dt,useGlobals:Y,useParameter:j,useSharedState:Vt,useStoryPrepared:Nt,useStorybookApi:K,useStorybookState:Ht}=__STORYBOOK_API__;var N=pe($());d();h();m();var Kt=__STORYBOOK_THEMING__,{CacheProvider:Zt,ClassNames:$t,Global:J,ThemeProvider:Jt,background:Qt,color:Xt,convert:eo,create:to,createCache:oo,createGlobal:no,createReset:ro,css:io,darken:co,ensure:ao,ignoreSsrWarning:lo,isPropValid:so,jsx:Io,keyframes:uo,lighten:po,styled:A,themes:ho,typography:mo,useTheme:fo,withTheme:Q}=__STORYBOOK_THEMING__;d();h();m();var yo=__STORYBOOK_COMPONENTS__,{A:Co,ActionBar:vo,AddonPanel:_o,Badge:To,Bar:xo,Blockquote:Oo,Button:Ao,ClipboardCode:ko,Code:Ro,DL:Eo,Div:Lo,DocumentWrapper:Bo,ErrorFormatter:Po,FlexBar:Mo,Form:Do,H1:Vo,H2:No,H3:Ho,H4:Uo,H5:zo,H6:Fo,HR:Go,IconButton:V,IconButtonSkeleton:qo,Icons:Wo,Img:Yo,LI:jo,Link:Ko,ListItem:Zo,Loader:$o,OL:Jo,P:Qo,Placeholder:Xo,Pre:en,ResetWrapper:tn,ScrollArea:on,Separator:nn,Spaced:rn,Span:cn,StorybookIcon:an,StorybookLogo:ln,Symbols:sn,SyntaxHighlighter:In,TT:un,TabBar:pn,TabButton:dn,TabWrapper:hn,Table:mn,Tabs:fn,TabsState:gn,TooltipLinkList:X,TooltipMessage:Sn,TooltipNote:wn,UL:bn,WithTooltip:ee,WithTooltipPure:yn,Zoom:Cn,codeCommon:vn,components:_n,createCopyToClipboardFunction:Tn,getStoryHref:xn,icons:On,interleaveSeparators:An,nameSpaceClassNames:kn,resetComponents:Rn,withReset:En}=__STORYBOOK_COMPONENTS__;d();h();m();var Dn=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Vn,AccessibilityIcon:Nn,AddIcon:Hn,AdminIcon:Un,AlertAltIcon:zn,AlertIcon:Fn,AlignLeftIcon:Gn,AlignRightIcon:qn,AppleIcon:Wn,ArrowDownIcon:Yn,ArrowLeftIcon:jn,ArrowRightIcon:Kn,ArrowSolidDownIcon:Zn,ArrowSolidLeftIcon:$n,ArrowSolidRightIcon:Jn,ArrowSolidUpIcon:Qn,ArrowUpIcon:Xn,AzureDevOpsIcon:er,BackIcon:tr,BasketIcon:or,BatchAcceptIcon:nr,BatchDenyIcon:rr,BeakerIcon:ir,BellIcon:cr,BitbucketIcon:ar,BoldIcon:lr,BookIcon:sr,BookmarkHollowIcon:Ir,BookmarkIcon:ur,BottomBarIcon:pr,BottomBarToggleIcon:dr,BoxIcon:hr,BranchIcon:mr,BrowserIcon:fr,ButtonIcon:gr,CPUIcon:Sr,CalendarIcon:wr,CameraIcon:br,CategoryIcon:yr,CertificateIcon:Cr,ChangedIcon:vr,ChatIcon:_r,CheckIcon:Tr,ChevronDownIcon:xr,ChevronLeftIcon:Or,ChevronRightIcon:Ar,ChevronSmallDownIcon:kr,ChevronSmallLeftIcon:Rr,ChevronSmallRightIcon:Er,ChevronSmallUpIcon:Lr,ChevronUpIcon:Br,ChromaticIcon:Pr,ChromeIcon:Mr,CircleHollowIcon:Dr,CircleIcon:Vr,ClearIcon:Nr,CloseAltIcon:Hr,CloseIcon:Ur,CloudHollowIcon:zr,CloudIcon:Fr,CogIcon:Gr,CollapseIcon:qr,CommandIcon:Wr,CommentAddIcon:Yr,CommentIcon:jr,CommentsIcon:Kr,CommitIcon:Zr,CompassIcon:$r,ComponentDrivenIcon:Jr,ComponentIcon:Qr,ContrastIcon:Xr,ControlsIcon:ei,CopyIcon:ti,CreditIcon:oi,CrossIcon:ni,DashboardIcon:ri,DatabaseIcon:ii,DeleteIcon:ci,DiamondIcon:ai,DirectionIcon:li,DiscordIcon:si,DocChartIcon:Ii,DocListIcon:ui,DocumentIcon:pi,DownloadIcon:di,DragIcon:hi,EditIcon:mi,EllipsisIcon:fi,EmailIcon:gi,ExpandAltIcon:Si,ExpandIcon:wi,EyeCloseIcon:bi,EyeIcon:yi,FaceHappyIcon:Ci,FaceNeutralIcon:vi,FaceSadIcon:_i,FacebookIcon:Ti,FailedIcon:xi,FastForwardIcon:Oi,FigmaIcon:Ai,FilterIcon:ki,FlagIcon:Ri,FolderIcon:Ei,FormIcon:Li,GDriveIcon:Bi,GithubIcon:Pi,GitlabIcon:Mi,GlobeIcon:Di,GoogleIcon:Vi,GraphBarIcon:Ni,GraphLineIcon:Hi,GraphqlIcon:Ui,GridAltIcon:zi,GridIcon:Fi,GrowIcon:te,HeartHollowIcon:Gi,HeartIcon:qi,HomeIcon:Wi,HourglassIcon:Yi,InfoIcon:ji,ItalicIcon:Ki,JumpToIcon:Zi,KeyIcon:$i,LightningIcon:Ji,LightningOffIcon:Qi,LinkBrokenIcon:Xi,LinkIcon:ec,LinkedinIcon:tc,LinuxIcon:oc,ListOrderedIcon:nc,ListUnorderedIcon:rc,LocationIcon:ic,LockIcon:cc,MarkdownIcon:ac,MarkupIcon:lc,MediumIcon:sc,MemoryIcon:Ic,MenuIcon:uc,MergeIcon:pc,MirrorIcon:dc,MobileIcon:hc,MoonIcon:mc,NutIcon:fc,OutboxIcon:gc,OutlineIcon:Sc,PaintBrushIcon:wc,PaperClipIcon:bc,ParagraphIcon:yc,PassedIcon:Cc,PhoneIcon:vc,PhotoDragIcon:_c,PhotoIcon:Tc,PinAltIcon:xc,PinIcon:Oc,PlayBackIcon:Ac,PlayIcon:kc,PlayNextIcon:Rc,PlusIcon:Ec,PointerDefaultIcon:Lc,PointerHandIcon:Bc,PowerIcon:Pc,PrintIcon:Mc,ProceedIcon:Dc,ProfileIcon:Vc,PullRequestIcon:Nc,QuestionIcon:Hc,RSSIcon:Uc,RedirectIcon:zc,ReduxIcon:Fc,RefreshIcon:Gc,ReplyIcon:qc,RepoIcon:Wc,RequestChangeIcon:Yc,RewindIcon:jc,RulerIcon:Kc,SearchIcon:Zc,ShareAltIcon:$c,ShareIcon:Jc,ShieldIcon:Qc,SideBySideIcon:Xc,SidebarAltIcon:ea,SidebarAltToggleIcon:ta,SidebarIcon:oa,SidebarToggleIcon:na,SpeakerIcon:ra,StackedIcon:ia,StarHollowIcon:ca,StarIcon:aa,StickerIcon:la,StopAltIcon:sa,StopIcon:Ia,StorybookIcon:ua,StructureIcon:pa,SubtractIcon:da,SunIcon:ha,SupportIcon:ma,SwitchAltIcon:fa,SyncIcon:ga,TabletIcon:Sa,ThumbsUpIcon:wa,TimeIcon:ba,TimerIcon:ya,TransferIcon:oe,TrashIcon:Ca,TwitterIcon:va,TypeIcon:_a,UbuntuIcon:Ta,UndoIcon:xa,UnfoldIcon:Oa,UnlockIcon:Aa,UnpinIcon:ka,UploadIcon:Ra,UserAddIcon:Ea,UserAltIcon:La,UserIcon:Ba,UsersIcon:Pa,VSCodeIcon:Ma,VerifiedIcon:Da,VideoIcon:Va,WandIcon:Na,WatchIcon:Ha,WindowsIcon:Ua,WrenchIcon:za,YoutubeIcon:Fa,ZoomIcon:Ga,ZoomOutIcon:qa,ZoomResetIcon:Wa,iconList:Ya}=__STORYBOOK_ICONS__;var k="storybook/viewport",he="viewport",me={viewport:"reset",viewportRotated:!1},re=(e,t)=>e.indexOf(t),fe=(e,t)=>{let r=re(e,t);return r===e.length-1?e[0]:e[r+1]},ge=(e,t)=>{let r=re(e,t);return r<1?e[e.length-1]:e[r-1]},Se=async(e,t,r,l)=>{await e.setAddonShortcut(k,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{r({viewport:ge(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{r({viewport:fe(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{r(me)}})},we={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}},be=(0,N.default)(50)(e=>[...ye,...Object.entries(e).map(([t,{name:r,...l}])=>({...l,id:t,title:r}))]),B={id:"reset",title:"Reset viewport",styles:null,type:"other"},ye=[B],Ce=(0,N.default)(50)((e,t,r,l)=>e.filter(a=>a.id!==B.id||t.id!==a.id).map(a=>({...a,onClick:()=>{r({viewport:a.id}),l()}}))),ve=({width:e,height:t,...r})=>({...r,height:e,width:t}),_e=A.div(()=>({display:"inline-flex"})),ne=A.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),Te=A(V)(()=>({display:"inline-flex",alignItems:"center"})),xe=A.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe=(e,t,r)=>{if(t===null)return;let l=typeof t=="function"?t(e):t;return r?ve(l):l},Ae=F(Q(({theme:e})=>{let[t,r]=Y(),{viewports:l=we,defaultOrientation:a,defaultViewport:S,disable:u}=j(he,{}),i=be(l),o=K(),[f,c]=q(!1);S&&!i.find(n=>n.id===S)&&console.warn(`Cannot find "defaultViewport" of "${S}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),L(()=>{Se(o,t,r,Object.keys(l))},[l,t,t.viewport,r,o]),L(()=>{let n=a==="landscape";(S&&t.viewport!==S||a&&t.viewportRotated!==n)&&r({viewport:S,viewportRotated:n})},[a,S,r]);let I=i.find(n=>n.id===t.viewport)||i.find(n=>n.id===S)||i.find(n=>n.default)||B,s=G(),g=Oe(s.current,I.styles,t.viewportRotated);return L(()=>{s.current=g},[I]),u||Object.entries(l).length===0?null:w.createElement(U,null,w.createElement(ee,{placement:"top",tooltip:({onHide:n})=>w.createElement(X,{links:Ce(i,I,r,n)}),closeOnOutsideClick:!0,onVisibleChange:c},w.createElement(Te,{key:"viewport",title:"Change the size of the preview",active:f||!!g,onDoubleClick:()=>{r({viewport:B.id})}},w.createElement(te,null),g?w.createElement(xe,null,t.viewportRotated?`${I.title} (L)`:`${I.title} (P)`):null)),g?w.createElement(_e,null,w.createElement(J,{styles:{'iframe[data-is-storybook="true"]':{...g||{width:"100%",height:"100%"}}}}),w.createElement(ne,{title:"Viewport width"},g.width.replace("px","")),w.createElement(V,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{r({viewportRotated:!t.viewportRotated})}},w.createElement(oe,null)),w.createElement(ne,{title:"Viewport height"},g.height.replace("px",""))):null)}));M.register(k,()=>{M.add(k,{title:"viewport / media-queries",type:W.TOOL,match:({viewMode:e,tabId:t})=>e==="story"&&!t,render:()=>z(Ae,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/interactions-9/manager-bundle.js b/storybook/sb-addons/interactions-9/manager-bundle.js new file mode 100644 index 000000000..1f4fa7d6d --- /dev/null +++ b/storybook/sb-addons/interactions-9/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var ze=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var a=__REACT__,{Children:ji,Component:Ni,Fragment:ke,Profiler:ki,PureComponent:$i,StrictMode:Fi,Suspense:Li,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Mi,cloneElement:zi,createContext:Bi,createElement:D,createFactory:Di,createRef:Wi,forwardRef:Hi,isValidElement:Ui,lazy:qi,memo:st,startTransition:Gi,unstable_act:Yi,useCallback:cr,useContext:Vi,useDebugValue:Ki,useDeferredValue:Ji,useEffect:$e,useId:Xi,useImperativeHandle:Zi,useInsertionEffect:Qi,useLayoutEffect:el,useMemo:ur,useReducer:tl,useRef:pt,useState:Te,useSyncExternalStore:rl,useTransition:nl,version:ol}=__REACT__;var cl=__STORYBOOK_API__,{ActiveTabs:ul,Consumer:Ct,ManagerContext:sl,Provider:pl,addons:At,combineParameters:ml,controlOrMetaKey:fl,controlOrMetaSymbol:dl,eventMatchesShortcut:gl,eventToShortcut:bl,isMacLike:hl,isShortcutTaken:yl,keyToSymbol:El,merge:vl,mockChannel:Sl,optionOrAltSymbol:_l,shortcutMatchesShortcut:wl,shortcutToHumanString:Il,types:sr,useAddonState:Tt,useArgTypes:Ol,useArgs:Cl,useChannel:pr,useGlobalTypes:Al,useGlobals:Tl,useParameter:mr,useSharedState:Rl,useStoryPrepared:xl,useStorybookApi:fr,useStorybookState:Pl}=__STORYBOOK_API__;var Fl=__STORYBOOK_COMPONENTS__,{A:Ll,ActionBar:Ml,AddonPanel:dr,Badge:gr,Bar:br,Blockquote:zl,Button:hr,ClipboardCode:Bl,Code:Dl,DL:Wl,Div:Hl,DocumentWrapper:Ul,ErrorFormatter:ql,FlexBar:Gl,Form:Yl,H1:Vl,H2:Kl,H3:Jl,H4:Xl,H5:Zl,H6:Ql,HR:ec,IconButton:Rt,IconButtonSkeleton:tc,Icons:rc,Img:nc,LI:oc,Link:xt,ListItem:ac,Loader:ic,OL:lc,P:yr,Placeholder:cc,Pre:uc,ResetWrapper:sc,ScrollArea:pc,Separator:Er,Spaced:vr,Span:mc,StorybookIcon:fc,StorybookLogo:dc,Symbols:gc,SyntaxHighlighter:bc,TT:hc,TabBar:yc,TabButton:Ec,TabWrapper:vc,Table:Sc,Tabs:_c,TabsState:wc,TooltipLinkList:Ic,TooltipMessage:Oc,TooltipNote:Pt,UL:Cc,WithTooltip:Be,WithTooltipPure:Ac,Zoom:Tc,codeCommon:Rc,components:xc,createCopyToClipboardFunction:Pc,getStoryHref:jc,icons:Nc,interleaveSeparators:kc,nameSpaceClassNames:$c,resetComponents:Fc,withReset:Lc}=__STORYBOOK_COMPONENTS__;var Wc=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Hc,logger:Uc,once:qc,pretty:Gc}=__STORYBOOK_CLIENT_LOGGER__;var Xc=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:Zc,CHANNEL_WS_DISCONNECT:Qc,CONFIG_ERROR:eu,CURRENT_STORY_WAS_SET:tu,DOCS_PREPARED:ru,DOCS_RENDERED:nu,FORCE_REMOUNT:Sr,FORCE_RE_RENDER:ou,GLOBALS_UPDATED:au,NAVIGATE_URL:iu,PLAY_FUNCTION_THREW_EXCEPTION:_r,PRELOAD_ENTRIES:lu,PREVIEW_BUILDER_PROGRESS:cu,PREVIEW_KEYDOWN:uu,REGISTER_SUBSCRIPTION:su,REQUEST_WHATS_NEW_DATA:pu,RESET_STORY_ARGS:mu,RESULT_WHATS_NEW_DATA:fu,SELECT_STORY:du,SET_CONFIG:gu,SET_CURRENT_STORY:bu,SET_GLOBALS:hu,SET_INDEX:yu,SET_STORIES:Eu,SET_WHATS_NEW_CACHE:vu,SHARED_STATE_CHANGED:Su,SHARED_STATE_SET:_u,STORIES_COLLAPSE_ALL:wu,STORIES_EXPAND_ALL:Iu,STORY_ARGS_UPDATED:Ou,STORY_CHANGED:Cu,STORY_ERRORED:Au,STORY_INDEX_INVALIDATED:Tu,STORY_MISSING:Ru,STORY_PREPARED:xu,STORY_RENDERED:Pu,STORY_RENDER_PHASE_CHANGED:wr,STORY_SPECIFIED:ju,STORY_THREW_EXCEPTION:Ir,STORY_UNCHANGED:Nu,TELEMETRY_ERROR:ku,TOGGLE_WHATS_NEW_NOTIFICATIONS:$u,UNHANDLED_ERRORS_WHILE_PLAYING:Or,UPDATE_GLOBALS:Fu,UPDATE_QUERY_PARAMS:Lu,UPDATE_STORY_ARGS:Mu}=__STORYBOOK_CORE_EVENTS__;var mt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var Yu=__STORYBOOK_THEMING__,{CacheProvider:Vu,ClassNames:Ku,Global:Ju,ThemeProvider:Xu,background:Zu,color:Qu,convert:es,create:ts,createCache:rs,createGlobal:ns,createReset:os,css:as,darken:is,ensure:ls,ignoreSsrWarning:cs,isPropValid:us,jsx:ss,keyframes:ps,lighten:ms,styled:Y,themes:fs,typography:je,useTheme:Qe,withTheme:ds}=__STORYBOOK_THEMING__;function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&o<1?(c=u,p=i):o>=1&&o<2?(c=i,p=u):o>=2&&o<3?(p=u,f=i):o>=3&&o<4?(p=i,f=u):o>=4&&o<5?(c=i,f=u):o>=5&&o<6&&(c=u,f=i);var b=r-u/2,h=c+b,m=p+b,v=f+b;return n(h,m,v)}var Tr={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function kn(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Tr[t]?"#"+Tr[t]:e}var $n=/^#[a-fA-F0-9]{6}$/,Fn=/^#[a-fA-F0-9]{8}$/,Ln=/^#[a-fA-F0-9]{3}$/,Mn=/^#[a-fA-F0-9]{4}$/,Lt=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,zn=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Bn=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Dn=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ye(e){if(typeof e!="string")throw new Ee(3);var t=kn(e);if(t.match($n))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Fn)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Ln))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Mn)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Lt.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var u=zn.exec(t.substring(0,50));if(u)return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])};var i=Bn.exec(t);if(i){var c=parseInt(""+i[1],10),p=parseInt(""+i[2],10)/100,f=parseInt(""+i[3],10)/100,b="rgb("+rt(c,p,f)+")",h=Lt.exec(b);if(!h)throw new Ee(4,t,b);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Dn.exec(t.substring(0,50));if(m){var v=parseInt(""+m[1],10),g=parseInt(""+m[2],10)/100,E=parseInt(""+m[3],10)/100,S="rgb("+rt(v,g,E)+")",_=Lt.exec(S);if(!_)throw new Ee(4,t,S);return{red:parseInt(""+_[1],10),green:parseInt(""+_[2],10),blue:parseInt(""+_[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ee(5)}function Wn(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),u=Math.min(t,r,n),i=(o+u)/2;if(o===u)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,p=o-u,f=i>.5?p/(2-o-u):p/(o+u);switch(o){case t:c=(r-n)/p+(r=1?dt(e,t,r):"rgba("+rt(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?dt(e.hue,e.saturation,e.lightness):"rgba("+rt(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ee(2)}function Bt(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return zt("#"+De(e)+De(t)+De(r));if(typeof e=="object"&&t===void 0&&r===void 0)return zt("#"+De(e.red)+De(e.green)+De(e.blue));throw new Ee(6)}function gt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ye(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Bt(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bt(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ee(7)}var Yn=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Vn=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Kn=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Jn=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Le(e){if(typeof e!="object")throw new Ee(8);if(Vn(e))return gt(e);if(Yn(e))return Bt(e);if(Jn(e))return Gn(e);if(Kn(e))return qn(e);throw new Ee(8)}function xr(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):xr(e,t,o)}}function Ie(e){return xr(e,e.length,[])}function Xn(e,t){if(t==="transparent")return t;var r=Fe(t);return Le(be({},r,{hue:r.hue+parseFloat(e)}))}var vp=Ie(Xn);function Ve(e,t,r){return Math.max(e,Math.min(t,r))}function Zn(e,t){if(t==="transparent")return t;var r=Fe(t);return Le(be({},r,{lightness:Ve(0,1,r.lightness-parseFloat(e))}))}var Sp=Ie(Zn);function Qn(e,t){if(t==="transparent")return t;var r=Fe(t);return Le(be({},r,{saturation:Ve(0,1,r.saturation-parseFloat(e))}))}var _p=Ie(Qn);function eo(e,t){if(t==="transparent")return t;var r=Fe(t);return Le(be({},r,{lightness:Ve(0,1,r.lightness+parseFloat(e))}))}var wp=Ie(eo);function to(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Ye(t),o=be({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),u=Ye(r),i=be({},u,{alpha:typeof u.alpha=="number"?u.alpha:1}),c=o.alpha-i.alpha,p=parseFloat(e)*2-1,f=p*c===-1?p:p+c,b=1+p*c,h=(f/b+1)/2,m=1-h,v={red:Math.floor(o.red*h+i.red*m),green:Math.floor(o.green*h+i.green*m),blue:Math.floor(o.blue*h+i.blue*m),alpha:o.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return gt(v)}var ro=Ie(to),Pr=ro;function no(e,t){if(t==="transparent")return t;var r=Ye(t),n=typeof r.alpha=="number"?r.alpha:1,o=be({},r,{alpha:Ve(0,1,(n*100+parseFloat(e)*100)/100)});return gt(o)}var Ip=Ie(no);function oo(e,t){if(t==="transparent")return t;var r=Fe(t);return Le(be({},r,{saturation:Ve(0,1,r.saturation+parseFloat(e))}))}var Op=Ie(oo);function ao(e,t){return t==="transparent"?t:Le(be({},Fe(t),{hue:parseFloat(e)}))}var Cp=Ie(ao);function io(e,t){return t==="transparent"?t:Le(be({},Fe(t),{lightness:parseFloat(e)}))}var Ap=Ie(io);function lo(e,t){return t==="transparent"?t:Le(be({},Fe(t),{saturation:parseFloat(e)}))}var Tp=Ie(lo);function co(e,t){return t==="transparent"?t:Pr(parseFloat(e),"rgb(0, 0, 0)",t)}var Rp=Ie(co);function uo(e,t){return t==="transparent"?t:Pr(parseFloat(e),"rgb(255, 255, 255)",t)}var xp=Ie(uo);function so(e,t){if(t==="transparent")return t;var r=Ye(t),n=typeof r.alpha=="number"?r.alpha:1,o=be({},r,{alpha:Ve(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return gt(o)}var po=Ie(so),bt=po;var $p=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Fp,AccessibilityIcon:Lp,AddIcon:Mp,AdminIcon:zp,AlertAltIcon:Bp,AlertIcon:Dp,AlignLeftIcon:Wp,AlignRightIcon:Hp,AppleIcon:Up,ArrowDownIcon:qp,ArrowLeftIcon:Gp,ArrowRightIcon:Yp,ArrowSolidDownIcon:Vp,ArrowSolidLeftIcon:Kp,ArrowSolidRightIcon:Jp,ArrowSolidUpIcon:Xp,ArrowUpIcon:Zp,AzureDevOpsIcon:Qp,BackIcon:em,BasketIcon:tm,BatchAcceptIcon:rm,BatchDenyIcon:nm,BeakerIcon:om,BellIcon:am,BitbucketIcon:im,BoldIcon:lm,BookIcon:cm,BookmarkHollowIcon:um,BookmarkIcon:sm,BottomBarIcon:pm,BottomBarToggleIcon:mm,BoxIcon:fm,BranchIcon:dm,BrowserIcon:gm,ButtonIcon:bm,CPUIcon:hm,CalendarIcon:ym,CameraIcon:Em,CategoryIcon:vm,CertificateIcon:Sm,ChangedIcon:_m,ChatIcon:wm,CheckIcon:jr,ChevronDownIcon:Im,ChevronLeftIcon:Om,ChevronRightIcon:Cm,ChevronSmallDownIcon:Am,ChevronSmallLeftIcon:Tm,ChevronSmallRightIcon:Rm,ChevronSmallUpIcon:xm,ChevronUpIcon:Pm,ChromaticIcon:jm,ChromeIcon:Nm,CircleHollowIcon:km,CircleIcon:Nr,ClearIcon:$m,CloseAltIcon:Fm,CloseIcon:Lm,CloudHollowIcon:Mm,CloudIcon:zm,CogIcon:Bm,CollapseIcon:Dm,CommandIcon:Wm,CommentAddIcon:Hm,CommentIcon:Um,CommentsIcon:qm,CommitIcon:Gm,CompassIcon:Ym,ComponentDrivenIcon:Vm,ComponentIcon:Km,ContrastIcon:Jm,ControlsIcon:Xm,CopyIcon:Zm,CreditIcon:Qm,CrossIcon:ef,DashboardIcon:tf,DatabaseIcon:rf,DeleteIcon:nf,DiamondIcon:of,DirectionIcon:af,DiscordIcon:lf,DocChartIcon:cf,DocListIcon:uf,DocumentIcon:kr,DownloadIcon:sf,DragIcon:pf,EditIcon:mf,EllipsisIcon:ff,EmailIcon:df,ExpandAltIcon:gf,ExpandIcon:bf,EyeCloseIcon:hf,EyeIcon:yf,FaceHappyIcon:Ef,FaceNeutralIcon:vf,FaceSadIcon:Sf,FacebookIcon:_f,FailedIcon:wf,FastForwardIcon:$r,FigmaIcon:If,FilterIcon:Of,FlagIcon:Cf,FolderIcon:Af,FormIcon:Tf,GDriveIcon:Rf,GithubIcon:xf,GitlabIcon:Pf,GlobeIcon:jf,GoogleIcon:Nf,GraphBarIcon:kf,GraphLineIcon:$f,GraphqlIcon:Ff,GridAltIcon:Lf,GridIcon:Mf,GrowIcon:zf,HeartHollowIcon:Bf,HeartIcon:Df,HomeIcon:Wf,HourglassIcon:Hf,InfoIcon:Uf,ItalicIcon:qf,JumpToIcon:Gf,KeyIcon:Yf,LightningIcon:Vf,LightningOffIcon:Kf,LinkBrokenIcon:Jf,LinkIcon:Xf,LinkedinIcon:Zf,LinuxIcon:Qf,ListOrderedIcon:ed,ListUnorderedIcon:Fr,LocationIcon:td,LockIcon:rd,MarkdownIcon:nd,MarkupIcon:od,MediumIcon:ad,MemoryIcon:id,MenuIcon:ld,MergeIcon:cd,MirrorIcon:ud,MobileIcon:sd,MoonIcon:pd,NutIcon:md,OutboxIcon:fd,OutlineIcon:dd,PaintBrushIcon:gd,PaperClipIcon:bd,ParagraphIcon:hd,PassedIcon:yd,PhoneIcon:Ed,PhotoDragIcon:vd,PhotoIcon:Sd,PinAltIcon:_d,PinIcon:wd,PlayBackIcon:Lr,PlayIcon:Mr,PlayNextIcon:zr,PlusIcon:Id,PointerDefaultIcon:Od,PointerHandIcon:Cd,PowerIcon:Ad,PrintIcon:Td,ProceedIcon:Rd,ProfileIcon:xd,PullRequestIcon:Pd,QuestionIcon:jd,RSSIcon:Nd,RedirectIcon:kd,ReduxIcon:$d,RefreshIcon:Fd,ReplyIcon:Ld,RepoIcon:Md,RequestChangeIcon:zd,RewindIcon:Br,RulerIcon:Bd,SearchIcon:Dd,ShareAltIcon:Wd,ShareIcon:Hd,ShieldIcon:Ud,SideBySideIcon:qd,SidebarAltIcon:Gd,SidebarAltToggleIcon:Yd,SidebarIcon:Vd,SidebarToggleIcon:Kd,SpeakerIcon:Jd,StackedIcon:Xd,StarHollowIcon:Zd,StarIcon:Qd,StickerIcon:eg,StopAltIcon:Dr,StopIcon:tg,StorybookIcon:rg,StructureIcon:ng,SubtractIcon:og,SunIcon:ag,SupportIcon:ig,SwitchAltIcon:lg,SyncIcon:Wr,TabletIcon:cg,ThumbsUpIcon:ug,TimeIcon:sg,TimerIcon:pg,TransferIcon:mg,TrashIcon:fg,TwitterIcon:dg,TypeIcon:gg,UbuntuIcon:bg,UndoIcon:hg,UnfoldIcon:yg,UnlockIcon:Eg,UnpinIcon:vg,UploadIcon:Sg,UserAddIcon:_g,UserAltIcon:wg,UserIcon:Ig,UsersIcon:Og,VSCodeIcon:Cg,VerifiedIcon:Ag,VideoIcon:Hr,WandIcon:Tg,WatchIcon:Rg,WindowsIcon:xg,WrenchIcon:Pg,YoutubeIcon:jg,ZoomIcon:Ng,ZoomOutIcon:kg,ZoomResetIcon:$g,iconList:Fg}=__STORYBOOK_ICONS__;var mo=Object.create,tn=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,rn=Object.getOwnPropertyNames,go=Object.getPrototypeOf,bo=Object.prototype.hasOwnProperty,Ke=(e=>typeof ze<"u"?ze:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof ze<"u"?ze:t)[r]}):e)(function(e){if(typeof ze<"u")return ze.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ae=(e,t)=>function(){return t||(0,e[rn(e)[0]])((t={exports:{}}).exports,t),t.exports},ho=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of rn(t))!bo.call(e,o)&&o!==r&&tn(e,o,{get:()=>t[o],enumerable:!(n=fo(t,o))||n.enumerable});return e},Re=(e,t,r)=>(r=e!=null?mo(go(e)):{},ho(t||!e||!e.__esModule?tn(r,"default",{value:e,enumerable:!0}):r,e)),Vt=Ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/extends.js"(e,t){function r(){return t.exports=r=Object.assign||function(n){for(var o=1;o=0)&&(u[c]=n[c]);return u}t.exports=r}}),Kt=Ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=yo();function n(o,u){if(o==null)return{};var i=r(o,u),c,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(i[c]=o[c])}return i}t.exports=n}}),Eo=Ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){function r(n,o,u){return o in n?Object.defineProperty(n,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[o]=u,n}t.exports=r}}),vo=Ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=Eo();function n(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);i&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),c.push.apply(c,p)}return c}function o(u){for(var i=1;i=0)&&(u[c]=n[c]);return u}t.exports=r}}),_o=Ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=So();function n(o,u){if(o==null)return{};var i=r(o,u),c,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(i[c]=o[c])}return i}t.exports=n}}),wo=Ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){function r(n,o,u){return o in n?Object.defineProperty(n,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[o]=u,n}t.exports=r}}),Io=Ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=wo();function n(u,i){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);i&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),c.push.apply(c,p)}return c}function o(u){for(var i=1;i=0)&&(u[c]=n[c]);return u}t.exports=r}}),Ao=Ae({"../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=Co();function n(o,u){if(o==null)return{};var i=r(o,u),c,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(i[c]=o[c])}return i}t.exports=n}}),To=Object.create,nn=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,on=Object.getOwnPropertyNames,xo=Object.getPrototypeOf,Po=Object.prototype.hasOwnProperty,jo=(e=>typeof Ke<"u"?Ke:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ke<"u"?Ke:t)[r]}):e)(function(e){if(typeof Ke<"u")return Ke.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ye=(e,t)=>function(){return t||(0,e[on(e)[0]])((t={exports:{}}).exports,t),t.exports},No=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of on(t))!Po.call(e,o)&&o!==r&&nn(e,o,{get:()=>t[o],enumerable:!(n=Ro(t,o))||n.enumerable});return e},Ue=(e,t,r)=>(r=e!=null?To(xo(e)):{},No(t||!e||!e.__esModule?nn(r,"default",{value:e,enumerable:!0}):r,e)),ko=ye({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>i=>`\x1B[${38+u};5;${i}m`,n=(u=0)=>(i,c,p)=>`\x1B[${38+u};2;${i};${c};${p}m`;function o(){let u=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[c,p]of Object.entries(i)){for(let[f,b]of Object.entries(p))i[f]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},p[f]=i[f],u.set(b[0],b[1]);Object.defineProperty(i,c,{value:p,enumerable:!1})}return Object.defineProperty(i,"codes",{value:u,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(c,p,f)=>c===p&&p===f?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(p/255*5)+Math.round(f/255*5),enumerable:!1},hexToRgb:{value:c=>{let p=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(c.toString(16));if(!p)return[0,0,0];let{colorString:f}=p.groups;f.length===3&&(f=f.split("").map(h=>h+h).join(""));let b=Number.parseInt(f,16);return[b>>16&255,b>>8&255,b&255]},enumerable:!1},hexToAnsi256:{value:c=>i.rgbToAnsi256(...i.hexToRgb(c)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),vt=ye({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=u;var t=(i,c)=>{let p=Object.keys(i),f=c!==null?p.sort(c):p;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(b=>{Object.getOwnPropertyDescriptor(i,b).enumerable&&f.push(b)}),f};function r(i,c,p,f,b,h,m=": "){let v="",g=0,E=i.next();if(!E.done){v+=c.spacingOuter;let S=p+c.indent;for(;!E.done;){if(v+=S,g++===c.maxWidth){v+="\u2026";break}let _=h(E.value[0],c,S,f,b),I=h(E.value[1],c,S,f,b);v+=_+m+I,E=i.next(),E.done?c.min||(v+=","):v+=`,${c.spacingInner}`}v+=c.spacingOuter+p}return v}function n(i,c,p,f,b,h){let m="",v=0,g=i.next();if(!g.done){m+=c.spacingOuter;let E=p+c.indent;for(;!g.done;){if(m+=E,v++===c.maxWidth){m+="\u2026";break}m+=h(g.value,c,E,f,b),g=i.next(),g.done?c.min||(m+=","):m+=`,${c.spacingInner}`}m+=c.spacingOuter+p}return m}function o(i,c,p,f,b,h){let m="";if(i.length){m+=c.spacingOuter;let v=p+c.indent;for(let g=0;g{let E=f.toString();if(E==="ArrayContaining"||E==="ArrayNotContaining")return++m>b.maxDepth?`[${E}]`:`${E+o}[${(0,t.printListItems)(f.sample,b,h,m,v,g)}]`;if(E==="ObjectContaining"||E==="ObjectNotContaining")return++m>b.maxDepth?`[${E}]`:`${E+o}{${(0,t.printObjectProperties)(f.sample,b,h,m,v,g)}}`;if(E==="StringMatching"||E==="StringNotMatching"||E==="StringContaining"||E==="StringNotContaining")return E+o+g(f.sample,b,h,m,v);if(typeof f.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${f.constructor.name} does not implement toAsymmetricMatcher()`);return f.toAsymmetricMatcher()};e.serialize=u;var i=f=>f&&f.$$typeof===n;e.test=i;var c={serialize:u,test:i},p=c;e.default=p}}),Fo=ye({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vt(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,u=h=>n.indexOf(h)!==-1||o.test(h),i=h=>h&&h.constructor&&!!h.constructor.name&&u(h.constructor.name);e.test=i;var c=h=>h.constructor.name==="NamedNodeMap",p=(h,m,v,g,E,S)=>{let _=h.constructor.name;return++g>m.maxDepth?`[${_}]`:(m.min?"":_+r)+(n.indexOf(_)!==-1?`{${(0,t.printObjectProperties)(c(h)?Array.from(h).reduce((I,C)=>(I[C.name]=C.value,I),{}):{...h},m,v,g,E,S)}}`:`[${(0,t.printListItems)(Array.from(h),m,v,g,E,S)}]`)};e.serialize=p;var f={serialize:p,test:i},b=f;e.default=b}}),Lo=ye({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Jt=ye({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Lo());function r(f){return f&&f.__esModule?f:{default:f}}var n=(f,b,h,m,v,g,E)=>{let S=m+h.indent,_=h.colors;return f.map(I=>{let C=b[I],j=E(C,h,S,v,g);return typeof C!="string"&&(j.indexOf(` +`)!==-1&&(j=h.spacingOuter+S+j+h.spacingOuter+m),j=`{${j}}`),`${h.spacingInner+m+_.prop.open+I+_.prop.close}=${_.value.open}${j}${_.value.close}`}).join("")};e.printProps=n;var o=(f,b,h,m,v,g)=>f.map(E=>b.spacingOuter+h+(typeof E=="string"?u(E,b):g(E,b,h,m,v))).join("");e.printChildren=o;var u=(f,b)=>{let h=b.colors.content;return h.open+(0,t.default)(f)+h.close};e.printText=u;var i=(f,b)=>{let h=b.colors.comment;return`${h.open}${h.close}`};e.printComment=i;var c=(f,b,h,m,v)=>{let g=m.colors.tag;return`${g.open}<${f}${b&&g.close+b+m.spacingOuter+v+g.open}${h?`>${g.close}${h}${m.spacingOuter}${v}${g.open}${g.close}`};e.printElement=c;var p=(f,b)=>{let h=b.colors.tag;return`${h.open}<${f}${h.close} \u2026${h.open} />${h.close}`};e.printElementAsLeaf=p}}),Mo=ye({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Jt(),r=1,n=3,o=8,u=11,i=/^((HTML|SVG)\w*)?Element$/,c=S=>{try{return typeof S.hasAttribute=="function"&&S.hasAttribute("is")}catch{return!1}},p=S=>{let _=S.constructor.name,{nodeType:I,tagName:C}=S,j=typeof C=="string"&&C.includes("-")||c(S);return I===r&&(i.test(_)||j)||I===n&&_==="Text"||I===o&&_==="Comment"||I===u&&_==="DocumentFragment"},f=S=>S?.constructor?.name&&p(S);e.test=f;function b(S){return S.nodeType===n}function h(S){return S.nodeType===o}function m(S){return S.nodeType===u}var v=(S,_,I,C,j,x)=>{if(b(S))return(0,t.printText)(S.data,_);if(h(S))return(0,t.printComment)(S.data,_);let k=m(S)?"DocumentFragment":S.tagName.toLowerCase();return++C>_.maxDepth?(0,t.printElementAsLeaf)(k,_):(0,t.printElement)(k,(0,t.printProps)(m(S)?[]:Array.from(S.attributes,F=>F.name).sort(),m(S)?{}:Array.from(S.attributes).reduce((F,y)=>(F[y.name]=y.value,F),{}),_,I+_.indent,C,j,x),(0,t.printChildren)(Array.prototype.slice.call(S.childNodes||S.children),_,I+_.indent,C,j,x),_,I)};e.serialize=v;var g={serialize:v,test:f},E=g;e.default=E}}),zo=ye({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vt(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",c="@@__IMMUTABLE_RECORD__@@",p="@@__IMMUTABLE_SEQ__@@",f="@@__IMMUTABLE_SET__@@",b="@@__IMMUTABLE_STACK__@@",h=y=>`Immutable.${y}`,m=y=>`[${y}]`,v=" ",g="\u2026",E=(y,R,M,B,H,q,W)=>++B>R.maxDepth?m(h(W)):`${h(W)+v}{${(0,t.printIteratorEntries)(y.entries(),R,M,B,H,q)}}`;function S(y){let R=0;return{next(){if(R{let W=h(y._name||"Record");return++B>R.maxDepth?m(W):`${W+v}{${(0,t.printIteratorEntries)(S(y),R,M,B,H,q)}}`},I=(y,R,M,B,H,q)=>{let W=h("Seq");return++B>R.maxDepth?m(W):y[o]?`${W+v}{${y._iter||y._object?(0,t.printIteratorEntries)(y.entries(),R,M,B,H,q):g}}`:`${W+v}[${y._iter||y._array||y._collection||y._iterable?(0,t.printIteratorValues)(y.values(),R,M,B,H,q):g}]`},C=(y,R,M,B,H,q,W)=>++B>R.maxDepth?m(h(W)):`${h(W)+v}[${(0,t.printIteratorValues)(y.values(),R,M,B,H,q)}]`,j=(y,R,M,B,H,q)=>y[u]?E(y,R,M,B,H,q,y[i]?"OrderedMap":"Map"):y[n]?C(y,R,M,B,H,q,"List"):y[f]?C(y,R,M,B,H,q,y[i]?"OrderedSet":"Set"):y[b]?C(y,R,M,B,H,q,"Stack"):y[p]?I(y,R,M,B,H,q):_(y,R,M,B,H,q);e.serialize=j;var x=y=>y&&(y[r]===!0||y[c]===!0);e.test=x;var k={serialize:j,test:x},F=k;e.default=F}}),Bo=ye({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),p=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),E=!1,S=!1,_=!1,I=!1,C=!1,j;j=Symbol.for("react.module.reference");function x(A){return!!(typeof A=="string"||typeof A=="function"||A===n||A===u||C||A===o||A===b||A===h||I||A===g||E||S||_||typeof A=="object"&&A!==null&&(A.$$typeof===v||A.$$typeof===m||A.$$typeof===i||A.$$typeof===c||A.$$typeof===f||A.$$typeof===j||A.getModuleId!==void 0))}function k(A){if(typeof A=="object"&&A!==null){var ne=A.$$typeof;switch(ne){case t:var ce=A.type;switch(ce){case n:case u:case o:case b:case h:return ce;default:var Oe=ce&&ce.$$typeof;switch(Oe){case p:case c:case f:case v:case m:case i:return Oe;default:return ne}}case r:return ne}}}var F=c,y=i,R=t,M=f,B=n,H=v,q=m,W=r,ue=u,z=o,ee=b,O=h,L=!1,P=!1;function V(A){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(A){return P||(P=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function oe(A){return k(A)===c}function se(A){return k(A)===i}function pe(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function me(A){return k(A)===f}function fe(A){return k(A)===n}function _e(A){return k(A)===v}function we(A){return k(A)===m}function d(A){return k(A)===r}function $(A){return k(A)===u}function U(A){return k(A)===o}function J(A){return k(A)===b}function K(A){return k(A)===h}e.ContextConsumer=F,e.ContextProvider=y,e.Element=R,e.ForwardRef=M,e.Fragment=B,e.Lazy=H,e.Memo=q,e.Portal=W,e.Profiler=ue,e.StrictMode=z,e.Suspense=ee,e.SuspenseList=O,e.isAsyncMode=V,e.isConcurrentMode=Z,e.isContextConsumer=oe,e.isContextProvider=se,e.isElement=pe,e.isForwardRef=me,e.isFragment=fe,e.isLazy=_e,e.isMemo=we,e.isPortal=d,e.isProfiler=$,e.isStrictMode=U,e.isSuspense=J,e.isSuspenseList=K,e.isValidElementType=x,e.typeOf=k})()}}),Do=ye({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=Bo()}}),Wo=ye({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(Do()),r=Jt();function n(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(n=function(E){return E?g:v})(m)}function o(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var g=n(v);if(g&&g.has(m))return g.get(m);var E={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in m)if(_!=="default"&&Object.prototype.hasOwnProperty.call(m,_)){var I=S?Object.getOwnPropertyDescriptor(m,_):null;I&&(I.get||I.set)?Object.defineProperty(E,_,I):E[_]=m[_]}return E.default=m,g&&g.set(m,E),E}var u=(m,v=[])=>(Array.isArray(m)?m.forEach(g=>{u(g,v)}):m!=null&&m!==!1&&v.push(m),v),i=m=>{let v=m.type;if(typeof v=="string")return v;if(typeof v=="function")return v.displayName||v.name||"Unknown";if(t.isFragment(m))return"React.Fragment";if(t.isSuspense(m))return"React.Suspense";if(typeof v=="object"&&v!==null){if(t.isContextProvider(m))return"Context.Provider";if(t.isContextConsumer(m))return"Context.Consumer";if(t.isForwardRef(m)){if(v.displayName)return v.displayName;let g=v.render.displayName||v.render.name||"";return g!==""?`ForwardRef(${g})`:"ForwardRef"}if(t.isMemo(m)){let g=v.displayName||v.type.displayName||v.type.name||"";return g!==""?`Memo(${g})`:"Memo"}}return"UNDEFINED"},c=m=>{let{props:v}=m;return Object.keys(v).filter(g=>g!=="children"&&v[g]!==void 0).sort()},p=(m,v,g,E,S,_)=>++E>v.maxDepth?(0,r.printElementAsLeaf)(i(m),v):(0,r.printElement)(i(m),(0,r.printProps)(c(m),m.props,v,g+v.indent,E,S,_),(0,r.printChildren)(u(m.props.children),v,g+v.indent,E,S,_),v,g);e.serialize=p;var f=m=>m!=null&&t.isElement(m);e.test=f;var b={serialize:p,test:f},h=b;e.default=h}}),Ho=ye({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Jt(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=f=>{let{props:b}=f;return b?Object.keys(b).filter(h=>b[h]!==void 0).sort():[]},u=(f,b,h,m,v,g)=>++m>b.maxDepth?(0,t.printElementAsLeaf)(f.type,b):(0,t.printElement)(f.type,f.props?(0,t.printProps)(o(f),f.props,b,h+b.indent,m,v,g):"",f.children?(0,t.printChildren)(f.children,b,h+b.indent,m,v,g):"",b,h);e.serialize=u;var i=f=>f&&f.$$typeof===n;e.test=i;var c={serialize:u,test:i},p=c;e.default=p}}),Xt=ye({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=fe,e.plugins=void 0;var t=f(ko()),r=vt(),n=f($o()),o=f(Fo()),u=f(Mo()),i=f(zo()),c=f(Wo()),p=f(Ho());function f(d){return d&&d.__esModule?d:{default:d}}var b=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,v=RegExp.prototype.toString,g=d=>typeof d.constructor=="function"&&d.constructor.name||"Object",E=d=>typeof window<"u"&&d===window,S=/^Symbol\((.*)\)(.*)$/,_=/\n/gi,I=class extends Error{constructor(d,$){super(d),this.stack=$,this.name=this.constructor.name}};function C(d){return d==="[object Array]"||d==="[object ArrayBuffer]"||d==="[object DataView]"||d==="[object Float32Array]"||d==="[object Float64Array]"||d==="[object Int8Array]"||d==="[object Int16Array]"||d==="[object Int32Array]"||d==="[object Uint8Array]"||d==="[object Uint8ClampedArray]"||d==="[object Uint16Array]"||d==="[object Uint32Array]"}function j(d){return Object.is(d,-0)?"-0":String(d)}function x(d){return`${d}n`}function k(d,$){return $?`[Function ${d.name||"anonymous"}]`:"[Function]"}function F(d){return String(d).replace(S,"Symbol($1)")}function y(d){return`[${m.call(d)}]`}function R(d,$,U,J){if(d===!0||d===!1)return`${d}`;if(d===void 0)return"undefined";if(d===null)return"null";let K=typeof d;if(K==="number")return j(d);if(K==="bigint")return x(d);if(K==="string")return J?`"${d.replace(/"|\\/g,"\\$&")}"`:`"${d}"`;if(K==="function")return k(d,$);if(K==="symbol")return F(d);let A=b.call(d);return A==="[object WeakMap]"?"WeakMap {}":A==="[object WeakSet]"?"WeakSet {}":A==="[object Function]"||A==="[object GeneratorFunction]"?k(d,$):A==="[object Symbol]"?F(d):A==="[object Date]"?isNaN(+d)?"Date { NaN }":h.call(d):A==="[object Error]"?y(d):A==="[object RegExp]"?U?v.call(d).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):v.call(d):d instanceof Error?y(d):null}function M(d,$,U,J,K,A){if(K.indexOf(d)!==-1)return"[Circular]";K=K.slice(),K.push(d);let ne=++J>$.maxDepth,ce=$.min;if($.callToJSON&&!ne&&d.toJSON&&typeof d.toJSON=="function"&&!A)return W(d.toJSON(),$,U,J,K,!0);let Oe=b.call(d);return Oe==="[object Arguments]"?ne?"[Arguments]":`${ce?"":"Arguments "}[${(0,r.printListItems)(d,$,U,J,K,W)}]`:C(Oe)?ne?`[${d.constructor.name}]`:`${ce||!$.printBasicPrototype&&d.constructor.name==="Array"?"":`${d.constructor.name} `}[${(0,r.printListItems)(d,$,U,J,K,W)}]`:Oe==="[object Map]"?ne?"[Map]":`Map {${(0,r.printIteratorEntries)(d.entries(),$,U,J,K,W," => ")}}`:Oe==="[object Set]"?ne?"[Set]":`Set {${(0,r.printIteratorValues)(d.values(),$,U,J,K,W)}}`:ne||E(d)?`[${g(d)}]`:`${ce||!$.printBasicPrototype&&g(d)==="Object"?"":`${g(d)} `}{${(0,r.printObjectProperties)(d,$,U,J,K,W)}}`}function B(d){return d.serialize!=null}function H(d,$,U,J,K,A){let ne;try{ne=B(d)?d.serialize($,U,J,K,A,W):d.print($,ce=>W(ce,U,J,K,A),ce=>{let Oe=J+U.indent;return Oe+ce.replace(_,` +${Oe}`)},{edgeSpacing:U.spacingOuter,min:U.min,spacing:U.spacingInner},U.colors)}catch(ce){throw new I(ce.message,ce.stack)}if(typeof ne!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ne}".`);return ne}function q(d,$){for(let U=0;Ud,O=ee({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ue});e.DEFAULT_OPTIONS=O;function L(d){if(Object.keys(d).forEach($=>{if(!Object.prototype.hasOwnProperty.call(O,$))throw new Error(`pretty-format: Unknown option "${$}".`)}),d.min&&d.indent!==void 0&&d.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(d.theme!==void 0){if(d.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof d.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof d.theme}".`)}}var P=d=>z.reduce(($,U)=>{let J=d.theme&&d.theme[U]!==void 0?d.theme[U]:ue[U],K=J&&t.default[J];if(K&&typeof K.close=="string"&&typeof K.open=="string")$[U]=K;else throw new Error(`pretty-format: Option "theme" has a key "${U}" whose value "${J}" is undefined in ansi-styles.`);return $},Object.create(null)),V=()=>z.reduce((d,$)=>(d[$]={close:"",open:""},d),Object.create(null)),Z=d=>d?.printFunctionName??O.printFunctionName,oe=d=>d?.escapeRegex??O.escapeRegex,se=d=>d?.escapeString??O.escapeString,pe=d=>({callToJSON:d?.callToJSON??O.callToJSON,colors:d?.highlight?P(d):V(),compareKeys:typeof d?.compareKeys=="function"||d?.compareKeys===null?d.compareKeys:O.compareKeys,escapeRegex:oe(d),escapeString:se(d),indent:d?.min?"":me(d?.indent??O.indent),maxDepth:d?.maxDepth??O.maxDepth,maxWidth:d?.maxWidth??O.maxWidth,min:d?.min??O.min,plugins:d?.plugins??O.plugins,printBasicPrototype:d?.printBasicPrototype??!0,printFunctionName:Z(d),spacingInner:d?.min?" ":` +`,spacingOuter:d?.min?"":` +`});function me(d){return new Array(d+1).join(" ")}function fe(d,$){if($&&(L($),$.plugins)){let J=q($.plugins,d);if(J!==null)return H(J,d,pe($),"",0,[])}let U=R(d,Z($),oe($),se($));return U!==null?U:M(d,pe($),"",0,[])}var _e={AsymmetricMatcher:n.default,DOMCollection:o.default,DOMElement:u.default,Immutable:i.default,ReactElement:c.default,ReactTestComponent:p.default};e.plugins=_e;var we=fe;e.default=we}}),an=ye({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var t="diff-sequences",r=0,n=(g,E,S,_,I)=>{let C=0;for(;g{let C=0;for(;g<=E&&S<=_&&I(E,_);)E-=1,_-=1,C+=1;return C},u=(g,E,S,_,I,C,j)=>{let x=0,k=-g,F=C[x],y=F;C[x]+=n(F+1,E,_+F-k+1,S,I);let R=g{let x=0,k=g,F=C[x],y=F;C[x]-=o(E,F-1,S,_+F-k-1,I);let R=g{let R=_-E,M=S-E,B=I-_-M,H=-B-(g-1),q=-B+(g-1),W=r,ue=g{let R=I-S,M=S-E,B=I-_-M,H=B-g,q=B+g,W=r,ue=g{let F=_-E,y=I-S,R=S-E,M=I-_,B=M-R,H=R,q=R;if(j[0]=E-1,x[0]=S,B%2===0){let W=(g||B)/2,ue=(R+M)/2;for(let z=1;z<=ue;z+=1)if(H=u(z,S,I,F,C,j,H),z{if(I-_{se(me,_e,fe)},isCommon:(me,fe)=>pe(fe,me)}}let Z=E,oe=S;E=_,S=I,_=Z,I=oe}let{foundSubsequence:y,isCommon:R}=j[C?1:0];f(g,E,S,_,I,R,x,k,F);let{nChangePreceding:M,aEndPreceding:B,bEndPreceding:H,nCommonPreceding:q,aCommonPreceding:W,bCommonPreceding:ue,nCommonFollowing:z,aCommonFollowing:ee,bCommonFollowing:O,nChangeFollowing:L,aStartFollowing:P,bStartFollowing:V}=F;E{if(typeof E!="number")throw new TypeError(`${t}: ${g} typeof ${typeof E} is not a number`);if(!Number.isSafeInteger(E))throw new RangeError(`${t}: ${g} value ${E} is not a safe integer`);if(E<0)throw new RangeError(`${t}: ${g} value ${E} is a negative integer`)},m=(g,E)=>{let S=typeof E;if(S!=="function")throw new TypeError(`${t}: ${g} typeof ${S} is not a function`)};function v(g,E,S,_){h("aLength",g),h("bLength",E),m("isCommon",S),m("foundSubsequence",_);let I=n(0,g,0,E,S);if(I!==0&&_(I,0,0),g!==I||E!==I){let C=I,j=I,x=o(C,g-1,j,E-1,S),k=g-x,F=E-x,y=I+x;g!==y&&E!==y&&b(0,C,k,j,F,!1,[{foundSubsequence:_,isCommon:S}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),x!==0&&_(x,k,F)}}}}),ln=ye({"../../node_modules/loupe/loupe.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.loupe={}))})(e,function(r){function n(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(s){return typeof s}:n=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(l)}function o(l,s){return u(l)||i(l,s)||c(l,s)||f()}function u(l){if(Array.isArray(l))return l}function i(l,s){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(l)))){var w=[],T=!0,N=!1,G=void 0;try{for(var Q=l[Symbol.iterator](),re;!(T=(re=Q.next()).done)&&(w.push(re.value),!(s&&w.length===s));T=!0);}catch(he){N=!0,G=he}finally{try{!T&&Q.return!=null&&Q.return()}finally{if(N)throw G}}return w}}function c(l,s){if(l){if(typeof l=="string")return p(l,s);var w=Object.prototype.toString.call(l).slice(8,-1);if(w==="Object"&&l.constructor&&(w=l.constructor.name),w==="Map"||w==="Set")return Array.from(l);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return p(l,s)}}function p(l,s){(s==null||s>l.length)&&(s=l.length);for(var w=0,T=new Array(s);w0&&arguments[0]!==void 0?arguments[0]:{},s=l.showHidden,w=s===void 0?!1:s,T=l.depth,N=T===void 0?2:T,G=l.colors,Q=G===void 0?!1:G,re=l.customInspect,he=re===void 0?!0:re,ge=l.showProxy,Ce=ge===void 0?!1:ge,Me=l.maxArrayLength,It=Me===void 0?1/0:Me,Xe=l.breakLength,Ge=Xe===void 0?1/0:Xe,Ze=l.seen,An=Ze===void 0?[]:Ze,ir=l.truncate,Tn=ir===void 0?1/0:ir,lr=l.stylize,Rn=lr===void 0?String:lr,Ot={showHidden:!!w,depth:Number(N),colors:!!Q,customInspect:!!he,showProxy:!!Ce,maxArrayLength:Number(It),breakLength:Number(Ge),truncate:Number(Tn),seen:An,stylize:Rn};return Ot.colors&&(Ot.stylize=v),Ot}function E(l,s){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;l=String(l);var T=w.length,N=l.length;return T>s&&N>T?w:N>s&&N>T?"".concat(l.slice(0,s-T)).concat(w):l}function S(l,s,w){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";w=w||s.inspect;var N=l.length;if(N===0)return"";for(var G=s.truncate,Q="",re="",he="",ge=0;geG&&Q.length+he.length<=G||!Ce&&!Me&&Ze>G||(re=Ce?"":w(l[ge+1],s)+(Me?"":T),!Ce&&Me&&Ze>G&&Ge+re.length>G))break;if(Q+=Xe,!Ce&&!Me&&Ge+re.length>=G){he="".concat(m,"(").concat(l.length-ge-1,")");break}he=""}return"".concat(Q).concat(he)}function _(l){return l.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?l:JSON.stringify(l).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function I(l,s){var w=o(l,2),T=w[0],N=w[1];return s.truncate-=2,typeof T=="string"?T=_(T):typeof T!="number"&&(T="[".concat(s.inspect(T,s),"]")),s.truncate-=T.length,N=s.inspect(N,s),"".concat(T,": ").concat(N)}function C(l,s){var w=Object.keys(l).slice(l.length);if(!l.length&&!w.length)return"[]";s.truncate-=4;var T=S(l,s);s.truncate-=T.length;var N="";return w.length&&(N=S(w.map(function(G){return[G,l[G]]}),s,I)),"[ ".concat(T).concat(N?", ".concat(N):""," ]")}var j=Function.prototype.toString,x=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,k=512;function F(l){if(typeof l!="function")return null;var s="";if(typeof Function.prototype.name>"u"&&typeof l.name>"u"){var w=j.call(l);if(w.indexOf("(")>k)return s;var T=w.match(x);T&&(s=T[1])}else s=l.name;return s}var y=F,R=function(l){return typeof Buffer=="function"&&l instanceof Buffer?"Buffer":l[Symbol.toStringTag]?l[Symbol.toStringTag]:y(l.constructor)};function M(l,s){var w=R(l);s.truncate-=w.length+4;var T=Object.keys(l).slice(l.length);if(!l.length&&!T.length)return"".concat(w,"[]");for(var N="",G=0;G ").concat(N)}function W(l){var s=[];return l.forEach(function(w,T){s.push([T,w])}),s}function ue(l,s){var w=l.size-1;return w<=0?"Map{}":(s.truncate-=7,"Map{ ".concat(S(W(l),s,q)," }"))}var z=Number.isNaN||function(l){return l!==l};function ee(l,s){return z(l)?s.stylize("NaN","number"):l===1/0?s.stylize("Infinity","number"):l===-1/0?s.stylize("-Infinity","number"):l===0?s.stylize(1/l===1/0?"+0":"-0","number"):s.stylize(E(l,s.truncate),"number")}function O(l,s){var w=E(l.toString(),s.truncate-1);return w!==m&&(w+="n"),s.stylize(w,"bigint")}function L(l,s){var w=l.toString().split("/")[2],T=s.truncate-(2+w.length),N=l.source;return s.stylize("/".concat(E(N,T),"/").concat(w),"regexp")}function P(l){var s=[];return l.forEach(function(w){s.push(w)}),s}function V(l,s){return l.size===0?"Set{}":(s.truncate-=7,"Set{ ".concat(S(P(l),s)," }"))}var Z=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),oe={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},se=16,pe=4;function me(l){return oe[l]||"\\u".concat("0000".concat(l.charCodeAt(0).toString(se)).slice(-pe))}function fe(l,s){return Z.test(l)&&(l=l.replace(Z,me)),s.stylize("'".concat(E(l,s.truncate-2),"'"),"string")}function _e(l){return"description"in Symbol.prototype?l.description?"Symbol(".concat(l.description,")"):"Symbol()":l.toString()}var we=function(){return"Promise{\u2026}"};try{var d=process.binding("util"),$=d.getPromiseDetails,U=d.kPending,J=d.kRejected;Array.isArray($(Promise.resolve()))&&(we=function(l,s){var w=$(l),T=o(w,2),N=T[0],G=T[1];return N===U?"Promise{}":"Promise".concat(N===J?"!":"","{").concat(s.inspect(G,s),"}")})}catch{}var K=we;function A(l,s){var w=Object.getOwnPropertyNames(l),T=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(l):[];if(w.length===0&&T.length===0)return"{}";if(s.truncate-=4,s.seen=s.seen||[],s.seen.indexOf(l)>=0)return"[Circular]";s.seen.push(l);var N=S(w.map(function(re){return[re,l[re]]}),s,I),G=S(T.map(function(re){return[re,l[re]]}),s,I);s.seen.pop();var Q="";return N&&G&&(Q=", "),"{ ".concat(N).concat(Q).concat(G," }")}var ne=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ce(l,s){var w="";return ne&&ne in l&&(w=l[ne]),w=w||y(l.constructor),(!w||w==="_class")&&(w=""),s.truncate-=w.length,"".concat(w).concat(A(l,s))}function Oe(l,s){return l.length===0?"Arguments[]":(s.truncate-=13,"Arguments[ ".concat(S(l,s)," ]"))}var yn=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function En(l,s){var w=Object.getOwnPropertyNames(l).filter(function(Q){return yn.indexOf(Q)===-1}),T=l.name;s.truncate-=T.length;var N="";typeof l.message=="string"?N=E(l.message,s.truncate):w.unshift("message"),N=N?": ".concat(N):"",s.truncate-=N.length+5;var G=S(w.map(function(Q){return[Q,l[Q]]}),s,I);return"".concat(T).concat(N).concat(G?" { ".concat(G," }"):"")}function vn(l,s){var w=o(l,2),T=w[0],N=w[1];return s.truncate-=3,N?"".concat(s.stylize(T,"yellow"),"=").concat(s.stylize('"'.concat(N,'"'),"string")):"".concat(s.stylize(T,"yellow"))}function wt(l,s){return S(l,s,rr,` +`)}function rr(l,s){var w=l.getAttributeNames(),T=l.tagName.toLowerCase(),N=s.stylize("<".concat(T),"special"),G=s.stylize(">","special"),Q=s.stylize(""),"special");s.truncate-=T.length*2+5;var re="";w.length>0&&(re+=" ",re+=S(w.map(function(Ce){return[Ce,l.getAttribute(Ce)]}),s,vn," ")),s.truncate-=re.length;var he=s.truncate,ge=wt(l.children,s);return ge&&ge.length>he&&(ge="".concat(m,"(").concat(l.children.length,")")),"".concat(N).concat(re).concat(G).concat(ge).concat(Q)}var Sn=typeof Symbol=="function"&&typeof Symbol.for=="function",it=Sn?Symbol.for("chai/inspect"):"@@chai/inspect",qe=!1;try{var nr=jo("util");qe=nr.inspect?nr.inspect.custom:!1}catch{qe=!1}function or(){this.key="chai/loupe__"+Math.random()+Date.now()}or.prototype={get:function(l){return l[this.key]},has:function(l){return this.key in l},set:function(l,s){Object.isExtensible(l)&&Object.defineProperty(l,this.key,{value:s,configurable:!0})}};var lt=new(typeof WeakMap=="function"?WeakMap:or),ct={},ar={undefined:function(l,s){return s.stylize("undefined","undefined")},null:function(l,s){return s.stylize(null,"null")},boolean:function(l,s){return s.stylize(l,"boolean")},Boolean:function(l,s){return s.stylize(l,"boolean")},number:ee,Number:ee,bigint:O,BigInt:O,string:fe,String:fe,function:H,Function:H,symbol:_e,Symbol:_e,Array:C,Date:B,Map:ue,Set:V,RegExp:L,Promise:K,WeakSet:function(l,s){return s.stylize("WeakSet{\u2026}","special")},WeakMap:function(l,s){return s.stylize("WeakMap{\u2026}","special")},Arguments:Oe,Int8Array:M,Uint8Array:M,Uint8ClampedArray:M,Int16Array:M,Uint16Array:M,Int32Array:M,Uint32Array:M,Float32Array:M,Float64Array:M,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:En,HTMLCollection:wt,NodeList:wt},_n=function(l,s,w){return it in l&&typeof l[it]=="function"?l[it](s):qe&&qe in l&&typeof l[qe]=="function"?l[qe](s.depth,s):"inspect"in l&&typeof l.inspect=="function"?l.inspect(s.depth,s):"constructor"in l&<.has(l.constructor)?lt.get(l.constructor)(l,s):ct[w]?ct[w](l,s):""},wn=Object.prototype.toString;function ut(l,s){s=g(s),s.inspect=ut;var w=s,T=w.customInspect,N=l===null?"null":n(l);if(N==="object"&&(N=wn.call(l).slice(8,-1)),ar[N])return ar[N](l,s);if(T&&l){var G=_n(l,s,N);if(G)return typeof G=="string"?G:ut(G,s)}var Q=l?Object.getPrototypeOf(l):!1;return Q===Object.prototype||Q===null?A(l,s):l&&typeof HTMLElement=="function"&&l instanceof HTMLElement?rr(l,s):"constructor"in l?l.constructor!==Object?ce(l,s):A(l,s):l===Object(l)?A(l,s):s.stylize(String(l),N)}function In(l,s){return lt.has(l)?!1:(lt.set(l,s),!0)}function On(l,s){return l in ct?!1:(ct[l]=s,!0)}var Cn=it;r.custom=Cn,r.default=ut,r.inspect=ut,r.registerConstructor=In,r.registerStringTag=On,Object.defineProperty(r,"__esModule",{value:!0})})}}),Uo=Ue(Xt(),1);Ue(an(),1);var qo={bold:["\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"],dim:["\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"],italic:["\x1B[3m","\x1B[23m"],underline:["\x1B[4m","\x1B[24m"],inverse:["\x1B[7m","\x1B[27m"],hidden:["\x1B[8m","\x1B[28m"],strikethrough:["\x1B[9m","\x1B[29m"],black:["\x1B[30m","\x1B[39m"],red:["\x1B[31m","\x1B[39m"],green:["\x1B[32m","\x1B[39m"],yellow:["\x1B[33m","\x1B[39m"],blue:["\x1B[34m","\x1B[39m"],magenta:["\x1B[35m","\x1B[39m"],cyan:["\x1B[36m","\x1B[39m"],white:["\x1B[37m","\x1B[39m"],gray:["\x1B[90m","\x1B[39m"],bgBlack:["\x1B[40m","\x1B[49m"],bgRed:["\x1B[41m","\x1B[49m"],bgGreen:["\x1B[42m","\x1B[49m"],bgYellow:["\x1B[43m","\x1B[49m"],bgBlue:["\x1B[44m","\x1B[49m"],bgMagenta:["\x1B[45m","\x1B[49m"],bgCyan:["\x1B[46m","\x1B[49m"],bgWhite:["\x1B[47m","\x1B[49m"]},Go=Object.entries(qo);function Zt(e){return String(e)}Zt.open="";Zt.close="";Go.reduce((e,[t])=>(e[t]=Zt,e),{isColorSupported:!1});Uo.plugins;var Yo=Ue(Xt(),1);Ue(ln(),1);Yo.plugins;Ue(Xt(),1);Ue(an(),1);Ue(ln(),1);var X=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(X||{}),We={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},St="storybook/interactions",Vo=`${St}/panel`,Ko="https://youtu.be/Waht9qq7AoA",Jo="writing-tests/interaction-testing",Xo=Y.div(({theme:e,status:t})=>({padding:"4px 6px 4px 8px;",borderRadius:"4px",backgroundColor:{[X.DONE]:e.color.positive,[X.ERROR]:e.color.negative,[X.ACTIVE]:e.color.warning,[X.WAITING]:e.color.warning}[t],color:"white",fontFamily:je.fonts.base,textTransform:"uppercase",fontSize:je.size.s1,letterSpacing:3,fontWeight:je.weight.bold,width:65,textAlign:"center"})),Zo=({status:e})=>{let t={[X.DONE]:"Pass",[X.ERROR]:"Fail",[X.ACTIVE]:"Runs",[X.WAITING]:"Runs"}[e];return a.createElement(Xo,{"aria-label":"Status of the test run",status:e},t)},Qo=Y.div(({theme:e})=>({background:e.background.app,borderBottom:`1px solid ${e.appBorderColor}`,position:"sticky",top:0,zIndex:1})),ea=Y.nav(({theme:e})=>({height:40,display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:15})),ta=Y(hr)(({theme:e})=>({borderRadius:4,padding:6,color:e.textMutedColor,"&:not(:disabled)":{"&:hover,&:focus-visible":{color:e.color.secondary}}})),nt=Y(Pt)(({theme:e})=>({fontFamily:e.typography.fonts.base})),ot=Y(Rt)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),ra=Y(Er)({marginTop:0}),na=Y(yr)(({theme:e})=>({color:e.textMutedColor,justifyContent:"flex-end",textAlign:"right",whiteSpace:"nowrap",marginTop:"auto",marginBottom:1,paddingRight:15,fontSize:13})),Ur=Y.div({display:"flex",alignItems:"center"}),oa=Y(ot)({marginLeft:9}),aa=Y(ta)({marginLeft:9,marginRight:9,marginBottom:1,lineHeight:"12px"}),ia=Y(ot)(({theme:e,animating:t,disabled:r})=>({opacity:r?.5:1,svg:{animation:t&&`${e.animation.rotate360} 200ms ease-out`}})),la=({controls:e,controlStates:t,status:r,storyFileName:n,onScrollToEnd:o})=>{let u=r===X.ERROR?"Scroll to error":"Scroll to end";return a.createElement(Qo,null,a.createElement(br,null,a.createElement(ea,null,a.createElement(Ur,null,a.createElement(Zo,{status:r}),a.createElement(aa,{onClick:o,disabled:!o},u),a.createElement(ra,null),a.createElement(Be,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(nt,{note:"Go to start"})},a.createElement(oa,{"aria-label":"Go to start",containsIcon:!0,onClick:e.start,disabled:!t.start},a.createElement(Br,null))),a.createElement(Be,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(nt,{note:"Go back"})},a.createElement(ot,{"aria-label":"Go back",containsIcon:!0,onClick:e.back,disabled:!t.back},a.createElement(Lr,null))),a.createElement(Be,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(nt,{note:"Go forward"})},a.createElement(ot,{"aria-label":"Go forward",containsIcon:!0,onClick:e.next,disabled:!t.next},a.createElement(zr,null))),a.createElement(Be,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(nt,{note:"Go to end"})},a.createElement(ot,{"aria-label":"Go to end",containsIcon:!0,onClick:e.end,disabled:!t.end},a.createElement($r,null))),a.createElement(Be,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(nt,{note:"Rerun"})},a.createElement(ia,{"aria-label":"Rerun",containsIcon:!0,onClick:e.rerun},a.createElement(Wr,null)))),n&&a.createElement(Ur,null,a.createElement(na,null,n)))))},ca=Re(Vt()),ua=Re(Kt());function Gt(e){var t,r,n="";if(e)if(typeof e=="object")if(Array.isArray(e))for(t=0;tArray.isArray(e)||ArrayBuffer.isView(e)&&!(e instanceof DataView),cn=e=>e!==null&&typeof e=="object"&&!Qt(e)&&!(e instanceof Date)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof WeakMap)&&!(e instanceof WeakSet),sa=e=>cn(e)||Qt(e)||typeof e=="function"||e instanceof Promise,un=e=>{let t=/unique/;return Promise.race([e,t]).then(r=>r===t?["pending"]:["fulfilled",r],r=>["rejected",r])},xe=async(e,t,r,n,o,u)=>{let i={key:e,depth:r,value:t,type:"value",parent:void 0};if(t&&sa(t)&&r<100){let c=[],p="object";if(Qt(t)){for(let f=0;f{let b=await xe(f.toString(),t[f],r+1,n);return b.parent=i,b});p="array"}else{let f=Object.getOwnPropertyNames(t);n&&f.sort();for(let b=0;b{let m=await xe(f[b],h,r+1,n);return m.parent=i,m})}if(typeof t=="function"&&(p="function"),t instanceof Promise){let[b,h]=await un(t);c.push(async()=>{let m=await xe("",b,r+1,n);return m.parent=i,m}),b!=="pending"&&c.push(async()=>{let m=await xe("",h,r+1,n);return m.parent=i,m}),p="promise"}if(t instanceof Map){let b=Array.from(t.entries()).map(h=>{let[m,v]=h;return{"":m,"":v}});c.push(async()=>{let h=await xe("",b,r+1,n);return h.parent=i,h}),c.push(async()=>{let h=await xe("size",t.size,r+1,n);return h.parent=i,h}),p="map"}if(t instanceof Set){let b=Array.from(t.entries()).map(h=>h[1]);c.push(async()=>{let h=await xe("",b,r+1,n);return h.parent=i,h}),c.push(async()=>{let h=await xe("size",t.size,r+1,n);return h.parent=i,h}),p="set"}}t!==Object.prototype&&u&&c.push(async()=>{let f=await xe("",Object.getPrototypeOf(t),r+1,n,!0);return f.parent=i,f}),i.type=p,i.children=c,i.isPrototype=o}return i},pa=(e,t,r)=>xe("root",e,0,t===!1?t:!0,void 0,r===!1?r:!0),qr=Re(vo()),ma=Re(_o()),fa=["children"],Yt=a.createContext({theme:"chrome",colorScheme:"light"}),da=e=>{let{children:t}=e,r=(0,ma.default)(e,fa),n=a.useContext(Yt);return a.createElement(Yt.Provider,{value:(0,qr.default)((0,qr.default)({},n),r)},t)},_t=(e,t={})=>{let r=a.useContext(Yt),n=e.theme||r.theme||"chrome",o=e.colorScheme||r.colorScheme||"light",u=Pe(t[n],t[o]);return{currentColorScheme:o,currentTheme:n,themeClass:u}},Gr=Re(Io()),Dt=Re(Oo()),ga=Re(Ao()),ba=a.createContext({isChild:!1,depth:0,hasHover:!0}),Wt=ba,ve={tree:"Tree-tree-fbbbe38",item:"Tree-item-353d6f3",group:"Tree-group-d3c3d8a",label:"Tree-label-d819155",focusWhite:"Tree-focusWhite-f1e00c2",arrow:"Tree-arrow-03ab2e7",hover:"Tree-hover-3cc4e5d",open:"Tree-open-3f1a336",dark:"Tree-dark-1b4aa00",chrome:"Tree-chrome-bcbcac6",light:"Tree-light-09174ee"},ha=["theme","hover","colorScheme","children","label","className","onUpdate","onSelect","open"],Et=e=>{let{theme:t,hover:r,colorScheme:n,children:o,label:u,className:i,onUpdate:c,onSelect:p,open:f}=e,b=(0,ga.default)(e,ha),{themeClass:h,currentTheme:m}=_t({theme:t,colorScheme:n},ve),[v,g]=Te(f);$e(()=>{g(f)},[f]);let E=O=>{g(O),c&&c(O)},S=a.Children.count(o)>0,_=(O,L)=>{if(O.isSameNode(L||null))return;O.querySelector('[tabindex="-1"]')?.focus(),O.setAttribute("aria-selected","true"),L?.removeAttribute("aria-selected")},I=(O,L)=>{let P=O;for(;P&&P.parentElement;){if(P.getAttribute("role")===L)return P;P=P.parentElement}return null},C=O=>{let L=I(O,"tree");return L?Array.from(L.querySelectorAll("li")):[]},j=O=>{let L=I(O,"group"),P=L?.previousElementSibling;if(P&&P.getAttribute("tabindex")==="-1"){let V=P.parentElement,Z=O.parentElement;_(V,Z)}},x=(O,L)=>{let P=C(O);P.forEach(V=>{V.removeAttribute("aria-selected")}),L==="start"&&P[0]&&_(P[0]),L==="end"&&P[P.length-1]&&_(P[P.length-1])},k=(O,L)=>{let P=C(O)||[];for(let V=0;V{let P=O.target;(O.key==="Enter"||O.key===" ")&&E(!v),O.key==="ArrowRight"&&v&&!L?k(P,"down"):O.key==="ArrowRight"&&E(!0),O.key==="ArrowLeft"&&(!v||L)?j(P):O.key==="ArrowLeft"&&E(!1),O.key==="ArrowDown"&&k(P,"down"),O.key==="ArrowUp"&&k(P,"up"),O.key==="Home"&&x(P,"start"),O.key==="End"&&x(P,"end")},y=(O,L)=>{let P=O.target,V=I(P,"treeitem"),Z=C(P)||[],oe=!1;for(let se=0;se{let L=O.currentTarget;!L.contains(document.activeElement)&&L.getAttribute("role")==="tree"&&L.setAttribute("tabindex","0")},M=O=>{let L=O.target;if(L.getAttribute("role")==="tree"){let P=L.querySelector('[aria-selected="true"]');P?_(P):k(L,"down"),L.setAttribute("tabindex","-1")}},B=()=>{p?.()},H=O=>{let L=O*.9+.3;return{paddingLeft:`${L}em`,width:`calc(100% - ${L}em)`}},{isChild:q,depth:W,hasHover:ue}=a.useContext(Wt),z=ue?r:!1;if(!q)return a.createElement("ul",(0,Dt.default)({role:"tree",tabIndex:0,className:Pe(ve.tree,ve.group,h,i),onFocus:M,onBlur:R},b),a.createElement(Wt.Provider,{value:{isChild:!0,depth:0,hasHover:z}},a.createElement(Et,e)));if(!S)return a.createElement("li",(0,Dt.default)({role:"treeitem",className:ve.item},b),a.createElement("div",{role:"button",className:Pe(ve.label,{[ve.hover]:z,[ve.focusWhite]:m==="firefox"}),tabIndex:-1,style:H(W),onKeyDown:O=>{F(O,q)},onClick:O=>y(O,!0),onFocus:B},a.createElement("span",null,u)));let ee=Pe(ve.arrow,{[ve.open]:v});return a.createElement("li",{role:"treeitem","aria-expanded":v,className:ve.item},a.createElement("div",{role:"button",tabIndex:-1,className:Pe(ve.label,{[ve.hover]:z,[ve.focusWhite]:m==="firefox"}),style:H(W),onClick:O=>y(O),onKeyDown:O=>F(O),onFocus:B},a.createElement("span",null,a.createElement("span",{"aria-hidden":!0,className:ee}),a.createElement("span",null,u))),a.createElement("ul",(0,Dt.default)({role:"group",className:Pe(i,ve.group)},b),v&&a.Children.map(o,O=>a.createElement(Wt.Provider,{value:{isChild:!0,depth:W+1,hasHover:z}},O))))};Et.defaultProps={open:!1,hover:!0};var ya=Re(Vt()),Ea=Re(Kt()),te={"object-inspector":"ObjectInspector-object-inspector-0c33e82",objectInspector:"ObjectInspector-object-inspector-0c33e82","object-label":"ObjectInspector-object-label-b81482b",objectLabel:"ObjectInspector-object-label-b81482b",text:"ObjectInspector-text-25f57f3",key:"ObjectInspector-key-4f712bb",value:"ObjectInspector-value-f7ec2e5",string:"ObjectInspector-string-c496000",regex:"ObjectInspector-regex-59d45a3",error:"ObjectInspector-error-b818698",boolean:"ObjectInspector-boolean-2dd1642",number:"ObjectInspector-number-a6daabb",undefined:"ObjectInspector-undefined-3a68263",null:"ObjectInspector-null-74acb50",function:"ObjectInspector-function-07bbdcd","function-decorator":"ObjectInspector-function-decorator-3d22c24",functionDecorator:"ObjectInspector-function-decorator-3d22c24",prototype:"ObjectInspector-prototype-f2449ee",dark:"ObjectInspector-dark-0c96c97",chrome:"ObjectInspector-chrome-2f3ca98",light:"ObjectInspector-light-78bef54"},va=["ast","theme","showKey","colorScheme","className"],Se=(e,t,r,n,o)=>{let u=e.includes("-")?`"${e}"`:e,i=o<=0;return a.createElement("span",{className:te.text},!i&&n&&a.createElement(a.Fragment,null,a.createElement("span",{className:te.key},u),a.createElement("span",null,":\xA0")),a.createElement("span",{className:r},t))},sn=e=>{let{ast:t,theme:r,showKey:n,colorScheme:o,className:u}=e,i=(0,Ea.default)(e,va),{themeClass:c}=_t({theme:r,colorScheme:o},te),[p,f]=Te(a.createElement("span",null)),b=a.createElement("span",null);return $e(()=>{t.value instanceof Promise&&(async h=>{f(Se(t.key,`Promise { "${await un(h)}" }`,te.key,n,t.depth))})(t.value)},[t,n]),typeof t.value=="number"||typeof t.value=="bigint"?b=Se(t.key,String(t.value),te.number,n,t.depth):typeof t.value=="boolean"?b=Se(t.key,String(t.value),te.boolean,n,t.depth):typeof t.value=="string"?b=Se(t.key,`"${t.value}"`,te.string,n,t.depth):typeof t.value>"u"?b=Se(t.key,"undefined",te.undefined,n,t.depth):typeof t.value=="symbol"?b=Se(t.key,t.value.toString(),te.string,n,t.depth):typeof t.value=="function"?b=Se(t.key,`${t.value.name}()`,te.key,n,t.depth):typeof t.value=="object"&&(t.value===null?b=Se(t.key,"null",te.null,n,t.depth):Array.isArray(t.value)?b=Se(t.key,`Array(${t.value.length})`,te.key,n,t.depth):t.value instanceof Date?b=Se(t.key,`Date ${t.value.toString()}`,te.value,n,t.depth):t.value instanceof RegExp?b=Se(t.key,t.value.toString(),te.regex,n,t.depth):t.value instanceof Error?b=Se(t.key,t.value.toString(),te.error,n,t.depth):cn(t.value)?b=Se(t.key,"{\u2026}",te.key,n,t.depth):b=Se(t.key,t.value.constructor.name,te.key,n,t.depth)),a.createElement("span",(0,ya.default)({className:Pe(c,u)},i),p,b)};sn.defaultProps={showKey:!0};var pn=sn,Je=Re(Vt()),Sa=Re(Kt()),_a=["ast","theme","previewMax","open","colorScheme","className"],at=(e,t,r)=>{let n=[];for(let o=0;ot){n.push("\u2026 ");break}}return n},wa=(e,t,r,n)=>{let o=e.value.length;return t?a.createElement("span",null,"Array(",o,")"):a.createElement(a.Fragment,null,a.createElement("span",null,`${n==="firefox"?"Array":""}(${o}) [ `),at(e.children,r,!1),a.createElement("span",null,"]"))},Ia=(e,t,r,n)=>e.isPrototype?a.createElement("span",null,`Object ${n==="firefox"?"{ \u2026 }":""}`):t?a.createElement("span",null,"{\u2026}"):a.createElement(a.Fragment,null,a.createElement("span",null,`${n==="firefox"?"Object ":""}{ `),at(e.children,r,!0),a.createElement("span",null,"}")),Oa=(e,t,r)=>t?a.createElement("span",null,`Promise { "${String(e.children[0].value)}" }`):a.createElement(a.Fragment,null,a.createElement("span",null,"Promise { "),at(e.children,r,!0),a.createElement("span",null,"}")),Ca=(e,t,r,n)=>{let{size:o}=e.value;return t?a.createElement("span",null,`Map(${o})`):a.createElement(a.Fragment,null,a.createElement("span",null,`Map${n==="chrome"?`(${o})`:""} { `),at(e.children,r,!0),a.createElement("span",null,"}"))},Aa=(e,t,r)=>{let{size:n}=e.value;return t?a.createElement("span",null,"Set(",n,")"):a.createElement(a.Fragment,null,a.createElement("span",null,`Set(${e.value.size}) {`),at(e.children,r,!0),a.createElement("span",null,"}"))},mn=e=>{let{ast:t,theme:r,previewMax:n,open:o,colorScheme:u,className:i}=e,c=(0,Sa.default)(e,_a),{themeClass:p,currentTheme:f}=_t({theme:r,colorScheme:u},te),b=t.isPrototype||!1,h=Pe(te.objectLabel,p,i,{[te.prototype]:b}),m=t.depth<=0,v=()=>a.createElement("span",{className:b?te.prototype:te.key},m?"":`${t.key}: `);return t.type==="array"?a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),wa(t,o,n,f)):t.type==="function"?a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),f==="chrome"&&a.createElement("span",{className:te.functionDecorator},"\u0192 "),a.createElement("span",{className:Pe({[te.function]:!b})},`${t.value.name}()`)):t.type==="promise"?a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),Oa(t,o,n)):t.type==="map"?a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),Ca(t,o,n,f)):t.type==="set"?a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),Aa(t,o,n)):a.createElement("span",(0,Je.default)({className:h},c),a.createElement(v,null),Ia(t,o,n,f))};mn.defaultProps={previewMax:8,open:!1};var Ta=mn,er=e=>{let{ast:t,expandLevel:r,depth:n}=e,[o,u]=Te(),[i,c]=Te(n{(async()=>{if(t.type!=="value"){let p=t.children.map(h=>h()),f=await Promise.all(p),b=(0,Gr.default)((0,Gr.default)({},t),{},{children:f});u(b)}})()},[t]),o?a.createElement(Et,{hover:!1,open:i,label:a.createElement(Ta,{open:i,ast:o}),onSelect:()=>{var p;(p=e.onSelect)===null||p===void 0||p.call(e,t)},onUpdate:p=>{c(p)}},o.children.map(p=>a.createElement(er,{key:p.key,ast:p,depth:n+1,expandLevel:r,onSelect:e.onSelect}))):a.createElement(Et,{hover:!1,label:a.createElement(pn,{ast:t}),onSelect:()=>{var p;(p=e.onSelect)===null||p===void 0||p.call(e,t)}})};er.defaultProps={expandLevel:0,depth:0};var Ra=er,xa=["data","expandLevel","sortKeys","includePrototypes","className","theme","colorScheme","onSelect"],fn=e=>{let{data:t,expandLevel:r,sortKeys:n,includePrototypes:o,className:u,theme:i,colorScheme:c,onSelect:p}=e,f=(0,ua.default)(e,xa),[b,h]=Te(void 0),{themeClass:m,currentTheme:v,currentColorScheme:g}=_t({theme:i,colorScheme:c},te);return $e(()=>{(async()=>h(await pa(t,n,o)))()},[t,n,o]),a.createElement("div",(0,ca.default)({className:Pe(te.objectInspector,u,m)},f),b&&a.createElement(da,{theme:v,colorScheme:g},a.createElement(Ra,{ast:b,expandLevel:r,onSelect:p})))};fn.defaultProps={expandLevel:0,sortKeys:!0,includePrototypes:!0};var Pa={base:"#444",nullish:"#7D99AA",string:"#16B242",number:"#5D40D0",boolean:"#f41840",objectkey:"#698394",instance:"#A15C20",function:"#EA7509",muted:"#7D99AA",tag:{name:"#6F2CAC",suffix:"#1F99E5"},date:"#459D9C",error:{name:"#D43900",message:"#444"},regex:{source:"#A15C20",flags:"#EA7509"},meta:"#EA7509",method:"#0271B6"},ja={base:"#eee",nullish:"#aaa",string:"#5FE584",number:"#6ba5ff",boolean:"#ff4191",objectkey:"#accfe6",instance:"#E3B551",function:"#E3B551",muted:"#aaa",tag:{name:"#f57bff",suffix:"#8EB5FF"},date:"#70D4D3",error:{name:"#f40",message:"#eee"},regex:{source:"#FAD483",flags:"#E3B551"},meta:"#FAD483",method:"#5EC1FF"},de=()=>{let{base:e}=Qe();return e==="dark"?ja:Pa},Na=/[^A-Z0-9]/i,Yr=/[\s.,…]+$/gm,dn=(e,t)=>{if(e.length<=t)return e;for(let r=t-1;r>=0;r-=1)if(Na.test(e[r])&&r>10)return`${e.slice(0,r).replace(Yr,"")}\u2026`;return`${e.slice(0,t).replace(Yr,"")}\u2026`},ka=e=>{try{return JSON.stringify(e,null,1)}catch{return String(e)}},gn=(e,t)=>e.flatMap((r,n)=>n===e.length-1?[r]:[r,a.cloneElement(t,{key:`sep${n}`})]),He=({value:e,nested:t,showObjectInspector:r,callsById:n,...o})=>{switch(!0){case e===null:return a.createElement($a,{...o});case e===void 0:return a.createElement(Fa,{...o});case Array.isArray(e):return a.createElement(Ba,{...o,value:e,callsById:n});case typeof e=="string":return a.createElement(La,{...o,value:e});case typeof e=="number":return a.createElement(Ma,{...o,value:e});case typeof e=="boolean":return a.createElement(za,{...o,value:e});case Object.prototype.hasOwnProperty.call(e,"__date__"):return a.createElement(qa,{...o,...e.__date__});case Object.prototype.hasOwnProperty.call(e,"__error__"):return a.createElement(Ga,{...o,...e.__error__});case Object.prototype.hasOwnProperty.call(e,"__regexp__"):return a.createElement(Ya,{...o,...e.__regexp__});case Object.prototype.hasOwnProperty.call(e,"__function__"):return a.createElement(Ha,{...o,...e.__function__});case Object.prototype.hasOwnProperty.call(e,"__symbol__"):return a.createElement(Va,{...o,...e.__symbol__});case Object.prototype.hasOwnProperty.call(e,"__element__"):return a.createElement(Ua,{...o,...e.__element__});case Object.prototype.hasOwnProperty.call(e,"__class__"):return a.createElement(Wa,{...o,...e.__class__});case Object.prototype.hasOwnProperty.call(e,"__callId__"):return a.createElement(tr,{call:n.get(e.__callId__),callsById:n});case Object.prototype.toString.call(e)==="[object Object]":return a.createElement(Da,{value:e,showInspector:r,callsById:n,...o});default:return a.createElement(Ka,{value:e,...o})}},$a=e=>{let t=de();return a.createElement("span",{style:{color:t.nullish},...e},"null")},Fa=e=>{let t=de();return a.createElement("span",{style:{color:t.nullish},...e},"undefined")},La=({value:e,...t})=>{let r=de();return a.createElement("span",{style:{color:r.string},...t},JSON.stringify(dn(e,50)))},Ma=({value:e,...t})=>{let r=de();return a.createElement("span",{style:{color:r.number},...t},e)},za=({value:e,...t})=>{let r=de();return a.createElement("span",{style:{color:r.boolean},...t},String(e))},Ba=({value:e,nested:t=!1,callsById:r})=>{let n=de();if(t)return a.createElement("span",{style:{color:n.base}},"[\u2026]");let o=e.slice(0,3).map(i=>a.createElement(He,{key:JSON.stringify(i),value:i,nested:!0,callsById:r})),u=gn(o,a.createElement("span",null,", "));return e.length<=3?a.createElement("span",{style:{color:n.base}},"[",u,"]"):a.createElement("span",{style:{color:n.base}},"(",e.length,") [",u,", \u2026]")},Da=({showInspector:e,value:t,callsById:r,nested:n=!1})=>{let o=Qe().base==="dark",u=de();if(e)return a.createElement(a.Fragment,null,a.createElement(fn,{id:"interactions-object-inspector",data:t,includePrototypes:!1,colorScheme:o?"dark":"light"}));if(n)return a.createElement("span",{style:{color:u.base}},"{\u2026}");let i=gn(Object.entries(t).slice(0,2).map(([c,p])=>a.createElement(ke,{key:c},a.createElement("span",{style:{color:u.objectkey}},c,": "),a.createElement(He,{value:p,callsById:r,nested:!0}))),a.createElement("span",null,", "));return Object.keys(t).length<=2?a.createElement("span",{style:{color:u.base}},"{ ",i," }"):a.createElement("span",{style:{color:u.base}},"(",Object.keys(t).length,") ","{ ",i,", \u2026 }")},Wa=({name:e})=>{let t=de();return a.createElement("span",{style:{color:t.instance}},e)},Ha=({name:e})=>{let t=de();return e?a.createElement("span",{style:{color:t.function}},e):a.createElement("span",{style:{color:t.nullish,fontStyle:"italic"}},"anonymous")},Ua=({prefix:e,localName:t,id:r,classNames:n=[],innerText:o})=>{let u=e?`${e}:${t}`:t,i=de();return a.createElement("span",{style:{wordBreak:"keep-all"}},a.createElement("span",{key:`${u}_lt`,style:{color:i.muted}},"<"),a.createElement("span",{key:`${u}_tag`,style:{color:i.tag.name}},u),a.createElement("span",{key:`${u}_suffix`,style:{color:i.tag.suffix}},r?`#${r}`:n.reduce((c,p)=>`${c}.${p}`,"")),a.createElement("span",{key:`${u}_gt`,style:{color:i.muted}},">"),!r&&n.length===0&&o&&a.createElement(a.Fragment,null,a.createElement("span",{key:`${u}_text`},o),a.createElement("span",{key:`${u}_close_lt`,style:{color:i.muted}},"<"),a.createElement("span",{key:`${u}_close_tag`,style:{color:i.tag.name}},"/",u),a.createElement("span",{key:`${u}_close_gt`,style:{color:i.muted}},">")))},qa=({value:e})=>{let[t,r,n]=e.split(/[T.Z]/),o=de();return a.createElement("span",{style:{whiteSpace:"nowrap",color:o.date}},t,a.createElement("span",{style:{opacity:.7}},"T"),r==="00:00:00"?a.createElement("span",{style:{opacity:.7}},r):r,n==="000"?a.createElement("span",{style:{opacity:.7}},".",n):`.${n}`,a.createElement("span",{style:{opacity:.7}},"Z"))},Ga=({name:e,message:t})=>{let r=de();return a.createElement("span",{style:{color:r.error.name}},e,t&&": ",t&&a.createElement("span",{style:{color:r.error.message},title:t.length>50?t:""},dn(t,50)))},Ya=({flags:e,source:t})=>{let r=de();return a.createElement("span",{style:{whiteSpace:"nowrap",color:r.regex.flags}},"/",a.createElement("span",{style:{color:r.regex.source}},t),"/",e)},Va=({description:e})=>{let t=de();return a.createElement("span",{style:{whiteSpace:"nowrap",color:t.instance}},"Symbol(",e&&a.createElement("span",{style:{color:t.meta}},'"',e,'"'),")")},Ka=({value:e})=>{let t=de();return a.createElement("span",{style:{color:t.meta}},ka(e))},Ja=({label:e})=>{let t=de(),{typography:r}=Qe();return a.createElement("span",{style:{color:t.base,fontFamily:r.fonts.base,fontSize:r.size.s2-1}},e)},tr=({call:e,callsById:t})=>{if(!e)return null;if(e.method==="step"&&e.path.length===0)return a.createElement(Ja,{label:e.args[0]});let r=e.path.flatMap((u,i)=>{let c=u.__callId__;return[c?a.createElement(tr,{key:`elem${i}`,call:t.get(c),callsById:t}):a.createElement("span",{key:`elem${i}`},u),a.createElement("wbr",{key:`wbr${i}`}),a.createElement("span",{key:`dot${i}`},".")]}),n=e.args.flatMap((u,i,c)=>{let p=a.createElement(He,{key:`node${i}`,value:u,callsById:t});return i{for(let r=t,n=1;r{try{return e==="undefined"?void 0:JSON.parse(e)}catch{return e}},Xa=Y.span(({theme:e})=>({color:e.base==="light"?e.color.positiveText:e.color.positive})),Za=Y.span(({theme:e})=>({color:e.base==="light"?e.color.negativeText:e.color.negative})),ht=({value:e,parsed:t})=>t?a.createElement(He,{showObjectInspector:!0,value:e,style:{color:"#D43900"}}):a.createElement(Za,null,e),yt=({value:e,parsed:t})=>t?typeof e=="string"&&e.startsWith("called with")?a.createElement(a.Fragment,null,e):a.createElement(He,{showObjectInspector:!0,value:e,style:{color:"#16B242"}}):a.createElement(Xa,null,e),Kr=({message:e,style:t={}})=>{let r=e.split(` +`);return a.createElement("pre",{style:{margin:0,padding:"8px 10px 8px 36px",fontSize:je.size.s1,...t}},r.flatMap((n,o)=>{if(n.startsWith("expect(")){let b=Vr(n,7),h=b&&7+b.length,m=b&&n.slice(h).match(/\.(to|last|nth)[A-Z]\w+\(/);if(m){let v=h+m.index+m[0].length,g=Vr(n,v);if(g)return["expect(",a.createElement(ht,{key:`received_${b}`,value:b}),n.slice(h,v),a.createElement(yt,{key:`expected_${g}`,value:g}),n.slice(v+g.length),a.createElement("br",{key:`br${o}`})]}}if(n.match(/^\s*- /))return[a.createElement(yt,{key:n+o,value:n}),a.createElement("br",{key:`br${o}`})];if(n.match(/^\s*\+ /))return[a.createElement(ht,{key:n+o,value:n}),a.createElement("br",{key:`br${o}`})];let[,u,i]=n.match(/^(Expected|Received): (.*)$/)||[];if(u&&i)return u==="Expected"?["Expected: ",a.createElement(yt,{key:n+o,value:Ht(i),parsed:!0}),a.createElement("br",{key:`br${o}`})]:["Received: ",a.createElement(ht,{key:n+o,value:Ht(i),parsed:!0}),a.createElement("br",{key:`br${o}`})];let[,c,p]=n.match(/(Expected number|Received number|Number) of calls: (\d+)$/i)||[];if(c&&p)return[`${c} of calls: `,a.createElement(He,{key:n+o,value:Number(p)}),a.createElement("br",{key:`br${o}`})];let[,f]=n.match(/^Received has value: (.+)$/)||[];return f?["Received has value: ",a.createElement(He,{key:n+o,value:Ht(f)}),a.createElement("br",{key:`br${o}`})]:[a.createElement("span",{key:n+o},n),a.createElement("br",{key:`br${o}`})]}))},Qa=Y.div({width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"}),bn=({status:e})=>{let t=Qe();switch(e){case X.DONE:return a.createElement(jr,{color:t.color.positive,"data-testid":"icon-done"});case X.ERROR:return a.createElement(Dr,{color:t.color.negative,"data-testid":"icon-error"});case X.ACTIVE:return a.createElement(Mr,{color:t.color.secondary,"data-testid":"icon-active"});case X.WAITING:return a.createElement(Qa,{"data-testid":"icon-waiting"},a.createElement(Nr,{color:bt(.5,"#CCCCCC"),size:6}));default:return null}};function ei(e){return ti(e)||hn(e)}function ti(e){return e&&typeof e=="object"&&"name"in e&&typeof e.name=="string"&&e.name==="AssertionError"}function hn(e){return e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"&&e.message.startsWith("expect(")}var ri=Y.div(()=>({fontFamily:je.fonts.mono,fontSize:je.size.s1,overflowWrap:"break-word",inlineSize:"calc( 100% - 40px )"})),ni=Y("div",{shouldForwardProp:e=>!["call","pausedAt"].includes(e.toString())})(({theme:e,call:t})=>({position:"relative",display:"flex",flexDirection:"column",borderBottom:`1px solid ${e.appBorderColor}`,fontFamily:je.fonts.base,fontSize:13,...t.status===X.ERROR&&{backgroundColor:e.base==="dark"?bt(.93,e.color.negative):e.background.warning},paddingLeft:t.ancestors.length*20}),({theme:e,call:t,pausedAt:r})=>r===t.id&&{"&::before":{content:'""',position:"absolute",top:-5,zIndex:1,borderTop:"4.5px solid transparent",borderLeft:`7px solid ${e.color.warning}`,borderBottom:"4.5px solid transparent"},"&::after":{content:'""',position:"absolute",top:-1,zIndex:1,width:"100%",borderTop:`1.5px solid ${e.color.warning}`}}),oi=Y.div(({theme:e,isInteractive:t})=>({display:"flex","&:hover":t?{}:{background:e.background.hoverable}})),ai=Y("button",{shouldForwardProp:e=>!["call"].includes(e.toString())})(({theme:e,disabled:t,call:r})=>({flex:1,display:"grid",background:"none",border:0,gridTemplateColumns:"15px 1fr",alignItems:"center",minHeight:40,margin:0,padding:"8px 15px",textAlign:"start",cursor:t||r.status===X.ERROR?"default":"pointer","&:focus-visible":{outline:0,boxShadow:`inset 3px 0 0 0 ${r.status===X.ERROR?e.color.warning:e.color.secondary}`,background:r.status===X.ERROR?"transparent":e.background.hoverable},"& > div":{opacity:r.status===X.WAITING?.5:1}})),ii=Y.div({padding:6}),li=Y(Rt)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),ci=Y(Pt)(({theme:e})=>({fontFamily:e.typography.fonts.base})),ui=Y("div")(({theme:e})=>({padding:"8px 10px 8px 36px",fontSize:je.size.s1,color:e.color.defaultText,pre:{margin:0,padding:0}})),si=({exception:e})=>{if(hn(e))return D(Kr,{...e});let t=e.message.split(` + +`),r=t.length>1;return D(ui,null,D("pre",null,t[0]),e.showDiff&&e.diff?D(ke,null,D("br",null),D(Kr,{message:e.diff,style:{padding:0}})):D("pre",null,D("br",null),e.expected&&D(ke,null,"Expected: ",D(yt,{value:e.expected}),D("br",null)),e.actual&&D(ke,null,"Received: ",D(ht,{value:e.actual}),D("br",null))),r&&D("p",null,"See the full stack trace in the browser console."))},pi=({call:e,callsById:t,controls:r,controlStates:n,childCallIds:o,isHidden:u,isCollapsed:i,toggleCollapsed:c,pausedAt:p})=>{let[f,b]=Te(!1),h=!n.goto||!e.interceptable||!!e.ancestors.length;return u?null:D(ni,{call:e,pausedAt:p},D(oi,{isInteractive:h},D(ai,{"aria-label":"Interaction step",call:e,onClick:()=>r.goto(e.id),disabled:h,onMouseEnter:()=>n.goto&&b(!0),onMouseLeave:()=>n.goto&&b(!1)},D(bn,{status:f?X.ACTIVE:e.status}),D(ri,{style:{marginLeft:6,marginBottom:1}},D(tr,{call:e,callsById:t}))),D(ii,null,o?.length>0&&D(Be,{hasChrome:!1,tooltip:D(ci,{note:`${i?"Show":"Hide"} interactions`})},D(li,{containsIcon:!0,onClick:c},D(Fr,null))))),e.status===X.ERROR&&e.exception?.callId===e.id&&D(si,{exception:e.exception}))},mi=Y.div(({theme:e})=>({height:"100%",display:"flex",padding:0,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),fi=Y.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),di=Y.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),gi=Y.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),bi=Y.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),hi=Y.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),yi=()=>{let[e,t]=Te(!0),r=fr().getDocsUrl({subpath:Jo,versioned:!0,renderer:!0});return $e(()=>{let n=setTimeout(()=>{t(!1)},100);return()=>clearTimeout(n)},[]),e?null:a.createElement(mi,null,a.createElement(fi,null,a.createElement(di,null,"Interaction testing"),a.createElement(gi,null,"Interaction tests allow you to verify the functional aspects of UIs. Write a play function for your story and you'll see it run here.")),a.createElement(bi,null,a.createElement(xt,{href:Ko,target:"_blank",withArrow:!0},a.createElement(Hr,null)," Watch 8m video"),a.createElement(hi,null),a.createElement(Ct,null,({state:n})=>a.createElement(xt,{href:r,target:"_blank",withArrow:!0},a.createElement(kr,null)," Read docs"))))},Ei=Y.div(({theme:e})=>({height:"100%",background:e.background.content})),Jr=Y.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,backgroundColor:e.base==="dark"?bt(.93,e.color.negative):e.background.warning,padding:15,fontSize:e.typography.size.s2-1,lineHeight:"19px"})),Ut=Y.code(({theme:e})=>({margin:"0 1px",padding:3,fontSize:e.typography.size.s1-1,lineHeight:1,verticalAlign:"top",background:"rgba(0, 0, 0, 0.05)",border:`1px solid ${e.appBorderColor}`,borderRadius:3})),Xr=Y.div({paddingBottom:4,fontWeight:"bold"}),vi=Y.p({margin:0,padding:"0 0 20px"}),Zr=Y.pre(({theme:e})=>({margin:0,padding:0,"&:not(:last-child)":{paddingBottom:16},fontSize:e.typography.size.s1-1})),Si=st(function({calls:e,controls:t,controlStates:r,interactions:n,fileName:o,hasException:u,caughtException:i,unhandledErrors:c,isPlaying:p,pausedAt:f,onScrollToEnd:b,endRef:h}){return D(Ei,null,(n.length>0||u)&&D(la,{controls:t,controlStates:r,status:p?X.ACTIVE:u?X.ERROR:X.DONE,storyFileName:o,onScrollToEnd:b}),D("div",{"aria-label":"Interactions list"},n.map(m=>D(pi,{key:m.id,call:m,callsById:e,controls:t,controlStates:r,childCallIds:m.childCallIds,isHidden:m.isHidden,isCollapsed:m.isCollapsed,toggleCollapsed:m.toggleCollapsed,pausedAt:f}))),i&&!ei(i)&&D(Jr,null,D(Xr,null,"Caught exception in ",D(Ut,null,"play")," function"),D(Zr,{"data-chromatic":"ignore"},Qr(i))),c&&D(Jr,null,D(Xr,null,"Unhandled Errors"),D(vi,null,"Found ",c.length," unhandled error",c.length>1?"s":""," ","while running the play function. This might cause false positive assertions. Resolve unhandled errors or ignore unhandled errors with setting the",D(Ut,null,"test.dangerouslyIgnoreUnhandledErrors")," ","parameter to ",D(Ut,null,"true"),"."),c.map((m,v)=>D(Zr,{key:v,"data-chromatic":"ignore"},Qr(m)))),D("div",{ref:h}),!p&&!i&&n.length===0&&D(yi,null))});function Qr(e){return e.stack||`${e.name}: ${e.message}`}var qt={start:!1,back:!1,goto:!1,next:!1,end:!1},en=({log:e,calls:t,collapsed:r,setCollapsed:n})=>{let o=new Map,u=new Map;return e.map(({callId:i,ancestors:c,status:p})=>{let f=!1;return c.forEach(b=>{r.has(b)&&(f=!0),u.set(b,(u.get(b)||[]).concat(i))}),{...t.get(i),status:p,isHidden:f}}).map(i=>{let c=i.status===X.ERROR&&o.get(i.ancestors.slice(-1)[0])?.status===X.ACTIVE?X.ACTIVE:i.status;return o.set(i.id,{...i,status:c}),{...i,status:c,childCallIds:u.get(i.id),isCollapsed:r.has(i.id),toggleCollapsed:()=>n(p=>(p.has(i.id)?p.delete(i.id):p.add(i.id),new Set(p)))}})},_i=st(function({storyId:e}){let[t,r]=Tt(St,{controlStates:qt,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0}),[n,o]=Te(void 0),[u,i]=Te(new Set),{controlStates:c=qt,isErrored:p=!1,pausedAt:f=void 0,interactions:b=[],isPlaying:h=!1,caughtException:m=void 0,unhandledErrors:v=void 0}=t,g=pt([]),E=pt(new Map),S=({status:y,...R})=>E.current.set(R.id,R),_=pt();$e(()=>{let y;return mt.IntersectionObserver&&(y=new mt.IntersectionObserver(([R])=>o(R.isIntersecting?void 0:R.target),{root:mt.document.querySelector("#panel-tab-content")}),_.current&&y.observe(_.current)),()=>y?.disconnect()},[]);let I=pr({[We.CALL]:S,[We.SYNC]:y=>{r(R=>{let M=en({log:y.logItems,calls:E.current,collapsed:u,setCollapsed:i});return{...R,controlStates:y.controlStates,pausedAt:y.pausedAt,interactions:M,interactionsCount:M.filter(({method:B})=>B!=="step").length}}),g.current=y.logItems},[wr]:y=>{if(y.newPhase==="preparing"){r({controlStates:qt,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0});return}r(R=>({...R,isPlaying:y.newPhase==="playing",pausedAt:void 0,...y.newPhase==="rendering"?{isErrored:!1,caughtException:void 0}:{}}))},[Ir]:()=>{r(y=>({...y,isErrored:!0}))},[_r]:y=>{r(R=>({...R,caughtException:y}))},[Or]:y=>{r(R=>({...R,unhandledErrors:y}))}},[u]);$e(()=>{r(y=>{let R=en({log:g.current,calls:E.current,collapsed:u,setCollapsed:i});return{...y,interactions:R,interactionsCount:R.filter(({method:M})=>M!=="step").length}})},[u]);let C=ur(()=>({start:()=>I(We.START,{storyId:e}),back:()=>I(We.BACK,{storyId:e}),goto:y=>I(We.GOTO,{storyId:e,callId:y}),next:()=>I(We.NEXT,{storyId:e}),end:()=>I(We.END,{storyId:e}),rerun:()=>{I(Sr,{storyId:e})}}),[e]),j=mr("fileName",""),[x]=j.toString().split("/").slice(-1),k=()=>n?.scrollIntoView({behavior:"smooth",block:"end"}),F=!!m||!!v||b.some(y=>y.status===X.ERROR);return p?a.createElement(ke,{key:"interactions"}):a.createElement(ke,{key:"interactions"},a.createElement(Si,{calls:E.current,controls:C,controlStates:c,interactions:b,fileName:x,hasException:F,caughtException:m,unhandledErrors:v,isPlaying:h,pausedAt:f,endRef:_,onScrollToEnd:n&&k}))}),wi=Y(bn)({marginLeft:5});function Ii(){let[e={}]=Tt(St),{hasException:t,interactionsCount:r}=e;return a.createElement("div",null,a.createElement(vr,{col:1},a.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Interactions"),r&&!t?a.createElement(gr,{status:"neutral"},r):null,t?a.createElement(wi,{status:X.ERROR}):null))}At.register(St,e=>{At.add(Vo,{type:sr.PANEL,title:Ii,match:({viewMode:t})=>t==="story",render:({active:t})=>{let r=cr(({state:n})=>({storyId:n.storyId}),[]);return a.createElement(dr,{active:t},a.createElement(Ct,{filter:r},({storyId:n})=>a.createElement(_i,{storyId:n})))}})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/interactions-9/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/interactions-9/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/links-1/manager-bundle.js b/storybook/sb-addons/links-1/manager-bundle.js new file mode 100644 index 000000000..ee1be4574 --- /dev/null +++ b/storybook/sb-addons/links-1/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var _=__STORYBOOK_API__,{ActiveTabs:h,Consumer:A,ManagerContext:E,Provider:b,addons:a,combineParameters:O,controlOrMetaKey:p,controlOrMetaSymbol:k,eventMatchesShortcut:v,eventToShortcut:g,isMacLike:I,isShortcutTaken:C,keyToSymbol:M,merge:P,mockChannel:R,optionOrAltSymbol:f,shortcutMatchesShortcut:x,shortcutToHumanString:D,types:G,useAddonState:K,useArgTypes:V,useArgs:$,useChannel:B,useGlobalTypes:N,useGlobals:Q,useParameter:U,useSharedState:Y,useStoryPrepared:q,useStorybookApi:H,useStorybookState:L}=__STORYBOOK_API__;var e="storybook/links",n={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};a.register(e,t=>{t.on(n.REQUEST,({kind:u,name:S})=>{let c=t.storyId(u,S);t.emit(n.RECEIVE,c)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/links-1/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/links-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storybook-11/manager-bundle.js b/storybook/sb-addons/storybook-11/manager-bundle.js new file mode 100644 index 000000000..b80aa0f71 --- /dev/null +++ b/storybook/sb-addons/storybook-11/manager-bundle.js @@ -0,0 +1,151 @@ +try{ +(()=>{var Qe=__STORYBOOK_API__,{ActiveTabs:Xe,Consumer:Ze,ManagerContext:Ve,Provider:et,addons:G,combineParameters:tt,controlOrMetaKey:rt,controlOrMetaSymbol:at,eventMatchesShortcut:nt,eventToShortcut:ot,isMacLike:it,isShortcutTaken:st,keyToSymbol:pt,merge:lt,mockChannel:dt,optionOrAltSymbol:ft,shortcutMatchesShortcut:ut,shortcutToHumanString:ct,types:gt,useAddonState:mt,useArgTypes:bt,useArgs:ht,useChannel:yt,useGlobalTypes:vt,useGlobals:xt,useParameter:Ft,useSharedState:wt,useStoryPrepared:St,useStorybookApi:Ct,useStorybookState:Pt}=__STORYBOOK_API__;var L=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var Et=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Mt,logger:Y,once:zt,pretty:At}=__STORYBOOK_CLIENT_LOGGER__;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function C(e,t,r){return ie()?C=Reflect.construct.bind():C=function(a,n,o){var i=[null];i.push.apply(i,n);var p=Function.bind.apply(a,i),l=new p;return o&&x(l,o.prototype),l},C.apply(null,arguments)}function H(e){var t=typeof Map=="function"?new Map:void 0;return H=function(r){if(r===null||!oe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return C(r,arguments,A(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),x(a,r)},H(e)}var se={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function pe(){for(var e=arguments.length,t=new Array(e),r=0;r1?n-1:0),i=1;i=0&&n<1?(p=o,l=i):n>=1&&n<2?(p=i,l=o):n>=2&&n<3?(l=o,d=i):n>=3&&n<4?(l=i,d=o):n>=4&&n<5?(p=i,d=o):n>=5&&n<6&&(p=o,d=i);var h=r-o/2,y=p+h,u=l+h,j=d+h;return a(y,u,j)}var K={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"639",red:"f00",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",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function de(e){if(typeof e!="string")return e;var t=e.toLowerCase();return K[t]?"#"+K[t]:e}var fe=/^#[a-fA-F0-9]{6}$/,ue=/^#[a-fA-F0-9]{8}$/,ce=/^#[a-fA-F0-9]{3}$/,ge=/^#[a-fA-F0-9]{4}$/,R=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,me=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,be=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,he=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function T(e){if(typeof e!="string")throw new f(3);var t=de(e);if(t.match(fe))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ue)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ce))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(ge)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var n=R.exec(t);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var o=me.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=be.exec(t);if(i){var p=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,h="rgb("+F(p,l,d)+")",y=R.exec(h);if(!y)throw new f(4,t,h);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var u=he.exec(t.substring(0,50));if(u){var j=parseInt(""+u[1],10),te=parseInt(""+u[2],10)/100,re=parseInt(""+u[3],10)/100,N="rgb("+F(j,te,re)+")",S=R.exec(N);if(!S)throw new f(4,t,N);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new f(5)}function ye(e){var t=e.red/255,r=e.green/255,a=e.blue/255,n=Math.max(t,r,a),o=Math.min(t,r,a),i=(n+o)/2;if(n===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var p,l=n-o,d=i>.5?l/(2-n-o):l/(n+o);switch(n){case t:p=(r-a)/l+(r=1?k(e,t,r):"rgba("+F(e,t,r)+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?k(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new f(2)}function $(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return D("#"+b(e)+b(t)+b(r));if(typeof e=="object"&&t===void 0&&r===void 0)return D("#"+b(e.red)+b(e.green)+b(e.blue));throw new f(6)}function w(e,t,r,a){if(typeof e=="string"&&typeof t=="number"){var n=T(e);return"rgba("+n.red+","+n.green+","+n.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof a=="number")return a>=1?$(e,t,r):"rgba("+e+","+t+","+r+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?$(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new f(7)}var Se=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Ce=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Pe=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},ke=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Q(e){if(typeof e!="object")throw new f(8);if(Ce(e))return w(e);if(Se(e))return $(e);if(ke(e))return we(e);if(Pe(e))return Fe(e);throw new f(8)}function X(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):X(e,t,a)}}function I(e){return X(e,e.length,[])}function _(e,t,r){return Math.max(e,Math.min(t,r))}function Oe(e,t){if(t==="transparent")return t;var r=J(t);return Q(v({},r,{lightness:_(0,1,r.lightness-parseFloat(e))}))}var Te=I(Oe),Ie=Te;function _e(e,t){if(t==="transparent")return t;var r=J(t);return Q(v({},r,{lightness:_(0,1,r.lightness+parseFloat(e))}))}var je=I(_e),Be=je;function Re(e,t){if(t==="transparent")return t;var r=T(t),a=typeof r.alpha=="number"?r.alpha:1,n=v({},r,{alpha:_(0,1,(a*100+parseFloat(e)*100)/100)});return w(n)}var Lt=I(Re);function Ee(e,t){if(t==="transparent")return t;var r=T(t),a=typeof r.alpha=="number"?r.alpha:1,n=v({},r,{alpha:_(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return w(n)}var Me=I(Ee),ze=Me,s={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},W={app:"#F6F9FC",bar:s.lightest,content:s.lightest,preview:s.lightest,gridCellSize:10,hoverable:ze(.9,s.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},O={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Ae={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:W.app,appContentBg:s.lightest,appPreviewBg:s.lightest,appBorderColor:s.border,appBorderRadius:4,fontBase:O.fonts.base,fontCode:O.fonts.mono,textColor:s.darkest,textInverseColor:s.lightest,textMutedColor:s.dark,barTextColor:s.mediumdark,barHoverColor:s.secondary,barSelectedColor:s.secondary,barBg:s.lightest,buttonBg:W.app,buttonBorder:s.medium,booleanBg:s.mediumlight,booleanSelectedBg:s.lightest,inputBg:s.lightest,inputBorder:s.border,inputTextColor:s.darkest,inputBorderRadius:4},U=Ae,He={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:s.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:O.fonts.base,fontCode:O.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barHoverColor:s.secondary,barSelectedColor:s.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:s.lightest,inputBorderRadius:4},De=He,{window:M}=L;var $e=e=>typeof e!="string"?(Y.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,qe=e=>!/(gradient|var|calc)/.test(e),Ne=(e,t)=>e==="darken"?w(`${Ie(1,t)}`,.95):e==="lighten"?w(`${Be(1,t)}`,.95):t,Z=e=>t=>{if(!$e(t)||!qe(t))return t;try{return Ne(e,t)}catch{return t}},Yt=Z("lighten"),Kt=Z("darken"),Ge=()=>!M||!M.matchMedia?"light":M.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",P={light:U,dark:De,normal:U},z=Ge(),q=(e={base:z},t)=>{let r={...P[z],...P[e.base]||{},...e,base:P[e.base]?e.base:z};return{...t,...r,barSelectedColor:e.barSelectedColor||r.colorSecondary}};var V=q({base:"light",fontCode:"monospace",brandTitle:"sigma.js",brandUrl:"https://www.sigmajs.org/",brandImage:"https://www.sigmajs.org/img/logo-sigma.png",brandTarget:"_self",colorPrimary:"#e22653",colorSecondary:"#999",textColor:"#000000",textInverseColor:"#ffffff"});var ee=document.createElement("img");ee.src="https://matomo.ouestware.com/matomo.php?idsite=26&rec=1&action_name=Storybook&send_image=0";document.body.append(ee);G.setConfig({theme:V});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/storybook-11/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storybook-11/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js b/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 000000000..923571392 --- /dev/null +++ b/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var u=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var i=(e,t)=>()=>(e&&(t=e(e=0)),t);var P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),w=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},x=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of h(t))!v.call(e,o)&&o!==r&&u(e,o,{get:()=>t[o],enumerable:!(a=T(t,o))||a.enumerable});return e};var A=e=>x(u({},"__esModule",{value:!0}),e);var s=i(()=>{});var l=i(()=>{});var n=i(()=>{});var d={};w(d,{ActiveTabs:()=>M,Consumer:()=>j,ManagerContext:()=>C,Provider:()=>I,addons:()=>F,combineParameters:()=>G,controlOrMetaKey:()=>K,controlOrMetaSymbol:()=>N,default:()=>k,eventMatchesShortcut:()=>R,eventToShortcut:()=>q,isMacLike:()=>B,isShortcutTaken:()=>D,keyToSymbol:()=>L,merge:()=>Y,mockChannel:()=>E,optionOrAltSymbol:()=>H,shortcutMatchesShortcut:()=>J,shortcutToHumanString:()=>z,types:()=>Q,useAddonState:()=>U,useArgTypes:()=>V,useArgs:()=>W,useChannel:()=>X,useGlobalTypes:()=>Z,useGlobals:()=>$,useParameter:()=>ee,useSharedState:()=>te,useStoryPrepared:()=>re,useStorybookApi:()=>oe,useStorybookState:()=>ae});var k,M,j,C,I,F,G,K,N,R,q,B,D,L,Y,E,H,J,z,Q,U,V,W,X,Z,$,ee,te,re,oe,ae,g=i(()=>{s();l();n();k=__STORYBOOK_API__,{ActiveTabs:M,Consumer:j,ManagerContext:C,Provider:I,addons:F,combineParameters:G,controlOrMetaKey:K,controlOrMetaSymbol:N,eventMatchesShortcut:R,eventToShortcut:q,isMacLike:B,isShortcutTaken:D,keyToSymbol:L,merge:Y,mockChannel:E,optionOrAltSymbol:H,shortcutMatchesShortcut:J,shortcutToHumanString:z,types:Q,useAddonState:U,useArgTypes:V,useArgs:W,useChannel:X,useGlobalTypes:Z,useGlobals:$,useParameter:ee,useSharedState:te,useStoryPrepared:re,useStorybookApi:oe,useStorybookState:ae}=__STORYBOOK_API__});var O=P((Pe,f)=>{"use strict";s();l();n();var b=Object.defineProperty,se=Object.getOwnPropertyDescriptor,le=Object.getOwnPropertyNames,ne=Object.prototype.hasOwnProperty,ie=(e,t)=>{for(var r in t)b(e,r,{get:t[r],enumerable:!0})},ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of le(t))!ne.call(e,o)&&o!==r&&b(e,o,{get:()=>t[o],enumerable:!(a=se(t,o))||a.enumerable});return e},pe=e=>ue(b({},"__esModule",{value:!0}),e),y={};ie(y,{global:()=>_e});f.exports=pe(y);var _e=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})()});s();l();n();s();l();n();var ce=(g(),A(d)),be=O(),S="static-filter";ce.addons.register(S,e=>{let t=Object.entries(be.global.TAGS_OPTIONS??{}).reduce((r,a)=>{let[o,m]=a;return m.excludeFromSidebar&&(r[o]=!0),r},{});e.experimental_setFilter(S,r=>(r.tags||[]).filter(a=>t[a]).length===0)});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storysource-10/manager-bundle.js b/storybook/sb-addons/storysource-10/manager-bundle.js new file mode 100644 index 000000000..12b4f1fa0 --- /dev/null +++ b/storybook/sb-addons/storysource-10/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var h=__REACT__,{Children:ht,Component:Ot,Fragment:_t,Profiler:vt,PureComponent:Pt,StrictMode:Tt,Suspense:Lt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Et,cloneElement:Ct,createContext:Rt,createElement:kt,createFactory:Nt,createRef:wt,forwardRef:xt,isValidElement:jt,lazy:It,memo:Bt,startTransition:At,unstable_act:Dt,useCallback:Mt,useContext:Ht,useDebugValue:Kt,useDeferredValue:Yt,useEffect:Ft,useId:Wt,useImperativeHandle:$t,useInsertionEffect:Gt,useLayoutEffect:Ut,useMemo:Vt,useReducer:rt,useRef:qt,useState:zt,useSyncExternalStore:Qt,useTransition:Jt,version:Zt}=__REACT__;var ec=__STORYBOOK_API__,{ActiveTabs:nc,Consumer:ac,ManagerContext:ic,Provider:sc,addons:w,combineParameters:uc,controlOrMetaKey:lc,controlOrMetaSymbol:pc,eventMatchesShortcut:dc,eventToShortcut:mc,isMacLike:fc,isShortcutTaken:yc,keyToSymbol:gc,merge:Sc,mockChannel:bc,optionOrAltSymbol:hc,shortcutMatchesShortcut:Oc,shortcutToHumanString:_c,types:D,useAddonState:vc,useArgTypes:Pc,useArgs:Tc,useChannel:Lc,useGlobalTypes:Ec,useGlobals:Cc,useParameter:x,useSharedState:Rc,useStoryPrepared:kc,useStorybookApi:Nc,useStorybookState:wc}=__STORYBOOK_API__;var Ac=__STORYBOOK_THEMING__,{CacheProvider:Dc,ClassNames:Mc,Global:Hc,ThemeProvider:Kc,background:Yc,color:Fc,convert:Wc,create:$c,createCache:Gc,createGlobal:Uc,createReset:Vc,css:rc,darken:qc,ensure:zc,ignoreSsrWarning:Qc,isPropValid:Jc,jsx:Zc,keyframes:Xc,lighten:to,styled:C,themes:co,typography:oo,useTheme:eo,withTheme:no}=__STORYBOOK_THEMING__;var lo=__STORYBOOK_ROUTER__,{BaseLocationProvider:po,DEEPLY_EQUAL:mo,Link:M,Location:fo,LocationProvider:yo,Match:go,Route:So,buildArgsParam:bo,deepDiff:ho,getMatch:Oo,parsePath:_o,queryFromLocation:vo,queryFromString:Po,stringifyQuery:To,useNavigate:Lo}=__STORYBOOK_ROUTER__;var No=__STORYBOOK_COMPONENTS__,{A:wo,ActionBar:xo,AddonPanel:jo,Badge:Io,Bar:Bo,Blockquote:Ao,Button:Do,ClipboardCode:Mo,Code:Ho,DL:Ko,Div:Yo,DocumentWrapper:Fo,ErrorFormatter:Wo,FlexBar:$o,Form:Go,H1:Uo,H2:Vo,H3:ro,H4:qo,H5:zo,H6:Qo,HR:Jo,IconButton:Zo,IconButtonSkeleton:Xo,Icons:te,Img:ce,LI:oe,Link:ee,ListItem:ne,Loader:ae,OL:ie,P:se,Placeholder:ue,Pre:le,ResetWrapper:pe,ScrollArea:de,Separator:me,Spaced:fe,Span:ye,StorybookIcon:ge,StorybookLogo:Se,Symbols:be,SyntaxHighlighter:H,TT:he,TabBar:Oe,TabButton:_e,TabWrapper:ve,Table:Pe,Tabs:Te,TabsState:Le,TooltipLinkList:Ee,TooltipMessage:Ce,TooltipNote:Re,UL:ke,WithTooltip:Ne,WithTooltipPure:we,Zoom:xe,codeCommon:je,components:Ie,createCopyToClipboardFunction:Be,getStoryHref:Ae,icons:De,interleaveSeparators:Me,nameSpaceClassNames:He,resetComponents:Ke,withReset:Ye}=__STORYBOOK_COMPONENTS__;var q=!0,j="Invariant failed";function K(t,c){if(!t){if(q)throw new Error(j);var o=typeof c=="function"?c():c,e=o?"".concat(j,": ").concat(o):j;throw new Error(e)}}function P(t){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},P(t)}function z(t,c){if(P(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var e=o.call(t,c||"default");if(P(e)!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(t)}function Q(t){var c=z(t,"string");return P(c)=="symbol"?c:String(c)}function J(t,c,o){return c=Q(c),c in t?Object.defineProperty(t,c,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[c]=o,t}function B(){return B=Object.assign?Object.assign.bind():function(t){for(var c=1;c=4)return[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]}var I={};function X(t){if(t.length===0||t.length===1)return t;var c=t.join(".");return I[c]||(I[c]=Z(t)),I[c]}function tt(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,e=t.filter(function(m){return m!=="token"}),n=X(e);return n.reduce(function(m,v){return _(_({},m),o[v])},c)}function F(t){return t.join(" ")}function ct(t,c){var o=0;return function(e){return o+=1,e.map(function(n,m){return W({node:n,stylesheet:t,useInlineStyles:c,key:"code-segment-".concat(o,"-").concat(m)})})}}function W(t){var c=t.node,o=t.stylesheet,e=t.style,n=e===void 0?{}:e,m=t.useInlineStyles,v=t.key,u=c.properties,T=c.type,O=c.tagName,R=c.value;if(T==="text")return R;if(O){var k=ct(o,m),a;if(!m)a=_(_({},u),{},{className:F(u.className)});else{var i=Object.keys(o).reduce(function(d,f){return f.split(".").forEach(function(y){d.includes(y)||d.push(y)}),d},[]),l=u.className&&u.className.includes("token")?["token"]:[],s=u.className&&l.concat(u.className.filter(function(d){return!i.includes(d)}));a=_(_({},u),{},{className:F(s)||void 0,style:tt(u.className,Object.assign({},u.style,n),o)})}var p=k(c.children);return h.createElement(O,B({key:v},a),p)}}var ot=C(M)(({theme:t})=>({display:"block",textDecoration:"none",borderRadius:t.appBorderRadius,color:"inherit","&:hover":{background:t.background.hoverable}})),et=C.div(({theme:t})=>({background:t.background.hoverable,borderRadius:t.appBorderRadius})),nt=C(H)(({theme:t})=>({fontSize:t.typography.size.s2-1})),at=(t,c)=>t.startLoc.line===c.startLoc.line&&t.startLoc.col===c.startLoc.col&&t.endLoc.line===c.endLoc.line&&t.endLoc.col===c.endLoc.col,it=({api:t})=>{let c=t.getCurrentStoryData(),o=h.useRef(null),{source:e,locationsMap:n}=x("storySource",{}),{source:{originalSource:m}={}}=x("docs",{}),v=e||m||"loading source...",u=n?Object.keys(n).find(a=>{let i=a.split("--");return c.id.endsWith(i[i.length-1])}):void 0,T=n&&u?n[u]:void 0;h.useEffect(()=>{o.current&&o.current.scrollIntoView()},[o.current]);let O=({rows:a,stylesheet:i,useInlineStyles:l})=>a.map((s,p)=>W({node:s,stylesheet:i,useInlineStyles:l,key:`code-segment${p}`})),R=({rows:a,stylesheet:i,useInlineStyles:l,location:s,id:p,refId:d})=>{let f=s.startLoc.line-1,y=s.endLoc.line,N=a.slice(f,y),L=O({rows:N,stylesheet:i,useInlineStyles:l}),E=`${f}-${y}`;return T&&at(s,T)?h.createElement(et,{key:E,ref:o},L):h.createElement(ot,{to:d?`/story/${d}_${p}`:`/story/${p}`,key:E},L)},k=({rows:a,stylesheet:i,useInlineStyles:l})=>{let s=[],p=0;K(n,"locationsMap should be defined while creating parts"),Object.keys(n).forEach(f=>{let y=n[f],N=y.startLoc.line-1,L=y.endLoc.line,{title:E,refId:G}=c,A=f.split("--"),U=t.storyId(E,A[A.length-1]),V=O({rows:a.slice(p,N),stylesheet:i,useInlineStyles:l}),r=R({rows:a,stylesheet:i,useInlineStyles:l,location:y,id:U,refId:G});s.push(...V),s.push(r),p=L});let d=O({rows:a.slice(p),stylesheet:i,useInlineStyles:l});return s.push(...d),s};return c?h.createElement(nt,{language:"jsx",showLineNumbers:!0,renderer:({rows:a,stylesheet:i,useInlineStyles:l})=>{let s=a.map(({properties:d,...f})=>({...f,properties:{className:[]}}));if(!n||!Object.keys(n).length)return O({rows:s,stylesheet:i,useInlineStyles:l});let p=k({rows:s,stylesheet:i,useInlineStyles:l});return h.createElement("span",null,p)},format:!1,copyable:!1,padded:!0,wrapLongLines:!0,lineProps:{style:{whiteSpace:"pre"}}},v):null},$="storybook/source-loader",st=`${$}/panel`;w.register($,t=>{w.add(st,{type:D.PANEL,title:"Code",render:({active:c})=>c?h.createElement(it,{api:t}):null,paramKey:"storysource"})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/storysource-10/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storysource-10/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-common-assets/fonts.css b/storybook/sb-common-assets/fonts.css new file mode 100644 index 000000000..90050cc0b --- /dev/null +++ b/storybook/sb-common-assets/fonts.css @@ -0,0 +1,31 @@ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold-italic.woff2') format('woff2'); +} diff --git a/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 b/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 000000000..33563d8bf Binary files /dev/null and b/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/storybook/sb-common-assets/nunito-sans-bold.woff2 b/storybook/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 000000000..19fcc944a Binary files /dev/null and b/storybook/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/storybook/sb-common-assets/nunito-sans-italic.woff2 b/storybook/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 000000000..827096dae Binary files /dev/null and b/storybook/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/storybook/sb-common-assets/nunito-sans-regular.woff2 b/storybook/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 000000000..c527ba49c Binary files /dev/null and b/storybook/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/storybook/sb-manager/WithTooltip-Y7J54OF7-KHQOWZXS.js b/storybook/sb-manager/WithTooltip-Y7J54OF7-KHQOWZXS.js new file mode 100644 index 000000000..faa0a77c4 --- /dev/null +++ b/storybook/sb-manager/WithTooltip-Y7J54OF7-KHQOWZXS.js @@ -0,0 +1 @@ +import{WithToolTipState,WithTooltipPure}from"./chunk-YME6VNXZ.js";import"./chunk-3F3RRPB3.js";import"./chunk-XP3HGWTR.js";export{WithToolTipState,WithToolTipState as WithTooltip,WithTooltipPure}; diff --git a/storybook/sb-manager/chunk-3F3RRPB3.js b/storybook/sb-manager/chunk-3F3RRPB3.js new file mode 100644 index 000000000..ffbb8a9ef --- /dev/null +++ b/storybook/sb-manager/chunk-3F3RRPB3.js @@ -0,0 +1,347 @@ +import{__commonJS,__export,__toESM,require_memoizerific}from"./chunk-XP3HGWTR.js";var require_react_development=__commonJS({"../../node_modules/react/cjs/react.development.js"(exports,module){"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var ReactVersion="18.2.0",REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var ReactCurrentDispatcher={current:null},ReactCurrentBatchConfig={transition:null},ReactCurrentActQueue={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ReactCurrentOwner={current:null},ReactDebugCurrentFrame={},currentExtraStackFrame=null;function setExtraStackFrame(stack){currentExtraStackFrame=stack}ReactDebugCurrentFrame.setExtraStackFrame=function(stack){currentExtraStackFrame=stack},ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFrame.getStackAddendum=function(){var stack="";currentExtraStackFrame&&(stack+=currentExtraStackFrame);var impl=ReactDebugCurrentFrame.getCurrentStack;return impl&&(stack+=impl()||""),stack};var enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,ReactSharedInternals={ReactCurrentDispatcher,ReactCurrentBatchConfig,ReactCurrentOwner};ReactSharedInternals.ReactDebugCurrentFrame=ReactDebugCurrentFrame,ReactSharedInternals.ReactCurrentActQueue=ReactCurrentActQueue;function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]));var argsWithFormat=args.map(function(item){return String(item)});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat)}}var didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){{var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;if(didWarnStateUpdateForUnmountedComponent[warningKey])return;error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0}}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},assign2=Object.assign,emptyObject={};Object.freeze(emptyObject);function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){if(typeof partialState!="object"&&typeof partialState!="function"&&partialState!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};{var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){warn("%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;pureComponentPrototype.constructor=PureComponent,assign2(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;function createRef(){var refObject={current:null};return Object.seal(refObject),refObject}var isArrayImpl=Array.isArray;function isArray(a){return isArrayImpl(a)}function typeName(value){{var hasToStringTag=typeof Symbol=="function"&&Symbol.toStringTag,type=hasToStringTag&&value[Symbol.toStringTag]||value.constructor.name||"Object";return type}}function willCoercionThrow(value){try{return testStringCoercion(value),!1}catch{return!0}}function testStringCoercion(value){return""+value}function checkKeyStringCoercion(value){if(willCoercionThrow(value))return error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",typeName(value)),testStringCoercion(value)}function getWrappedName(outerType,innerType,wrapperName){var displayName=outerType.displayName;if(displayName)return displayName;var functionName=innerType.displayName||innerType.name||"";return functionName!==""?wrapperName+"("+functionName+")":wrapperName}function getContextName(type){return type.displayName||"Context"}function getComponentNameFromType(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:var context=type;return getContextName(context)+".Consumer";case REACT_PROVIDER_TYPE:var provider=type;return getContextName(provider._context)+".Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:var outerName=type.displayName||null;return outerName!==null?outerName:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return getComponentNameFromType(init(payload))}catch{return null}}}return null}var hasOwnProperty3=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0},specialPropKeyWarningShown,specialPropRefWarningShown,didWarnAboutStringRefs;didWarnAboutStringRefs={};function hasValidRef(config){if(hasOwnProperty3.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return config.ref!==void 0}function hasValidKey(config){if(hasOwnProperty3.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return config.key!==void 0}function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}function warnIfStringRefCannotBeAutoConverted(config){if(typeof config.ref=="string"&&ReactCurrentOwner.current&&config.__self&&ReactCurrentOwner.current.stateNode!==config.__self){var componentName=getComponentNameFromType(ReactCurrentOwner.current.type);didWarnAboutStringRefs[componentName]||(error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',componentName,config.ref),didWarnAboutStringRefs[componentName]=!0)}}var ReactElement=function(type,key,ref,self2,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type,key,ref,props,_owner:owner};return element._store={},Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self2}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement2(type,config,children){var propName,props={},key=null,ref=null,self2=null,source=null;if(config!=null){hasValidRef(config)&&(ref=config.ref,warnIfStringRefCannotBeAutoConverted(config)),hasValidKey(config)&&(checkKeyStringCoercion(config.key),key=""+config.key),self2=config.__self===void 0?null:config.__self,source=config.__source===void 0?null:config.__source;for(propName in config)hasOwnProperty3.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName])}var childrenLength=arguments.length-2;if(childrenLength===1)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i1){for(var childArray=Array(childrenLength),i=0;i is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Provider},set:function(_Provider){context.Provider=_Provider}},_currentValue:{get:function(){return context._currentValue},set:function(_currentValue){context._currentValue=_currentValue}},_currentValue2:{get:function(){return context._currentValue2},set:function(_currentValue2){context._currentValue2=_currentValue2}},_threadCount:{get:function(){return context._threadCount},set:function(_threadCount){context._threadCount=_threadCount}},Consumer:{get:function(){return hasWarnedAboutUsingNestedContextConsumers||(hasWarnedAboutUsingNestedContextConsumers=!0,error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Consumer}},displayName:{get:function(){return context.displayName},set:function(displayName){hasWarnedAboutDisplayNameOnConsumer||(warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",displayName),hasWarnedAboutDisplayNameOnConsumer=!0)}}}),context.Consumer=Consumer}return context._currentRenderer=null,context._currentRenderer2=null,context}var Uninitialized=-1,Pending=0,Resolved=1,Rejected=2;function lazyInitializer(payload){if(payload._status===Uninitialized){var ctor=payload._result,thenable=ctor();if(thenable.then(function(moduleObject2){if(payload._status===Pending||payload._status===Uninitialized){var resolved=payload;resolved._status=Resolved,resolved._result=moduleObject2}},function(error2){if(payload._status===Pending||payload._status===Uninitialized){var rejected=payload;rejected._status=Rejected,rejected._result=error2}}),payload._status===Uninitialized){var pending=payload;pending._status=Pending,pending._result=thenable}}if(payload._status===Resolved){var moduleObject=payload._result;return moduleObject===void 0&&error(`lazy: Expected the result of a dynamic import() call. Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent')) + +Did you accidentally put curly braces around the import?`,moduleObject),"default"in moduleObject||error(`lazy: Expected the result of a dynamic import() call. Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent'))`,moduleObject),moduleObject.default}else throw payload._result}function lazy(ctor){var payload={_status:Uninitialized,_result:ctor},lazyType={$$typeof:REACT_LAZY_TYPE,_payload:payload,_init:lazyInitializer};{var defaultProps,propTypes;Object.defineProperties(lazyType,{defaultProps:{configurable:!0,get:function(){return defaultProps},set:function(newDefaultProps){error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),defaultProps=newDefaultProps,Object.defineProperty(lazyType,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return propTypes},set:function(newPropTypes){error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),propTypes=newPropTypes,Object.defineProperty(lazyType,"propTypes",{enumerable:!0})}}})}return lazyType}function forwardRef3(render){render!=null&&render.$$typeof===REACT_MEMO_TYPE?error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof render!="function"?error("forwardRef requires a render function but was given %s.",render===null?"null":typeof render):render.length!==0&&render.length!==2&&error("forwardRef render functions accept exactly two parameters: props and ref. %s",render.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),render!=null&&(render.defaultProps!=null||render.propTypes!=null)&&error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var elementType={$$typeof:REACT_FORWARD_REF_TYPE,render};{var ownName;Object.defineProperty(elementType,"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,!render.name&&!render.displayName&&(render.displayName=name)}})}return elementType}var REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");function isValidElementType(type){return!!(typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_PROFILER_TYPE||enableDebugTracing||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_MODULE_REFERENCE||type.getModuleId!==void 0))}function memo(type,compare){isValidElementType(type)||error("memo: The first argument must be a component. Instead received: %s",type===null?"null":typeof type);var elementType={$$typeof:REACT_MEMO_TYPE,type,compare:compare===void 0?null:compare};{var ownName;Object.defineProperty(elementType,"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,!type.name&&!type.displayName&&(type.displayName=name)}})}return elementType}function resolveDispatcher(){var dispatcher=ReactCurrentDispatcher.current;return dispatcher===null&&error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: +1. You might have mismatching versions of React and the renderer (such as React DOM) +2. You might be breaking the Rules of Hooks +3. You might have more than one copy of React in the same app +See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),dispatcher}function useContext3(Context){var dispatcher=resolveDispatcher();if(Context._context!==void 0){var realContext=Context._context;realContext.Consumer===Context?error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):realContext.Provider===Context&&error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return dispatcher.useContext(Context)}function useState(initialState){var dispatcher=resolveDispatcher();return dispatcher.useState(initialState)}function useReducer(reducer,initialArg,init){var dispatcher=resolveDispatcher();return dispatcher.useReducer(reducer,initialArg,init)}function useRef2(initialValue){var dispatcher=resolveDispatcher();return dispatcher.useRef(initialValue)}function useEffect(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useEffect(create3,deps)}function useInsertionEffect3(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useInsertionEffect(create3,deps)}function useLayoutEffect2(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useLayoutEffect(create3,deps)}function useCallback(callback,deps){var dispatcher=resolveDispatcher();return dispatcher.useCallback(callback,deps)}function useMemo(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useMemo(create3,deps)}function useImperativeHandle(ref,create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useImperativeHandle(ref,create3,deps)}function useDebugValue(value,formatterFn){{var dispatcher=resolveDispatcher();return dispatcher.useDebugValue(value,formatterFn)}}function useTransition(){var dispatcher=resolveDispatcher();return dispatcher.useTransition()}function useDeferredValue(value){var dispatcher=resolveDispatcher();return dispatcher.useDeferredValue(value)}function useId(){var dispatcher=resolveDispatcher();return dispatcher.useId()}function useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot){var dispatcher=resolveDispatcher();return dispatcher.useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot)}var disabledDepth=0,prevLog,prevInfo,prevWarn,prevError,prevGroup,prevGroupCollapsed,prevGroupEnd;function disabledLog(){}disabledLog.__reactDisabledLog=!0;function disableLogs(){{if(disabledDepth===0){prevLog=console.log,prevInfo=console.info,prevWarn=console.warn,prevError=console.error,prevGroup=console.group,prevGroupCollapsed=console.groupCollapsed,prevGroupEnd=console.groupEnd;var props={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props})}disabledDepth++}}function reenableLogs(){{if(disabledDepth--,disabledDepth===0){var props={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:assign2({},props,{value:prevLog}),info:assign2({},props,{value:prevInfo}),warn:assign2({},props,{value:prevWarn}),error:assign2({},props,{value:prevError}),group:assign2({},props,{value:prevGroup}),groupCollapsed:assign2({},props,{value:prevGroupCollapsed}),groupEnd:assign2({},props,{value:prevGroupEnd})})}disabledDepth<0&&error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ReactCurrentDispatcher$1=ReactSharedInternals.ReactCurrentDispatcher,prefix2;function describeBuiltInComponentFrame(name,source,ownerFn){{if(prefix2===void 0)try{throw Error()}catch(x){var match2=x.stack.trim().match(/\n( *(at )?)/);prefix2=match2&&match2[1]||""}return` +`+prefix2+name}}var reentry=!1,componentFrameCache;{var PossiblyWeakMap=typeof WeakMap=="function"?WeakMap:Map;componentFrameCache=new PossiblyWeakMap}function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";{var frame=componentFrameCache.get(fn);if(frame!==void 0)return frame}var control;reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var previousDispatcher;previousDispatcher=ReactCurrentDispatcher$1.current,ReactCurrentDispatcher$1.current=null,disableLogs();try{if(construct){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x){control=x}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x){control=x}fn()}}catch(sample){if(sample&&control&&typeof sample.stack=="string"){for(var sampleLines=sample.stack.split(` +`),controlLines=control.stack.split(` +`),s=sampleLines.length-1,c=controlLines.length-1;s>=1&&c>=0&&sampleLines[s]!==controlLines[c];)c--;for(;s>=1&&c>=0;s--,c--)if(sampleLines[s]!==controlLines[c]){if(s!==1||c!==1)do if(s--,c--,c<0||sampleLines[s]!==controlLines[c]){var _frame=` +`+sampleLines[s].replace(" at new "," at ");return fn.displayName&&_frame.includes("")&&(_frame=_frame.replace("",fn.displayName)),typeof fn=="function"&&componentFrameCache.set(fn,_frame),_frame}while(s>=1&&c>=0);break}}}finally{reentry=!1,ReactCurrentDispatcher$1.current=previousDispatcher,reenableLogs(),Error.prepareStackTrace=previousPrepareStackTrace}var name=fn?fn.displayName||fn.name:"",syntheticFrame=name?describeBuiltInComponentFrame(name):"";return typeof fn=="function"&&componentFrameCache.set(fn,syntheticFrame),syntheticFrame}function describeFunctionComponentFrame(fn,source,ownerFn){return describeNativeComponentFrame(fn,!1)}function shouldConstruct(Component2){var prototype=Component2.prototype;return!!(prototype&&prototype.isReactComponent)}function describeUnknownElementTypeFrameInDEV(type,source,ownerFn){if(type==null)return"";if(typeof type=="function")return describeNativeComponentFrame(type,shouldConstruct(type));if(typeof type=="string")return describeBuiltInComponentFrame(type);switch(type){case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame("Suspense");case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame("SuspenseList")}if(typeof type=="object")switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeFunctionComponentFrame(type.render);case REACT_MEMO_TYPE:return describeUnknownElementTypeFrameInDEV(type.type,source,ownerFn);case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return describeUnknownElementTypeFrameInDEV(init(payload),source,ownerFn)}catch{}}}return""}var loggedTypeFailures={},ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function setCurrentlyValidatingElement(element){if(element){var owner=element._owner,stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);ReactDebugCurrentFrame$1.setExtraStackFrame(stack)}else ReactDebugCurrentFrame$1.setExtraStackFrame(null)}function checkPropTypes(typeSpecs,values,location,componentName,element){{var has=Function.call.bind(hasOwnProperty3);for(var typeSpecName in typeSpecs)if(has(typeSpecs,typeSpecName)){var error$1=void 0;try{if(typeof typeSpecs[typeSpecName]!="function"){var err=Error((componentName||"React class")+": "+location+" type `"+typeSpecName+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof typeSpecs[typeSpecName]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw err.name="Invariant Violation",err}error$1=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ex){error$1=ex}error$1&&!(error$1 instanceof Error)&&(setCurrentlyValidatingElement(element),error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error$1),setCurrentlyValidatingElement(null)),error$1 instanceof Error&&!(error$1.message in loggedTypeFailures)&&(loggedTypeFailures[error$1.message]=!0,setCurrentlyValidatingElement(element),error("Failed %s type: %s",location,error$1.message),setCurrentlyValidatingElement(null))}}}function setCurrentlyValidatingElement$1(element){if(element){var owner=element._owner,stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);setExtraStackFrame(stack)}else setExtraStackFrame(null)}var propTypesMisspellWarningShown;propTypesMisspellWarningShown=!1;function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentNameFromType(ReactCurrentOwner.current.type);if(name)return` + +Check the render method of \``+name+"`."}return""}function getSourceInfoErrorAddendum(source){if(source!==void 0){var fileName=source.fileName.replace(/^.*[\\\/]/,""),lineNumber=source.lineNumber;return` + +Check your code at `+fileName+":"+lineNumber+"."}return""}function getSourceInfoErrorAddendumForProps(elementProps){return elementProps!=null?getSourceInfoErrorAddendum(elementProps.__source):""}var ownerHasKeyUseWarning={};function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName=typeof parentType=="string"?parentType:parentType.displayName||parentType.name;parentName&&(info=` + +Check the top-level render call using <`+parentName+">.")}return info}function validateExplicitKey(element,parentType){if(!(!element._store||element._store.validated||element.key!=null)){element._store.validated=!0;var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentNameFromType(element._owner.type)+"."),setCurrentlyValidatingElement$1(element),error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',currentComponentErrorInfo,childOwner),setCurrentlyValidatingElement$1(null)}}}function validateChildKeys(node2,parentType){if(typeof node2=="object"){if(isArray(node2))for(var i=0;i",info=" Did you accidentally export a JSX literal instead of a component?"):typeString=typeof type,error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",typeString,info)}var element=createElement2.apply(this,arguments);if(element==null)return element;if(validType)for(var i=2;i10&&warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),currentTransition._updatedFibers.clear()}}}var didWarnAboutMessageChannel=!1,enqueueTaskImpl=null;function enqueueTask(task){if(enqueueTaskImpl===null)try{var requireString=("require"+Math.random()).slice(0,7),nodeRequire=module&&module[requireString];enqueueTaskImpl=nodeRequire.call(module,"timers").setImmediate}catch{enqueueTaskImpl=function(callback){didWarnAboutMessageChannel===!1&&(didWarnAboutMessageChannel=!0,typeof MessageChannel>"u"&&error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var channel=new MessageChannel;channel.port1.onmessage=callback,channel.port2.postMessage(void 0)}}return enqueueTaskImpl(task)}var actScopeDepth=0,didWarnNoAwaitAct=!1;function act(callback){{var prevActScopeDepth=actScopeDepth;actScopeDepth++,ReactCurrentActQueue.current===null&&(ReactCurrentActQueue.current=[]);var prevIsBatchingLegacy=ReactCurrentActQueue.isBatchingLegacy,result;try{if(ReactCurrentActQueue.isBatchingLegacy=!0,result=callback(),!prevIsBatchingLegacy&&ReactCurrentActQueue.didScheduleLegacyUpdate){var queue=ReactCurrentActQueue.current;queue!==null&&(ReactCurrentActQueue.didScheduleLegacyUpdate=!1,flushActQueue(queue))}}catch(error2){throw popActScope(prevActScopeDepth),error2}finally{ReactCurrentActQueue.isBatchingLegacy=prevIsBatchingLegacy}if(result!==null&&typeof result=="object"&&typeof result.then=="function"){var thenableResult=result,wasAwaited=!1,thenable={then:function(resolve,reject){wasAwaited=!0,thenableResult.then(function(returnValue2){popActScope(prevActScopeDepth),actScopeDepth===0?recursivelyFlushAsyncActWork(returnValue2,resolve,reject):resolve(returnValue2)},function(error2){popActScope(prevActScopeDepth),reject(error2)})}};return!didWarnNoAwaitAct&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){wasAwaited||(didWarnNoAwaitAct=!0,error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),thenable}else{var returnValue=result;if(popActScope(prevActScopeDepth),actScopeDepth===0){var _queue=ReactCurrentActQueue.current;_queue!==null&&(flushActQueue(_queue),ReactCurrentActQueue.current=null);var _thenable={then:function(resolve,reject){ReactCurrentActQueue.current===null?(ReactCurrentActQueue.current=[],recursivelyFlushAsyncActWork(returnValue,resolve,reject)):resolve(returnValue)}};return _thenable}else{var _thenable2={then:function(resolve,reject){resolve(returnValue)}};return _thenable2}}}}function popActScope(prevActScopeDepth){prevActScopeDepth!==actScopeDepth-1&&error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),actScopeDepth=prevActScopeDepth}function recursivelyFlushAsyncActWork(returnValue,resolve,reject){{var queue=ReactCurrentActQueue.current;if(queue!==null)try{flushActQueue(queue),enqueueTask(function(){queue.length===0?(ReactCurrentActQueue.current=null,resolve(returnValue)):recursivelyFlushAsyncActWork(returnValue,resolve,reject)})}catch(error2){reject(error2)}else resolve(returnValue)}}var isFlushing=!1;function flushActQueue(queue){if(!isFlushing){isFlushing=!0;var i=0;try{for(;i0;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(compare(parent,node2)>0)heap[parentIndex]=node2,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node2,i){for(var index=i,length2=heap.length,halfLength=length2>>>1;indexcurrentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(typeof callback=="function"){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime,continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?currentTask.callback=continuationCallback:currentTask===peek2(taskQueue)&&pop(taskQueue),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek2(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek2(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime2;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime2=currentTime+delay:startTime2=currentTime}else startTime2=currentTime;var timeout;switch(priorityLevel){case ImmediatePriority:timeout=IMMEDIATE_PRIORITY_TIMEOUT;break;case UserBlockingPriority:timeout=USER_BLOCKING_PRIORITY_TIMEOUT;break;case IdlePriority:timeout=IDLE_PRIORITY_TIMEOUT;break;case LowPriority:timeout=LOW_PRIORITY_TIMEOUT;break;case NormalPriority:default:timeout=NORMAL_PRIORITY_TIMEOUT;break}var expirationTime=startTime2+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime:startTime2,expirationTime,sortIndex:-1};return startTime2>currentTime?(newTask.sortIndex=startTime2,push(timerQueue,newTask),peek2(taskQueue)===null&&newTask===peek2(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime2-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek2(taskQueue)}function unstable_cancelCallback(task){task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,frameInterval=frameYieldMs,startTime=-1;function shouldYieldToHost(){var timeElapsed=exports.unstable_now()-startTime;return!(timeElapsed125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}fps>0?frameInterval=Math.floor(1e3/fps):frameInterval=frameYieldMs}var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();startTime=currentTime;var hasTimeRemaining=!0,hasMoreWork=!0;try{hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime)}finally{hasMoreWork?schedulePerformWorkUntilDeadline():(isMessageLoopRunning=!1,scheduledHostCallback=null)}}else isMessageLoopRunning=!1},schedulePerformWorkUntilDeadline;if(typeof localSetImmediate=="function")schedulePerformWorkUntilDeadline=function(){localSetImmediate(performWorkUntilDeadline)};else if(typeof MessageChannel<"u"){var channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,schedulePerformWorkUntilDeadline=function(){port.postMessage(null)}}else schedulePerformWorkUntilDeadline=function(){localSetTimeout(performWorkUntilDeadline,0)};function requestHostCallback(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline())}function requestHostTimeout(callback,ms){taskTimeoutID=localSetTimeout(function(){callback(exports.unstable_now())},ms)}function cancelHostTimeout(){localClearTimeout(taskTimeoutID),taskTimeoutID=-1}var unstable_requestPaint=requestPaint,unstable_Profiling=null;exports.unstable_IdlePriority=IdlePriority,exports.unstable_ImmediatePriority=ImmediatePriority,exports.unstable_LowPriority=LowPriority,exports.unstable_NormalPriority=NormalPriority,exports.unstable_Profiling=unstable_Profiling,exports.unstable_UserBlockingPriority=UserBlockingPriority,exports.unstable_cancelCallback=unstable_cancelCallback,exports.unstable_continueExecution=unstable_continueExecution,exports.unstable_forceFrameRate=forceFrameRate,exports.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel,exports.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode,exports.unstable_next=unstable_next,exports.unstable_pauseExecution=unstable_pauseExecution,exports.unstable_requestPaint=unstable_requestPaint,exports.unstable_runWithPriority=unstable_runWithPriority,exports.unstable_scheduleCallback=unstable_scheduleCallback,exports.unstable_shouldYield=shouldYieldToHost,exports.unstable_wrapCallback=unstable_wrapCallback,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}});var require_scheduler=__commonJS({"../../node_modules/scheduler/index.js"(exports,module){"use strict";module.exports=require_scheduler_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var React3=require_react(),Scheduler=require_scheduler(),ReactSharedInternals=React3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,suppressWarning=!1;function setSuppressWarning(newSuppressWarning){suppressWarning=newSuppressWarning}function warn(format2){if(!suppressWarning){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){if(!suppressWarning){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]));var argsWithFormat=args.map(function(item){return String(item)});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat)}}var FunctionComponent=0,ClassComponent=1,IndeterminateComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,Fragment2=7,Mode=8,ContextConsumer=9,ContextProvider=10,ForwardRef=11,Profiler=12,SuspenseComponent=13,MemoComponent=14,SimpleMemoComponent=15,LazyComponent=16,IncompleteClassComponent=17,DehydratedFragment=18,SuspenseListComponent=19,ScopeComponent=21,OffscreenComponent=22,LegacyHiddenComponent=23,CacheComponent=24,TracingMarkerComponent=25,enableClientRenderFallbackOnTextMismatch=!0,enableNewReconciler=!1,enableLazyContextPropagation=!1,enableLegacyHidden=!1,enableSuspenseAvoidThisFallback=!1,disableCommentsAsDOMContainers=!0,enableCustomElementPropertySupport=!1,warnAboutStringRefs=!1,enableSchedulingProfiler=!0,enableProfilerTimer=!0,enableProfilerCommitHooks=!0,allNativeEvents=new Set,registrationNameDependencies={},possibleRegistrationNames={};function registerTwoPhaseEvent(registrationName,dependencies){registerDirectEvent(registrationName,dependencies),registerDirectEvent(registrationName+"Capture",dependencies)}function registerDirectEvent(registrationName,dependencies){registrationNameDependencies[registrationName]&&error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",registrationName),registrationNameDependencies[registrationName]=dependencies;{var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,registrationName==="onDoubleClick"&&(possibleRegistrationNames.ondblclick=registrationName)}for(var i=0;i2&&(name[0]==="o"||name[0]==="O")&&(name[1]==="n"||name[1]==="N")}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(propertyInfo!==null&&propertyInfo.type===RESERVED)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":{if(isCustomComponentTag)return!1;if(propertyInfo!==null)return!propertyInfo.acceptsBooleans;var prefix3=name.toLowerCase().slice(0,5);return prefix3!=="data-"&&prefix3!=="aria-"}default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(value===null||typeof value>"u"||shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(propertyInfo!==null)switch(propertyInfo.type){case BOOLEAN:return!value;case OVERLOADED_BOOLEAN:return value===!1;case NUMERIC:return isNaN(value);case POSITIVE_NUMERIC:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace,sanitizeURL2,removeEmptyString){this.acceptsBooleans=type===BOOLEANISH_STRING||type===BOOLEAN||type===OVERLOADED_BOOLEAN,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type,this.sanitizeURL=sanitizeURL2,this.removeEmptyString=removeEmptyString}var properties={},reservedProps=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];reservedProps.forEach(function(name){properties[name]=new PropertyInfoRecord(name,RESERVED,!1,name,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name,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"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!1,name.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!0,name,null,!1,!1)}),["capture","download"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,OVERLOADED_BOOLEAN,!1,name,null,!1,!1)}),["cols","rows","size","span"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,POSITIVE_NUMERIC,!1,name,null,!1,!1)}),["rowSpan","start"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,NUMERIC,!1,name.toLowerCase(),null,!1,!1)});var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token2){return token2[1].toUpperCase()};["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"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!1,!1)});var xlinkHref="xlinkHref";properties[xlinkHref]=new PropertyInfoRecord("xlinkHref",STRING,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!0,!0)});var isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,didWarn=!1;function sanitizeURL(url){!didWarn&&isJavaScriptProtocol.test(url)&&(didWarn=!0,error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(url)))}function getValueForProperty(node2,name,expected,propertyInfo){if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;return node2[propertyName]}else{checkAttributeStringCoercion(expected,name),propertyInfo.sanitizeURL&&sanitizeURL(""+expected);var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.type===OVERLOADED_BOOLEAN){if(node2.hasAttribute(attributeName)){var value=node2.getAttribute(attributeName);return value===""?!0:shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value}}else if(node2.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node2.getAttribute(attributeName);if(propertyInfo.type===BOOLEAN)return expected;stringValue=node2.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?stringValue===null?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node2,name,expected,isCustomComponentTag){{if(!isAttributeNameSafe(name))return;if(!node2.hasAttribute(name))return expected===void 0?void 0:null;var value=node2.getAttribute(name);return checkAttributeStringCoercion(expected,name),value===""+expected?expected:value}}function setValueForProperty(node2,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag)){if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||propertyInfo===null){if(isAttributeNameSafe(name)){var _attributeName=name;value===null?node2.removeAttribute(_attributeName):(checkAttributeStringCoercion(value,name),node2.setAttribute(_attributeName,""+value))}return}var mustUseProperty=propertyInfo.mustUseProperty;if(mustUseProperty){var propertyName=propertyInfo.propertyName;if(value===null){var type=propertyInfo.type;node2[propertyName]=type===BOOLEAN?!1:""}else node2[propertyName]=value;return}var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(value===null)node2.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue;_type===BOOLEAN||_type===OVERLOADED_BOOLEAN&&value===!0?attributeValue="":(checkAttributeStringCoercion(value,attributeName),attributeValue=""+value,propertyInfo.sanitizeURL&&sanitizeURL(attributeValue.toString())),attributeNamespace?node2.setAttributeNS(attributeNamespace,attributeName,attributeValue):node2.setAttribute(attributeName,attributeValue)}}}var REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_SCOPE_TYPE=Symbol.for("react.scope"),REACT_DEBUG_TRACING_MODE_TYPE=Symbol.for("react.debug_trace_mode"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=Symbol.for("react.legacy_hidden"),REACT_CACHE_TYPE=Symbol.for("react.cache"),REACT_TRACING_MARKER_TYPE=Symbol.for("react.tracing_marker"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var assign2=Object.assign,disabledDepth=0,prevLog,prevInfo,prevWarn,prevError,prevGroup,prevGroupCollapsed,prevGroupEnd;function disabledLog(){}disabledLog.__reactDisabledLog=!0;function disableLogs(){{if(disabledDepth===0){prevLog=console.log,prevInfo=console.info,prevWarn=console.warn,prevError=console.error,prevGroup=console.group,prevGroupCollapsed=console.groupCollapsed,prevGroupEnd=console.groupEnd;var props={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props})}disabledDepth++}}function reenableLogs(){{if(disabledDepth--,disabledDepth===0){var props={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:assign2({},props,{value:prevLog}),info:assign2({},props,{value:prevInfo}),warn:assign2({},props,{value:prevWarn}),error:assign2({},props,{value:prevError}),group:assign2({},props,{value:prevGroup}),groupCollapsed:assign2({},props,{value:prevGroupCollapsed}),groupEnd:assign2({},props,{value:prevGroupEnd})})}disabledDepth<0&&error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ReactCurrentDispatcher=ReactSharedInternals.ReactCurrentDispatcher,prefix2;function describeBuiltInComponentFrame(name,source,ownerFn){{if(prefix2===void 0)try{throw Error()}catch(x){var match2=x.stack.trim().match(/\n( *(at )?)/);prefix2=match2&&match2[1]||""}return` +`+prefix2+name}}var reentry=!1,componentFrameCache;{var PossiblyWeakMap=typeof WeakMap=="function"?WeakMap:Map;componentFrameCache=new PossiblyWeakMap}function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";{var frame=componentFrameCache.get(fn);if(frame!==void 0)return frame}var control;reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var previousDispatcher;previousDispatcher=ReactCurrentDispatcher.current,ReactCurrentDispatcher.current=null,disableLogs();try{if(construct){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x){control=x}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x){control=x}fn()}}catch(sample){if(sample&&control&&typeof sample.stack=="string"){for(var sampleLines=sample.stack.split(` +`),controlLines=control.stack.split(` +`),s=sampleLines.length-1,c=controlLines.length-1;s>=1&&c>=0&&sampleLines[s]!==controlLines[c];)c--;for(;s>=1&&c>=0;s--,c--)if(sampleLines[s]!==controlLines[c]){if(s!==1||c!==1)do if(s--,c--,c<0||sampleLines[s]!==controlLines[c]){var _frame=` +`+sampleLines[s].replace(" at new "," at ");return fn.displayName&&_frame.includes("")&&(_frame=_frame.replace("",fn.displayName)),typeof fn=="function"&&componentFrameCache.set(fn,_frame),_frame}while(s>=1&&c>=0);break}}}finally{reentry=!1,ReactCurrentDispatcher.current=previousDispatcher,reenableLogs(),Error.prepareStackTrace=previousPrepareStackTrace}var name=fn?fn.displayName||fn.name:"",syntheticFrame=name?describeBuiltInComponentFrame(name):"";return typeof fn=="function"&&componentFrameCache.set(fn,syntheticFrame),syntheticFrame}function describeClassComponentFrame(ctor,source,ownerFn){return describeNativeComponentFrame(ctor,!0)}function describeFunctionComponentFrame(fn,source,ownerFn){return describeNativeComponentFrame(fn,!1)}function shouldConstruct(Component){var prototype=Component.prototype;return!!(prototype&&prototype.isReactComponent)}function describeUnknownElementTypeFrameInDEV(type,source,ownerFn){if(type==null)return"";if(typeof type=="function")return describeNativeComponentFrame(type,shouldConstruct(type));if(typeof type=="string")return describeBuiltInComponentFrame(type);switch(type){case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame("Suspense");case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame("SuspenseList")}if(typeof type=="object")switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeFunctionComponentFrame(type.render);case REACT_MEMO_TYPE:return describeUnknownElementTypeFrameInDEV(type.type,source,ownerFn);case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return describeUnknownElementTypeFrameInDEV(init(payload),source,ownerFn)}catch{}}}return""}function describeFiber(fiber){var owner=fiber._debugOwner?fiber._debugOwner.type:null,source=fiber._debugSource;switch(fiber.tag){case HostComponent:return describeBuiltInComponentFrame(fiber.type);case LazyComponent:return describeBuiltInComponentFrame("Lazy");case SuspenseComponent:return describeBuiltInComponentFrame("Suspense");case SuspenseListComponent:return describeBuiltInComponentFrame("SuspenseList");case FunctionComponent:case IndeterminateComponent:case SimpleMemoComponent:return describeFunctionComponentFrame(fiber.type);case ForwardRef:return describeFunctionComponentFrame(fiber.type.render);case ClassComponent:return describeClassComponentFrame(fiber.type);default:return""}}function getStackByFiberInDevAndProd(workInProgress2){try{var info="",node2=workInProgress2;do info+=describeFiber(node2),node2=node2.return;while(node2);return info}catch(x){return` +Error generating stack: `+x.message+` +`+x.stack}}function getWrappedName(outerType,innerType,wrapperName){var displayName=outerType.displayName;if(displayName)return displayName;var functionName=innerType.displayName||innerType.name||"";return functionName!==""?wrapperName+"("+functionName+")":wrapperName}function getContextName(type){return type.displayName||"Context"}function getComponentNameFromType(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:var context=type;return getContextName(context)+".Consumer";case REACT_PROVIDER_TYPE:var provider=type;return getContextName(provider._context)+".Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:var outerName=type.displayName||null;return outerName!==null?outerName:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return getComponentNameFromType(init(payload))}catch{return null}}}return null}function getWrappedName$1(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getContextName$1(type){return type.displayName||"Context"}function getComponentNameFromFiber(fiber){var tag=fiber.tag,type=fiber.type;switch(tag){case CacheComponent:return"Cache";case ContextConsumer:var context=type;return getContextName$1(context)+".Consumer";case ContextProvider:var provider=type;return getContextName$1(provider._context)+".Provider";case DehydratedFragment:return"DehydratedFragment";case ForwardRef:return getWrappedName$1(type,type.render,"ForwardRef");case Fragment2:return"Fragment";case HostComponent:return type;case HostPortal:return"Portal";case HostRoot:return"Root";case HostText:return"Text";case LazyComponent:return getComponentNameFromType(type);case Mode:return type===REACT_STRICT_MODE_TYPE?"StrictMode":"Mode";case OffscreenComponent:return"Offscreen";case Profiler:return"Profiler";case ScopeComponent:return"Scope";case SuspenseComponent:return"Suspense";case SuspenseListComponent:return"SuspenseList";case TracingMarkerComponent:return"TracingMarker";case ClassComponent:case FunctionComponent:case IncompleteClassComponent:case IndeterminateComponent:case MemoComponent:case SimpleMemoComponent:if(typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;break}return null}var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame,current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentNameFromFiber(owner)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame.getCurrentStack=fiber===null?null:getCurrentFiberStackInDev,current=fiber,isRendering=!1}function getCurrentFiber(){return current}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"string":case"undefined":return value;case"object":return checkFormFieldValueStringCoercion(value),value;default:return""}}var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function checkControlledValueProps(tagName,props){hasReadOnlyValue[props.type]||props.onChange||props.onInput||props.readOnly||props.disabled||props.value==null||error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),props.onChange||props.readOnly||props.disabled||props.checked==null||error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(type==="checkbox"||type==="radio")}function getTracker(node2){return node2._valueTracker}function detachTracker(node2){node2._valueTracker=null}function getValueFromNode(node2){var value="";return node2&&(isCheckable(node2)?value=node2.checked?"true":"false":value=node2.value),value}function trackValueOnNode(node2){var valueField=isCheckable(node2)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node2.constructor.prototype,valueField);checkFormFieldValueStringCoercion(node2[valueField]);var currentValue=""+node2[valueField];if(!(node2.hasOwnProperty(valueField)||typeof descriptor>"u"||typeof descriptor.get!="function"||typeof descriptor.set!="function")){var get2=descriptor.get,set2=descriptor.set;Object.defineProperty(node2,valueField,{configurable:!0,get:function(){return get2.call(this)},set:function(value){checkFormFieldValueStringCoercion(value),currentValue=""+value,set2.call(this,value)}}),Object.defineProperty(node2,valueField,{enumerable:descriptor.enumerable});var tracker={getValue:function(){return currentValue},setValue:function(value){checkFormFieldValueStringCoercion(value),currentValue=""+value},stopTracking:function(){detachTracker(node2),delete node2[valueField]}};return tracker}}function track(node2){getTracker(node2)||(node2._valueTracker=trackValueOnNode(node2))}function updateValueIfChanged(node2){if(!node2)return!1;var tracker=getTracker(node2);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=getValueFromNode(node2);return nextValue!==lastValue?(tracker.setValue(nextValue),!0):!1}function getActiveElement(doc){if(doc=doc||(typeof document<"u"?document:void 0),typeof doc>"u")return null;try{return doc.activeElement||doc.body}catch{return doc.body}}var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){var usesChecked=props.type==="checkbox"||props.type==="radio";return usesChecked?props.checked!=null:props.value!=null}function getHostProps(element,props){var node2=element,checked=props.checked,hostProps=assign2({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:checked??node2._wrapperState.initialChecked});return hostProps}function initWrapperState(element,props){checkControlledValueProps("input",props),props.checked!==void 0&&props.defaultChecked!==void 0&&!didWarnCheckedDefaultChecked&&(error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue&&(error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node2=element,defaultValue=props.defaultValue==null?"":props.defaultValue;node2._wrapperState={initialChecked:props.checked!=null?props.checked:props.defaultChecked,initialValue:getToStringValue(props.value!=null?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node2=element,checked=props.checked;checked!=null&&setValueForProperty(node2,"checked",checked,!1)}function updateWrapper(element,props){var node2=element;{var controlled=isControlled(props);!node2._wrapperState.controlled&&controlled&&!didWarnUncontrolledToControlled&&(error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),didWarnUncontrolledToControlled=!0),node2._wrapperState.controlled&&!controlled&&!didWarnControlledToUncontrolled&&(error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),didWarnControlledToUncontrolled=!0)}updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(value!=null)type==="number"?(value===0&&node2.value===""||node2.value!=value)&&(node2.value=toString(value)):node2.value!==toString(value)&&(node2.value=toString(value));else if(type==="submit"||type==="reset"){node2.removeAttribute("value");return}props.hasOwnProperty("value")?setDefaultValue(node2,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node2,props.type,getToStringValue(props.defaultValue)),props.checked==null&&props.defaultChecked!=null&&(node2.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating2){var node2=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton=type==="submit"||type==="reset";if(isButton&&(props.value===void 0||props.value===null))return;var initialValue=toString(node2._wrapperState.initialValue);isHydrating2||initialValue!==node2.value&&(node2.value=initialValue),node2.defaultValue=initialValue}var name=node2.name;name!==""&&(node2.name=""),node2.defaultChecked=!node2.defaultChecked,node2.defaultChecked=!!node2._wrapperState.initialChecked,name!==""&&(node2.name=name)}function restoreControlledState(element,props){var node2=element;updateWrapper(node2,props),updateNamedCousins(node2,props)}function updateNamedCousins(rootNode,props){var name=props.name;if(props.type==="radio"&&name!=null){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;checkAttributeStringCoercion(name,"name");for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i.")))}):props.dangerouslySetInnerHTML!=null&&(didWarnInvalidInnerHTML||(didWarnInvalidInnerHTML=!0,error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),props.selected!=null&&!didWarnSelectedSetOnOption&&(error("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}function updateOptions(node2,multiple,propValue,setDefaultSelected){var options2=node2.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i.");var hostProps=assign2({},props,{value:void 0,defaultValue:void 0,children:toString(node2._wrapperState.initialValue)});return hostProps}function initWrapperState$2(element,props){var node2=element;checkControlledValueProps("textarea",props),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(initialValue==null){var children=props.children,defaultValue=props.defaultValue;if(children!=null){error("Use the `defaultValue` or `value` props instead of setting children on