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..8fe1904dd --- /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.6f685e45.css b/assets/css/styles.6f685e45.css new file mode 100644 index 000000000..3ff543060 --- /dev/null +++ b/assets/css/styles.6f685e45.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:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#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:#0000001a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_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 #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}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:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover,.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:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_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 #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.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:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:1rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{display:grid;grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);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 #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}@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:#0000004d}.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,.navbarSearchContainer_bmvg:empty,.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)}.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}.iconEdit_UohW{margin-right:.3em;vertical-align:sub}.lastUpdated_g62E{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:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_Ftvb{display:none;margin:0}.iconExternalLink_awgD{margin-left:.3rem}.dropdownNavbarItemMobile_yXZl{cursor:pointer}.iconLanguage_xrmG{margin-right:5px;vertical-align:text-bottom}.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 #00000026;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 #0003}.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{left:0;position:absolute;top:0;fill:currentColor;height:inherit;opacity:inherit;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:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_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{display:inline-block;height:1.6em;width:1.6em;fill:var(--ifm-alert-foreground-color)}.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_g62E{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);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/images/logo-sigma-text-bbd0d8973486c861028e94cb07a98828.svg b/assets/images/logo-sigma-text-bbd0d8973486c861028e94cb07a98828.svg new file mode 100644 index 000000000..cce90d743 --- /dev/null +++ b/assets/images/logo-sigma-text-bbd0d8973486c861028e94cb07a98828.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/js/0058b4c6.b4667ae0.js b/assets/js/0058b4c6.b4667ae0.js new file mode 100644 index 000000000..ab12abf24 --- /dev/null +++ b/assets/js/0058b4c6.b4667ae0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[849],{6164:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"sigmaDocSidebar":[{"type":"link","label":"Introduction","href":"/docs/","docId":"index","unlisted":false},{"type":"link","label":"Quickstart Guide","href":"/docs/quickstart","docId":"quickstart","unlisted":false},{"type":"link","label":"Resources","href":"/docs/resources","docId":"resources","unlisted":false},{"type":"category","label":"Advanced topics","items":[{"type":"link","label":"Lifecycle","href":"/docs/advanced/lifecycle","docId":"advanced/lifecycle","unlisted":false},{"type":"link","label":"Graph data","href":"/docs/advanced/data","docId":"advanced/data","unlisted":false},{"type":"link","label":"Customizing appearance","href":"/docs/advanced/customization","docId":"advanced/customization","unlisted":false},{"type":"link","label":"Renderers","href":"/docs/advanced/renderers","docId":"advanced/renderers","unlisted":false},{"type":"link","label":"Coordinate systems","href":"/docs/advanced/coordinate-systems","docId":"advanced/coordinate-systems","unlisted":false},{"type":"link","label":"Node and Edge Sizes","href":"/docs/advanced/sizes","docId":"advanced/sizes","unlisted":false},{"type":"link","label":"Layers","href":"/docs/advanced/layers","docId":"advanced/layers","unlisted":false},{"type":"link","label":"Events","href":"/docs/advanced/events","docId":"advanced/events","unlisted":false},{"type":"link","label":"Publishing new versions","href":"/docs/advanced/publish","docId":"advanced/publish","unlisted":false},{"type":"link","label":"Migrating from v2 to v3","href":"/docs/advanced/migration-v2-v3","docId":"advanced/migration-v2-v3","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/docs/category/advanced-topics"},{"type":"category","label":"Typedoc API","items":[{"type":"category","label":"edge-curve","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Type Aliases","items":[{"type":"link","label":"CreateEdgeCurveProgramOptions","href":"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions","docId":"typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"default","href":"/docs/typedoc/edge-curve/src/variables/default","docId":"typedoc/edge-curve/src/variables/default","unlisted":false},{"type":"link","label":"DEFAULT_EDGE_CURVATURE","href":"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE","docId":"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE","unlisted":false},{"type":"link","label":"DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS","href":"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS","docId":"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS","unlisted":false},{"type":"link","label":"DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS","href":"/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS","docId":"typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS","unlisted":false},{"type":"link","label":"EdgeCurvedArrowProgram","href":"/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram","docId":"typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"createDrawCurvedEdgeLabel","href":"/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel","docId":"typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel","unlisted":false},{"type":"link","label":"createEdgeCurveProgram","href":"/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram","docId":"typedoc/edge-curve/src/functions/createEdgeCurveProgram","unlisted":false},{"type":"link","label":"indexParallelEdgesIndex","href":"/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex","docId":"typedoc/edge-curve/src/functions/indexParallelEdgesIndex","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/edge-curve/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"layer-leaflet","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Functions","items":[{"type":"link","label":"default","href":"/docs/typedoc/layer-leaflet/src/functions/default","docId":"typedoc/layer-leaflet/src/functions/default","unlisted":false},{"type":"link","label":"graphToLatlng","href":"/docs/typedoc/layer-leaflet/src/functions/graphToLatlng","docId":"typedoc/layer-leaflet/src/functions/graphToLatlng","unlisted":false},{"type":"link","label":"latlngToGraph","href":"/docs/typedoc/layer-leaflet/src/functions/latlngToGraph","docId":"typedoc/layer-leaflet/src/functions/latlngToGraph","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/layer-leaflet/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"layer-maplibre","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Functions","items":[{"type":"link","label":"default","href":"/docs/typedoc/layer-maplibre/src/functions/default","docId":"typedoc/layer-maplibre/src/functions/default","unlisted":false},{"type":"link","label":"graphToLatlng","href":"/docs/typedoc/layer-maplibre/src/functions/graphToLatlng","docId":"typedoc/layer-maplibre/src/functions/graphToLatlng","unlisted":false},{"type":"link","label":"latlngToGraph","href":"/docs/typedoc/layer-maplibre/src/functions/latlngToGraph","docId":"typedoc/layer-maplibre/src/functions/latlngToGraph","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/layer-maplibre/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"layer-webgl","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Classes","items":[{"type":"link","label":"WebGLLayerProgram","href":"/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram","docId":"typedoc/layer-webgl/src/classes/WebGLLayerProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Type Aliases","items":[{"type":"link","label":"ContoursOptions","href":"/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions","docId":"typedoc/layer-webgl/src/type-aliases/ContoursOptions","unlisted":false},{"type":"link","label":"WebGLLayerDefinition","href":"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition","docId":"typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition","unlisted":false},{"type":"link","label":"WebGLLayerProgramType","href":"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType","docId":"typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"DEFAULT_CONTOURS_OPTIONS","href":"/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS","docId":"typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"bindWebGLLayer","href":"/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer","docId":"typedoc/layer-webgl/src/functions/bindWebGLLayer","unlisted":false},{"type":"link","label":"createContoursProgram","href":"/docs/typedoc/layer-webgl/src/functions/createContoursProgram","docId":"typedoc/layer-webgl/src/functions/createContoursProgram","unlisted":false},{"type":"link","label":"getContoursFragmentShader","href":"/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader","docId":"typedoc/layer-webgl/src/functions/getContoursFragmentShader","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/layer-webgl/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"node-border","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Variables","items":[{"type":"link","label":"NodeBorderProgram","href":"/docs/typedoc/node-border/src/variables/NodeBorderProgram","docId":"typedoc/node-border/src/variables/NodeBorderProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"createNodeBorderProgram","href":"/docs/typedoc/node-border/src/functions/createNodeBorderProgram","docId":"typedoc/node-border/src/functions/createNodeBorderProgram","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/node-border/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"node-image","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Variables","items":[{"type":"link","label":"NodeImageProgram","href":"/docs/typedoc/node-image/src/variables/NodeImageProgram","docId":"typedoc/node-image/src/variables/NodeImageProgram","unlisted":false},{"type":"link","label":"NodePictogramProgram","href":"/docs/typedoc/node-image/src/variables/NodePictogramProgram","docId":"typedoc/node-image/src/variables/NodePictogramProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"createNodeImageProgram","href":"/docs/typedoc/node-image/src/functions/createNodeImageProgram","docId":"typedoc/node-image/src/functions/createNodeImageProgram","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/node-image/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"node-piechart","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Interfaces","items":[{"type":"link","label":"CreateNodePiechartProgramOptions","href":"/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions","docId":"typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Type Aliases","items":[{"type":"link","label":"NodeSliceColor","href":"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor","docId":"typedoc/node-piechart/src/type-aliases/NodeSliceColor","unlisted":false},{"type":"link","label":"NodeSliceValue","href":"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue","docId":"typedoc/node-piechart/src/type-aliases/NodeSliceValue","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"DEFAULT_COLOR","href":"/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR","docId":"typedoc/node-piechart/src/variables/DEFAULT_COLOR","unlisted":false},{"type":"link","label":"DEFAULT_CREATE_NODE_PIECHART_OPTIONS","href":"/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS","docId":"typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"createNodePiechartProgram","href":"/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram","docId":"typedoc/node-piechart/src/functions/createNodePiechartProgram","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/node-piechart/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"node-square","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Classes","items":[{"type":"link","label":"NodeSquareProgram","href":"/docs/typedoc/node-square/src/classes/NodeSquareProgram","docId":"typedoc/node-square/src/classes/NodeSquareProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"drawSquareNodeHover","href":"/docs/typedoc/node-square/src/functions/drawSquareNodeHover","docId":"typedoc/node-square/src/functions/drawSquareNodeHover","unlisted":false},{"type":"link","label":"drawSquareNodeLabel","href":"/docs/typedoc/node-square/src/functions/drawSquareNodeLabel","docId":"typedoc/node-square/src/functions/drawSquareNodeLabel","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/node-square/src/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"sigma","items":[{"type":"category","label":"src","items":[{"type":"category","label":"Classes","items":[{"type":"link","label":"Camera","href":"/docs/typedoc/sigma/src/classes/Camera","docId":"typedoc/sigma/src/classes/Camera","unlisted":false},{"type":"link","label":"MouseCaptor","href":"/docs/typedoc/sigma/src/classes/MouseCaptor","docId":"typedoc/sigma/src/classes/MouseCaptor","unlisted":false},{"type":"link","label":"Sigma","href":"/docs/typedoc/sigma/src/classes/Sigma","docId":"typedoc/sigma/src/classes/Sigma","unlisted":false},{"type":"link","label":"TouchCaptor","href":"/docs/typedoc/sigma/src/classes/TouchCaptor","docId":"typedoc/sigma/src/classes/TouchCaptor","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"rendering","items":[{"type":"category","label":"Classes","items":[{"type":"link","label":"AbstractEdgeProgram","href":"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram","docId":"typedoc/sigma/src/rendering/classes/AbstractEdgeProgram","unlisted":false},{"type":"link","label":"AbstractNodeProgram","href":"/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram","docId":"typedoc/sigma/src/rendering/classes/AbstractNodeProgram","unlisted":false},{"type":"link","label":"AbstractProgram","href":"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram","docId":"typedoc/sigma/src/rendering/classes/AbstractProgram","unlisted":false},{"type":"link","label":"EdgeLineProgram","href":"/docs/typedoc/sigma/src/rendering/classes/EdgeLineProgram","docId":"typedoc/sigma/src/rendering/classes/EdgeLineProgram","unlisted":false},{"type":"link","label":"EdgeProgram","href":"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram","docId":"typedoc/sigma/src/rendering/classes/EdgeProgram","unlisted":false},{"type":"link","label":"EdgeRectangleProgram","href":"/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram","docId":"typedoc/sigma/src/rendering/classes/EdgeRectangleProgram","unlisted":false},{"type":"link","label":"EdgeTriangleProgram","href":"/docs/typedoc/sigma/src/rendering/classes/EdgeTriangleProgram","docId":"typedoc/sigma/src/rendering/classes/EdgeTriangleProgram","unlisted":false},{"type":"link","label":"NodeCircleProgram","href":"/docs/typedoc/sigma/src/rendering/classes/NodeCircleProgram","docId":"typedoc/sigma/src/rendering/classes/NodeCircleProgram","unlisted":false},{"type":"link","label":"NodePointProgram","href":"/docs/typedoc/sigma/src/rendering/classes/NodePointProgram","docId":"typedoc/sigma/src/rendering/classes/NodePointProgram","unlisted":false},{"type":"link","label":"NodeProgram","href":"/docs/typedoc/sigma/src/rendering/classes/NodeProgram","docId":"typedoc/sigma/src/rendering/classes/NodeProgram","unlisted":false},{"type":"link","label":"Program","href":"/docs/typedoc/sigma/src/rendering/classes/Program","docId":"typedoc/sigma/src/rendering/classes/Program","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Interfaces","items":[{"type":"link","label":"InstancedProgramDefinition","href":"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition","docId":"typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition","unlisted":false},{"type":"link","label":"ProgramAttributeSpecification","href":"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification","docId":"typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification","unlisted":false},{"type":"link","label":"ProgramDefinition","href":"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition","docId":"typedoc/sigma/src/rendering/interfaces/ProgramDefinition","unlisted":false},{"type":"link","label":"ProgramInfo","href":"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo","docId":"typedoc/sigma/src/rendering/interfaces/ProgramInfo","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Type Aliases","items":[{"type":"link","label":"CreateEdgeArrowHeadProgramOptions","href":"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions","docId":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions","unlisted":false},{"type":"link","label":"CreateEdgeClampedProgramOptions","href":"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions","docId":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions","unlisted":false},{"type":"link","label":"CreateEdgeDoubleClampedProgramOptions","href":"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions","docId":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions","unlisted":false},{"type":"link","label":"EdgeLabelDrawingFunction","href":"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction","docId":"typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction","unlisted":false},{"type":"link","label":"EdgeProgramType","href":"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType","docId":"typedoc/sigma/src/rendering/type-aliases/EdgeProgramType","unlisted":false},{"type":"link","label":"NodeHoverDrawingFunction","href":"/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction","docId":"typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction","unlisted":false},{"type":"link","label":"NodeLabelDrawingFunction","href":"/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction","docId":"typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction","unlisted":false},{"type":"link","label":"NodeProgramType","href":"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType","docId":"typedoc/sigma/src/rendering/type-aliases/NodeProgramType","unlisted":false},{"type":"link","label":"ProgramType","href":"/docs/typedoc/sigma/src/rendering/type-aliases/ProgramType","docId":"typedoc/sigma/src/rendering/type-aliases/ProgramType","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS","href":"/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS","docId":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS","unlisted":false},{"type":"link","label":"DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS","href":"/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS","docId":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS","unlisted":false},{"type":"link","label":"DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS","href":"/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS","docId":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS","unlisted":false},{"type":"link","label":"EdgeArrowHeadProgram","href":"/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram","docId":"typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram","unlisted":false},{"type":"link","label":"EdgeArrowProgram","href":"/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram","docId":"typedoc/sigma/src/rendering/variables/EdgeArrowProgram","unlisted":false},{"type":"link","label":"EdgeClampedProgram","href":"/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram","docId":"typedoc/sigma/src/rendering/variables/EdgeClampedProgram","unlisted":false},{"type":"link","label":"EdgeDoubleArrowProgram","href":"/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram","docId":"typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram","unlisted":false},{"type":"link","label":"EdgeDoubleClampedProgram","href":"/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram","docId":"typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"createEdgeArrowHeadProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram","unlisted":false},{"type":"link","label":"createEdgeArrowProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeArrowProgram","unlisted":false},{"type":"link","label":"createEdgeClampedProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeClampedProgram","unlisted":false},{"type":"link","label":"createEdgeCompoundProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram","unlisted":false},{"type":"link","label":"createEdgeDoubleArrowProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram","unlisted":false},{"type":"link","label":"createEdgeDoubleClampedProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram","docId":"typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram","unlisted":false},{"type":"link","label":"createNodeCompoundProgram","href":"/docs/typedoc/sigma/src/rendering/functions/createNodeCompoundProgram","docId":"typedoc/sigma/src/rendering/functions/createNodeCompoundProgram","unlisted":false},{"type":"link","label":"drawDiscNodeHover","href":"/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeHover","docId":"typedoc/sigma/src/rendering/functions/drawDiscNodeHover","unlisted":false},{"type":"link","label":"drawDiscNodeLabel","href":"/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeLabel","docId":"typedoc/sigma/src/rendering/functions/drawDiscNodeLabel","unlisted":false},{"type":"link","label":"drawStraightEdgeLabel","href":"/docs/typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel","docId":"typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel","unlisted":false},{"type":"link","label":"getAttributeItemsCount","href":"/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCount","docId":"typedoc/sigma/src/rendering/functions/getAttributeItemsCount","unlisted":false},{"type":"link","label":"getAttributesItemsCount","href":"/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount","docId":"typedoc/sigma/src/rendering/functions/getAttributesItemsCount","unlisted":false},{"type":"link","label":"killProgram","href":"/docs/typedoc/sigma/src/rendering/functions/killProgram","docId":"typedoc/sigma/src/rendering/functions/killProgram","unlisted":false},{"type":"link","label":"loadFragmentShader","href":"/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader","docId":"typedoc/sigma/src/rendering/functions/loadFragmentShader","unlisted":false},{"type":"link","label":"loadProgram","href":"/docs/typedoc/sigma/src/rendering/functions/loadProgram","docId":"typedoc/sigma/src/rendering/functions/loadProgram","unlisted":false},{"type":"link","label":"loadVertexShader","href":"/docs/typedoc/sigma/src/rendering/functions/loadVertexShader","docId":"typedoc/sigma/src/rendering/functions/loadVertexShader","unlisted":false},{"type":"link","label":"numberToGLSLFloat","href":"/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat","docId":"typedoc/sigma/src/rendering/functions/numberToGLSLFloat","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/sigma/src/rendering/"},{"type":"category","label":"settings","items":[{"type":"category","label":"Interfaces","items":[{"type":"link","label":"Settings","href":"/docs/typedoc/sigma/src/settings/interfaces/Settings","docId":"typedoc/sigma/src/settings/interfaces/Settings","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"DEFAULT_EDGE_PROGRAM_CLASSES","href":"/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES","docId":"typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES","unlisted":false},{"type":"link","label":"DEFAULT_NODE_PROGRAM_CLASSES","href":"/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES","docId":"typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES","unlisted":false},{"type":"link","label":"DEFAULT_SETTINGS","href":"/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS","docId":"typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"resolveSettings","href":"/docs/typedoc/sigma/src/settings/functions/resolveSettings","docId":"typedoc/sigma/src/settings/functions/resolveSettings","unlisted":false},{"type":"link","label":"validateSettings","href":"/docs/typedoc/sigma/src/settings/functions/validateSettings","docId":"typedoc/sigma/src/settings/functions/validateSettings","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/sigma/src/settings/"},{"type":"category","label":"utils","items":[{"type":"category","label":"Interfaces","items":[{"type":"link","label":"AnimateOptions","href":"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions","docId":"typedoc/sigma/src/utils/interfaces/AnimateOptions","unlisted":false},{"type":"link","label":"NormalizationFunction","href":"/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction","docId":"typedoc/sigma/src/utils/interfaces/NormalizationFunction","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Type Aliases","items":[{"type":"link","label":"Easing","href":"/docs/typedoc/sigma/src/utils/type-aliases/Easing","docId":"typedoc/sigma/src/utils/type-aliases/Easing","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Variables","items":[{"type":"link","label":"ANIMATE_DEFAULTS","href":"/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS","docId":"typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS","unlisted":false},{"type":"link","label":"easings","href":"/docs/typedoc/sigma/src/utils/variables/easings","docId":"typedoc/sigma/src/utils/variables/easings","unlisted":false},{"type":"link","label":"HTML_COLORS","href":"/docs/typedoc/sigma/src/utils/variables/HTML_COLORS","docId":"typedoc/sigma/src/utils/variables/HTML_COLORS","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Functions","items":[{"type":"link","label":"animateNodes","href":"/docs/typedoc/sigma/src/utils/functions/animateNodes","docId":"typedoc/sigma/src/utils/functions/animateNodes","unlisted":false},{"type":"link","label":"assign","href":"/docs/typedoc/sigma/src/utils/functions/assign","docId":"typedoc/sigma/src/utils/functions/assign","unlisted":false},{"type":"link","label":"assignDeep","href":"/docs/typedoc/sigma/src/utils/functions/assignDeep","docId":"typedoc/sigma/src/utils/functions/assignDeep","unlisted":false},{"type":"link","label":"colorToArray","href":"/docs/typedoc/sigma/src/utils/functions/colorToArray","docId":"typedoc/sigma/src/utils/functions/colorToArray","unlisted":false},{"type":"link","label":"colorToIndex","href":"/docs/typedoc/sigma/src/utils/functions/colorToIndex","docId":"typedoc/sigma/src/utils/functions/colorToIndex","unlisted":false},{"type":"link","label":"createElement","href":"/docs/typedoc/sigma/src/utils/functions/createElement","docId":"typedoc/sigma/src/utils/functions/createElement","unlisted":false},{"type":"link","label":"createNormalizationFunction","href":"/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction","docId":"typedoc/sigma/src/utils/functions/createNormalizationFunction","unlisted":false},{"type":"link","label":"cubicIn","href":"/docs/typedoc/sigma/src/utils/functions/cubicIn","docId":"typedoc/sigma/src/utils/functions/cubicIn","unlisted":false},{"type":"link","label":"cubicInOut","href":"/docs/typedoc/sigma/src/utils/functions/cubicInOut","docId":"typedoc/sigma/src/utils/functions/cubicInOut","unlisted":false},{"type":"link","label":"cubicOut","href":"/docs/typedoc/sigma/src/utils/functions/cubicOut","docId":"typedoc/sigma/src/utils/functions/cubicOut","unlisted":false},{"type":"link","label":"extend","href":"/docs/typedoc/sigma/src/utils/functions/extend","docId":"typedoc/sigma/src/utils/functions/extend","unlisted":false},{"type":"link","label":"extractPixel","href":"/docs/typedoc/sigma/src/utils/functions/extractPixel","docId":"typedoc/sigma/src/utils/functions/extractPixel","unlisted":false},{"type":"link","label":"floatColor","href":"/docs/typedoc/sigma/src/utils/functions/floatColor","docId":"typedoc/sigma/src/utils/functions/floatColor","unlisted":false},{"type":"link","label":"getCorrectionRatio","href":"/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio","docId":"typedoc/sigma/src/utils/functions/getCorrectionRatio","unlisted":false},{"type":"link","label":"getMatrixImpact","href":"/docs/typedoc/sigma/src/utils/functions/getMatrixImpact","docId":"typedoc/sigma/src/utils/functions/getMatrixImpact","unlisted":false},{"type":"link","label":"getPixelColor","href":"/docs/typedoc/sigma/src/utils/functions/getPixelColor","docId":"typedoc/sigma/src/utils/functions/getPixelColor","unlisted":false},{"type":"link","label":"getPixelRatio","href":"/docs/typedoc/sigma/src/utils/functions/getPixelRatio","docId":"typedoc/sigma/src/utils/functions/getPixelRatio","unlisted":false},{"type":"link","label":"graphExtent","href":"/docs/typedoc/sigma/src/utils/functions/graphExtent","docId":"typedoc/sigma/src/utils/functions/graphExtent","unlisted":false},{"type":"link","label":"identity","href":"/docs/typedoc/sigma/src/utils/functions/identity","docId":"typedoc/sigma/src/utils/functions/identity","unlisted":false},{"type":"link","label":"indexToColor","href":"/docs/typedoc/sigma/src/utils/functions/indexToColor","docId":"typedoc/sigma/src/utils/functions/indexToColor","unlisted":false},{"type":"link","label":"isPlainObject","href":"/docs/typedoc/sigma/src/utils/functions/isPlainObject","docId":"typedoc/sigma/src/utils/functions/isPlainObject","unlisted":false},{"type":"link","label":"linear","href":"/docs/typedoc/sigma/src/utils/functions/linear","docId":"typedoc/sigma/src/utils/functions/linear","unlisted":false},{"type":"link","label":"matrixFromCamera","href":"/docs/typedoc/sigma/src/utils/functions/matrixFromCamera","docId":"typedoc/sigma/src/utils/functions/matrixFromCamera","unlisted":false},{"type":"link","label":"multiply","href":"/docs/typedoc/sigma/src/utils/functions/multiply","docId":"typedoc/sigma/src/utils/functions/multiply","unlisted":false},{"type":"link","label":"multiplyVec2","href":"/docs/typedoc/sigma/src/utils/functions/multiplyVec2","docId":"typedoc/sigma/src/utils/functions/multiplyVec2","unlisted":false},{"type":"link","label":"parseColor","href":"/docs/typedoc/sigma/src/utils/functions/parseColor","docId":"typedoc/sigma/src/utils/functions/parseColor","unlisted":false},{"type":"link","label":"quadraticIn","href":"/docs/typedoc/sigma/src/utils/functions/quadraticIn","docId":"typedoc/sigma/src/utils/functions/quadraticIn","unlisted":false},{"type":"link","label":"quadraticInOut","href":"/docs/typedoc/sigma/src/utils/functions/quadraticInOut","docId":"typedoc/sigma/src/utils/functions/quadraticInOut","unlisted":false},{"type":"link","label":"quadraticOut","href":"/docs/typedoc/sigma/src/utils/functions/quadraticOut","docId":"typedoc/sigma/src/utils/functions/quadraticOut","unlisted":false},{"type":"link","label":"rgbaToFloat","href":"/docs/typedoc/sigma/src/utils/functions/rgbaToFloat","docId":"typedoc/sigma/src/utils/functions/rgbaToFloat","unlisted":false},{"type":"link","label":"rotate","href":"/docs/typedoc/sigma/src/utils/functions/rotate","docId":"typedoc/sigma/src/utils/functions/rotate","unlisted":false},{"type":"link","label":"scale","href":"/docs/typedoc/sigma/src/utils/functions/scale","docId":"typedoc/sigma/src/utils/functions/scale","unlisted":false},{"type":"link","label":"translate","href":"/docs/typedoc/sigma/src/utils/functions/translate","docId":"typedoc/sigma/src/utils/functions/translate","unlisted":false},{"type":"link","label":"validateGraph","href":"/docs/typedoc/sigma/src/utils/functions/validateGraph","docId":"typedoc/sigma/src/utils/functions/validateGraph","unlisted":false},{"type":"link","label":"zIndexOrdering","href":"/docs/typedoc/sigma/src/utils/functions/zIndexOrdering","docId":"typedoc/sigma/src/utils/functions/zIndexOrdering","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/sigma/src/utils/"}],"collapsed":true,"collapsible":true,"href":"/docs/typedoc/sigma/src/"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/docs/category/typedoc-api"}]},"docs":{"advanced/coordinate-systems":{"id":"advanced/coordinate-systems","title":"Coordinate systems","description":"The graph space: graph","sidebar":"sigmaDocSidebar"},"advanced/customization":{"id":"advanced/customization","title":"Customizing appearance","description":"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:","sidebar":"sigmaDocSidebar"},"advanced/data":{"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.","sidebar":"sigmaDocSidebar"},"advanced/events":{"id":"advanced/events","title":"Events","description":"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.","sidebar":"sigmaDocSidebar"},"advanced/layers":{"id":"advanced/layers","title":"Layers","description":"Sigma renders the graph on multiple layers. Some layers are using WebGL, some are using Canvas.","sidebar":"sigmaDocSidebar"},"advanced/lifecycle":{"id":"advanced/lifecycle","title":"Lifecycle","description":"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.","sidebar":"sigmaDocSidebar"},"advanced/migration-v2-v3":{"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.\\\\.","sidebar":"sigmaDocSidebar"},"advanced/publish":{"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.","sidebar":"sigmaDocSidebar"},"advanced/renderers":{"id":"advanced/renderers","title":"Renderers","description":"Introduction","sidebar":"sigmaDocSidebar"},"advanced/sizes":{"id":"advanced/sizes","title":"Node and Edge Sizes","description":"Default Behavior","sidebar":"sigmaDocSidebar"},"index":{"id":"index","title":"Introduction","description":"","sidebar":"sigmaDocSidebar"},"quickstart":{"id":"quickstart","title":"Quickstart Guide","description":"Installation","sidebar":"sigmaDocSidebar"},"resources":{"id":"resources","title":"Resources","description":"Sigma.js offers a variety of resources to assist developers in understanding and effectively utilizing the library:","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel":{"id":"typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel","title":"Function: createDrawCurvedEdgeLabel()","description":"createDrawCurvedEdgeLabel\\\\(namedParameters): EdgeLabelDrawingFunction\\\\","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/functions/createEdgeCurveProgram":{"id":"typedoc/edge-curve/src/functions/createEdgeCurveProgram","title":"Function: createEdgeCurveProgram()","description":"createEdgeCurveProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/functions/indexParallelEdgesIndex":{"id":"typedoc/edge-curve/src/functions/indexParallelEdgesIndex","title":"Function: indexParallelEdgesIndex()","description":"indexParallelEdgesIndex(graph, options?): void","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/index":{"id":"typedoc/edge-curve/src/index","title":"edge-curve/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions":{"id":"typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions","title":"Type Alias: CreateEdgeCurveProgramOptions\\\\","description":"CreateEdgeCurveProgramOptions\\\\: object","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/variables/default":{"id":"typedoc/edge-curve/src/variables/default","title":"Variable: default","description":"const default: EdgeProgramType","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE":{"id":"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE","title":"Variable: DEFAULT\\\\_EDGE\\\\_CURVATURE","description":"const DEFAULT\\\\_EDGE\\\\_CURVATURE: 0.25 = 0.25","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS":{"id":"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS","title":"Variable: DEFAULT\\\\_EDGE\\\\_CURVE\\\\_PROGRAM\\\\_OPTIONS","description":"const DEFAULT\\\\_EDGE\\\\_CURVE\\\\_PROGRAM\\\\_OPTIONS: CreateEdgeCurveProgramOptions","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS":{"id":"typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS","title":"Variable: DEFAULT\\\\_INDEX\\\\_PARALLEL\\\\_EDGES\\\\_OPTIONS","description":"const DEFAULT\\\\_INDEX\\\\_PARALLEL\\\\_EDGES\\\\_OPTIONS: object","sidebar":"sigmaDocSidebar"},"typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram":{"id":"typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram","title":"Variable: EdgeCurvedArrowProgram","description":"const EdgeCurvedArrowProgram: EdgeProgramType","sidebar":"sigmaDocSidebar"},"typedoc/index":{"id":"typedoc/index","title":"index","description":"Build Status"},"typedoc/layer-leaflet/src/functions/default":{"id":"typedoc/layer-leaflet/src/functions/default","title":"Function: default()","description":"default(sigma, opts?): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-leaflet/src/functions/graphToLatlng":{"id":"typedoc/layer-leaflet/src/functions/graphToLatlng","title":"Function: graphToLatlng()","description":"graphToLatlng(map, coords): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-leaflet/src/functions/latlngToGraph":{"id":"typedoc/layer-leaflet/src/functions/latlngToGraph","title":"Function: latlngToGraph()","description":"latlngToGraph(map, coord): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-leaflet/src/index":{"id":"typedoc/layer-leaflet/src/index","title":"layer-leaflet/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/layer-maplibre/src/functions/default":{"id":"typedoc/layer-maplibre/src/functions/default","title":"Function: default()","description":"default(sigma, opts?): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-maplibre/src/functions/graphToLatlng":{"id":"typedoc/layer-maplibre/src/functions/graphToLatlng","title":"Function: graphToLatlng()","description":"graphToLatlng(map, coords): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-maplibre/src/functions/latlngToGraph":{"id":"typedoc/layer-maplibre/src/functions/latlngToGraph","title":"Function: latlngToGraph()","description":"latlngToGraph(map, coord): object","sidebar":"sigmaDocSidebar"},"typedoc/layer-maplibre/src/index":{"id":"typedoc/layer-maplibre/src/index","title":"layer-maplibre/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/classes/WebGLLayerProgram":{"id":"typedoc/layer-webgl/src/classes/WebGLLayerProgram","title":"Class: abstract WebGLLayerProgram\\\\","description":"This program is based on the base Program from Sigma, but instead of using this.array to iterate over the vertices,","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/functions/bindWebGLLayer":{"id":"typedoc/layer-webgl/src/functions/bindWebGLLayer","title":"Function: bindWebGLLayer()","description":"bindWebGLLayer(id, renderer, ProgramClass): () => void","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/functions/createContoursProgram":{"id":"typedoc/layer-webgl/src/functions/createContoursProgram","title":"Function: createContoursProgram()","description":"createContoursProgram\\\\(nodes, options?): WebGLLayerProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/functions/getContoursFragmentShader":{"id":"typedoc/layer-webgl/src/functions/getContoursFragmentShader","title":"Function: getContoursFragmentShader()","description":"getContoursFragmentShader(namedParameters): string","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/index":{"id":"typedoc/layer-webgl/src/index","title":"layer-webgl/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/type-aliases/ContoursOptions":{"id":"typedoc/layer-webgl/src/type-aliases/ContoursOptions","title":"Type Alias: ContoursOptions","description":"ContoursOptions: object","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition":{"id":"typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition","title":"Type Alias: WebGLLayerDefinition","description":"WebGLLayerDefinition: object","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType":{"id":"typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType","title":"Type Alias: WebGLLayerProgramType\\\\","description":"WebGLLayerProgramType\\\\: typeof _WebGLLayerProgramClass","sidebar":"sigmaDocSidebar"},"typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS":{"id":"typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS","title":"Variable: DEFAULT\\\\_CONTOURS\\\\_OPTIONS","description":"const DEFAULT\\\\_CONTOURS\\\\_OPTIONS: ContoursOptions","sidebar":"sigmaDocSidebar"},"typedoc/modules":{"id":"typedoc/modules","title":"@sigma/root","description":"Modules"},"typedoc/node-border/src/functions/createNodeBorderProgram":{"id":"typedoc/node-border/src/functions/createNodeBorderProgram","title":"Function: createNodeBorderProgram()","description":"createNodeBorderProgram\\\\(inputOptions?): NodeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/node-border/src/index":{"id":"typedoc/node-border/src/index","title":"node-border/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/node-border/src/variables/NodeBorderProgram":{"id":"typedoc/node-border/src/variables/NodeBorderProgram","title":"Variable: NodeBorderProgram","description":"const NodeBorderProgram: NodeProgramType","sidebar":"sigmaDocSidebar"},"typedoc/node-image/src/functions/createNodeImageProgram":{"id":"typedoc/node-image/src/functions/createNodeImageProgram","title":"Function: createNodeImageProgram()","description":"createNodeImageProgram\\\\(options?): NodeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/node-image/src/index":{"id":"typedoc/node-image/src/index","title":"node-image/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/node-image/src/variables/NodeImageProgram":{"id":"typedoc/node-image/src/variables/NodeImageProgram","title":"Variable: NodeImageProgram","description":"const NodeImageProgram: NodeProgramType","sidebar":"sigmaDocSidebar"},"typedoc/node-image/src/variables/NodePictogramProgram":{"id":"typedoc/node-image/src/variables/NodePictogramProgram","title":"Variable: NodePictogramProgram","description":"const NodePictogramProgram: NodeProgramType","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/functions/createNodePiechartProgram":{"id":"typedoc/node-piechart/src/functions/createNodePiechartProgram","title":"Function: createNodePiechartProgram()","description":"createNodePiechartProgram\\\\(inputOptions): NodeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/index":{"id":"typedoc/node-piechart/src/index","title":"node-piechart/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions":{"id":"typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions","title":"Interface: CreateNodePiechartProgramOptions\\\\","description":"Type Parameters","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/type-aliases/NodeSliceColor":{"id":"typedoc/node-piechart/src/type-aliases/NodeSliceColor","title":"Type Alias: NodeSliceColor","description":"NodeSliceColor: object \\\\| object \\\\| object","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/type-aliases/NodeSliceValue":{"id":"typedoc/node-piechart/src/type-aliases/NodeSliceValue","title":"Type Alias: NodeSliceValue","description":"NodeSliceValue: object \\\\| object","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/variables/DEFAULT_COLOR":{"id":"typedoc/node-piechart/src/variables/DEFAULT_COLOR","title":"Variable: DEFAULT\\\\_COLOR","description":"const DEFAULT\\\\_COLOR: \\"#000000\\" = \\"#000000\\"","sidebar":"sigmaDocSidebar"},"typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS":{"id":"typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS","title":"Variable: DEFAULT\\\\_CREATE\\\\_NODE\\\\_PIECHART\\\\_OPTIONS","description":"const DEFAULT\\\\_CREATE\\\\_NODE\\\\_PIECHART\\\\_OPTIONS: Omit\\\\","sidebar":"sigmaDocSidebar"},"typedoc/node-square/src/classes/NodeSquareProgram":{"id":"typedoc/node-square/src/classes/NodeSquareProgram","title":"Class: NodeSquareProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/node-square/src/functions/drawSquareNodeHover":{"id":"typedoc/node-square/src/functions/drawSquareNodeHover","title":"Function: drawSquareNodeHover()","description":"drawSquareNodeHover\\\\(context, data, settings): void","sidebar":"sigmaDocSidebar"},"typedoc/node-square/src/functions/drawSquareNodeLabel":{"id":"typedoc/node-square/src/functions/drawSquareNodeLabel","title":"Function: drawSquareNodeLabel()","description":"drawSquareNodeLabel\\\\(context, data, settings): void","sidebar":"sigmaDocSidebar"},"typedoc/node-square/src/index":{"id":"typedoc/node-square/src/index","title":"node-square/src","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/classes/Camera":{"id":"typedoc/sigma/src/classes/Camera","title":"Class: Camera","description":"Camera class","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/classes/MouseCaptor":{"id":"typedoc/sigma/src/classes/MouseCaptor","title":"Class: MouseCaptor\\\\","description":"Mouse captor class.","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/classes/Sigma":{"id":"typedoc/sigma/src/classes/Sigma","title":"Class: Sigma\\\\","description":"Main class.","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/classes/TouchCaptor":{"id":"typedoc/sigma/src/classes/TouchCaptor","title":"Class: TouchCaptor\\\\","description":"Touch captor class.","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/index":{"id":"typedoc/sigma/src/index","title":"sigma/src","description":"Sigma.js Library Endpoint","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/AbstractEdgeProgram":{"id":"typedoc/sigma/src/rendering/classes/AbstractEdgeProgram","title":"Class: abstract AbstractEdgeProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/AbstractNodeProgram":{"id":"typedoc/sigma/src/rendering/classes/AbstractNodeProgram","title":"Class: abstract AbstractNodeProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/AbstractProgram":{"id":"typedoc/sigma/src/rendering/classes/AbstractProgram","title":"Class: abstract AbstractProgram\\\\","description":"Extended by","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/EdgeLineProgram":{"id":"typedoc/sigma/src/rendering/classes/EdgeLineProgram","title":"Class: EdgeLineProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/EdgeProgram":{"id":"typedoc/sigma/src/rendering/classes/EdgeProgram","title":"Class: abstract EdgeProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/EdgeRectangleProgram":{"id":"typedoc/sigma/src/rendering/classes/EdgeRectangleProgram","title":"Class: EdgeRectangleProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/EdgeTriangleProgram":{"id":"typedoc/sigma/src/rendering/classes/EdgeTriangleProgram","title":"Class: EdgeTriangleProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/NodeCircleProgram":{"id":"typedoc/sigma/src/rendering/classes/NodeCircleProgram","title":"Class: NodeCircleProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/NodePointProgram":{"id":"typedoc/sigma/src/rendering/classes/NodePointProgram","title":"Class: NodePointProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/NodeProgram":{"id":"typedoc/sigma/src/rendering/classes/NodeProgram","title":"Class: abstract NodeProgram\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/classes/Program":{"id":"typedoc/sigma/src/rendering/classes/Program","title":"Class: abstract Program\\\\","description":"Extended by","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram","title":"Function: createEdgeArrowHeadProgram()","description":"createEdgeArrowHeadProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeArrowProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeArrowProgram","title":"Function: createEdgeArrowProgram()","description":"createEdgeArrowProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeClampedProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeClampedProgram","title":"Function: createEdgeClampedProgram()","description":"createEdgeClampedProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram","title":"Function: createEdgeCompoundProgram()","description":"createEdgeCompoundProgram\\\\(programClasses, drawLabel?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram","title":"Function: createEdgeDoubleArrowProgram()","description":"createEdgeDoubleArrowProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram":{"id":"typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram","title":"Function: createEdgeDoubleClampedProgram()","description":"createEdgeDoubleClampedProgram\\\\(inputOptions?): EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/createNodeCompoundProgram":{"id":"typedoc/sigma/src/rendering/functions/createNodeCompoundProgram","title":"Function: createNodeCompoundProgram()","description":"createNodeCompoundProgram\\\\(programClasses, drawLabel?, drawHover?): NodeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/drawDiscNodeHover":{"id":"typedoc/sigma/src/rendering/functions/drawDiscNodeHover","title":"Function: drawDiscNodeHover()","description":"drawDiscNodeHover\\\\(context, data, settings): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/drawDiscNodeLabel":{"id":"typedoc/sigma/src/rendering/functions/drawDiscNodeLabel","title":"Function: drawDiscNodeLabel()","description":"drawDiscNodeLabel\\\\(context, data, settings): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel":{"id":"typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel","title":"Function: drawStraightEdgeLabel()","description":"drawStraightEdgeLabel\\\\(context, edgeData, sourceData, targetData, settings): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/getAttributeItemsCount":{"id":"typedoc/sigma/src/rendering/functions/getAttributeItemsCount","title":"Function: getAttributeItemsCount()","description":"getAttributeItemsCount(attr): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/getAttributesItemsCount":{"id":"typedoc/sigma/src/rendering/functions/getAttributesItemsCount","title":"Function: getAttributesItemsCount()","description":"getAttributesItemsCount(attrs): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/killProgram":{"id":"typedoc/sigma/src/rendering/functions/killProgram","title":"Function: killProgram()","description":"killProgram(namedParameters): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/loadFragmentShader":{"id":"typedoc/sigma/src/rendering/functions/loadFragmentShader","title":"Function: loadFragmentShader()","description":"loadFragmentShader(gl, source): WebGLShader","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/loadProgram":{"id":"typedoc/sigma/src/rendering/functions/loadProgram","title":"Function: loadProgram()","description":"loadProgram(gl, shaders): WebGLProgram","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/loadVertexShader":{"id":"typedoc/sigma/src/rendering/functions/loadVertexShader","title":"Function: loadVertexShader()","description":"loadVertexShader(gl, source): WebGLShader","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/functions/numberToGLSLFloat":{"id":"typedoc/sigma/src/rendering/functions/numberToGLSLFloat","title":"Function: numberToGLSLFloat()","description":"numberToGLSLFloat(n): string","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/index":{"id":"typedoc/sigma/src/rendering/index","title":"sigma/src/rendering","description":"Index","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition":{"id":"typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition","title":"Interface: InstancedProgramDefinition\\\\","description":"Extends","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification":{"id":"typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification","title":"Interface: ProgramAttributeSpecification","description":"Properties","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/interfaces/ProgramDefinition":{"id":"typedoc/sigma/src/rendering/interfaces/ProgramDefinition","title":"Interface: ProgramDefinition\\\\","description":"Extended by","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/interfaces/ProgramInfo":{"id":"typedoc/sigma/src/rendering/interfaces/ProgramInfo","title":"Interface: ProgramInfo\\\\","description":"Type Parameters","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions":{"id":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions","title":"Type Alias: CreateEdgeArrowHeadProgramOptions","description":"CreateEdgeArrowHeadProgramOptions: object","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions":{"id":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions","title":"Type Alias: CreateEdgeClampedProgramOptions","description":"CreateEdgeClampedProgramOptions: Pick\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions":{"id":"typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions","title":"Type Alias: CreateEdgeDoubleClampedProgramOptions","description":"CreateEdgeDoubleClampedProgramOptions: Pick\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction":{"id":"typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction","title":"Type Alias: EdgeLabelDrawingFunction()\\\\","description":"EdgeLabelDrawingFunction\\\\: (context, edgeData, sourceData, targetData, settings) => void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/EdgeProgramType":{"id":"typedoc/sigma/src/rendering/type-aliases/EdgeProgramType","title":"Type Alias: EdgeProgramType\\\\","description":"EdgeProgramType\\\\: typeof _EdgeProgramClass","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction":{"id":"typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction","title":"Type Alias: NodeHoverDrawingFunction()\\\\","description":"NodeHoverDrawingFunction\\\\: (context, data, settings) => void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction":{"id":"typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction","title":"Type Alias: NodeLabelDrawingFunction()\\\\","description":"NodeLabelDrawingFunction\\\\: (context, data, settings) => void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/NodeProgramType":{"id":"typedoc/sigma/src/rendering/type-aliases/NodeProgramType","title":"Type Alias: NodeProgramType\\\\","description":"NodeProgramType\\\\: typeof _NodeProgramClass","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/type-aliases/ProgramType":{"id":"typedoc/sigma/src/rendering/type-aliases/ProgramType","title":"Type Alias: ProgramType\\\\","description":"ProgramType\\\\: typeof _ProgramClass","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS":{"id":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS","title":"Variable: DEFAULT\\\\_EDGE\\\\_ARROW\\\\_HEAD\\\\_PROGRAM\\\\_OPTIONS","description":"const DEFAULT\\\\_EDGE\\\\_ARROW\\\\_HEAD\\\\_PROGRAM\\\\_OPTIONS: CreateEdgeArrowHeadProgramOptions","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS":{"id":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS","title":"Variable: DEFAULT\\\\_EDGE\\\\_CLAMPED\\\\_PROGRAM\\\\_OPTIONS","description":"const DEFAULT\\\\_EDGE\\\\_CLAMPED\\\\_PROGRAM\\\\_OPTIONS: CreateEdgeClampedProgramOptions","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS":{"id":"typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS","title":"Variable: DEFAULT\\\\_EDGE\\\\_DOUBLE\\\\_CLAMPED\\\\_PROGRAM\\\\_OPTIONS","description":"const DEFAULT\\\\_EDGE\\\\_DOUBLE\\\\_CLAMPED\\\\_PROGRAM\\\\_OPTIONS: CreateEdgeDoubleClampedProgramOptions","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram":{"id":"typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram","title":"Variable: EdgeArrowHeadProgram","description":"const EdgeArrowHeadProgram: EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/EdgeArrowProgram":{"id":"typedoc/sigma/src/rendering/variables/EdgeArrowProgram","title":"Variable: EdgeArrowProgram","description":"const EdgeArrowProgram: EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/EdgeClampedProgram":{"id":"typedoc/sigma/src/rendering/variables/EdgeClampedProgram","title":"Variable: EdgeClampedProgram","description":"const EdgeClampedProgram: EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram":{"id":"typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram","title":"Variable: EdgeDoubleArrowProgram","description":"const EdgeDoubleArrowProgram: EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram":{"id":"typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram","title":"Variable: EdgeDoubleClampedProgram","description":"const EdgeDoubleClampedProgram: EdgeProgramType\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/functions/resolveSettings":{"id":"typedoc/sigma/src/settings/functions/resolveSettings","title":"Function: resolveSettings()","description":"resolveSettings\\\\(settings): Settings\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/functions/validateSettings":{"id":"typedoc/sigma/src/settings/functions/validateSettings","title":"Function: validateSettings()","description":"validateSettings\\\\(settings): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/index":{"id":"typedoc/sigma/src/settings/index","title":"sigma/src/settings","description":"Sigma.js Settings","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/interfaces/Settings":{"id":"typedoc/sigma/src/settings/interfaces/Settings","title":"Interface: Settings\\\\","description":"Sigma.js settings","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES":{"id":"typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES","title":"Variable: DEFAULT\\\\_EDGE\\\\_PROGRAM\\\\_CLASSES","description":"const DEFAULT\\\\_EDGE\\\\_PROGRAM\\\\_CLASSES: Record\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES":{"id":"typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES","title":"Variable: DEFAULT\\\\_NODE\\\\_PROGRAM\\\\_CLASSES","description":"const DEFAULT\\\\_NODE\\\\_PROGRAM\\\\_CLASSES: Record\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS":{"id":"typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS","title":"Variable: DEFAULT\\\\_SETTINGS","description":"const DEFAULT\\\\_SETTINGS: Settings\\\\","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/animateNodes":{"id":"typedoc/sigma/src/utils/functions/animateNodes","title":"Function: animateNodes()","description":"animateNodes(graph, targets, opts, callback?): () => void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/assign":{"id":"typedoc/sigma/src/utils/functions/assign","title":"Function: assign()","description":"assign\\\\(target, ...objects): T","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/assignDeep":{"id":"typedoc/sigma/src/utils/functions/assignDeep","title":"Function: assignDeep()","description":"assignDeep\\\\(target, ...objects): T","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/colorToArray":{"id":"typedoc/sigma/src/utils/functions/colorToArray","title":"Function: colorToArray()","description":"colorToArray(val, masking?): [number, number, number, number]","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/colorToIndex":{"id":"typedoc/sigma/src/utils/functions/colorToIndex","title":"Function: colorToIndex()","description":"colorToIndex(r, g, b, _a): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/createElement":{"id":"typedoc/sigma/src/utils/functions/createElement","title":"Function: createElement()","description":"createElement\\\\(tag, style?, attributes?): T","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/createNormalizationFunction":{"id":"typedoc/sigma/src/utils/functions/createNormalizationFunction","title":"Function: createNormalizationFunction()","description":"createNormalizationFunction(extent): NormalizationFunction","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/cubicIn":{"id":"typedoc/sigma/src/utils/functions/cubicIn","title":"Function: cubicIn()","description":"cubicIn(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/cubicInOut":{"id":"typedoc/sigma/src/utils/functions/cubicInOut","title":"Function: cubicInOut()","description":"cubicInOut(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/cubicOut":{"id":"typedoc/sigma/src/utils/functions/cubicOut","title":"Function: cubicOut()","description":"cubicOut(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/extend":{"id":"typedoc/sigma/src/utils/functions/extend","title":"Function: extend()","description":"extend\\\\(array, values): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/extractPixel":{"id":"typedoc/sigma/src/utils/functions/extractPixel","title":"Function: extractPixel()","description":"extractPixel(gl, x, y, array): Uint8Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/floatColor":{"id":"typedoc/sigma/src/utils/functions/floatColor","title":"Function: floatColor()","description":"floatColor(val): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/getCorrectionRatio":{"id":"typedoc/sigma/src/utils/functions/getCorrectionRatio","title":"Function: getCorrectionRatio()","description":"getCorrectionRatio(viewportDimensions, graphDimensions): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/getMatrixImpact":{"id":"typedoc/sigma/src/utils/functions/getMatrixImpact","title":"Function: getMatrixImpact()","description":"getMatrixImpact(matrix, cameraState, viewportDimensions): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/getPixelColor":{"id":"typedoc/sigma/src/utils/functions/getPixelColor","title":"Function: getPixelColor()","description":"getPixelColor(gl, frameBuffer, x, y, pixelRatio, downSizingRatio): [number, number, number, number]","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/getPixelRatio":{"id":"typedoc/sigma/src/utils/functions/getPixelRatio","title":"Function: getPixelRatio()","description":"getPixelRatio(): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/graphExtent":{"id":"typedoc/sigma/src/utils/functions/graphExtent","title":"Function: graphExtent()","description":"graphExtent(graph): object","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/identity":{"id":"typedoc/sigma/src/utils/functions/identity","title":"Function: identity()","description":"identity(): Float32Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/indexToColor":{"id":"typedoc/sigma/src/utils/functions/indexToColor","title":"Function: indexToColor()","description":"indexToColor(index): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/isPlainObject":{"id":"typedoc/sigma/src/utils/functions/isPlainObject","title":"Function: isPlainObject()","description":"isPlainObject(value): boolean","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/linear":{"id":"typedoc/sigma/src/utils/functions/linear","title":"Function: linear()","description":"linear(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/matrixFromCamera":{"id":"typedoc/sigma/src/utils/functions/matrixFromCamera","title":"Function: matrixFromCamera()","description":"matrixFromCamera(state, viewportDimensions, graphDimensions, padding, inverse?): Float32Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/multiply":{"id":"typedoc/sigma/src/utils/functions/multiply","title":"Function: multiply()","description":"multiply\\\\(a, b): T","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/multiplyVec2":{"id":"typedoc/sigma/src/utils/functions/multiplyVec2","title":"Function: multiplyVec2()","description":"multiplyVec2(a, b, z): Coordinates","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/parseColor":{"id":"typedoc/sigma/src/utils/functions/parseColor","title":"Function: parseColor()","description":"parseColor(val): RGBAColor","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/quadraticIn":{"id":"typedoc/sigma/src/utils/functions/quadraticIn","title":"Function: quadraticIn()","description":"quadraticIn(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/quadraticInOut":{"id":"typedoc/sigma/src/utils/functions/quadraticInOut","title":"Function: quadraticInOut()","description":"quadraticInOut(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/quadraticOut":{"id":"typedoc/sigma/src/utils/functions/quadraticOut","title":"Function: quadraticOut()","description":"quadraticOut(k): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/rgbaToFloat":{"id":"typedoc/sigma/src/utils/functions/rgbaToFloat","title":"Function: rgbaToFloat()","description":"rgbaToFloat(r, g, b, a, masking?): number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/rotate":{"id":"typedoc/sigma/src/utils/functions/rotate","title":"Function: rotate()","description":"rotate(m, r): Float32Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/scale":{"id":"typedoc/sigma/src/utils/functions/scale","title":"Function: scale()","description":"scale(m, x, y?): Float32Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/translate":{"id":"typedoc/sigma/src/utils/functions/translate","title":"Function: translate()","description":"translate(m, x, y): Float32Array","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/validateGraph":{"id":"typedoc/sigma/src/utils/functions/validateGraph","title":"Function: validateGraph()","description":"validateGraph(graph): void","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/functions/zIndexOrdering":{"id":"typedoc/sigma/src/utils/functions/zIndexOrdering","title":"Function: zIndexOrdering()","description":"zIndexOrdering\\\\(_extent, getter, elements): T[]","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/index":{"id":"typedoc/sigma/src/utils/index","title":"sigma/src/utils","description":"Sigma.js Utils","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/interfaces/AnimateOptions":{"id":"typedoc/sigma/src/utils/interfaces/AnimateOptions","title":"Interface: AnimateOptions","description":"Properties","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/interfaces/NormalizationFunction":{"id":"typedoc/sigma/src/utils/interfaces/NormalizationFunction","title":"Interface: NormalizationFunction()","description":"Factory returning a function normalizing the given node\'s position & size.","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/type-aliases/Easing":{"id":"typedoc/sigma/src/utils/type-aliases/Easing","title":"Type Alias: Easing","description":"Easing: keyof typeof easings \\\\| (k) => number","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS":{"id":"typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS","title":"Variable: ANIMATE\\\\_DEFAULTS","description":"const ANIMATE\\\\_DEFAULTS: object","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/variables/easings":{"id":"typedoc/sigma/src/utils/variables/easings","title":"Variable: easings","description":"const easings: object","sidebar":"sigmaDocSidebar"},"typedoc/sigma/src/utils/variables/HTML_COLORS":{"id":"typedoc/sigma/src/utils/variables/HTML_COLORS","title":"Variable: HTML\\\\_COLORS","description":"const HTML\\\\_COLORS: Record\\\\","sidebar":"sigmaDocSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/01fc1b57.97142600.js b/assets/js/01fc1b57.97142600.js new file mode 100644 index 000000000..a9858a73e --- /dev/null +++ b/assets/js/01fc1b57.97142600.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[698],{430:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>r,default:()=>l,frontMatter:()=>i,metadata:()=>u,toc:()=>d});var s=n(1085),c=n(1184);const i={},r="Function: cubicOut()",u={id:"typedoc/sigma/src/utils/functions/cubicOut",title:"Function: cubicOut()",description:"cubicOut(k): number",source:"@site/docs/typedoc/sigma/src/utils/functions/cubicOut.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/cubicOut",permalink:"/docs/typedoc/sigma/src/utils/functions/cubicOut",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/cubicOut.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"cubicInOut",permalink:"/docs/typedoc/sigma/src/utils/functions/cubicInOut"},next:{title:"extend",permalink:"/docs/typedoc/sigma/src/utils/functions/extend"}},o={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-cubicout",children:"Function: cubicOut()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"cubicOut"}),"(",(0,s.jsx)(t.code,{children:"k"}),"): ",(0,s.jsx)(t.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"k"}),": ",(0,s.jsx)(t.code,{children:"number"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"number"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/easings.ts#L14",children:"sigma/src/utils/easings.ts:14"})})]})}function l(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>u});var s=n(4041);const c={},i=s.createContext(c);function r(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function u(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/051cdbdf.b68048dd.js b/assets/js/051cdbdf.b68048dd.js new file mode 100644 index 000000000..5101ceea5 --- /dev/null +++ b/assets/js/051cdbdf.b68048dd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5890],{7153:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>u});var s=n(1085),r=n(1184);const i={},c="Function: getAttributesItemsCount()",o={id:"typedoc/sigma/src/rendering/functions/getAttributesItemsCount",title:"Function: getAttributesItemsCount()",description:"getAttributesItemsCount(attrs): number",source:"@site/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/getAttributesItemsCount",permalink:"/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"getAttributeItemsCount",permalink:"/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCount"},next:{title:"killProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/killProgram"}},d={},u=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-getattributesitemscount",children:"Function: getAttributesItemsCount()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"getAttributesItemsCount"}),"(",(0,s.jsx)(t.code,{children:"attrs"}),"): ",(0,s.jsx)(t.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"attrs"}),": ",(0,s.jsx)(t.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,s.jsx)(t.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"number"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L4",children:"sigma/src/rendering/utils.ts:4"})})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>o});var s=n(4041);const r={},i=s.createContext(r);function c(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0749eaea.e12a9c00.js b/assets/js/0749eaea.e12a9c00.js new file mode 100644 index 000000000..bec30b875 --- /dev/null +++ b/assets/js/0749eaea.e12a9c00.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[777],{6112:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var n=i(1085),t=i(1184);const a={},c="Variable: easings",r={id:"typedoc/sigma/src/utils/variables/easings",title:"Variable: easings",description:"const easings: object",source:"@site/docs/typedoc/sigma/src/utils/variables/easings.md",sourceDirName:"typedoc/sigma/src/utils/variables",slug:"/typedoc/sigma/src/utils/variables/easings",permalink:"/docs/typedoc/sigma/src/utils/variables/easings",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/variables/easings.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"ANIMATE_DEFAULTS",permalink:"/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS"},next:{title:"HTML_COLORS",permalink:"/docs/typedoc/sigma/src/utils/variables/HTML_COLORS"}},o={},d=[{value:"Index Signature",id:"index-signature",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"variable-easings",children:"Variable: easings"})}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.code,{children:"const"})," ",(0,n.jsx)(s.strong,{children:"easings"}),": ",(0,n.jsx)(s.code,{children:"object"})]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"index-signature",children:"Index Signature"}),"\n",(0,n.jsxs)(s.p,{children:["[",(0,n.jsx)(s.code,{children:"key"}),": ",(0,n.jsx)(s.code,{children:"string"}),"]: (",(0,n.jsx)(s.code,{children:"k"}),") => ",(0,n.jsx)(s.code,{children:"number"})]}),"\n",(0,n.jsx)(s.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/easings.ts#L21",children:"sigma/src/utils/easings.ts:21"})})]})}function u(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,s,i)=>{i.d(s,{R:()=>c,x:()=>r});var n=i(4041);const t={},a=n.createContext(t);function c(e){const s=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function r(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/08221387.0a6ddb61.js b/assets/js/08221387.0a6ddb61.js new file mode 100644 index 000000000..db8dc9a1a --- /dev/null +++ b/assets/js/08221387.0a6ddb61.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2248],{5488:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>g,frontMatter:()=>t,metadata:()=>c,toc:()=>a});var s=n(1085),d=n(1184);const t={},o="Function: createEdgeDoubleArrowProgram()",c={id:"typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram",title:"Function: createEdgeDoubleArrowProgram()",description:"createEdgeDoubleArrowProgram\\(inputOptions?): EdgeProgramType\\",source:"@site/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createEdgeCompoundProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram"},next:{title:"createEdgeDoubleClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram"}},i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-createedgedoublearrowprogram",children:"Function: createEdgeDoubleArrowProgram()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"createEdgeDoubleArrowProgram"}),"<",(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:"inputOptions"}),"?): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"N"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"E"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"G"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"inputOptions?"}),": ",(0,s.jsx)(r.code,{children:"Partial"}),"<",(0,s.jsx)(r.code,{children:"Omit"}),"<",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions",children:(0,s.jsx)(r.code,{children:"CreateEdgeArrowHeadProgramOptions"})}),", ",(0,s.jsx)(r.code,{children:'"extremity"'}),">>"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-double-arrow/index.ts#L7",children:"sigma/src/rendering/programs/edge-double-arrow/index.ts:7"})})]})}function g(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>c});var s=n(4041);const d={},t=s.createContext(d);function o(e){const r=s.useContext(t);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(d):e.components||d:o(e.components),s.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/08d225a5.38a8e1a5.js b/assets/js/08d225a5.38a8e1a5.js new file mode 100644 index 000000000..886fb3a43 --- /dev/null +++ b/assets/js/08d225a5.38a8e1a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7980],{2403:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>g,frontMatter:()=>t,metadata:()=>i,toc:()=>o});var s=n(1085),d=n(1184);const t={},c="Function: createEdgeClampedProgram()",i={id:"typedoc/sigma/src/rendering/functions/createEdgeClampedProgram",title:"Function: createEdgeClampedProgram()",description:"createEdgeClampedProgram\\(inputOptions?): EdgeProgramType\\",source:"@site/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createEdgeArrowProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram"},next:{title:"createEdgeCompoundProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram"}},a={},o=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-createedgeclampedprogram",children:"Function: createEdgeClampedProgram()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"createEdgeClampedProgram"}),"<",(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:"inputOptions"}),"?): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"N"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"E"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"G"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"inputOptions?"}),": ",(0,s.jsx)(r.code,{children:"Partial"}),"<",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions",children:(0,s.jsx)(r.code,{children:"CreateEdgeClampedProgramOptions"})}),">"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-clamped/index.ts#L30",children:"sigma/src/rendering/programs/edge-clamped/index.ts:30"})})]})}function g(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>i});var s=n(4041);const d={},t=s.createContext(d);function c(e){const r=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:c(e.components),s.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0a086622.8bbcd6c6.js b/assets/js/0a086622.8bbcd6c6.js new file mode 100644 index 000000000..c2d5adc1f --- /dev/null +++ b/assets/js/0a086622.8bbcd6c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5414],{5017:(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:"sigmaDocSidebar",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",header:"header",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.header,{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 defines the visual representation of the node, such as ",(0,t.jsx)(n.code,{children:"'circle'"}),", ",(0,t.jsx)(n.code,{children:"'square'"}),", etc. If not specified, the ",(0,t.jsx)(n.code,{children:"defaultNodeType"})," setting will be used instead. The type value must match a key in the ",(0,t.jsx)(n.code,{children:"nodeProgramClasses"})," collection from the settings. Please check the ",(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/main/packages/storybook/stories/1-core-features/5-custom-rendering/index.ts",children:(0,t.jsx)(n.code,{children:"custom-rendering"})})," story to see an actual example."]}),"\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",(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 defines the visual representation of the edge, such as ",(0,t.jsx)(n.code,{children:"'line'"}),", ",(0,t.jsx)(n.code,{children:"'arrow'"}),", ",(0,t.jsx)(n.code,{children:"'curve''"}),", etc. If not specified, the ",(0,t.jsx)(n.code,{children:"defaultEdgeType"})," setting will be used instead. The type value must match a key in the ",(0,t.jsx)(n.code,{children:"edgeProgramClasses"})," collection from the settings. Please check the ",(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/main/packages/storybook/stories/3-additional-packages/edge-curve/parallel-edges.ts",children:(0,t.jsx)(n.code,{children:"parallel-edges"})})," story to see an actual example."]}),"\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/0d583109.a9aaf46a.js b/assets/js/0d583109.a9aaf46a.js new file mode 100644 index 000000000..2a3dc0985 --- /dev/null +++ b/assets/js/0d583109.a9aaf46a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4829],{8314:(e,r,c)=>{c.r(r),c.d(r,{assets:()=>o,contentTitle:()=>t,default:()=>u,frontMatter:()=>d,metadata:()=>i,toc:()=>a});var n=c(1085),s=c(1184);const d={},t="Function: createEdgeCurveProgram()",i={id:"typedoc/edge-curve/src/functions/createEdgeCurveProgram",title:"Function: createEdgeCurveProgram()",description:"createEdgeCurveProgram\\(inputOptions?): EdgeProgramType\\",source:"@site/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram.md",sourceDirName:"typedoc/edge-curve/src/functions",slug:"/typedoc/edge-curve/src/functions/createEdgeCurveProgram",permalink:"/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createDrawCurvedEdgeLabel",permalink:"/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel"},next:{title:"indexParallelEdgesIndex",permalink:"/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex"}},o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"function-createedgecurveprogram",children:"Function: createEdgeCurveProgram()"})}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"createEdgeCurveProgram"}),"<",(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:"inputOptions"}),"?): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,n.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"inputOptions?"}),": ",(0,n.jsx)(r.code,{children:"Partial"}),"<",(0,n.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",children:(0,n.jsx)(r.code,{children:"CreateEdgeCurveProgramOptions"})}),"<",(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.h2,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,n.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/edge-curve/src/factory.ts#L13",children:"edge-curve/src/factory.ts:13"})})]})}function u(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,r,c)=>{c.d(r,{R:()=>t,x:()=>i});var n=c(4041);const s={},d=n.createContext(s);function t(e){const r=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:t(e.components),n.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0e622558.5038b6fb.js b/assets/js/0e622558.5038b6fb.js new file mode 100644 index 000000000..87ed51d29 --- /dev/null +++ b/assets/js/0e622558.5038b6fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7050],{2612:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>h,frontMatter:()=>d,metadata:()=>t,toc:()=>l});var r=s(1085),i=s(1184);const d={title:"Migrating from v2 to v3",sidebar_position:9},a=void 0,t={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:9,frontMatter:{title:"Migrating from v2 to v3",sidebar_position:9},sidebar:"sigmaDocSidebar",previous:{title:"Publishing new versions",permalink:"/docs/advanced/publish"},next:{title:"Typedoc API",permalink:"/docs/category/typedoc-api"}},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:()=>a,x:()=>t});var r=s(4041);const i={},d=r.createContext(i);function a(e){const n=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0fda29a5.717a6afc.js b/assets/js/0fda29a5.717a6afc.js new file mode 100644 index 000000000..43ca50588 --- /dev/null +++ b/assets/js/0fda29a5.717a6afc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4317],{6302:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>o,frontMatter:()=>l,metadata:()=>r,toc:()=>t});var s=i(1085),d=i(1184);const l={},c="Interface: Settings",r={id:"typedoc/sigma/src/settings/interfaces/Settings",title:"Interface: Settings\\",description:"Sigma.js settings",source:"@site/docs/typedoc/sigma/src/settings/interfaces/Settings.md",sourceDirName:"typedoc/sigma/src/settings/interfaces",slug:"/typedoc/sigma/src/settings/interfaces/Settings",permalink:"/docs/typedoc/sigma/src/settings/interfaces/Settings",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/settings/interfaces/Settings.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"sigma/src/settings",permalink:"/docs/typedoc/sigma/src/settings/"},next:{title:"DEFAULT_EDGE_PROGRAM_CLASSES",permalink:"/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES"}},a={},t=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"allowInvalidContainer",id:"allowinvalidcontainer",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"antiAliasingFeather",id:"antialiasingfeather",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"autoCenter",id:"autocenter",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"autoRescale",id:"autorescale",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"cameraPanBoundaries",id:"camerapanboundaries",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"defaultDrawEdgeLabel",id:"defaultdrawedgelabel",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"defaultDrawNodeHover",id:"defaultdrawnodehover",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"defaultDrawNodeLabel",id:"defaultdrawnodelabel",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"defaultEdgeColor",id:"defaultedgecolor",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"defaultEdgeType",id:"defaultedgetype",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"defaultNodeColor",id:"defaultnodecolor",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"defaultNodeType",id:"defaultnodetype",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"doubleClickTimeout",id:"doubleclicktimeout",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"doubleClickZoomingDuration",id:"doubleclickzoomingduration",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"doubleClickZoomingRatio",id:"doubleclickzoomingratio",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"draggedEventsTolerance",id:"draggedeventstolerance",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"dragTimeout",id:"dragtimeout",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"edgeLabelColor",id:"edgelabelcolor",level:3},{value:"Defined in",id:"defined-in-17",level:4},{value:"edgeLabelFont",id:"edgelabelfont",level:3},{value:"Defined in",id:"defined-in-18",level:4},{value:"edgeLabelSize",id:"edgelabelsize",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"edgeLabelWeight",id:"edgelabelweight",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"edgeProgramClasses",id:"edgeprogramclasses",level:3},{value:"Index Signature",id:"index-signature",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"edgeReducer",id:"edgereducer",level:3},{value:"Defined in",id:"defined-in-22",level:4},{value:"enableCameraPanning",id:"enablecamerapanning",level:3},{value:"Defined in",id:"defined-in-23",level:4},{value:"enableCameraRotation",id:"enablecamerarotation",level:3},{value:"Defined in",id:"defined-in-24",level:4},{value:"enableCameraZooming",id:"enablecamerazooming",level:3},{value:"Defined in",id:"defined-in-25",level:4},{value:"enableEdgeEvents",id:"enableedgeevents",level:3},{value:"Defined in",id:"defined-in-26",level:4},{value:"hideEdgesOnMove",id:"hideedgesonmove",level:3},{value:"Defined in",id:"defined-in-27",level:4},{value:"hideLabelsOnMove",id:"hidelabelsonmove",level:3},{value:"Defined in",id:"defined-in-28",level:4},{value:"inertiaDuration",id:"inertiaduration",level:3},{value:"Defined in",id:"defined-in-29",level:4},{value:"inertiaRatio",id:"inertiaratio",level:3},{value:"Defined in",id:"defined-in-30",level:4},{value:"itemSizesReference",id:"itemsizesreference",level:3},{value:"Defined in",id:"defined-in-31",level:4},{value:"labelColor",id:"labelcolor",level:3},{value:"Defined in",id:"defined-in-32",level:4},{value:"labelDensity",id:"labeldensity",level:3},{value:"Defined in",id:"defined-in-33",level:4},{value:"labelFont",id:"labelfont",level:3},{value:"Defined in",id:"defined-in-34",level:4},{value:"labelGridCellSize",id:"labelgridcellsize",level:3},{value:"Defined in",id:"defined-in-35",level:4},{value:"labelRenderedSizeThreshold",id:"labelrenderedsizethreshold",level:3},{value:"Defined in",id:"defined-in-36",level:4},{value:"labelSize",id:"labelsize",level:3},{value:"Defined in",id:"defined-in-37",level:4},{value:"labelWeight",id:"labelweight",level:3},{value:"Defined in",id:"defined-in-38",level:4},{value:"maxCameraRatio",id:"maxcameraratio",level:3},{value:"Defined in",id:"defined-in-39",level:4},{value:"minCameraRatio",id:"mincameraratio",level:3},{value:"Defined in",id:"defined-in-40",level:4},{value:"minEdgeThickness",id:"minedgethickness",level:3},{value:"Defined in",id:"defined-in-41",level:4},{value:"nodeHoverProgramClasses",id:"nodehoverprogramclasses",level:3},{value:"Index Signature",id:"index-signature-1",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"nodeProgramClasses",id:"nodeprogramclasses",level:3},{value:"Index Signature",id:"index-signature-2",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"nodeReducer",id:"nodereducer",level:3},{value:"Defined in",id:"defined-in-44",level:4},{value:"renderEdgeLabels",id:"renderedgelabels",level:3},{value:"Defined in",id:"defined-in-45",level:4},{value:"renderLabels",id:"renderlabels",level:3},{value:"Defined in",id:"defined-in-46",level:4},{value:"stagePadding",id:"stagepadding",level:3},{value:"Defined in",id:"defined-in-47",level:4},{value:"tapMoveTolerance",id:"tapmovetolerance",level:3},{value:"Defined in",id:"defined-in-48",level:4},{value:"zIndex",id:"zindex",level:3},{value:"Defined in",id:"defined-in-49",level:4},{value:"zoomDuration",id:"zoomduration",level:3},{value:"Defined in",id:"defined-in-50",level:4},{value:"zoomingRatio",id:"zoomingratio",level:3},{value:"Defined in",id:"defined-in-51",level:4},{value:"zoomToSizeRatioFunction()",id:"zoomtosizeratiofunction",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-52",level:4}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"interface-settingsn-e-g",children:"Interface: Settings"})}),"\n",(0,s.jsx)(n.h1,{id:"sigmajs-settings",children:"Sigma.js settings"}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"N"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"E"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"G"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(n.h3,{id:"allowinvalidcontainer",children:"allowInvalidContainer"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"allowInvalidContainer"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L102",children:"sigma/src/settings.ts:102"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"antialiasingfeather",children:"antiAliasingFeather"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"antiAliasingFeather"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L60",children:"sigma/src/settings.ts:60"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"autocenter",children:"autoCenter"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"autoCenter"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L78",children:"sigma/src/settings.ts:78"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"autorescale",children:"autoRescale"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"autoRescale"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L77",children:"sigma/src/settings.ts:77"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"camerapanboundaries",children:"cameraPanBoundaries"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"cameraPanBoundaries"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"true"})," | ",(0,s.jsx)(n.code,{children:"AtLeastOne"}),"<",(0,s.jsx)(n.code,{children:"object"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L96",children:"sigma/src/settings.ts:96"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultdrawedgelabel",children:"defaultDrawEdgeLabel"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultDrawEdgeLabel"}),": ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction",children:(0,s.jsx)(n.code,{children:"EdgeLabelDrawingFunction"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L56",children:"sigma/src/settings.ts:56"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultdrawnodehover",children:"defaultDrawNodeHover"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultDrawNodeHover"}),": ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction",children:(0,s.jsx)(n.code,{children:"NodeHoverDrawingFunction"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L58",children:"sigma/src/settings.ts:58"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultdrawnodelabel",children:"defaultDrawNodeLabel"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultDrawNodeLabel"}),": ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction",children:(0,s.jsx)(n.code,{children:"NodeLabelDrawingFunction"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L57",children:"sigma/src/settings.ts:57"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultedgecolor",children:"defaultEdgeColor"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultEdgeColor"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L45",children:"sigma/src/settings.ts:45"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultedgetype",children:"defaultEdgeType"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultEdgeType"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L46",children:"sigma/src/settings.ts:46"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultnodecolor",children:"defaultNodeColor"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultNodeColor"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L43",children:"sigma/src/settings.ts:43"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"defaultnodetype",children:"defaultNodeType"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"defaultNodeType"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L44",children:"sigma/src/settings.ts:44"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"doubleclicktimeout",children:"doubleClickTimeout"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"doubleClickTimeout"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L69",children:"sigma/src/settings.ts:69"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"doubleclickzoomingduration",children:"doubleClickZoomingDuration"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"doubleClickZoomingDuration"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L71",children:"sigma/src/settings.ts:71"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"doubleclickzoomingratio",children:"doubleClickZoomingRatio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"doubleClickZoomingRatio"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L70",children:"sigma/src/settings.ts:70"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"draggedeventstolerance",children:"draggedEventsTolerance"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"draggedEventsTolerance"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L64",children:"sigma/src/settings.ts:64"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"dragtimeout",children:"dragTimeout"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"dragTimeout"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L63",children:"sigma/src/settings.ts:63"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgelabelcolor",children:"edgeLabelColor"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeLabelColor"}),": ",(0,s.jsx)(n.code,{children:"object"})," | ",(0,s.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L54",children:"sigma/src/settings.ts:54"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgelabelfont",children:"edgeLabelFont"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeLabelFont"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L51",children:"sigma/src/settings.ts:51"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgelabelsize",children:"edgeLabelSize"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeLabelSize"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L52",children:"sigma/src/settings.ts:52"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgelabelweight",children:"edgeLabelWeight"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeLabelWeight"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L53",children:"sigma/src/settings.ts:53"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgeprogramclasses",children:"edgeProgramClasses"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeProgramClasses"}),": ",(0,s.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"index-signature",children:"Index Signature"}),"\n",(0,s.jsxs)(n.p,{children:["[",(0,s.jsx)(n.code,{children:"type"}),": ",(0,s.jsx)(n.code,{children:"string"}),"]: ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(n.code,{children:"EdgeProgramType"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L107",children:"sigma/src/settings.ts:107"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"edgereducer",children:"edgeReducer"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"edgeReducer"}),": ",(0,s.jsx)(n.code,{children:"null"})," | (",(0,s.jsx)(n.code,{children:"edge"}),", ",(0,s.jsx)(n.code,{children:"data"}),") => ",(0,s.jsx)(n.code,{children:"Partial"}),"<",(0,s.jsx)(n.code,{children:"DisplayData"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L87",children:"sigma/src/settings.ts:87"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"enablecamerapanning",children:"enableCameraPanning"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"enableCameraPanning"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L94",children:"sigma/src/settings.ts:94"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"enablecamerarotation",children:"enableCameraRotation"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"enableCameraRotation"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L95",children:"sigma/src/settings.ts:95"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"enablecamerazooming",children:"enableCameraZooming"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"enableCameraZooming"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L93",children:"sigma/src/settings.ts:93"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"enableedgeevents",children:"enableEdgeEvents"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"enableEdgeEvents"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L40",children:"sigma/src/settings.ts:40"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"hideedgesonmove",children:"hideEdgesOnMove"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"hideEdgesOnMove"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L36",children:"sigma/src/settings.ts:36"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"hidelabelsonmove",children:"hideLabelsOnMove"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"hideLabelsOnMove"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L37",children:"sigma/src/settings.ts:37"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"inertiaduration",children:"inertiaDuration"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"inertiaDuration"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L65",children:"sigma/src/settings.ts:65"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"inertiaratio",children:"inertiaRatio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"inertiaRatio"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L66",children:"sigma/src/settings.ts:66"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"itemsizesreference",children:"itemSizesReference"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"itemSizesReference"}),": ",(0,s.jsx)(n.code,{children:'"screen"'})," | ",(0,s.jsx)(n.code,{children:'"positions"'})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L76",children:"sigma/src/settings.ts:76"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelcolor",children:"labelColor"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelColor"}),": ",(0,s.jsx)(n.code,{children:"object"})," | ",(0,s.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L50",children:"sigma/src/settings.ts:50"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labeldensity",children:"labelDensity"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelDensity"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L81",children:"sigma/src/settings.ts:81"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelfont",children:"labelFont"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelFont"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L47",children:"sigma/src/settings.ts:47"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelgridcellsize",children:"labelGridCellSize"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelGridCellSize"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L82",children:"sigma/src/settings.ts:82"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelrenderedsizethreshold",children:"labelRenderedSizeThreshold"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelRenderedSizeThreshold"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L83",children:"sigma/src/settings.ts:83"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelsize",children:"labelSize"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelSize"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L48",children:"sigma/src/settings.ts:48"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"labelweight",children:"labelWeight"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"labelWeight"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L49",children:"sigma/src/settings.ts:49"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"maxcameraratio",children:"maxCameraRatio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"maxCameraRatio"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-39",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L92",children:"sigma/src/settings.ts:92"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"mincameraratio",children:"minCameraRatio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"minCameraRatio"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-40",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L91",children:"sigma/src/settings.ts:91"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"minedgethickness",children:"minEdgeThickness"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"minEdgeThickness"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-41",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L59",children:"sigma/src/settings.ts:59"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"nodehoverprogramclasses",children:"nodeHoverProgramClasses"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"nodeHoverProgramClasses"}),": ",(0,s.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"index-signature-1",children:"Index Signature"}),"\n",(0,s.jsxs)(n.p,{children:["[",(0,s.jsx)(n.code,{children:"type"}),": ",(0,s.jsx)(n.code,{children:"string"}),"]: ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",children:(0,s.jsx)(n.code,{children:"NodeProgramType"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-42",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L106",children:"sigma/src/settings.ts:106"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"nodeprogramclasses",children:"nodeProgramClasses"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"nodeProgramClasses"}),": ",(0,s.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"index-signature-2",children:"Index Signature"}),"\n",(0,s.jsxs)(n.p,{children:["[",(0,s.jsx)(n.code,{children:"type"}),": ",(0,s.jsx)(n.code,{children:"string"}),"]: ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",children:(0,s.jsx)(n.code,{children:"NodeProgramType"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-43",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L105",children:"sigma/src/settings.ts:105"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"nodereducer",children:"nodeReducer"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"nodeReducer"}),": ",(0,s.jsx)(n.code,{children:"null"})," | (",(0,s.jsx)(n.code,{children:"node"}),", ",(0,s.jsx)(n.code,{children:"data"}),") => ",(0,s.jsx)(n.code,{children:"Partial"}),"<",(0,s.jsx)(n.code,{children:"NodeDisplayData"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-44",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L86",children:"sigma/src/settings.ts:86"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"renderedgelabels",children:"renderEdgeLabels"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"renderEdgeLabels"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-45",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L39",children:"sigma/src/settings.ts:39"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"renderlabels",children:"renderLabels"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"renderLabels"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-46",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L38",children:"sigma/src/settings.ts:38"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"stagepadding",children:"stagePadding"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"stagePadding"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-47",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L55",children:"sigma/src/settings.ts:55"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"tapmovetolerance",children:"tapMoveTolerance"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"tapMoveTolerance"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-48",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L72",children:"sigma/src/settings.ts:72"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"zindex",children:"zIndex"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"zIndex"}),": ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-49",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L90",children:"sigma/src/settings.ts:90"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"zoomduration",children:"zoomDuration"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"zoomDuration"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-50",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L67",children:"sigma/src/settings.ts:67"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"zoomingratio",children:"zoomingRatio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"zoomingRatio"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-51",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L68",children:"sigma/src/settings.ts:68"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"zoomtosizeratiofunction",children:"zoomToSizeRatioFunction()"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"zoomToSizeRatioFunction"}),": (",(0,s.jsx)(n.code,{children:"ratio"}),") => ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"ratio"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n",(0,s.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"number"})}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-52",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L75",children:"sigma/src/settings.ts:75"})})]})}function o(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>c,x:()=>r});var s=i(4041);const d={},l=s.createContext(d);function c(e){const n=s.useContext(l);return s.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(d):e.components||d:c(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/131ebafd.bfcf85f3.js b/assets/js/131ebafd.bfcf85f3.js new file mode 100644 index 000000000..bde23cea8 --- /dev/null +++ b/assets/js/131ebafd.bfcf85f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3636],{2198:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>g,frontMatter:()=>d,metadata:()=>c,toc:()=>o});var t=r(1085),s=r(1184);const d={},i="Function: loadFragmentShader()",c={id:"typedoc/sigma/src/rendering/functions/loadFragmentShader",title:"Function: loadFragmentShader()",description:"loadFragmentShader(gl, source): WebGLShader",source:"@site/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/loadFragmentShader",permalink:"/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"killProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/killProgram"},next:{title:"loadProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/loadProgram"}},a={},o=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-loadfragmentshader",children:"Function: loadFragmentShader()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"loadFragmentShader"}),"(",(0,t.jsx)(n.code,{children:"gl"}),", ",(0,t.jsx)(n.code,{children:"source"}),"): ",(0,t.jsx)(n.code,{children:"WebGLShader"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"gl"}),": ",(0,t.jsx)(n.code,{children:"WebGLRenderingContext"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"source"}),": ",(0,t.jsx)(n.code,{children:"string"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"WebGLShader"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L77",children:"sigma/src/rendering/utils.ts:77"})})]})}function g(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>i,x:()=>c});var t=r(4041);const s={},d=t.createContext(s);function i(e){const n=t.useContext(d);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/13bd2db1.944fc494.js b/assets/js/13bd2db1.944fc494.js new file mode 100644 index 000000000..4e8dd1d2d --- /dev/null +++ b/assets/js/13bd2db1.944fc494.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8828],{5770:(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:8},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:8,frontMatter:{title:"Publishing new versions",sidebar_position:8},sidebar:"sigmaDocSidebar",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/1405519d.92430bdd.js b/assets/js/1405519d.92430bdd.js new file mode 100644 index 000000000..38a935671 --- /dev/null +++ b/assets/js/1405519d.92430bdd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9200],{2523:(e,t,c)=>{c.r(t),c.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>p,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var n=c(1085),s=c(1184);const r={},i="Variable: DEFAULT_COLOR",o={id:"typedoc/node-piechart/src/variables/DEFAULT_COLOR",title:"Variable: DEFAULT\\_COLOR",description:'const DEFAULT\\_COLOR: "#000000" = "#000000"',source:"@site/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR.md",sourceDirName:"typedoc/node-piechart/src/variables",slug:"/typedoc/node-piechart/src/variables/DEFAULT_COLOR",permalink:"/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeSliceValue",permalink:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue"},next:{title:"DEFAULT_CREATE_NODE_PIECHART_OPTIONS",permalink:"/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS"}},a={},d=[{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"variable-default_color",children:"Variable: DEFAULT_COLOR"})}),"\n",(0,n.jsxs)(t.blockquote,{children:["\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"const"})," ",(0,n.jsx)(t.strong,{children:"DEFAULT_COLOR"}),": ",(0,n.jsx)(t.code,{children:'"#000000"'})," = ",(0,n.jsx)(t.code,{children:'"#000000"'})]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L24",children:"node-piechart/src/utils.ts:24"})})]})}function p(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,t,c)=>{c.d(t,{R:()=>i,x:()=>o});var n=c(4041);const s={},r=n.createContext(s);function i(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.862fe504.js b/assets/js/14eb3368.862fe504.js new file mode 100644 index 000000000..fd84ff159 --- /dev/null +++ b/assets/js/14eb3368.862fe504.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6969],{3021:(e,t,n)=>{n.d(t,{A:()=>g});n(4041);var s=n(4357),i=n(7473),r=n(3348),a=n(4271),l=n(2436),o=n(9082),c=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,c.Ay)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(l.A,{"aria-label":(0,o.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 b={breadcrumbsContainer:"breadcrumbsContainer_zCmv"};function p(e){let{children:t,href:n,isLast:s}=e;const i="breadcrumbs__link";return s?(0,d.jsx)("span",{className:i,itemProp:"name",children:t}):n?(0,d.jsx)(l.A,{className:i,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:i,children:t})}function x(e){let{children:t,active:n,index:i,addMicrodata:r}=e;return(0,d.jsxs)("li",{...r&&{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(i+1)})]})}function g(){const e=(0,r.OF)(),t=(0,a.Dt)();return e?(0,d.jsx)("nav",{className:(0,s.A)(i.G.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,o.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,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!i,children:(0,d.jsx)(p,{href:i,isLast:s,children:t.label})},n)}))]})}):null}},6897:(e,t,n)=>{n.r(t),n.d(t,{default:()=>V});var s=n(4041),i=n(145),r=n(3348),a=n(5215),l=n(4357),o=n(2436),c=n(396);const d=["zero","one","two","few","many","other"];function u(e){return d.filter((t=>e.includes(t)))}const m={locale:"en",pluralForms:u(["one","other"]),select:e=>1===e?"one":"other"};function h(){const{i18n:{currentLocale:e}}=(0,c.A)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:u(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),m}}),[e])}function b(){const e=h();return{selectMessage:(t,n)=>function(e,t,n){const s=e.split("|");if(1===s.length)return s[0];s.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${s.length}: ${e}`);const i=n.select(t),r=n.pluralForms.indexOf(i);return s[Math.min(r,s.length-1)]}(n,t,e)}}var p=n(5436),x=n(9082),g=n(4441);const v={cardContainer:"cardContainer_Shn5",cardTitle:"cardTitle_h48N",cardDescription:"cardDescription_CytT"};var f=n(1085);function j(e){let{href:t,children:n}=e;return(0,f.jsx)(o.A,{href:t,className:(0,l.A)("card padding--lg",v.cardContainer),children:n})}function A(e){let{href:t,icon:n,title:s,description:i}=e;return(0,f.jsxs)(j,{href:t,children:[(0,f.jsxs)(g.A,{as:"h2",className:(0,l.A)("text--truncate",v.cardTitle),title:s,children:[n," ",s]}),i&&(0,f.jsx)("p",{className:(0,l.A)("text--truncate",v.cardDescription),title:i,children:i})]})}function N(e){let{item:t}=e;const n=(0,r.Nr)(t),s=function(){const{selectMessage:e}=b();return t=>e(t,(0,x.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,f.jsx)(A,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??s(t.items.length)}):null}function _(e){let{item:t}=e;const n=(0,p.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",s=(0,r.cC)(t.docId??void 0);return(0,f.jsx)(A,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function T(e){let{item:t}=e;switch(t.type){case"link":return(0,f.jsx)(_,{item:t});case"category":return(0,f.jsx)(N,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function L(e){let{className:t}=e;const n=(0,r.$S)();return(0,f.jsx)(k,{items:n.items,className:t})}function k(e){const{items:t,className:n}=e;if(!t)return(0,f.jsx)(L,{...e});const s=(0,r.d1)(t);return(0,f.jsx)("section",{className:(0,l.A)("row",n),children:s.map(((e,t)=>(0,f.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,f.jsx)(T,{item:e})},t)))})}var y=n(5119),w=n(1524),C=n(2101),I=n(3021);const M={generatedIndexPage:"generatedIndexPage_ak01",list:"list_iQEt",title:"title_AulG"};function F(e){let{categoryGeneratedIndex:t}=e;return(0,f.jsx)(i.be,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.Ay)(t.image)})}function P(e){let{categoryGeneratedIndex:t}=e;const n=(0,r.$S)();return(0,f.jsxs)("div",{className:M.generatedIndexPage,children:[(0,f.jsx)(w.A,{}),(0,f.jsx)(I.A,{}),(0,f.jsx)(C.A,{}),(0,f.jsxs)("header",{children:[(0,f.jsx)(g.A,{as:"h1",className:M.title,children:t.title}),t.description&&(0,f.jsx)("p",{children:t.description})]}),(0,f.jsx)("article",{className:"margin-top--lg",children:(0,f.jsx)(k,{items:n.items,className:M.list})}),(0,f.jsx)("footer",{className:"margin-top--lg",children:(0,f.jsx)(y.A,{previous:t.navigation.previous,next:t.navigation.next})})]})}function V(e){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(F,{...e}),(0,f.jsx)(P,{...e})]})}},5119:(e,t,n)=>{n.d(t,{A:()=>o});n(4041);var s=n(9082),i=n(4357),r=n(2436),a=n(1085);function l(e){const{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,a.jsxs)(r.A,{className:(0,i.A)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,a.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,a.jsx)("div",{className:"pagination-nav__label",children:n})]})}function o(e){const{previous:t,next:n}=e;return(0,a.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,a.jsx)(l,{...t,subLabel:(0,a.jsx)(s.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,a.jsx)(l,{...n,subLabel:(0,a.jsx)(s.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},2101:(e,t,n)=>{n.d(t,{A:()=>o});n(4041);var s=n(4357),i=n(9082),r=n(7473),a=n(4647),l=n(1085);function o(e){let{className:t}=e;const n=(0,a.r)();return n.badge?(0,l.jsx)("span",{className:(0,s.A)(t,r.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(i.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},1524:(e,t,n)=>{n.d(t,{A:()=>x});n(4041);var s=n(4357),i=n(396),r=n(2436),a=n(9082),l=n(8016),o=n(7473),c=n(6392),d=n(4647),u=n(1085);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(a.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)(a.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 b(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(a.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)(r.A,{to:n,onClick:s,children:(0,u.jsx)(a.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 p(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:r}}=(0,i.A)(),{pluginId:a}=(0,l.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,c.g1)(a),{latestDocSuggestion:m,latestVersionSuggestion:p}=(0,l.HW)(a),x=m??(g=p).docs.find((e=>e.id===g.mainDocId));var g;return(0,u.jsxs)("div",{className:(0,s.A)(t,o.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:r,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(b,{versionLabel:p.label,to:x.path,onClick:()=>d(p.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.r)();return n.banner?(0,u.jsx)(p,{className:t,versionMetadata:n}):null}}}]); \ No newline at end of file diff --git a/assets/js/1529ca05.5fe0d1cd.js b/assets/js/1529ca05.5fe0d1cd.js new file mode 100644 index 000000000..29378434d --- /dev/null +++ b/assets/js/1529ca05.5fe0d1cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1043],{7288:(e,r,o)=>{o.r(r),o.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>h,frontMatter:()=>s,metadata:()=>t,toc:()=>a});var d=o(1085),n=o(1184);const s={},c="Function: createNodeBorderProgram()",t={id:"typedoc/node-border/src/functions/createNodeBorderProgram",title:"Function: createNodeBorderProgram()",description:"createNodeBorderProgram\\(inputOptions?): NodeProgramType\\",source:"@site/docs/typedoc/node-border/src/functions/createNodeBorderProgram.md",sourceDirName:"typedoc/node-border/src/functions",slug:"/typedoc/node-border/src/functions/createNodeBorderProgram",permalink:"/docs/typedoc/node-border/src/functions/createNodeBorderProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-border/src/functions/createNodeBorderProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeBorderProgram",permalink:"/docs/typedoc/node-border/src/variables/NodeBorderProgram"},next:{title:"node-image/src",permalink:"/docs/typedoc/node-image/src/"}},i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.header,{children:(0,d.jsx)(r.h1,{id:"function-createnodeborderprogram",children:"Function: createNodeBorderProgram()"})}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"createNodeBorderProgram"}),"<",(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:"inputOptions"}),"?): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",children:(0,d.jsx)(r.code,{children:"NodeProgramType"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"N"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"E"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"G"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"inputOptions?"}),": ",(0,d.jsx)(r.code,{children:"Partial"}),"<",(0,d.jsx)(r.code,{children:"CreateNodeBorderProgramOptions"}),"<",(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.h2,{id:"returns",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",children:(0,d.jsx)(r.code,{children:"NodeProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-border/src/factory.ts#L12",children:"node-border/src/factory.ts:12"})})]})}function h(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(l,{...e})}):l(e)}},1184:(e,r,o)=>{o.d(r,{R:()=>c,x:()=>t});var d=o(4041);const n={},s=d.createContext(n);function c(e){const r=d.useContext(s);return d.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),d.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.9b8bf69b.js b/assets/js/17896441.9b8bf69b.js new file mode 100644 index 000000000..fbfe6760e --- /dev/null +++ b/assets/js/17896441.9b8bf69b.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(3348),i=n(4271),c=n(2436),l=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.Ay)("/");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)(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)(c.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,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,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}},5260:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>It});var s=n(4041),a=n(145),o=n(1786),i=n(1085);const c=s.createContext(null);function l(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)(c.Provider,{value:a,children:t})}function r(){const e=(0,s.useContext)(c);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),j=n(2436);const v={tag:"tag_qE9H",tagRegular:"tagRegular_aHXt",tagWithCount:"tagWithCount_UC8q"};function N(e){let{permalink:t,label:n,count:s,description:a}=e;return(0,i.jsxs)(j.A,{href:t,title:a,className:(0,u.A)(v.tag,s?v.tagWithCount:v.tagRegular),children:[n,s&&(0,i.jsx)("span",{children:s})]})}const A={tags:"tags_q74f",tag:"tag_lSC7"};function C(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)(A.tags,"padding--none","margin-left--sm"),children:t.map((e=>(0,i.jsx)("li",{className:A.tag,children:(0,i.jsx)(N,{...e})},e.permalink)))})]})}const y={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)(y.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)(j.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"})]})}var B=n(396);function _(e){void 0===e&&(e={});const{i18n:{currentLocale:t}}=(0,B.A)(),n=function(){const{i18n:{currentLocale:e,localeConfigs:t}}=(0,B.A)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:n,...e})}function w(e){let{lastUpdatedAt:t}=e;const n=new Date(t),s=_({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);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:n.toISOString(),itemProp:"dateModified",children:s})})},children:" on {date}"})}function T(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 E(e){let{lastUpdatedAt:t,lastUpdatedBy:n}=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?(0,i.jsx)(w,{lastUpdatedAt:t}):"",byUser:n?(0,i.jsx)(T,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const H={lastUpdated:"lastUpdated_g62E"};function M(e){let{className:t,editUrl:n,lastUpdatedAt:s,lastUpdatedBy:a}=e;return(0,i.jsxs)("div",{className:(0,u.A)("row",t),children:[(0,i.jsx)("div",{className:"col",children:n&&(0,i.jsx)(L,{editUrl:n})}),(0,i.jsx)("div",{className:(0,u.A)("col",H.lastUpdated),children:(s||a)&&(0,i.jsx)(E,{lastUpdatedAt:s,lastUpdatedBy:a})})]})}function I(){const{metadata:e}=r(),{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,tags:a}=e,o=a.length>0,c=!!(t||n||s);return o||c?(0,i.jsxs)("footer",{className:(0,u.A)(b.G.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,i.jsx)("div",{className:(0,u.A)("row margin-top--sm",b.G.docs.docFooterTagsRow),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(C,{tags:a})})}),c&&(0,i.jsx)(M,{className:(0,u.A)("margin-top--sm",b.G.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s})]}):null}var S=n(6476),U=n(2520);function R(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 V(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=V({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 O(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 P(e){const t=(0,s.useRef)(void 0),n=D();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:i}=e;function c(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),c=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}),l=O(c,{anchorTopOffset:n.current}),r=e.find((e=>l&&l.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",c),document.addEventListener("resize",c),c(),()=>{document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}),[e,n])}function G(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)(j.A,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(G,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const W=s.memo(G);function $(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:c,maxHeadingLevel:l,...r}=e;const d=(0,U.p)(),u=c??d.tableOfContents.minHeadingLevel,m=l??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>V({toc:R(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return P((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 F={tocCollapsibleButton:"tocCollapsibleButton_htYj",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_pAh7"};function q(e){let{collapsed:t,...n}=e;return(0,i.jsx)("button",{type:"button",...n,className:(0,u.A)("clean-btn",F.tocCollapsibleButton,!t&&F.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 J={tocCollapsible:"tocCollapsible_O_Qc",tocCollapsibleContent:"tocCollapsibleContent_SlnY",tocCollapsibleExpanded:"tocCollapsibleExpanded_klrc"};function Z(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:o,toggleCollapsed:c}=(0,S.u)({initialState:!0});return(0,i.jsxs)("div",{className:(0,u.A)(J.tocCollapsible,!o&&J.tocCollapsibleExpanded,n),children:[(0,i.jsx)(q,{collapsed:o,onClick:c}),(0,i.jsx)(S.N,{lazy:!0,className:J.tocCollapsibleContent,collapsed:o,children:(0,i.jsx)($,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const Y={tocMobile:"tocMobile_tjDr"};function Q(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(Z,{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 K={tableOfContents:"tableOfContents_TN1Q",docItemContainer:"docItemContainer_JtJJ"},X="table-of-contents__link toc-highlight",ee="table-of-contents__link--active";function te(e){let{className:t,...n}=e;return(0,i.jsx)("div",{className:(0,u.A)(K.tableOfContents,"thin-scrollbar",t),children:(0,i.jsx)($,{...n,linkClassName:X,linkActiveClassName:ee})})}function ne(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(te,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:b.G.docs.docTocDesktop})}var se=n(4441),ae=n(1184),oe=n(9058),ie=n(213),ce=n(2727);function le(){const{prism:e}=(0,U.p)(),{colorMode:t}=(0,ce.G)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var re=n(1431),de=n.n(re);const ue=/title=(?["'])(?.*?)\1/,me=/\{(?<range>[\d,-]+)\}/,he={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},pe={...he,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:""}},fe=Object.keys(he);function xe(e,t){const n=e.map((e=>{const{start:n,end:s}=pe[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 be(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:a,metastring:o}=t;if(o&&me.test(o)){const e=o.match(me).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=de()(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 xe(["js","jsBlock"],t);case"jsx":case"tsx":return xe(["js","jsBlock","jsx"],t);case"html":return xe(["js","jsBlock","html"],t);case"python":case"py":case"bash":return xe(["bash"],t);case"markdown":case"md":return xe(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return xe(["tex"],t);case"lua":case"haskell":case"sql":return xe(["lua"],t);case"wasm":return xe(["wasm"],t);case"vb":case"vba":case"visual-basic":return xe(["vb","rem"],t);case"vbnet":return xe(["vbnet","rem"],t);case"batch":return xe(["rem"],t);case"basic":return xe(["rem","f90"],t);case"fsharp":return xe(["js","ml"],t);case"ocaml":case"sml":return xe(["ml"],t);case"fortran":return xe(["f90"],t);case"cobol":return xe(["cobol"],t);default:return xe(fe,t)}}(s,a),c=n.split("\n"),l=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<c.length;){const e=c[h].match(i);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));r[t]?l[r[t]].range+=`${h},`:d[t]?l[d[t]].start=h:u[t]&&(l[u[t]].range+=`${l[u[t]].start}-${h-1},`),c.splice(h,1)}n=c.join("\n");const m={};return Object.entries(l).forEach((e=>{let[t,{range:n}]=e;de()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const ge={codeBlockContainer:"codeBlockContainer_ZGJx"};function je(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,ge.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 Ne(e){let{children:t,className:n}=e;return(0,i.jsx)(je,{as:"pre",tabIndex:0,className:(0,u.A)(ve.codeBlockStandalone,"thin-scrollbar",n),children:(0,i.jsx)("code",{className:ve.codeBlockLines,children:t})})}const Ae={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ce(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=Ae);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 ye=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 c=a({line:t,className:(0,u.A)(n,s&&ke.codeLine)}),l=t.map(((e,t)=>(0,i.jsx)("span",{...o({token:e})},t)));return(0,i.jsxs)("span",{...c,children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:ke.codeLineNumber}),(0,i.jsx)("span",{className:ke.codeLineContent,children:l})]}):l,(0,i.jsx)("br",{})]})}function Be(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 we={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function Te(e){let{code:t,className:n}=e;const[a,o]=(0,s.useState)(!1),c=(0,s.useRef)(void 0),l=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),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 c=!1;try{c=document.execCommand("copy")}catch{}s.remove(),i&&(o.removeAllRanges(),o.addRange(i)),a&&a.focus()}(t),o(!0),c.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(c.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,we.copyButton,a&&we.copyButtonCopied),onClick:l,children:(0,i.jsxs)("span",{className:we.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(Be,{className:we.copyButtonIcon}),(0,i.jsx)(_e,{className:we.copyButtonSuccessIcon})]})})}function Ee(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 He={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function Me(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&&He.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(Ee,{className:He.wordWrapButtonIcon,"aria-hidden":"true"})})}function Ie(e){let{children:t,className:n="",metastring:a,title:o,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:r,magicComments:d}}=(0,U.p)(),m=function(e){return e?.toLowerCase()}(l??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]),c=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");a(n)}),[o]);return Ce(o,c),(0,s.useEffect)((()=>{c()}),[e,c]),(0,s.useEffect)((()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)})),[c]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:i}}(),f=function(e){return e?.match(ue)?.groups.title??""}(a)||o,{lineClassNames:x,code:b}=be(t,{metastring:a,language:m,magicComments:d}),g=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(a);return(0,i.jsxs)(je,{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)(ye.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)(Me,{className:ve.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),(0,i.jsx)(Te,{className:ve.codeButton,code:b})]})]})]})}function Se(e){let{children:t,...n}=e;const a=(0,ie.A)(),o=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),c="string"==typeof o?Ie:Ne;return(0,i.jsx)(c,{...n,children:o},String(a))}function Ue(e){return(0,i.jsx)("code",{...e})}var Re=n(6357);const Ve={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};function ze(e){return!!e&&("SUMMARY"===e.tagName||ze(e.parentElement))}function Oe(e,t){return!!e&&(e===t||Oe(e.parentElement,t))}function De(e){let{summary:t,children:n,...a}=e;(0,Re.A)().collectAnchor(a.id);const o=(0,ie.A)(),c=(0,s.useRef)(null),{collapsed:l,setCollapsed:r}=(0,S.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:c,open:d,"data-collapsed":l,className:(0,u.A)(Ve.details,o&&Ve.isBrowser,a.className),onMouseDown:e=>{ze(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;ze(t)&&Oe(t,c.current)&&(e.preventDefault(),l?(r(!1),m(!0)):r(!0))},children:[h,(0,i.jsx)(S.N,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{r(e),m(!e)},children:(0,i.jsx)("div",{className:Ve.collapsibleContent,children:n})})]})}const Pe={details:"details_SZgV"},Ge="alert alert--info";function We(e){let{...t}=e;return(0,i.jsx)(De,{...t,className:(0,u.A)(Ge,Pe.details,t.className)})}function $e(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 Fe(e){return(0,i.jsx)(se.A,{...e})}const qe={containsTaskList:"containsTaskList__YnT"};function Je(e){if(void 0!==e)return(0,u.A)(e,e?.includes("contains-task-list")&&qe.containsTaskList)}const Ze={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 Qe={admonition:"admonition_IZjC",admonitionHeading:"admonitionHeading_uVvU",admonitionIcon:"admonitionIcon_HiR3",admonitionContent:"admonitionContent_bl22"};function Ke(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),Qe.admonition,n),children:s})}function Xe(e){let{icon:t,title:n}=e;return(0,i.jsxs)("div",{className:Qe.admonitionHeading,children:[(0,i.jsx)("span",{className:Qe.admonitionIcon,children:t}),n]})}function et(e){let{children:t}=e;return t?(0,i.jsx)("div",{className:Qe.admonitionContent,children:t}):null}function tt(e){const{type:t,icon:n,title:s,children:a,className:o}=e;return(0,i.jsxs)(Ke,{type:t,className:o,children:[s||n?(0,i.jsx)(Xe,{title:s,icon:n}):null,(0,i.jsx)(et,{children:a})]})}function nt(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 st={icon:(0,i.jsx)(nt,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function at(e){return(0,i.jsx)(tt,{...st,...e,className:(0,u.A)("alert alert--secondary",e.className),children:e.children})}function ot(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 it={icon:(0,i.jsx)(ot,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function ct(e){return(0,i.jsx)(tt,{...it,...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 rt={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 dt(e){return(0,i.jsx)(tt,{...rt,...e,className:(0,u.A)("alert alert--info",e.className),children:e.children})}function ut(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 mt={icon:(0,i.jsx)(ut,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function ht(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 pt={icon:(0,i.jsx)(ht,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const ft={icon:(0,i.jsx)(ut,{}),title:(0,i.jsx)(g.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const xt={...{note:at,tip:ct,info:dt,warning:function(e){return(0,i.jsx)(tt,{...mt,...e,className:(0,u.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(tt,{...pt,...e,className:(0,u.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,i.jsx)(at,{title:"secondary",...e}),important:e=>(0,i.jsx)(dt,{title:"important",...e}),success:e=>(0,i.jsx)(ct,{title:"success",...e}),caution:function(e){return(0,i.jsx)(tt,{...ft,...e,className:(0,u.A)("alert alert--warning",e.className),children:e.children})}}};function bt(e){const t=Ye(e),n=(s=t.type,xt[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),xt.info));var s;return(0,i.jsx)(n,{...t})}var gt=n(1540);const jt={Head:oe.A,details:$e,Details:$e,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)(Ue,{...e}):(0,i.jsx)(Se,{...e})},a:function(e){return(0,i.jsx)(j.A,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:Je(e.className)})},li:function(e){return(0,Re.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,Ze.img))});var t},h1:e=>(0,i.jsx)(Fe,{as:"h1",...e}),h2:e=>(0,i.jsx)(Fe,{as:"h2",...e}),h3:e=>(0,i.jsx)(Fe,{as:"h3",...e}),h4:e=>(0,i.jsx)(Fe,{as:"h4",...e}),h5:e=>(0,i.jsx)(Fe,{as:"h5",...e}),h6:e=>(0,i.jsx)(Fe,{as:"h6",...e}),admonition:bt,mermaid:gt.A};function vt(e){let{children:t}=e;return(0,i.jsx)(ae.x,{components:jt,children:t})}function Nt(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)(se.A,{as:"h1",children:n})}),(0,i.jsx)(vt,{children:t})]})}var At=n(3021);function Ct(){return(0,i.jsx)(g.A,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function yt(){return(0,i.jsx)(g.A,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function kt(){return(0,i.jsx)(oe.A,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function Lt(){return(0,i.jsx)(g.A,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function Bt(){return(0,i.jsx)(g.A,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}function _t(e){let{className:t}=e;return(0,i.jsx)(bt,{type:"caution",title:(0,i.jsx)(Lt,{}),className:(0,u.A)(t,b.G.common.draftBanner),children:(0,i.jsx)(Bt,{})})}function wt(e){let{className:t}=e;return(0,i.jsx)(bt,{type:"caution",title:(0,i.jsx)(Ct,{}),className:(0,u.A)(t,b.G.common.unlistedBanner),children:(0,i.jsx)(yt,{})})}function Tt(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(kt,{}),(0,i.jsx)(wt,{...e})]})}function Et(e){let{metadata:t}=e;const{unlisted:n,frontMatter:s}=t;return(0,i.jsxs)(i.Fragment,{children:[(n||s.unlisted)&&(0,i.jsx)(Tt,{}),s.draft&&(0,i.jsx)(_t,{})]})}const Ht={docItemContainer:"docItemContainer_Rv5Z",docItemCol:"docItemCol_YAwJ"};function Mt(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)(Q,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,i.jsx)(ne,{})}}(),{metadata:s}=r();return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:(0,u.A)("col",!n.hidden&&Ht.docItemCol),children:[(0,i.jsx)(Et,{metadata:s}),(0,i.jsx)(f.A,{}),(0,i.jsxs)("div",{className:Ht.docItemContainer,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(At.A,{}),(0,i.jsx)(x.A,{}),n.mobile,(0,i.jsx)(Nt,{children:t}),(0,i.jsx)(I,{})]}),(0,i.jsx)(p,{})]})]}),n.desktop&&(0,i.jsx)("div",{className:"col col--3",children:n.desktop})]})}function It(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,i.jsx)(l,{content:e.content,children:(0,i.jsxs)(a.e3,{className:t,children:[(0,i.jsx)(d,{}),(0,i.jsx)(Mt,{children:(0,i.jsx)(n,{})})]})})}},5119:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});n(4041);var s=n(9082),a=n(4357),o=n(2436),i=n(1085);function c(e){const{permalink:t,title:n,subLabel:s,isNext:c}=e;return(0,i.jsxs)(o.A,{className:(0,a.A)("pagination-nav__link",c?"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 l(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)(c,{...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)(c,{...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:()=>l});n(4041);var s=n(4357),a=n(9082),o=n(7473),i=n(4647),c=n(1085);function l(e){let{className:t}=e;const n=(0,i.r)();return n.badge?(0,c.jsx)("span",{className:(0,s.A)(t,o.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.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),c=n(8016),l=n(7473),r=n(6392),d=n(4647),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,c.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,r.g1)(i),{latestDocSuggestion:m,latestVersionSuggestion:f}=(0,c.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,l.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:()=>c});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 c(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/19682c7e.417b58d4.js b/assets/js/19682c7e.417b58d4.js new file mode 100644 index 000000000..c37d7d85b --- /dev/null +++ b/assets/js/19682c7e.417b58d4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2966],{6743:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>l,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var s=t(1085),i=t(1184);const c={},r="Function: quadraticIn()",a={id:"typedoc/sigma/src/utils/functions/quadraticIn",title:"Function: quadraticIn()",description:"quadraticIn(k): number",source:"@site/docs/typedoc/sigma/src/utils/functions/quadraticIn.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/quadraticIn",permalink:"/docs/typedoc/sigma/src/utils/functions/quadraticIn",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/quadraticIn.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"parseColor",permalink:"/docs/typedoc/sigma/src/utils/functions/parseColor"},next:{title:"quadraticInOut",permalink:"/docs/typedoc/sigma/src/utils/functions/quadraticInOut"}},o={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-quadraticin",children:"Function: quadraticIn()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"quadraticIn"}),"(",(0,s.jsx)(n.code,{children:"k"}),"): ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"k"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"number"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/easings.ts#L3",children:"sigma/src/utils/easings.ts:3"})})]})}function l(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>a});var s=t(4041);const i={},c=s.createContext(i);function r(e){const n=s.useContext(c);return s.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:r(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1a192008.1ad7bc1f.js b/assets/js/1a192008.1ad7bc1f.js new file mode 100644 index 000000000..d51ab81be --- /dev/null +++ b/assets/js/1a192008.1ad7bc1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6209],{5077:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>a,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>o,toc:()=>i});var t=r(1085),s=r(1184);const c={},l="Function: latlngToGraph()",o={id:"typedoc/layer-leaflet/src/functions/latlngToGraph",title:"Function: latlngToGraph()",description:"latlngToGraph(map, coord): object",source:"@site/docs/typedoc/layer-leaflet/src/functions/latlngToGraph.md",sourceDirName:"typedoc/layer-leaflet/src/functions",slug:"/typedoc/layer-leaflet/src/functions/latlngToGraph",permalink:"/docs/typedoc/layer-leaflet/src/functions/latlngToGraph",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-leaflet/src/functions/latlngToGraph.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"graphToLatlng",permalink:"/docs/typedoc/layer-leaflet/src/functions/graphToLatlng"},next:{title:"layer-maplibre/src",permalink:"/docs/typedoc/layer-maplibre/src/"}},a={},i=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"x",id:"x",level:3},{value:"y",id:"y",level:3},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-latlngtograph",children:"Function: latlngToGraph()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"latlngToGraph"}),"(",(0,t.jsx)(n.code,{children:"map"}),", ",(0,t.jsx)(n.code,{children:"coord"}),"): ",(0,t.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"Given a geo point returns its graph coords."}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"map"}),": ",(0,t.jsx)(n.code,{children:"Map"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"coord"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"coord.lat"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"coord.lng"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"object"})}),"\n",(0,t.jsx)(n.h3,{id:"x",children:"x"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"x"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"y",children:"y"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"y"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/layer-leaflet/src/utils.ts#L18",children:"layer-leaflet/src/utils.ts:18"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>l,x:()=>o});var t=r(4041);const s={},c=t.createContext(s);function l(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1b8467c7.f8589f78.js b/assets/js/1b8467c7.f8589f78.js new file mode 100644 index 000000000..43bb298ea --- /dev/null +++ b/assets/js/1b8467c7.f8589f78.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7837],{1932:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>d,toc:()=>o});var s=n(1085),i=n(1184);const r={},c="Function: extend()",d={id:"typedoc/sigma/src/utils/functions/extend",title:"Function: extend()",description:"extend\\(array, values): void",source:"@site/docs/typedoc/sigma/src/utils/functions/extend.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/extend",permalink:"/docs/typedoc/sigma/src/utils/functions/extend",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/extend.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"cubicOut",permalink:"/docs/typedoc/sigma/src/utils/functions/cubicOut"},next:{title:"extractPixel",permalink:"/docs/typedoc/sigma/src/utils/functions/extractPixel"}},a={},o=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-extend",children:"Function: extend()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"extend"}),"<",(0,s.jsx)(t.code,{children:"T"}),">(",(0,s.jsx)(t.code,{children:"array"}),", ",(0,s.jsx)(t.code,{children:"values"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Extends the target array with the given values."}),"\n",(0,s.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"T"})]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"array"}),": ",(0,s.jsx)(t.code,{children:"T"}),"[]"]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"values"}),": ",(0,s.jsx)(t.code,{children:"Set"}),"<",(0,s.jsx)(t.code,{children:"T"}),">"]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/data.ts#L4",children:"sigma/src/utils/data.ts:4"})})]})}function u(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>d});var s=n(4041);const i={},r=s.createContext(i);function c(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1bc129c9.46aab41d.js b/assets/js/1bc129c9.46aab41d.js new file mode 100644 index 000000000..ae7c64d32 --- /dev/null +++ b/assets/js/1bc129c9.46aab41d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4813],{1302:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>r,metadata:()=>o,toc:()=>a});var s=n(1085),i=n(1184);const r={},c="Function: graphExtent()",o={id:"typedoc/sigma/src/utils/functions/graphExtent",title:"Function: graphExtent()",description:"graphExtent(graph): object",source:"@site/docs/typedoc/sigma/src/utils/functions/graphExtent.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/graphExtent",permalink:"/docs/typedoc/sigma/src/utils/functions/graphExtent",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/graphExtent.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"getPixelRatio",permalink:"/docs/typedoc/sigma/src/utils/functions/getPixelRatio"},next:{title:"identity",permalink:"/docs/typedoc/sigma/src/utils/functions/identity"}},d={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"x",id:"x",level:3},{value:"y",id:"y",level:3},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-graphextent",children:"Function: graphExtent()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"graphExtent"}),"(",(0,s.jsx)(t.code,{children:"graph"}),"): ",(0,s.jsx)(t.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Function returning the graph's node extent in x & y."}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"graph"}),": ",(0,s.jsx)(t.code,{children:"AbstractGraph"}),"<",(0,s.jsx)(t.code,{children:"Attributes"}),", ",(0,s.jsx)(t.code,{children:"Attributes"}),", ",(0,s.jsx)(t.code,{children:"Attributes"}),">"]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"object"})}),"\n",(0,s.jsx)(t.h3,{id:"x",children:"x"}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"x"}),": ",(0,s.jsx)(t.code,{children:"Extent"})]}),"\n"]}),"\n",(0,s.jsx)(t.h3,{id:"y",children:"y"}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"y"}),": ",(0,s.jsx)(t.code,{children:"Extent"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/graph.ts#L9",children:"sigma/src/utils/graph.ts:9"})})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>o});var s=n(4041);const i={},r=s.createContext(i);function c(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1ce8b794.f6c1a4a8.js b/assets/js/1ce8b794.f6c1a4a8.js new file mode 100644 index 000000000..e9a0ae016 --- /dev/null +++ b/assets/js/1ce8b794.f6c1a4a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4298],{6024:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>l,toc:()=>t});var d=s(1085),n=s(1184);const c={},i="Class: abstract AbstractNodeProgram<N, E, G>",l={id:"typedoc/sigma/src/rendering/classes/AbstractNodeProgram",title:"Class: abstract AbstractNodeProgram\\<N, E, G\\>",description:"Extends",source:"@site/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/AbstractNodeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"AbstractEdgeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram"},next:{title:"AbstractProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram"}},a={},t=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new AbstractNodeProgram()",id:"new-abstractnodeprogram",level:3},{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:"drawHover",id:"drawhover",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Defined in",id:"defined-in-2",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-3",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-4",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-5",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-6",level:4}];function o(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.header,{children:(0,d.jsxs)(r.h1,{id:"class-abstract-abstractnodeprogramn-e-g",children:["Class: ",(0,d.jsx)(r.code,{children:"abstract"})," AbstractNodeProgram<N, E, G>"]})}),"\n",(0,d.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/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"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"N"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"E"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"G"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"new-abstractnodeprogram",children:"new AbstractNodeProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"new AbstractNodeProgram"}),"<",(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/sigma/src/rendering/classes/AbstractNodeProgram",children:(0,d.jsx)(r.code,{children:"AbstractNodeProgram"})}),"<",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_pickGl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/sigma/src/rendering/classes/AbstractNodeProgram",children:(0,d.jsx)(r.code,{children:"AbstractNodeProgram"})}),"<",(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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#constructors",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L42",children:"sigma/src/rendering/program.ts:42"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"drawhover",children:"drawHover"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"drawHover"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/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"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/node.ts#L22",children:"sigma/src/rendering/node.ts:22"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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/sigma/src/rendering/type-aliases/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"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/node.ts#L21",children:"sigma/src/rendering/node.ts:21"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#kill",children:(0,d.jsx)(r.code,{children:"kill"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L45",children:"sigma/src/rendering/program.ts:45"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"process",children:"process()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"nodeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\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-4",children:"Defined in"}),"\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/node.ts#L23",children:"sigma/src/rendering/node.ts:23"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#reallocate",children:(0,d.jsx)(r.code,{children:"reallocate"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L43",children:"sigma/src/rendering/program.ts:43"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#render",children:(0,d.jsx)(r.code,{children:"render"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L44",children:"sigma/src/rendering/program.ts:44"})})]})}function h(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(o,{...e})}):o(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>i,x:()=>l});var d=s(4041);const n={},c=d.createContext(n);function i(e){const r=d.useContext(c);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(n):e.components||n:i(e.components),d.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1f04fef2.e103803c.js b/assets/js/1f04fef2.e103803c.js new file mode 100644 index 000000000..0e40c0fb5 --- /dev/null +++ b/assets/js/1f04fef2.e103803c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1765],{1215:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>a,contentTitle:()=>c,default:()=>h,frontMatter:()=>t,metadata:()=>d,toc:()=>o});var r=n(1085),s=n(1184);const t={},c="Interface: ProgramAttributeSpecification",d={id:"typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",title:"Interface: ProgramAttributeSpecification",description:"Properties",source:"@site/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification.md",sourceDirName:"typedoc/sigma/src/rendering/interfaces",slug:"/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"InstancedProgramDefinition",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition"},next:{title:"ProgramDefinition",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition"}},a={},o=[{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"normalized?",id:"normalized",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"size",id:"size",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"type",id:"type",level:3},{value:"Defined in",id:"defined-in-3",level:4}];function l(e){const i={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.header,{children:(0,r.jsx)(i.h1,{id:"interface-programattributespecification",children:"Interface: ProgramAttributeSpecification"})}),"\n",(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,r.jsxs)(i.blockquote,{children:["\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.strong,{children:"name"}),": ",(0,r.jsx)(i.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(i.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L25",children:"sigma/src/rendering/utils.ts:25"})}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"normalized",children:"normalized?"}),"\n",(0,r.jsxs)(i.blockquote,{children:["\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.code,{children:"optional"})," ",(0,r.jsx)(i.strong,{children:"normalized"}),": ",(0,r.jsx)(i.code,{children:"boolean"})]}),"\n"]}),"\n",(0,r.jsx)(i.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L28",children:"sigma/src/rendering/utils.ts:28"})}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"size",children:"size"}),"\n",(0,r.jsxs)(i.blockquote,{children:["\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.strong,{children:"size"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(i.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L26",children:"sigma/src/rendering/utils.ts:26"})}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"type",children:"type"}),"\n",(0,r.jsxs)(i.blockquote,{children:["\n",(0,r.jsxs)(i.p,{children:[(0,r.jsx)(i.strong,{children:"type"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(i.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L27",children:"sigma/src/rendering/utils.ts:27"})})]})}function h(e={}){const{wrapper:i}={...(0,s.R)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,i,n)=>{n.d(i,{R:()=>c,x:()=>d});var r=n(4041);const s={},t=r.createContext(s);function c(e){const i=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(t.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/206206eb.7b0d26a4.js b/assets/js/206206eb.7b0d26a4.js new file mode 100644 index 000000000..15f627750 --- /dev/null +++ b/assets/js/206206eb.7b0d26a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2722],{8635:(e,r,d)=>{d.r(r),d.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>t,frontMatter:()=>i,metadata:()=>l,toc:()=>a});var n=d(1085),s=d(1184);const i={},c="Class: NodeSquareProgram<N, E, G>",l={id:"typedoc/node-square/src/classes/NodeSquareProgram",title:"Class: NodeSquareProgram\\<N, E, G\\>",description:"Extends",source:"@site/docs/typedoc/node-square/src/classes/NodeSquareProgram.md",sourceDirName:"typedoc/node-square/src/classes",slug:"/typedoc/node-square/src/classes/NodeSquareProgram",permalink:"/docs/typedoc/node-square/src/classes/NodeSquareProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-square/src/classes/NodeSquareProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"node-square/src",permalink:"/docs/typedoc/node-square/src/"},next:{title:"drawSquareNodeHover",permalink:"/docs/typedoc/node-square/src/functions/drawSquareNodeHover"}},o={},a=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new NodeSquareProgram()",id:"new-nodesquareprogram",level:3},{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:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"drawHover()",id:"drawhover",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:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"drawLabel()",id:"drawlabel",level:3},{value:"Type Parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"VERTICES",id:"vertices",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-3",level:4},{value:"Returns",id:"returns-3",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-4",level:4},{value:"Returns",id:"returns-4",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-5",level:4},{value:"Returns",id:"returns-5",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-6",level:4},{value:"ATTRIBUTES",id:"attributes-1",level:5},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes-1",level:5},{value:"CONSTANT_DATA",id:"constant_data-1",level:5},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source-1",level:5},{value:"METHOD",id:"method-1",level:5},{value:"UNIFORMS",id:"uniforms-1",level:5},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source-1",level:5},{value:"VERTICES",id:"vertices-1",level:5},{value:"Overrides",id:"overrides-2",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"getProgramInfo()",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"hasNothingToRender()",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"kill()",id:"kill",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"process()",id:"process",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"processVisibleItem()",id:"processvisibleitem",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Overrides",id:"overrides-3",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"reallocate()",id:"reallocate",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"render()",id:"render",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"renderProgram()",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"setUniforms()",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Overrides",id:"overrides-4",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"unbindAttribute()",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-16",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-14",level:4},{value:"Returns",id:"returns-17",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",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"class-nodesquareprogramn-e-g",children:"Class: NodeSquareProgram<N, E, G>"})}),"\n",(0,n.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),"<",(0,n.jsx)(r.em,{children:"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"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"new-nodesquareprogram",children:"new NodeSquareProgram()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"new NodeSquareProgram"}),"<",(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/node-square/src/classes/NodeSquareProgram",children:(0,n.jsx)(r.code,{children:"NodeSquareProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"gl"}),": ",(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"pickingBuffer"}),": ",(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"renderer"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/node-square/src/classes/NodeSquareProgram",children:(0,n.jsx)(r.code,{children:"NodeSquareProgram"})}),"<",(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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#constructors",children:(0,n.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L81",children:"sigma/src/rendering/program.ts:81"})}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"array"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#array",children:(0,n.jsx)(r.code,{children:"array"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L69",children:"sigma/src/rendering/program.ts:69"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#attributes",children:(0,n.jsx)(r.code,{children:"ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L60",children:"sigma/src/rendering/program.ts:60"})}),"\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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#attributes_items_count",children:(0,n.jsx)(r.code,{children:"ATTRIBUTES_ITEMS_COUNT"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L65",children:"sigma/src/rendering/program.ts:65"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"capacity"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#capacity",children:(0,n.jsx)(r.code,{children:"capacity"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L71",children:"sigma/src/rendering/program.ts:71"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#constant_attributes",children:(0,n.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L62",children:"sigma/src/rendering/program.ts:62"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,n.jsx)(r.code,{children:"number"}),"[][]"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#constant_data",children:(0,n.jsx)(r.code,{children:"CONSTANT_DATA"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L63",children:"sigma/src/rendering/program.ts:63"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"constantArray"}),": ",(0,n.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#constantarray",children:(0,n.jsx)(r.code,{children:"constantArray"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L70",children:"sigma/src/rendering/program.ts:70"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawhover",children:"drawHover()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"drawHover"}),": <",(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:"context"}),", ",(0,n.jsx)(r.code,{children:"data"}),", ",(0,n.jsx)(r.code,{children:"settings"}),") => ",(0,n.jsx)(r.code,{children:"void"})," = ",(0,n.jsx)(r.code,{children:"drawSquareNodeHover"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"type-parameters-1",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"context"}),": ",(0,n.jsx)(r.code,{children:"CanvasRenderingContext2D"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"data"}),": ",(0,n.jsx)(r.code,{children:"PartialButFor"}),"<",(0,n.jsx)(r.code,{children:"NodeDisplayData"}),", ",(0,n.jsx)(r.code,{children:'"label"'})," | ",(0,n.jsx)(r.code,{children:'"x"'})," | ",(0,n.jsx)(r.code,{children:'"y"'})," | ",(0,n.jsx)(r.code,{children:'"color"'})," | ",(0,n.jsx)(r.code,{children:'"size"'}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"settings"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(r.code,{children:"Settings"})}),"<",(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-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#drawhover",children:(0,n.jsx)(r.code,{children:"drawHover"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/program.ts#L21",children:"node-square/src/program.ts:21"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawlabel",children:"drawLabel()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"drawLabel"}),": <",(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:"context"}),", ",(0,n.jsx)(r.code,{children:"data"}),", ",(0,n.jsx)(r.code,{children:"settings"}),") => ",(0,n.jsx)(r.code,{children:"void"})," = ",(0,n.jsx)(r.code,{children:"drawSquareNodeLabel"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"type-parameters-2",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"context"}),": ",(0,n.jsx)(r.code,{children:"CanvasRenderingContext2D"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"data"}),": ",(0,n.jsx)(r.code,{children:"PartialButFor"}),"<",(0,n.jsx)(r.code,{children:"NodeDisplayData"}),", ",(0,n.jsx)(r.code,{children:'"label"'})," | ",(0,n.jsx)(r.code,{children:'"x"'})," | ",(0,n.jsx)(r.code,{children:'"y"'})," | ",(0,n.jsx)(r.code,{children:'"color"'})," | ",(0,n.jsx)(r.code,{children:'"size"'}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"settings"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(r.code,{children:"Settings"})}),"<",(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-2",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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#drawlabel",children:(0,n.jsx)(r.code,{children:"drawLabel"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/program.ts#L22",children:"node-square/src/program.ts:22"})}),"\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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#fragment_shader_source",children:(0,n.jsx)(r.code,{children:"FRAGMENT_SHADER_SOURCE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L58",children:"sigma/src/rendering/program.ts:58"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"isInstanced"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#isinstanced",children:(0,n.jsx)(r.code,{children:"isInstanced"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L77",children:"sigma/src/rendering/program.ts:77"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"METHOD"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#method",children:(0,n.jsx)(r.code,{children:"METHOD"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L61",children:"sigma/src/rendering/program.ts:61"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"normalProgram"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#normalprogram",children:(0,n.jsx)(r.code,{children:"normalProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L74",children:"sigma/src/rendering/program.ts:74"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"pickProgram"}),": ",(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#pickprogram",children:(0,n.jsx)(r.code,{children:"pickProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L75",children:"sigma/src/rendering/program.ts:75"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"renderer"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#renderer",children:(0,n.jsx)(r.code,{children:"renderer"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L68",children:"sigma/src/rendering/program.ts:68"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"STRIDE"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#stride",children:(0,n.jsx)(r.code,{children:"STRIDE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L66",children:"sigma/src/rendering/program.ts:66"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(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"'})," | ",(0,n.jsx)(r.code,{children:'"u_cameraAngle"'}),")[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#uniforms",children:(0,n.jsx)(r.code,{children:"UNIFORMS"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L59",children:"sigma/src/rendering/program.ts:59"})}),"\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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#vertex_shader_source",children:(0,n.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L57",children:"sigma/src/rendering/program.ts:57"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"VERTICES"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#vertices",children:(0,n.jsx)(r.code,{children:"VERTICES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L56",children:"sigma/src/rendering/program.ts:56"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"verticesCount"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#verticescount",children:(0,n.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L72",children:"sigma/src/rendering/program.ts:72"})}),"\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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"attr"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"program"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"offset"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"setDivisor?"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-3",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-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#bindattribute",children:(0,n.jsx)(r.code,{children:"bindAttribute"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L244",children:"sigma/src/rendering/program.ts:244"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bindprogram",children:"bindProgram()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(0,n.jsx)(r.strong,{children:"bindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"program"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-4",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-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#bindprogram",children:(0,n.jsx)(r.code,{children:"bindProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L206",children:"sigma/src/rendering/program.ts:206"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,n.jsx)(r.code,{children:"method"}),", ",(0,n.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\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.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-5",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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#drawwebgl",children:(0,n.jsx)(r.code,{children:"drawWebGL"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L355",children:"sigma/src/rendering/program.ts:355"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getdefinition",children:"getDefinition()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,n.jsx)(r.code,{children:"object"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-6",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"object"})}),"\n",(0,n.jsx)(r.h5,{id:"attributes-1",children:"ATTRIBUTES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"ATTRIBUTES"}),": (",(0,n.jsx)(r.code,{children:"object"})," | ",(0,n.jsx)(r.code,{children:"object"}),")[]"]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"constant_attributes-1",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,n.jsx)(r.code,{children:"object"}),"[]"]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"constant_data-1",children:"CONSTANT_DATA"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,n.jsx)(r.code,{children:"number"}),"[][]"]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"fragment_shader_source-1",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"method-1",children:"METHOD"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"METHOD"}),": ",(0,n.jsx)(r.code,{children:"4"})," = ",(0,n.jsx)(r.code,{children:"WebGLRenderingContext.TRIANGLES"})]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"uniforms-1",children:"UNIFORMS"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(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_cameraAngle"'}),", ",(0,n.jsx)(r.code,{children:'"u_matrix"'}),"]"]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"vertex_shader_source-1",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,n.jsx)(r.h5,{id:"vertices-1",children:"VERTICES"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"VERTICES"}),": ",(0,n.jsx)(r.code,{children:"number"})," = ",(0,n.jsx)(r.code,{children:"6"})]}),"\n"]}),"\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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#getdefinition",children:(0,n.jsx)(r.code,{children:"getDefinition"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/program.ts#L24",children:"node-square/src/program.ts:24"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(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/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"name"}),": ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"pick"'})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"gl"}),": ",(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,n.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"vertexShaderSource"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"fragmentShaderSource"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"frameBuffer"}),": ",(0,n.jsx)(r.code,{children:"null"})," | ",(0,n.jsx)(r.code,{children:"WebGLFramebuffer"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-7",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#getprograminfo",children:(0,n.jsx)(r.code,{children:"getProgramInfo"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L150",children:"sigma/src/rendering/program.ts:150"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-8",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-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#hasnothingtorender",children:(0,n.jsx)(r.code,{children:"hasNothingToRender"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L312",children:"sigma/src/rendering/program.ts:312"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"kill",children:"kill()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"kill"}),"(): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\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:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#kill",children:(0,n.jsx)(r.code,{children:"kill"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(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"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"nodeIndex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"offset"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"data"}),": ",(0,n.jsx)(r.code,{children:"NodeDisplayData"})]}),"\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-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#process",children:(0,n.jsx)(r.code,{children:"process"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(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"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"nodeIndex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"startIndex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"data"}),": ",(0,n.jsx)(r.code,{children:"NodeDisplayData"})]}),"\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:"overrides-3",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#processvisibleitem",children:(0,n.jsx)(r.code,{children:"processVisibleItem"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/program.ts#L42",children:"node-square/src/program.ts:42"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"reallocate"}),"(",(0,n.jsx)(r.code,{children:"capacity"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"capacity"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\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-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#reallocate",children:(0,n.jsx)(r.code,{children:"reallocate"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L297",children:"sigma/src/rendering/program.ts:297"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"render"}),"(",(0,n.jsx)(r.code,{children:"params"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"params"}),": ",(0,n.jsx)(r.code,{children:"RenderParams"})]}),"\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:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#render",children:(0,n.jsx)(r.code,{children:"render"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L334",children:"sigma/src/rendering/program.ts:334"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"renderprogram",children:"renderProgram()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"params"}),": ",(0,n.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"programInfo"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\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-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#renderprogram",children:(0,n.jsx)(r.code,{children:"renderProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L318",children:"sigma/src/rendering/program.ts:318"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"setuniforms",children:"setUniforms()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"setUniforms"}),"(",(0,n.jsx)(r.code,{children:"params"}),", ",(0,n.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"params"}),": ",(0,n.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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:"overrides-4",children:"Overrides"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#setuniforms",children:(0,n.jsx)(r.code,{children:"setUniforms"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/program.ts#L53",children:"node-square/src/program.ts:53"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"attr"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,n.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"program"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"unsetDivisor?"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.h4,{id:"returns-16",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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#unbindattribute",children:(0,n.jsx)(r.code,{children:"unbindAttribute"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L279",children:"sigma/src/rendering/program.ts:279"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"protected"})," ",(0,n.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,n.jsx)(r.code,{children:"program"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"program"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,n.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,n.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-17",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/sigma/src/rendering/classes/NodeProgram",children:(0,n.jsx)(r.code,{children:"NodeProgram"})}),".",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram#unbindprogram",children:(0,n.jsx)(r.code,{children:"unbindProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L235",children:"sigma/src/rendering/program.ts:235"})})]})}function t(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1184:(e,r,d)=>{d.d(r,{R:()=>c,x:()=>l});var n=d(4041);const s={},i=n.createContext(s);function c(e){const r=n.useContext(i);return n.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(s):e.components||s:c(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/20bbd8bf.931b26a4.js b/assets/js/20bbd8bf.931b26a4.js new file mode 100644 index 000000000..961d4680d --- /dev/null +++ b/assets/js/20bbd8bf.931b26a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6213],{5567:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>h,frontMatter:()=>d,metadata:()=>t,toc:()=>l});var r=i(1085),s=i(1184);const d={},c="Interface: ProgramDefinition<Uniform>",t={id:"typedoc/sigma/src/rendering/interfaces/ProgramDefinition",title:"Interface: ProgramDefinition\\<Uniform\\>",description:"Extended by",source:"@site/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition.md",sourceDirName:"typedoc/sigma/src/rendering/interfaces",slug:"/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"ProgramAttributeSpecification",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification"},next:{title:"ProgramInfo",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo"}},a={},l=[{value:"Extended by",id:"extended-by",level:2},{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 n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"interface-programdefinitionuniform",children:"Interface: ProgramDefinition<Uniform>"})}),"\n",(0,r.jsx)(n.h2,{id:"extended-by",children:"Extended by"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,r.jsx)(n.code,{children:"InstancedProgramDefinition"})})}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Uniform"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"string"})," = ",(0,r.jsx)(n.code,{children:"string"})]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"ATTRIBUTES"}),": ",(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,r.jsx)(n.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L36",children:"sigma/src/rendering/utils.ts:36"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L34",children:"sigma/src/rendering/utils.ts:34"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"method",children:"METHOD"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"METHOD"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L37",children:"sigma/src/rendering/utils.ts:37"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"UNIFORMS"}),": readonly ",(0,r.jsx)(n.code,{children:"Uniform"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L35",children:"sigma/src/rendering/utils.ts:35"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L33",children:"sigma/src/rendering/utils.ts:33"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"VERTICES"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L32",children:"sigma/src/rendering/utils.ts:32"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>c,x:()=>t});var r=i(4041);const s={},d=r.createContext(s);function c(e){const n=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/20c21e74.adb555d9.js b/assets/js/20c21e74.adb555d9.js new file mode 100644 index 000000000..825f866c5 --- /dev/null +++ b/assets/js/20c21e74.adb555d9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2309],{6076:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var t=s(1085),i=s(1184);const o={},r="Function: indexToColor()",c={id:"typedoc/sigma/src/utils/functions/indexToColor",title:"Function: indexToColor()",description:"indexToColor(index): number",source:"@site/docs/typedoc/sigma/src/utils/functions/indexToColor.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/indexToColor",permalink:"/docs/typedoc/sigma/src/utils/functions/indexToColor",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/indexToColor.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"identity",permalink:"/docs/typedoc/sigma/src/utils/functions/identity"},next:{title:"isPlainObject",permalink:"/docs/typedoc/sigma/src/utils/functions/isPlainObject"}},d={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-indextocolor",children:"Function: indexToColor()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"indexToColor"}),"(",(0,t.jsx)(n.code,{children:"index"}),"): ",(0,t.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"index"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"number"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/colors.ts#L260",children:"sigma/src/utils/colors.ts:260"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>c});var t=s(4041);const i={},o=t.createContext(i);function r(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/24f98dd6.45282b09.js b/assets/js/24f98dd6.45282b09.js new file mode 100644 index 000000000..a138198a0 --- /dev/null +++ b/assets/js/24f98dd6.45282b09.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5640],{2417:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>a});var o=n(1085),s=n(1184);const r={},i="Function: floatColor()",c={id:"typedoc/sigma/src/utils/functions/floatColor",title:"Function: floatColor()",description:"floatColor(val): number",source:"@site/docs/typedoc/sigma/src/utils/functions/floatColor.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/floatColor",permalink:"/docs/typedoc/sigma/src/utils/functions/floatColor",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/floatColor.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"extractPixel",permalink:"/docs/typedoc/sigma/src/utils/functions/extractPixel"},next:{title:"getCorrectionRatio",permalink:"/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio"}},l={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"function-floatcolor",children:"Function: floatColor()"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"floatColor"}),"(",(0,o.jsx)(t.code,{children:"val"}),"): ",(0,o.jsx)(t.code,{children:"number"})]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"val"}),": ",(0,o.jsx)(t.code,{children:"string"})]}),"\n",(0,o.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"number"})}),"\n",(0,o.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/colors.ts#L225",children:"sigma/src/utils/colors.ts:225"})})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var o=n(4041);const s={},r=o.createContext(s);function i(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2651cce2.a87483f9.js b/assets/js/2651cce2.a87483f9.js new file mode 100644 index 000000000..fb485b0d6 --- /dev/null +++ b/assets/js/2651cce2.a87483f9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6322],{9927:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=n(1085),s=n(1184);const r={},o="Function: getCorrectionRatio()",c={id:"typedoc/sigma/src/utils/functions/getCorrectionRatio",title:"Function: getCorrectionRatio()",description:"getCorrectionRatio(viewportDimensions, graphDimensions): number",source:"@site/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/getCorrectionRatio",permalink:"/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"floatColor",permalink:"/docs/typedoc/sigma/src/utils/functions/floatColor"},next:{title:"getMatrixImpact",permalink:"/docs/typedoc/sigma/src/utils/functions/getMatrixImpact"}},a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"function-getcorrectionratio",children:"Function: getCorrectionRatio()"})}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"getCorrectionRatio"}),"(",(0,i.jsx)(t.code,{children:"viewportDimensions"}),", ",(0,i.jsx)(t.code,{children:"graphDimensions"}),"): ",(0,i.jsx)(t.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(t.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)(t.p,{children:"This function determines this ratio."}),"\n",(0,i.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"viewportDimensions"})]}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"viewportDimensions.height"}),": ",(0,i.jsx)(t.code,{children:"number"})]}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"viewportDimensions.width"}),": ",(0,i.jsx)(t.code,{children:"number"})]}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"graphDimensions"})]}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"graphDimensions.height"}),": ",(0,i.jsx)(t.code,{children:"number"})]}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"graphDimensions.width"}),": ",(0,i.jsx)(t.code,{children:"number"})]}),"\n",(0,i.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.code,{children:"number"})}),"\n",(0,i.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/coordinates.ts#L12",children:"sigma/src/utils/coordinates.ts:12"})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>c});var i=n(4041);const s={},r=i.createContext(s);function o(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/27554d6b.8956229b.js b/assets/js/27554d6b.8956229b.js new file mode 100644 index 000000000..255ad8671 --- /dev/null +++ b/assets/js/27554d6b.8956229b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6860],{6067:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>l,toc:()=>t});var d=s(1085),n=s(1184);const c={},i="Class: abstract AbstractEdgeProgram<N, E, G>",l={id:"typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",title:"Class: abstract AbstractEdgeProgram\\<N, E, G\\>",description:"Extends",source:"@site/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"sigma/src/rendering",permalink:"/docs/typedoc/sigma/src/rendering/"},next:{title:"AbstractNodeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram"}},a={},t=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new AbstractEdgeProgram()",id:"new-abstractedgeprogram",level:3},{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 o(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.header,{children:(0,d.jsxs)(r.h1,{id:"class-abstract-abstractedgeprogramn-e-g",children:["Class: ",(0,d.jsx)(r.code,{children:"abstract"})," AbstractEdgeProgram<N, E, G>"]})}),"\n",(0,d.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/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"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"N"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"E"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"G"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"new-abstractedgeprogram",children:"new AbstractEdgeProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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/sigma/src/rendering/classes/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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_pickGl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"_renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/sigma/src/rendering/classes/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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#constructors",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L42",children:"sigma/src/rendering/program.ts:42"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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/sigma/src/rendering/type-aliases/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"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#kill",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L45",children:"sigma/src/rendering/program.ts:45"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"process",children:"process()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"edgeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"sourceData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"targetData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#reallocate",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L43",children:"sigma/src/rendering/program.ts:43"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(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/sigma/src/rendering/classes/AbstractProgram",children:(0,d.jsx)(r.code,{children:"AbstractProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#render",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L44",children:"sigma/src/rendering/program.ts:44"})})]})}function h(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(o,{...e})}):o(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>i,x:()=>l});var d=s(4041);const n={},c=d.createContext(n);function i(e){const r=d.useContext(c);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(n):e.components||n:i(e.components),d.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/27c2272e.3bb23862.js b/assets/js/27c2272e.3bb23862.js new file mode 100644 index 000000000..5d9818e49 --- /dev/null +++ b/assets/js/27c2272e.3bb23862.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3587],{2221:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>t,metadata:()=>o,toc:()=>l});var r=i(1085),s=i(1184);const t={},a="Type Alias: WebGLLayerDefinition",o={id:"typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition",title:"Type Alias: WebGLLayerDefinition",description:"WebGLLayerDefinition: object",source:"@site/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition.md",sourceDirName:"typedoc/layer-webgl/src/type-aliases",slug:"/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition",permalink:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"ContoursOptions",permalink:"/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions"},next:{title:"WebGLLayerProgramType",permalink:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType"}},c={},l=[{value:"Type declaration",id:"type-declaration",level:2},{value:"CAMERA_UNIFORMS",id:"camera_uniforms",level:3},{value:"DATA_UNIFORMS",id:"data_uniforms",level:3},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"type-alias-webgllayerdefinition",children:"Type Alias: WebGLLayerDefinition"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"WebGLLayerDefinition"}),": ",(0,r.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-declaration",children:"Type declaration"}),"\n",(0,r.jsx)(n.h3,{id:"camera_uniforms",children:"CAMERA_UNIFORMS"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"CAMERA_UNIFORMS"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"data_uniforms",children:"DATA_UNIFORMS"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"DATA_UNIFORMS"}),": ",(0,r.jsx)(n.code,{children:"string"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/layer-webgl/src/webgl-layer-program/index.ts#L10",children:"layer-webgl/src/webgl-layer-program/index.ts:10"})})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>a,x:()=>o});var r=i(4041);const s={},t=r.createContext(s);function a(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2a67b1d2.40bf4b1c.js b/assets/js/2a67b1d2.40bf4b1c.js new file mode 100644 index 000000000..f7bde22e4 --- /dev/null +++ b/assets/js/2a67b1d2.40bf4b1c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5612],{1556:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Typedoc API","slug":"/category/typedoc-api","permalink":"/docs/category/typedoc-api","sidebar":"sigmaDocSidebar","navigation":{"previous":{"title":"Migrating from v2 to v3","permalink":"/docs/advanced/migration-v2-v3"},"next":{"title":"edge-curve/src","permalink":"/docs/typedoc/edge-curve/src/"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/2aad4206.0bbaf1f9.js b/assets/js/2aad4206.0bbaf1f9.js new file mode 100644 index 000000000..126040479 --- /dev/null +++ b/assets/js/2aad4206.0bbaf1f9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9427],{1397:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>l,frontMatter:()=>d,metadata:()=>i,toc:()=>a});var s=n(1085),t=n(1184);const d={},c="Function: createEdgeArrowProgram()",i={id:"typedoc/sigma/src/rendering/functions/createEdgeArrowProgram",title:"Function: createEdgeArrowProgram()",description:"createEdgeArrowProgram\\(inputOptions?): EdgeProgramType\\",source:"@site/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createEdgeArrowHeadProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram"},next:{title:"createEdgeClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram"}},o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function g(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-createedgearrowprogram",children:"Function: createEdgeArrowProgram()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"createEdgeArrowProgram"}),"<",(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:"inputOptions"}),"?): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"N"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"E"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"G"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"inputOptions?"}),": ",(0,s.jsx)(r.code,{children:"Partial"}),"<",(0,s.jsx)(r.code,{children:"Omit"}),"<",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions",children:(0,s.jsx)(r.code,{children:"CreateEdgeArrowHeadProgramOptions"})}),", ",(0,s.jsx)(r.code,{children:'"extremity"'}),">>"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-arrow/index.ts#L7",children:"sigma/src/rendering/programs/edge-arrow/index.ts:7"})})]})}function l(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>i});var s=n(4041);const t={},d=s.createContext(t);function c(e){const r=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2ad1bd38.6f7a29c7.js b/assets/js/2ad1bd38.6f7a29c7.js new file mode 100644 index 000000000..6eb930dcb --- /dev/null +++ b/assets/js/2ad1bd38.6f7a29c7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5570],{9731:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>E,frontMatter:()=>s,metadata:()=>o,toc:()=>d});var c=r(1085),n=r(1184);const s={},i="Variable: DEFAULT_CREATE_NODE_PIECHART_OPTIONS",o={id:"typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS",title:"Variable: DEFAULT\\_CREATE\\_NODE\\_PIECHART\\_OPTIONS",description:"const DEFAULT\\_CREATE\\_NODE\\_PIECHART\\_OPTIONS: Omit\\",source:"@site/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS.md",sourceDirName:"typedoc/node-piechart/src/variables",slug:"/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS",permalink:"/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"DEFAULT_COLOR",permalink:"/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR"},next:{title:"createNodePiechartProgram",permalink:"/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram"}},a={},d=[{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"variable-default_create_node_piechart_options",children:"Variable: DEFAULT_CREATE_NODE_PIECHART_OPTIONS"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.code,{children:"const"})," ",(0,c.jsx)(t.strong,{children:"DEFAULT_CREATE_NODE_PIECHART_OPTIONS"}),": ",(0,c.jsx)(t.code,{children:"Omit"}),"<",(0,c.jsx)(t.a,{href:"/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions",children:(0,c.jsx)(t.code,{children:"CreateNodePiechartProgramOptions"})}),", ",(0,c.jsx)(t.code,{children:'"slices"'}),">"]}),"\n"]}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L26",children:"node-piechart/src/utils.ts:26"})})]})}function E(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(l,{...e})}):l(e)}},1184:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>o});var c=r(4041);const n={},s=c.createContext(n);function i(e){const t=c.useContext(s);return c.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),c.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2b4fba3c.0fe4d83e.js b/assets/js/2b4fba3c.0fe4d83e.js new file mode 100644 index 000000000..e30f3831c --- /dev/null +++ b/assets/js/2b4fba3c.0fe4d83e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[48],{4009:(e,r,o)=>{o.r(r),o.d(r,{assets:()=>s,contentTitle:()=>c,default:()=>g,frontMatter:()=>n,metadata:()=>i,toc:()=>d});var a=o(1085),t=o(1184);const n={},c="Variable: NodePictogramProgram",i={id:"typedoc/node-image/src/variables/NodePictogramProgram",title:"Variable: NodePictogramProgram",description:"const NodePictogramProgram: NodeProgramType",source:"@site/docs/typedoc/node-image/src/variables/NodePictogramProgram.md",sourceDirName:"typedoc/node-image/src/variables",slug:"/typedoc/node-image/src/variables/NodePictogramProgram",permalink:"/docs/typedoc/node-image/src/variables/NodePictogramProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-image/src/variables/NodePictogramProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeImageProgram",permalink:"/docs/typedoc/node-image/src/variables/NodeImageProgram"},next:{title:"createNodeImageProgram",permalink:"/docs/typedoc/node-image/src/functions/createNodeImageProgram"}},s={},d=[{value:"Defined in",id:"defined-in",level:2}];function m(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.header,{children:(0,a.jsx)(r.h1,{id:"variable-nodepictogramprogram",children:"Variable: NodePictogramProgram"})}),"\n",(0,a.jsxs)(r.blockquote,{children:["\n",(0,a.jsxs)(r.p,{children:[(0,a.jsx)(r.code,{children:"const"})," ",(0,a.jsx)(r.strong,{children:"NodePictogramProgram"}),": ",(0,a.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",children:(0,a.jsx)(r.code,{children:"NodeProgramType"})})]}),"\n"]}),"\n",(0,a.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,a.jsx)(r.p,{children:(0,a.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-image/src/index.ts#L7",children:"node-image/src/index.ts:7"})})]})}function g(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,a.jsx)(r,{...e,children:(0,a.jsx)(m,{...e})}):m(e)}},1184:(e,r,o)=>{o.d(r,{R:()=>c,x:()=>i});var a=o(4041);const t={},n=a.createContext(t);function c(e){const r=a.useContext(n);return a.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),a.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2c000f1d.16a4853c.js b/assets/js/2c000f1d.16a4853c.js new file mode 100644 index 000000000..b168ab3f1 --- /dev/null +++ b/assets/js/2c000f1d.16a4853c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[319],{9504:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>i,toc:()=>o});var n=s(1085),l=s(1184);const a={},c="layer-webgl/src",i={id:"typedoc/layer-webgl/src/index",title:"layer-webgl/src",description:"Index",source:"@site/docs/typedoc/layer-webgl/src/index.md",sourceDirName:"typedoc/layer-webgl/src",slug:"/typedoc/layer-webgl/src/",permalink:"/docs/typedoc/layer-webgl/src/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-webgl/src/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"latlngToGraph",permalink:"/docs/typedoc/layer-maplibre/src/functions/latlngToGraph"},next:{title:"WebGLLayerProgram",permalink:"/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram"}},t={},o=[{value:"Index",id:"index",level:2},{value:"Classes",id:"classes",level:3},{value:"Type Aliases",id:"type-aliases",level:3},{value:"Variables",id:"variables",level:3},{value:"Functions",id:"functions",level:3}];function d(e){const r={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ul:"ul",...(0,l.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"layer-webglsrc",children:"layer-webgl/src"})}),"\n",(0,n.jsx)(r.h2,{id:"index",children:"Index"}),"\n",(0,n.jsx)(r.h3,{id:"classes",children:"Classes"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram",children:"WebGLLayerProgram"})}),"\n"]}),"\n",(0,n.jsx)(r.h3,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions",children:"ContoursOptions"})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition",children:"WebGLLayerDefinition"})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType",children:"WebGLLayerProgramType"})}),"\n"]}),"\n",(0,n.jsx)(r.h3,{id:"variables",children:"Variables"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS",children:"DEFAULT_CONTOURS_OPTIONS"})}),"\n"]}),"\n",(0,n.jsx)(r.h3,{id:"functions",children:"Functions"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer",children:"bindWebGLLayer"})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/functions/createContoursProgram",children:"createContoursProgram"})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader",children:"getContoursFragmentShader"})}),"\n"]})]})}function h(e={}){const{wrapper:r}={...(0,l.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>c,x:()=>i});var n=s(4041);const l={},a=n.createContext(l);function c(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:c(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2d00642f.7a401c7c.js b/assets/js/2d00642f.7a401c7c.js new file mode 100644 index 000000000..137df5fa9 --- /dev/null +++ b/assets/js/2d00642f.7a401c7c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[543],{4596:(s,i,e)=>{e.r(i),e.d(i,{assets:()=>a,contentTitle:()=>r,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>d});var n=e(1085),c=e(1184);const t={},r="sigma/src/utils",l={id:"typedoc/sigma/src/utils/index",title:"sigma/src/utils",description:"Sigma.js Utils",source:"@site/docs/typedoc/sigma/src/utils/index.md",sourceDirName:"typedoc/sigma/src/utils",slug:"/typedoc/sigma/src/utils/",permalink:"/docs/typedoc/sigma/src/utils/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"validateSettings",permalink:"/docs/typedoc/sigma/src/settings/functions/validateSettings"},next:{title:"AnimateOptions",permalink:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions"}},a={},d=[{value:"Index",id:"index",level:2},{value:"Interfaces",id:"interfaces",level:3},{value:"Type Aliases",id:"type-aliases",level:3},{value:"Variables",id:"variables",level:3},{value:"Functions",id:"functions",level:3}];function o(s){const i={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",ul:"ul",...(0,c.R)(),...s.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.header,{children:(0,n.jsx)(i.h1,{id:"sigmasrcutils",children:"sigma/src/utils"})}),"\n",(0,n.jsx)(i.h1,{id:"sigmajs-utils",children:"Sigma.js Utils"}),"\n",(0,n.jsx)(i.p,{children:"Various helper functions & classes used throughout the library."}),"\n",(0,n.jsx)(i.h2,{id:"index",children:"Index"}),"\n",(0,n.jsx)(i.h3,{id:"interfaces",children:"Interfaces"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:"AnimateOptions"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction",children:"NormalizationFunction"})}),"\n"]}),"\n",(0,n.jsx)(i.h3,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/type-aliases/Easing",children:"Easing"})}),"\n"]}),"\n",(0,n.jsx)(i.h3,{id:"variables",children:"Variables"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS",children:"ANIMATE_DEFAULTS"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/variables/easings",children:"easings"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/variables/HTML_COLORS",children:"HTML_COLORS"})}),"\n"]}),"\n",(0,n.jsx)(i.h3,{id:"functions",children:"Functions"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/animateNodes",children:"animateNodes"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/assign",children:"assign"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/assignDeep",children:"assignDeep"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/colorToArray",children:"colorToArray"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/colorToIndex",children:"colorToIndex"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/createElement",children:"createElement"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction",children:"createNormalizationFunction"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/cubicIn",children:"cubicIn"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/cubicInOut",children:"cubicInOut"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/cubicOut",children:"cubicOut"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/extend",children:"extend"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/extractPixel",children:"extractPixel"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/floatColor",children:"floatColor"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio",children:"getCorrectionRatio"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/getMatrixImpact",children:"getMatrixImpact"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/getPixelColor",children:"getPixelColor"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/getPixelRatio",children:"getPixelRatio"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/graphExtent",children:"graphExtent"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/identity",children:"identity"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/indexToColor",children:"indexToColor"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/isPlainObject",children:"isPlainObject"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/linear",children:"linear"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/matrixFromCamera",children:"matrixFromCamera"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/multiply",children:"multiply"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/multiplyVec2",children:"multiplyVec2"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/parseColor",children:"parseColor"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/quadraticIn",children:"quadraticIn"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/quadraticInOut",children:"quadraticInOut"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/quadraticOut",children:"quadraticOut"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/rgbaToFloat",children:"rgbaToFloat"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/rotate",children:"rotate"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/scale",children:"scale"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/translate",children:"translate"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/validateGraph",children:"validateGraph"})}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/functions/zIndexOrdering",children:"zIndexOrdering"})}),"\n"]})]})}function h(s={}){const{wrapper:i}={...(0,c.R)(),...s.components};return i?(0,n.jsx)(i,{...s,children:(0,n.jsx)(o,{...s})}):o(s)}},1184:(s,i,e)=>{e.d(i,{R:()=>r,x:()=>l});var n=e(4041);const c={},t=n.createContext(c);function r(s){const i=n.useContext(t);return n.useMemo((function(){return"function"==typeof s?s(i):{...i,...s}}),[i,s])}function l(s){let i;return i=s.disableParentContext?"function"==typeof s.components?s.components(c):s.components||c:r(s.components),n.createElement(t.Provider,{value:i},s.children)}}}]); \ No newline at end of file diff --git a/assets/js/2e187b96.b3719323.js b/assets/js/2e187b96.b3719323.js new file mode 100644 index 000000000..a3a1b37eb --- /dev/null +++ b/assets/js/2e187b96.b3719323.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9157],{9928:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>d,metadata:()=>o,toc:()=>a});var t=r(1085),s=r(1184);const d={},i="Function: loadVertexShader()",o={id:"typedoc/sigma/src/rendering/functions/loadVertexShader",title:"Function: loadVertexShader()",description:"loadVertexShader(gl, source): WebGLShader",source:"@site/docs/typedoc/sigma/src/rendering/functions/loadVertexShader.md",sourceDirName:"typedoc/sigma/src/rendering/functions",slug:"/typedoc/sigma/src/rendering/functions/loadVertexShader",permalink:"/docs/typedoc/sigma/src/rendering/functions/loadVertexShader",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/functions/loadVertexShader.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"loadProgram",permalink:"/docs/typedoc/sigma/src/rendering/functions/loadProgram"},next:{title:"numberToGLSLFloat",permalink:"/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat"}},c={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-loadvertexshader",children:"Function: loadVertexShader()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"loadVertexShader"}),"(",(0,t.jsx)(n.code,{children:"gl"}),", ",(0,t.jsx)(n.code,{children:"source"}),"): ",(0,t.jsx)(n.code,{children:"WebGLShader"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"gl"}),": ",(0,t.jsx)(n.code,{children:"WebGLRenderingContext"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"source"}),": ",(0,t.jsx)(n.code,{children:"string"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"WebGLShader"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/utils.ts#L74",children:"sigma/src/rendering/utils.ts:74"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>i,x:()=>o});var t=r(4041);const s={},d=t.createContext(s);function i(e){const n=t.useContext(d);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2e71b1ea.c6e791d2.js b/assets/js/2e71b1ea.c6e791d2.js new file mode 100644 index 000000000..b2f6de115 --- /dev/null +++ b/assets/js/2e71b1ea.c6e791d2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9925],{7285:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>n,default:()=>u,frontMatter:()=>a,metadata:()=>d,toc:()=>o});var s=r(1085),c=r(1184);const a={},n="Variable: default",d={id:"typedoc/edge-curve/src/variables/default",title:"Variable: default",description:"const default: EdgeProgramType",source:"@site/docs/typedoc/edge-curve/src/variables/default.md",sourceDirName:"typedoc/edge-curve/src/variables",slug:"/typedoc/edge-curve/src/variables/default",permalink:"/docs/typedoc/edge-curve/src/variables/default",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/variables/default.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"CreateEdgeCurveProgramOptions",permalink:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions"},next:{title:"DEFAULT_EDGE_CURVATURE",permalink:"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE"}},i={},o=[{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"variable-default",children:"Variable: default"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.code,{children:"const"})," ",(0,s.jsx)(t.strong,{children:"default"}),": ",(0,s.jsx)(t.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(t.code,{children:"EdgeProgramType"})})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/edge-curve/src/index.ts#L15",children:"edge-curve/src/index.ts:15"})})]})}function u(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,r)=>{r.d(t,{R:()=>n,x:()=>d});var s=r(4041);const c={},a=s.createContext(c);function n(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2eec36c6.e193b6ec.js b/assets/js/2eec36c6.e193b6ec.js new file mode 100644 index 000000000..2b2f3fd02 --- /dev/null +++ b/assets/js/2eec36c6.e193b6ec.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5320],{7976:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>o,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>d,toc:()=>a});var t=n(1085),i=n(1184);const c={},r="Function: animateNodes()",d={id:"typedoc/sigma/src/utils/functions/animateNodes",title:"Function: animateNodes()",description:"animateNodes(graph, targets, opts, callback?): () => void",source:"@site/docs/typedoc/sigma/src/utils/functions/animateNodes.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/animateNodes",permalink:"/docs/typedoc/sigma/src/utils/functions/animateNodes",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/animateNodes.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"HTML_COLORS",permalink:"/docs/typedoc/sigma/src/utils/variables/HTML_COLORS"},next:{title:"assign",permalink:"/docs/typedoc/sigma/src/utils/functions/assign"}},o={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Returns",id:"returns-1",level:3},{value:"Defined in",id:"defined-in",level:2}];function l(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"function-animatenodes",children:"Function: animateNodes()"})}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"animateNodes"}),"(",(0,t.jsx)(s.code,{children:"graph"}),", ",(0,t.jsx)(s.code,{children:"targets"}),", ",(0,t.jsx)(s.code,{children:"opts"}),", ",(0,t.jsx)(s.code,{children:"callback"}),"?): () => ",(0,t.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:"Function used to animate the nodes."}),"\n",(0,t.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"graph"}),": ",(0,t.jsx)(s.code,{children:"AbstractGraph"}),"<",(0,t.jsx)(s.code,{children:"Attributes"}),", ",(0,t.jsx)(s.code,{children:"Attributes"}),", ",(0,t.jsx)(s.code,{children:"Attributes"}),">"]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"targets"}),": ",(0,t.jsx)(s.code,{children:"PlainObject"}),"<",(0,t.jsx)(s.code,{children:"PlainObject"}),"<",(0,t.jsx)(s.code,{children:"number"}),">>"]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"opts"}),": ",(0,t.jsx)(s.code,{children:"Partial"}),"<",(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,t.jsx)(s.code,{children:"AnimateOptions"})}),">"]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"callback?"})]}),"\n",(0,t.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"Function"})}),"\n",(0,t.jsx)(s.h3,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"void"})}),"\n",(0,t.jsx)(s.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/animate.ts#L23",children:"sigma/src/utils/animate.ts:23"})})]})}function u(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>r,x:()=>d});var t=n(4041);const i={},c=t.createContext(i);function r(e){const s=t.useContext(c);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:r(e.components),t.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2f354c86.624c310c.js b/assets/js/2f354c86.624c310c.js new file mode 100644 index 000000000..c23c39ec6 --- /dev/null +++ b/assets/js/2f354c86.624c310c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3426],{4883:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>_,frontMatter:()=>n,metadata:()=>a,toc:()=>d});var s=t(1085),c=t(1184);const n={},o="Variable: DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS",a={id:"typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS",title:"Variable: DEFAULT\\_EDGE\\_CURVE\\_PROGRAM\\_OPTIONS",description:"const DEFAULT\\_EDGE\\_CURVE\\_PROGRAM\\_OPTIONS: CreateEdgeCurveProgramOptions",source:"@site/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS.md",sourceDirName:"typedoc/edge-curve/src/variables",slug:"/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS",permalink:"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"DEFAULT_EDGE_CURVATURE",permalink:"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE"},next:{title:"DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS",permalink:"/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS"}},i={},d=[{value:"Defined in",id:"defined-in",level:2}];function E(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"variable-default_edge_curve_program_options",children:"Variable: DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"const"})," ",(0,s.jsx)(r.strong,{children:"DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS"}),": ",(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",children:(0,s.jsx)(r.code,{children:"CreateEdgeCurveProgramOptions"})})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/edge-curve/src/utils.ts#L23",children:"edge-curve/src/utils.ts:23"})})]})}function _(e={}){const{wrapper:r}={...(0,c.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(E,{...e})}):E(e)}},1184:(e,r,t)=>{t.d(r,{R:()=>o,x:()=>a});var s=t(4041);const c={},n=s.createContext(c);function o(e){const r=s.useContext(n);return s.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(c):e.components||c:o(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2f80f405.43c5cb9b.js b/assets/js/2f80f405.43c5cb9b.js new file mode 100644 index 000000000..ad118a2e5 --- /dev/null +++ b/assets/js/2f80f405.43c5cb9b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3124],{3464:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>t,toc:()=>l});var n=s(1085),d=s(1184);const c={},i="Class: abstract AbstractProgram<N, E, G>",t={id:"typedoc/sigma/src/rendering/classes/AbstractProgram",title:"Class: abstract AbstractProgram\\<N, E, G\\>",description:"Extended by",source:"@site/docs/typedoc/sigma/src/rendering/classes/AbstractProgram.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/AbstractProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/AbstractProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"AbstractNodeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram"},next:{title:"EdgeLineProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeLineProgram"}},a={},l=[{value:"Extended by",id:"extended-by",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new AbstractProgram()",id:"new-abstractprogram",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Methods",id:"methods",level:2},{value:"kill()",id:"kill",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"reallocate()",id:"reallocate",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"render()",id:"render",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Defined in",id:"defined-in-3",level:4}];function o(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,d.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsxs)(r.h1,{id:"class-abstract-abstractprogramn-e-g",children:["Class: ",(0,n.jsx)(r.code,{children:"abstract"})," AbstractProgram<N, E, G>"]})}),"\n",(0,n.jsx)(r.h2,{id:"extended-by",children:"Extended by"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgram",children:(0,n.jsx)(r.code,{children:"AbstractNodeProgram"})})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,n.jsx)(r.code,{children:"AbstractEdgeProgram"})})}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,n.jsx)(r.h3,{id:"new-abstractprogram",children:"new AbstractProgram()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"new AbstractProgram"}),"<",(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:"_pickGl"}),", ",(0,n.jsx)(r.code,{children:"_renderer"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",children:(0,n.jsx)(r.code,{children:"AbstractProgram"})}),"<",(0,n.jsx)(r.code,{children:"N"}),", ",(0,n.jsx)(r.code,{children:"E"}),", ",(0,n.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"_gl"}),": ",(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"_pickGl"}),": ",(0,n.jsx)(r.code,{children:"WebGLRenderingContext"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"_renderer"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/sigma/src/rendering/classes/AbstractProgram",children:(0,n.jsx)(r.code,{children:"AbstractProgram"})}),"<",(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:"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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L42",children:"sigma/src/rendering/program.ts:42"})}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsx)(r.h3,{id:"kill",children:"kill()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"abstract"})," ",(0,n.jsx)(r.strong,{children:"kill"}),"(): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"void"})}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L45",children:"sigma/src/rendering/program.ts:45"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"abstract"})," ",(0,n.jsx)(r.strong,{children:"reallocate"}),"(",(0,n.jsx)(r.code,{children:"capacity"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"capacity"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\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:"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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L43",children:"sigma/src/rendering/program.ts:43"})}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"abstract"})," ",(0,n.jsx)(r.strong,{children:"render"}),"(",(0,n.jsx)(r.code,{children:"params"}),"): ",(0,n.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"params"}),": ",(0,n.jsx)(r.code,{children:"RenderParams"})]}),"\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:"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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L44",children:"sigma/src/rendering/program.ts:44"})})]})}function h(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>i,x:()=>t});var n=s(4041);const d={},c=n.createContext(d);function i(e){const r=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),n.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/368a0830.cad1cfe4.js b/assets/js/368a0830.cad1cfe4.js new file mode 100644 index 000000000..a278b9bd6 --- /dev/null +++ b/assets/js/368a0830.cad1cfe4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7724],{5030:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>t,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var d=n(1085),s=n(1184);const i={},c="Class: EdgeRectangleProgram<N, E, G>",l={id:"typedoc/sigma/src/rendering/classes/EdgeRectangleProgram",title:"Class: EdgeRectangleProgram\\<N, E, G\\>",description:"Extends",source:"@site/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram"},next:{title:"EdgeTriangleProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeTriangleProgram"}},a={},o=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new EdgeRectangleProgram()",id:"new-edgerectangleprogram",level:3},{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:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"VERTICES",id:"vertices",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:"ATTRIBUTES",id:"attributes-1",level:5},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes-1",level:5},{value:"CONSTANT_DATA",id:"constant_data-1",level:5},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source-1",level:5},{value:"METHOD",id:"method-1",level:5},{value:"UNIFORMS",id:"uniforms-1",level:5},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source-1",level:5},{value:"VERTICES",id:"vertices-1",level:5},{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 h(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.header,{children:(0,d.jsx)(r.h1,{id:"class-edgerectangleprogramn-e-g",children:"Class: EdgeRectangleProgram<N, E, G>"})}),"\n",(0,d.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),"<",(0,d.jsx)(r.em,{children:"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"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"N"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"E"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"G"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"new-edgerectangleprogram",children:"new EdgeRectangleProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"new EdgeRectangleProgram"}),"<",(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/sigma/src/rendering/classes/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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"pickingBuffer"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/sigma/src/rendering/classes/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.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#constructors",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L81",children:"sigma/src/rendering/program.ts:81"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"array"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#array",children:(0,d.jsx)(r.code,{children:"array"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L69",children:"sigma/src/rendering/program.ts:69"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#attributes",children:(0,d.jsx)(r.code,{children:"ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L60",children:"sigma/src/rendering/program.ts:60"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#attributes_items_count",children:(0,d.jsx)(r.code,{children:"ATTRIBUTES_ITEMS_COUNT"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L65",children:"sigma/src/rendering/program.ts:65"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"capacity"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#capacity",children:(0,d.jsx)(r.code,{children:"capacity"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L71",children:"sigma/src/rendering/program.ts:71"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#constant_attributes",children:(0,d.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L62",children:"sigma/src/rendering/program.ts:62"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,d.jsx)(r.code,{children:"number"}),"[][]"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#constant_data",children:(0,d.jsx)(r.code,{children:"CONSTANT_DATA"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L63",children:"sigma/src/rendering/program.ts:63"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"constantArray"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#constantarray",children:(0,d.jsx)(r.code,{children:"constantArray"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L70",children:"sigma/src/rendering/program.ts:70"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"drawLabel"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/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"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#drawlabel",children:(0,d.jsx)(r.code,{children:"drawLabel"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/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:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#fragment_shader_source",children:(0,d.jsx)(r.code,{children:"FRAGMENT_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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L58",children:"sigma/src/rendering/program.ts:58"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"isInstanced"}),": ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#isinstanced",children:(0,d.jsx)(r.code,{children:"isInstanced"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L77",children:"sigma/src/rendering/program.ts:77"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"METHOD"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#method",children:(0,d.jsx)(r.code,{children:"METHOD"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L61",children:"sigma/src/rendering/program.ts:61"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"normalProgram"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#normalprogram",children:(0,d.jsx)(r.code,{children:"normalProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L74",children:"sigma/src/rendering/program.ts:74"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"pickProgram"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#pickprogram",children:(0,d.jsx)(r.code,{children:"pickProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L75",children:"sigma/src/rendering/program.ts:75"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#renderer",children:(0,d.jsx)(r.code,{children:"renderer"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L68",children:"sigma/src/rendering/program.ts:68"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"STRIDE"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#stride",children:(0,d.jsx)(r.code,{children:"STRIDE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L66",children:"sigma/src/rendering/program.ts:66"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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_pixelRatio"'})," | ",(0,d.jsx)(r.code,{children:'"u_minEdgeThickness"'})," | ",(0,d.jsx)(r.code,{children:'"u_zoomRatio"'})," | ",(0,d.jsx)(r.code,{children:'"u_feather"'}),")[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#uniforms",children:(0,d.jsx)(r.code,{children:"UNIFORMS"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L59",children:"sigma/src/rendering/program.ts:59"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#vertex_shader_source",children:(0,d.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L57",children:"sigma/src/rendering/program.ts:57"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTICES"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#vertices",children:(0,d.jsx)(r.code,{children:"VERTICES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L56",children:"sigma/src/rendering/program.ts:56"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"verticesCount"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#verticescount",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L72",children:"sigma/src/rendering/program.ts:72"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"attr"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"setDivisor?"}),": ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#bindattribute",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L244",children:"sigma/src/rendering/program.ts:244"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bindprogram",children:"bindProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(0,d.jsx)(r.strong,{children:"bindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#bindprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L206",children:"sigma/src/rendering/program.ts:206"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,d.jsx)(r.code,{children:"method"}),", ",(0,d.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\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.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#drawwebgl",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L355",children:"sigma/src/rendering/program.ts:355"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getdefinition",children:"getDefinition()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,d.jsx)(r.code,{children:"object"})]}),"\n"]}),"\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.jsx)(r.h5,{id:"attributes-1",children:"ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"ATTRIBUTES"}),": (",(0,d.jsx)(r.code,{children:"object"})," | ",(0,d.jsx)(r.code,{children:"object"}),")[]"]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"constant_attributes-1",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,d.jsx)(r.code,{children:"object"}),"[]"]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"constant_data-1",children:"CONSTANT_DATA"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,d.jsx)(r.code,{children:"number"}),"[][]"]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"fragment_shader_source-1",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"method-1",children:"METHOD"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"METHOD"}),": ",(0,d.jsx)(r.code,{children:"4"})," = ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext.TRIANGLES"})]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"uniforms-1",children:"UNIFORMS"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"UNIFORMS"}),": 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.jsx)(r.code,{children:'"u_pixelRatio"'}),", ",(0,d.jsx)(r.code,{children:'"u_feather"'}),", ",(0,d.jsx)(r.code,{children:'"u_minEdgeThickness"'}),"]"]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"vertex_shader_source-1",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,d.jsx)(r.h5,{id:"vertices-1",children:"VERTICES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTICES"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"6"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#getdefinition",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-rectangle/index.ts#L44",children:"sigma/src/rendering/programs/edge-rectangle/index.ts:44"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"name"}),": ",(0,d.jsx)(r.code,{children:'"normal"'})," | ",(0,d.jsx)(r.code,{children:'"pick"'})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"vertexShaderSource"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"fragmentShaderSource"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"frameBuffer"}),": ",(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/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#getprograminfo",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L150",children:"sigma/src/rendering/program.ts:150"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#hasnothingtorender",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L312",children:"sigma/src/rendering/program.ts:312"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"kill",children:"kill()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#kill",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"edgeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"sourceData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"targetData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#process",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"edgeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"startIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"sourceData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"targetData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#processvisibleitem",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-rectangle/index.ts#L75",children:"sigma/src/rendering/programs/edge-rectangle/index.ts:75"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#reallocate",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L297",children:"sigma/src/rendering/program.ts:297"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#render",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L334",children:"sigma/src/rendering/program.ts:334"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderprogram",children:"renderProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(0,d.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"programInfo"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#renderprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L318",children:"sigma/src/rendering/program.ts:318"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"setuniforms",children:"setUniforms()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"setUniforms"}),"(",(0,d.jsx)(r.code,{children:"params"}),", ",(0,d.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(0,d.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#setuniforms",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-rectangle/index.ts#L116",children:"sigma/src/rendering/programs/edge-rectangle/index.ts:116"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"attr"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"unsetDivisor?"}),": ",(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-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#unbindattribute",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L279",children:"sigma/src/rendering/program.ts:279"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(0,d.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram#unbindprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L235",children:"sigma/src/rendering/program.ts:235"})})]})}function t(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:()=>c,x:()=>l});var d=n(4041);const s={},i=d.createContext(s);function c(e){const r=d.useContext(i);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(s):e.components||s:c(e.components),d.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3afe00af.aa6578ef.js b/assets/js/3afe00af.aa6578ef.js new file mode 100644 index 000000000..13a4da892 --- /dev/null +++ b/assets/js/3afe00af.aa6578ef.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2405],{6489:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>t,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=n(1085),a=n(1184);const o={},i="Variable: EdgeArrowProgram",d={id:"typedoc/sigma/src/rendering/variables/EdgeArrowProgram",title:"Variable: EdgeArrowProgram",description:"const EdgeArrowProgram: EdgeProgramType\\",source:"@site/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram.md",sourceDirName:"typedoc/sigma/src/rendering/variables",slug:"/typedoc/sigma/src/rendering/variables/EdgeArrowProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeArrowHeadProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram"},next:{title:"EdgeClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram"}},t={},c=[{value:"Defined in",id:"defined-in",level:2}];function g(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"variable-edgearrowprogram",children:"Variable: EdgeArrowProgram"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"const"})," ",(0,s.jsx)(r.strong,{children:"EdgeArrowProgram"}),": ",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,s.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(0,s.jsx)(r.code,{children:"Attributes"}),", ",(0,s.jsx)(r.code,{children:"Attributes"}),", ",(0,s.jsx)(r.code,{children:"Attributes"}),">"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-arrow/index.ts#L15",children:"sigma/src/rendering/programs/edge-arrow/index.ts:15"})})]})}function m(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>i,x:()=>d});var s=n(4041);const a={},o=s.createContext(a);function i(e){const r=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3b008fb2.723fa579.js b/assets/js/3b008fb2.723fa579.js new file mode 100644 index 000000000..e8215e0d4 --- /dev/null +++ b/assets/js/3b008fb2.723fa579.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6890],{522:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>r,default:()=>g,frontMatter:()=>c,metadata:()=>a,toc:()=>o});var t=n(1085),i=n(1184);const c={},r="sigma/src/settings",a={id:"typedoc/sigma/src/settings/index",title:"sigma/src/settings",description:"Sigma.js Settings",source:"@site/docs/typedoc/sigma/src/settings/index.md",sourceDirName:"typedoc/sigma/src/settings",slug:"/typedoc/sigma/src/settings/",permalink:"/docs/typedoc/sigma/src/settings/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/settings/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"numberToGLSLFloat",permalink:"/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat"},next:{title:"Settings",permalink:"/docs/typedoc/sigma/src/settings/interfaces/Settings"}},d={},o=[{value:"Index",id:"index",level:2},{value:"Interfaces",id:"interfaces",level:3},{value:"Variables",id:"variables",level:3},{value:"Functions",id:"functions",level:3}];function l(e){const s={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"sigmasrcsettings",children:"sigma/src/settings"})}),"\n",(0,t.jsx)(s.h1,{id:"sigmajs-settings",children:"Sigma.js Settings"}),"\n",(0,t.jsx)(s.p,{children:"The list of settings and some handy functions."}),"\n",(0,t.jsx)(s.h2,{id:"index",children:"Index"}),"\n",(0,t.jsx)(s.h3,{id:"interfaces",children:"Interfaces"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:"Settings"})}),"\n"]}),"\n",(0,t.jsx)(s.h3,{id:"variables",children:"Variables"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES",children:"DEFAULT_EDGE_PROGRAM_CLASSES"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES",children:"DEFAULT_NODE_PROGRAM_CLASSES"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS",children:"DEFAULT_SETTINGS"})}),"\n"]}),"\n",(0,t.jsx)(s.h3,{id:"functions",children:"Functions"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/functions/resolveSettings",children:"resolveSettings"})}),"\n",(0,t.jsx)(s.li,{children:(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/functions/validateSettings",children:"validateSettings"})}),"\n"]})]})}function g(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>r,x:()=>a});var t=n(4041);const i={},c=t.createContext(i);function r(e){const s=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3b7072db.49dc19fd.js b/assets/js/3b7072db.49dc19fd.js new file mode 100644 index 000000000..ba233d9b5 --- /dev/null +++ b/assets/js/3b7072db.49dc19fd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1596],{5214:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var s=n(1085),c=n(1184);const r={},i="Function: createElement()",o={id:"typedoc/sigma/src/utils/functions/createElement",title:"Function: createElement()",description:"createElement\\(tag, style?, attributes?): T",source:"@site/docs/typedoc/sigma/src/utils/functions/createElement.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/createElement",permalink:"/docs/typedoc/sigma/src/utils/functions/createElement",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/createElement.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"colorToIndex",permalink:"/docs/typedoc/sigma/src/utils/functions/colorToIndex"},next:{title:"createNormalizationFunction",permalink:"/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction"}},a={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-createelement",children:"Function: createElement()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"createElement"}),"<",(0,s.jsx)(t.code,{children:"T"}),">(",(0,s.jsx)(t.code,{children:"tag"}),", ",(0,s.jsx)(t.code,{children:"style"}),"?, ",(0,s.jsx)(t.code,{children:"attributes"}),"?): ",(0,s.jsx)(t.code,{children:"T"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Function used to create DOM elements easily."}),"\n",(0,s.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"T"})," ",(0,s.jsx)(t.em,{children:"extends"})," ",(0,s.jsx)(t.code,{children:"HTMLElement"})]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"tag"}),": ",(0,s.jsx)(t.code,{children:"string"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"style?"}),": ",(0,s.jsx)(t.code,{children:"Partial"}),"<",(0,s.jsx)(t.code,{children:"CSSStyleDeclaration"}),">"]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"attributes?"}),": ",(0,s.jsx)(t.code,{children:"PlainObject"}),"<",(0,s.jsx)(t.code,{children:"string"}),">"]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"T"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/misc.ts#L6",children:"sigma/src/utils/misc.ts:6"})})]})}function u(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>o});var s=n(4041);const c={},r=s.createContext(c);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3c2b600a.1a60ad75.js b/assets/js/3c2b600a.1a60ad75.js new file mode 100644 index 000000000..0c4e0a05f --- /dev/null +++ b/assets/js/3c2b600a.1a60ad75.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8358],{3039:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>h,frontMatter:()=>c,metadata:()=>d,toc:()=>a});var s=n(1085),t=n(1184);const c={},o="Function: createContoursProgram()",d={id:"typedoc/layer-webgl/src/functions/createContoursProgram",title:"Function: createContoursProgram()",description:"createContoursProgram\\(nodes, options?): WebGLLayerProgramType\\",source:"@site/docs/typedoc/layer-webgl/src/functions/createContoursProgram.md",sourceDirName:"typedoc/layer-webgl/src/functions",slug:"/typedoc/layer-webgl/src/functions/createContoursProgram",permalink:"/docs/typedoc/layer-webgl/src/functions/createContoursProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-webgl/src/functions/createContoursProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"bindWebGLLayer",permalink:"/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer"},next:{title:"getContoursFragmentShader",permalink:"/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader"}},i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-createcontoursprogram",children:"Function: createContoursProgram()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"createContoursProgram"}),"<",(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:"nodes"}),", ",(0,s.jsx)(r.code,{children:"options"}),"?): ",(0,s.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType",children:(0,s.jsx)(r.code,{children:"WebGLLayerProgramType"})}),"<",(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:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"N"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"E"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"G"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"nodes"}),": ",(0,s.jsx)(r.code,{children:"string"}),"[]"]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"options?"}),": ",(0,s.jsx)(r.code,{children:"Partial"}),"<",(0,s.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions",children:(0,s.jsx)(r.code,{children:"ContoursOptions"})}),">"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.a,{href:"/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType",children:(0,s.jsx)(r.code,{children:"WebGLLayerProgramType"})}),"<",(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.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/layer-webgl/src/contours/index.ts#L14",children:"layer-webgl/src/contours/index.ts:14"})})]})}function h(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>d});var s=n(4041);const t={},c=s.createContext(t);function o(e){const r=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),s.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3d76ef00.1d29b0ee.js b/assets/js/3d76ef00.1d29b0ee.js new file mode 100644 index 000000000..80e8c4ed2 --- /dev/null +++ b/assets/js/3d76ef00.1d29b0ee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[8508],{8058:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>d,metadata:()=>a,toc:()=>o});var i=r(1085),s=r(1184);const d={},c="Class: abstract Program<Uniform, N, E, G>",a={id:"typedoc/sigma/src/rendering/classes/Program",title:"Class: abstract Program\\<Uniform, N, E, G\\>",description:"Extended by",source:"@site/docs/typedoc/sigma/src/rendering/classes/Program.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/Program",permalink:"/docs/typedoc/sigma/src/rendering/classes/Program",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/Program.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram"},next:{title:"InstancedProgramDefinition",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition"}},l={},o=[{value:"Extended by",id:"extended-by",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new Program()",id:"new-program",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:"array",id:"array",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"capacity",id:"capacity",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"METHOD",id:"method",level:3},{value:"Implementation of",id:"implementation-of-4",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"renderer",id:"renderer",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Implementation of",id:"implementation-of-5",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Implementation of",id:"implementation-of-6",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Implementation of",id:"implementation-of-7",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Defined in",id:"defined-in-18",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:"Defined in",id:"defined-in-19",level:4},{value:"bindProgram()",id:"bindprogram",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"drawWebGL()",id:"drawwebgl",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"getDefinition()",id:"getdefinition",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"getProgramInfo()",id:"getprograminfo",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"hasNothingToRender()",id:"hasnothingtorender",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"kill()",id:"kill",level:3},{value:"Returns",id:"returns-7",level:4},{value:"Implementation of",id:"implementation-of-8",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"reallocate()",id:"reallocate",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Implementation of",id:"implementation-of-9",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"render()",id:"render",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Implementation of",id:"implementation-of-10",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"renderProgram()",id:"renderprogram",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"setUniforms()",id:"setuniforms",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"unbindAttribute()",id:"unbindattribute",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"unbindProgram()",id:"unbindprogram",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Defined in",id:"defined-in-31",level:4}];function t(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsxs)(n.h1,{id:"class-abstract-programuniform-n-e-g",children:["Class: ",(0,i.jsx)(n.code,{children:"abstract"})," Program<Uniform, N, E, G>"]})}),"\n",(0,i.jsx)(n.h2,{id:"extended-by",children:"Extended by"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/NodeProgram",children:(0,i.jsx)(n.code,{children:"NodeProgram"})})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",children:(0,i.jsx)(n.code,{children:"EdgeProgram"})})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram",children:(0,i.jsx)(n.code,{children:"WebGLLayerProgram"})})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Uniform"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:"string"})," = ",(0,i.jsx)(n.code,{children:"string"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"N"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:"Attributes"})," = ",(0,i.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"E"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:"Attributes"})," = ",(0,i.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"G"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:"Attributes"})," = ",(0,i.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,i.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",children:(0,i.jsx)(n.code,{children:"AbstractProgram"})}),"<",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(n.h3,{id:"new-program",children:"new Program()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"new Program"}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),", ",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">(",(0,i.jsx)(n.code,{children:"gl"}),", ",(0,i.jsx)(n.code,{children:"pickingBuffer"}),", ",(0,i.jsx)(n.code,{children:"renderer"}),"): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,i.jsx)(n.code,{children:"Program"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),", ",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"gl"}),": ",(0,i.jsx)(n.code,{children:"WebGLRenderingContext"})," | ",(0,i.jsx)(n.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"pickingBuffer"}),": ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"WebGLFramebuffer"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"renderer"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,i.jsx)(n.code,{children:"Sigma"})}),"<",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,i.jsx)(n.code,{children:"Program"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),", ",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L81",children:"sigma/src/rendering/program.ts:81"})}),"\n",(0,i.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(n.h3,{id:"array",children:"array"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"array"}),": ",(0,i.jsx)(n.code,{children:"Float32Array"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L69",children:"sigma/src/rendering/program.ts:69"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"ATTRIBUTES"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,i.jsx)(n.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#attributes",children:(0,i.jsx)(n.code,{children:"ATTRIBUTES"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L60",children:"sigma/src/rendering/program.ts:60"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"attributes_items_count",children:"ATTRIBUTES_ITEMS_COUNT"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L65",children:"sigma/src/rendering/program.ts:65"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"capacity",children:"capacity"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"capacity"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"0"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L71",children:"sigma/src/rendering/program.ts:71"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,i.jsx)(n.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#constant_attributes",children:(0,i.jsx)(n.code,{children:"CONSTANT_ATTRIBUTES"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L62",children:"sigma/src/rendering/program.ts:62"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"CONSTANT_DATA"}),": ",(0,i.jsx)(n.code,{children:"number"}),"[][]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#constant_data",children:(0,i.jsx)(n.code,{children:"CONSTANT_DATA"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L63",children:"sigma/src/rendering/program.ts:63"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"constantArray"}),": ",(0,i.jsx)(n.code,{children:"Float32Array"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L70",children:"sigma/src/rendering/program.ts:70"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,i.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#fragment_shader_source",children:(0,i.jsx)(n.code,{children:"FRAGMENT_SHADER_SOURCE"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L58",children:"sigma/src/rendering/program.ts:58"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"isInstanced"}),": ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L77",children:"sigma/src/rendering/program.ts:77"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"method",children:"METHOD"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"METHOD"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-4",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#method",children:(0,i.jsx)(n.code,{children:"METHOD"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L61",children:"sigma/src/rendering/program.ts:61"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"normalProgram"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L74",children:"sigma/src/rendering/program.ts:74"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"pickProgram"}),": ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L75",children:"sigma/src/rendering/program.ts:75"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"renderer",children:"renderer"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"renderer"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,i.jsx)(n.code,{children:"Sigma"})}),"<",(0,i.jsx)(n.code,{children:"N"}),", ",(0,i.jsx)(n.code,{children:"E"}),", ",(0,i.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L68",children:"sigma/src/rendering/program.ts:68"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"stride",children:"STRIDE"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"STRIDE"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L66",children:"sigma/src/rendering/program.ts:66"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"UNIFORMS"}),": readonly ",(0,i.jsx)(n.code,{children:"Uniform"}),"[]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-5",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#uniforms",children:(0,i.jsx)(n.code,{children:"UNIFORMS"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L59",children:"sigma/src/rendering/program.ts:59"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"vertex_shader_source",children:"VERTEX_SHADER_SOURCE"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,i.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-6",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#vertex_shader_source",children:(0,i.jsx)(n.code,{children:"VERTEX_SHADER_SOURCE"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L57",children:"sigma/src/rendering/program.ts:57"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"VERTICES"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-7",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition#vertices",children:(0,i.jsx)(n.code,{children:"VERTICES"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L56",children:"sigma/src/rendering/program.ts:56"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"verticesCount"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"0"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L72",children:"sigma/src/rendering/program.ts:72"})}),"\n",(0,i.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(n.h3,{id:"bindattribute",children:"bindAttribute()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"bindAttribute"}),"(",(0,i.jsx)(n.code,{children:"attr"}),", ",(0,i.jsx)(n.code,{children:"program"}),", ",(0,i.jsx)(n.code,{children:"offset"}),", ",(0,i.jsx)(n.code,{children:"setDivisor"}),"?): ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"attr"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,i.jsx)(n.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"program"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"offset"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"setDivisor?"}),": ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"number"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L244",children:"sigma/src/rendering/program.ts:244"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"bindprogram",children:"bindProgram()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"bindProgram"}),"(",(0,i.jsx)(n.code,{children:"program"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"program"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L206",children:"sigma/src/rendering/program.ts:206"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"drawwebgl",children:"drawWebGL()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"drawWebGL"}),"(",(0,i.jsx)(n.code,{children:"method"}),", ",(0,i.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"method"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"__namedParameters"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L355",children:"sigma/src/rendering/program.ts:355"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getdefinition",children:"getDefinition()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"abstract"})," ",(0,i.jsx)(n.strong,{children:"getDefinition"}),"(): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",children:(0,i.jsx)(n.code,{children:"ProgramDefinition"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),"> | ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",children:(0,i.jsx)(n.code,{children:"ProgramDefinition"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),"> | ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,i.jsx)(n.code,{children:"InstancedProgramDefinition"})}),"<",(0,i.jsx)(n.code,{children:"Uniform"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L79",children:"sigma/src/rendering/program.ts:79"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getprograminfo",children:"getProgramInfo()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"getProgramInfo"}),"(",(0,i.jsx)(n.code,{children:"name"}),", ",(0,i.jsx)(n.code,{children:"gl"}),", ",(0,i.jsx)(n.code,{children:"vertexShaderSource"}),", ",(0,i.jsx)(n.code,{children:"fragmentShaderSource"}),", ",(0,i.jsx)(n.code,{children:"frameBuffer"}),"): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"name"}),": ",(0,i.jsx)(n.code,{children:'"normal"'})," | ",(0,i.jsx)(n.code,{children:'"pick"'})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"gl"}),": ",(0,i.jsx)(n.code,{children:"WebGLRenderingContext"})," | ",(0,i.jsx)(n.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"vertexShaderSource"}),": ",(0,i.jsx)(n.code,{children:"string"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"fragmentShaderSource"}),": ",(0,i.jsx)(n.code,{children:"string"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"frameBuffer"}),": ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"WebGLFramebuffer"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L150",children:"sigma/src/rendering/program.ts:150"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"hasnothingtorender",children:"hasNothingToRender()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"hasNothingToRender"}),"(): ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"boolean"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L312",children:"sigma/src/rendering/program.ts:312"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"kill",children:"kill()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"kill"}),"(): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-8",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",children:(0,i.jsx)(n.code,{children:"AbstractProgram"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#kill",children:(0,i.jsx)(n.code,{children:"kill"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L141",children:"sigma/src/rendering/program.ts:141"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"reallocate"}),"(",(0,i.jsx)(n.code,{children:"capacity"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"capacity"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-9",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",children:(0,i.jsx)(n.code,{children:"AbstractProgram"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#reallocate",children:(0,i.jsx)(n.code,{children:"reallocate"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L297",children:"sigma/src/rendering/program.ts:297"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"render",children:"render()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"render"}),"(",(0,i.jsx)(n.code,{children:"params"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"params"}),": ",(0,i.jsx)(n.code,{children:"RenderParams"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-10",children:"Implementation of"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram",children:(0,i.jsx)(n.code,{children:"AbstractProgram"})}),".",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractProgram#render",children:(0,i.jsx)(n.code,{children:"render"})})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L334",children:"sigma/src/rendering/program.ts:334"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"renderprogram",children:"renderProgram()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"renderProgram"}),"(",(0,i.jsx)(n.code,{children:"params"}),", ",(0,i.jsx)(n.code,{children:"programInfo"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"params"}),": ",(0,i.jsx)(n.code,{children:"RenderParams"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"programInfo"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L318",children:"sigma/src/rendering/program.ts:318"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"setuniforms",children:"setUniforms()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"abstract"})," ",(0,i.jsx)(n.strong,{children:"setUniforms"}),"(",(0,i.jsx)(n.code,{children:"params"}),", ",(0,i.jsx)(n.code,{children:"programInfo"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"params"}),": ",(0,i.jsx)(n.code,{children:"RenderParams"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"programInfo"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L316",children:"sigma/src/rendering/program.ts:316"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"unbindattribute",children:"unbindAttribute()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"unbindAttribute"}),"(",(0,i.jsx)(n.code,{children:"attr"}),", ",(0,i.jsx)(n.code,{children:"program"}),", ",(0,i.jsx)(n.code,{children:"unsetDivisor"}),"?): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"attr"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,i.jsx)(n.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"program"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"unsetDivisor?"}),": ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L279",children:"sigma/src/rendering/program.ts:279"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"unbindprogram",children:"unbindProgram()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"protected"})," ",(0,i.jsx)(n.strong,{children:"unbindProgram"}),"(",(0,i.jsx)(n.code,{children:"program"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"program"}),": ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,i.jsx)(n.code,{children:"ProgramInfo"})}),"<",(0,i.jsx)(n.code,{children:"string"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L235",children:"sigma/src/rendering/program.ts:235"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(t,{...e})}):t(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>a});var i=r(4041);const s={},d=i.createContext(s);function c(e){const n=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),i.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/40aedcde.cf7db9a5.js b/assets/js/40aedcde.cf7db9a5.js new file mode 100644 index 000000000..2c9347d6a --- /dev/null +++ b/assets/js/40aedcde.cf7db9a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7299],{6497:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>o,contentTitle:()=>r,default:()=>h,frontMatter:()=>c,metadata:()=>d,toc:()=>l});var n=t(1085),i=t(1184);const c={},r="Function: resolveSettings()",d={id:"typedoc/sigma/src/settings/functions/resolveSettings",title:"Function: resolveSettings()",description:"resolveSettings\\(settings): Settings\\",source:"@site/docs/typedoc/sigma/src/settings/functions/resolveSettings.md",sourceDirName:"typedoc/sigma/src/settings/functions",slug:"/typedoc/sigma/src/settings/functions/resolveSettings",permalink:"/docs/typedoc/sigma/src/settings/functions/resolveSettings",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/settings/functions/resolveSettings.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"DEFAULT_SETTINGS",permalink:"/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS"},next:{title:"validateSettings",permalink:"/docs/typedoc/sigma/src/settings/functions/validateSettings"}},o={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"function-resolvesettings",children:"Function: resolveSettings()"})}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"resolveSettings"}),"<",(0,n.jsx)(s.code,{children:"N"}),", ",(0,n.jsx)(s.code,{children:"E"}),", ",(0,n.jsx)(s.code,{children:"G"}),">(",(0,n.jsx)(s.code,{children:"settings"}),"): ",(0,n.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(s.code,{children:"Settings"})}),"<",(0,n.jsx)(s.code,{children:"N"}),", ",(0,n.jsx)(s.code,{children:"E"}),", ",(0,n.jsx)(s.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"N"})," ",(0,n.jsx)(s.em,{children:"extends"})," ",(0,n.jsx)(s.code,{children:"Attributes"})," = ",(0,n.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"E"})," ",(0,n.jsx)(s.em,{children:"extends"})," ",(0,n.jsx)(s.code,{children:"Attributes"})," = ",(0,n.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"G"})," ",(0,n.jsx)(s.em,{children:"extends"})," ",(0,n.jsx)(s.code,{children:"Attributes"})," = ",(0,n.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(s.p,{children:["\u2022 ",(0,n.jsx)(s.strong,{children:"settings"}),": ",(0,n.jsx)(s.code,{children:"Partial"}),"<",(0,n.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(s.code,{children:"Settings"})}),"<",(0,n.jsx)(s.code,{children:"N"}),", ",(0,n.jsx)(s.code,{children:"E"}),", ",(0,n.jsx)(s.code,{children:"G"}),">>"]}),"\n",(0,n.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(s.code,{children:"Settings"})}),"<",(0,n.jsx)(s.code,{children:"N"}),", ",(0,n.jsx)(s.code,{children:"E"}),", ",(0,n.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(s.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L209",children:"sigma/src/settings.ts:209"})})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1184:(e,s,t)=>{t.d(s,{R:()=>r,x:()=>d});var n=t(4041);const i={},c=n.createContext(i);function r(e){const s=n.useContext(c);return n.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:r(e.components),n.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4162c899.af7c1bb8.js b/assets/js/4162c899.af7c1bb8.js new file mode 100644 index 000000000..17b61c7f8 --- /dev/null +++ b/assets/js/4162c899.af7c1bb8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6869],{5678:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>t});var i=s(1085),r=s(1184);const d={},c="Class: Camera",l={id:"typedoc/sigma/src/classes/Camera",title:"Class: Camera",description:"Camera class",source:"@site/docs/typedoc/sigma/src/classes/Camera.md",sourceDirName:"typedoc/sigma/src/classes",slug:"/typedoc/sigma/src/classes/Camera",permalink:"/docs/typedoc/sigma/src/classes/Camera",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/classes/Camera.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"sigma/src",permalink:"/docs/typedoc/sigma/src/"},next:{title:"MouseCaptor",permalink:"/docs/typedoc/sigma/src/classes/MouseCaptor"}},a={},t=[{value:"Extends",id:"extends",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new Camera()",id:"new-camera",level:3},{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:"angle",id:"angle",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"animationCallback()?",id:"animationcallback",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"clean",id:"clean",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"enabledPanning",id:"enabledpanning",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"enabledRotation",id:"enabledrotation",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"enabledZooming",id:"enabledzooming",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"maxRatio",id:"maxratio",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"minRatio",id:"minratio",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"ratio",id:"ratio",level:3},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"rawEmitter",id:"rawemitter",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"x",id:"x",level:3},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"y",id:"y",level:3},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"Methods",id:"methods",level:2},{value:"addListener()",id:"addlistener",level:3},{value:"Type Parameters",id:"type-parameters",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"animate()",id:"animate",level:3},{value:"animate(state, opts, callback)",id:"animatestate-opts-callback",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-14",level:5},{value:"animate(state, opts)",id:"animatestate-opts",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-15",level:5},{value:"animatedReset()",id:"animatedreset",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"animatedUnzoom()",id:"animatedunzoom",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"animatedZoom()",id:"animatedzoom",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"copy()",id:"copy",level:3},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"disable()",id:"disable",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"emit()",id:"emit",level:3},{value:"Type Parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"enable()",id:"enable",level:3},{value:"Returns",id:"returns-11",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"eventNames()",id:"eventnames",level:3},{value:"Type Parameters",id:"type-parameters-2",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"getBoundedRatio()",id:"getboundedratio",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"getMaxListeners()",id:"getmaxlisteners",level:3},{value:"Returns",id:"returns-14",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"getPreviousState()",id:"getpreviousstate",level:3},{value:"Returns",id:"returns-15",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"getState()",id:"getstate",level:3},{value:"Returns",id:"returns-16",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"hasState()",id:"hasstate",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-17",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"isAnimated()",id:"isanimated",level:3},{value:"Returns",id:"returns-18",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"listenerCount()",id:"listenercount",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-5",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"listeners()",id:"listeners",level:3},{value:"Type Parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"off()",id:"off",level:3},{value:"Type Parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"on()",id:"on",level:3},{value:"Type Parameters",id:"type-parameters-6",level:4},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-22",level:4},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"once()",id:"once",level:3},{value:"Type Parameters",id:"type-parameters-7",level:4},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-23",level:4},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"prependListener()",id:"prependlistener",level:3},{value:"Type Parameters",id:"type-parameters-8",level:4},{value:"Parameters",id:"parameters-14",level:4},{value:"Returns",id:"returns-24",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"prependOnceListener()",id:"prependoncelistener",level:3},{value:"Type Parameters",id:"type-parameters-9",level:4},{value:"Parameters",id:"parameters-15",level:4},{value:"Returns",id:"returns-25",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"rawListeners()",id:"rawlisteners",level:3},{value:"Type Parameters",id:"type-parameters-10",level:4},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-26",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"removeAllListeners()",id:"removealllisteners",level:3},{value:"Type Parameters",id:"type-parameters-11",level:4},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-27",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"removeListener()",id:"removelistener",level:3},{value:"Type Parameters",id:"type-parameters-12",level:4},{value:"Parameters",id:"parameters-18",level:4},{value:"Returns",id:"returns-28",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"setMaxListeners()",id:"setmaxlisteners",level:3},{value:"Parameters",id:"parameters-19",level:4},{value:"Returns",id:"returns-29",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"setState()",id:"setstate",level:3},{value:"Parameters",id:"parameters-20",level:4},{value:"Returns",id:"returns-30",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"updateState()",id:"updatestate",level:3},{value:"Parameters",id:"parameters-21",level:4},{value:"Returns",id:"returns-31",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"validateState()",id:"validatestate",level:3},{value:"Parameters",id:"parameters-22",level:4},{value:"Returns",id:"returns-32",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"from()",id:"from",level:3},{value:"Parameters",id:"parameters-23",level:4},{value:"Returns",id:"returns-33",level:4},{value:"Defined in",id:"defined-in-44",level:4}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"class-camera",children:"Class: Camera"})}),"\n",(0,i.jsx)(n.p,{children:"Camera class"}),"\n",(0,i.jsx)(n.h2,{id:"extends",children:"Extends"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"TypedEventEmitter"}),"<",(0,i.jsx)(n.code,{children:"CameraEvents"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"implements",children:"Implements"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.code,{children:"CameraState"})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(n.h3,{id:"new-camera",children:"new Camera()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"new Camera"}),"(): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})}),"\n",(0,i.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter<CameraEvents>.constructor"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L45",children:"sigma/src/core/camera.ts:45"})}),"\n",(0,i.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(n.h3,{id:"angle",children:"angle"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"angle"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"0"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"CameraState.angle"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L29",children:"sigma/src/core/camera.ts:29"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"animationcallback",children:"animationCallback()?"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"optional"})," ",(0,i.jsx)(n.strong,{children:"animationCallback"}),": () => ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L43",children:"sigma/src/core/camera.ts:43"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"clean",children:"clean"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"clean"}),": ",(0,i.jsx)(n.code,{children:"null"})," | (",(0,i.jsx)(n.code,{children:"state"}),") => ",(0,i.jsx)(n.code,{children:"CameraState"})," = ",(0,i.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L37",children:"sigma/src/core/camera.ts:37"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"enabledpanning",children:"enabledPanning"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"enabledPanning"}),": ",(0,i.jsx)(n.code,{children:"boolean"})," = ",(0,i.jsx)(n.code,{children:"true"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L35",children:"sigma/src/core/camera.ts:35"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"enabledrotation",children:"enabledRotation"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"enabledRotation"}),": ",(0,i.jsx)(n.code,{children:"boolean"})," = ",(0,i.jsx)(n.code,{children:"true"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L36",children:"sigma/src/core/camera.ts:36"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"enabledzooming",children:"enabledZooming"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"enabledZooming"}),": ",(0,i.jsx)(n.code,{children:"boolean"})," = ",(0,i.jsx)(n.code,{children:"true"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L34",children:"sigma/src/core/camera.ts:34"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"maxratio",children:"maxRatio"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"maxRatio"}),": ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L33",children:"sigma/src/core/camera.ts:33"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"minratio",children:"minRatio"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"minRatio"}),": ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L32",children:"sigma/src/core/camera.ts:32"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"ratio",children:"ratio"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"ratio"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"1"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-1",children:"Implementation of"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"CameraState.ratio"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L30",children:"sigma/src/core/camera.ts:30"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"rawemitter",children:"rawEmitter"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"rawEmitter"}),": ",(0,i.jsx)(n.code,{children:"EventEmitter"}),"<",(0,i.jsx)(n.code,{children:"DefaultEventMap"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.rawEmitter"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L114",children:"sigma/src/types.ts:114"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"x",children:"x"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"x"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"0.5"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-2",children:"Implementation of"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"CameraState.x"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L27",children:"sigma/src/core/camera.ts:27"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"y",children:"y"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"y"}),": ",(0,i.jsx)(n.code,{children:"number"})," = ",(0,i.jsx)(n.code,{children:"0.5"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"implementation-of-3",children:"Implementation of"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"CameraState.y"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L28",children:"sigma/src/core/camera.ts:28"})}),"\n",(0,i.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(n.h3,{id:"addlistener",children:"addListener()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"addListener"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.addListener"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L120",children:"sigma/src/types.ts:120"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"animate",children:"animate()"}),"\n",(0,i.jsx)(n.h4,{id:"animatestate-opts-callback",children:"animate(state, opts, callback)"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"animate"}),"(",(0,i.jsx)(n.code,{children:"state"}),", ",(0,i.jsx)(n.code,{children:"opts"}),", ",(0,i.jsx)(n.code,{children:"callback"}),"): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to animate the camera."}),"\n",(0,i.jsx)(n.h5,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"opts"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,i.jsx)(n.code,{children:"AnimateOptions"})}),">"]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"callback"})]}),"\n",(0,i.jsx)(n.h5,{id:"returns-3",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h5,{id:"defined-in-14",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L173",children:"sigma/src/core/camera.ts:173"})}),"\n",(0,i.jsx)(n.h4,{id:"animatestate-opts",children:"animate(state, opts)"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"animate"}),"(",(0,i.jsx)(n.code,{children:"state"}),", ",(0,i.jsx)(n.code,{children:"opts"}),"?): ",(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.h5,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"opts?"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,i.jsx)(n.code,{children:"AnimateOptions"})}),">"]}),"\n",(0,i.jsx)(n.h5,{id:"returns-4",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n",(0,i.jsx)(n.h5,{id:"defined-in-15",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L174",children:"sigma/src/core/camera.ts:174"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"animatedreset",children:"animatedReset()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"animatedReset"}),"(",(0,i.jsx)(n.code,{children:"options"}),"?): ",(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to reset the camera."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"options?"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,i.jsx)(n.code,{children:"AnimateOptions"})}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L276",children:"sigma/src/core/camera.ts:276"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"animatedunzoom",children:"animatedUnzoom()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"animatedUnzoom"}),"(",(0,i.jsx)(n.code,{children:"factorOrOptions"}),"?): ",(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to unzoom the camera."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"factorOrOptions?"}),": ",(0,i.jsx)(n.code,{children:"number"})," | ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,i.jsx)(n.code,{children:"AnimateOptions"})}),"> & ",(0,i.jsx)(n.code,{children:"object"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-6",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L260",children:"sigma/src/core/camera.ts:260"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"animatedzoom",children:"animatedZoom()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"animatedZoom"}),"(",(0,i.jsx)(n.code,{children:"factorOrOptions"}),"?): ",(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to zoom the camera."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"factorOrOptions?"}),": ",(0,i.jsx)(n.code,{children:"number"})," | ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",children:(0,i.jsx)(n.code,{children:"AnimateOptions"})}),"> & ",(0,i.jsx)(n.code,{children:"object"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-7",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Promise"}),"<",(0,i.jsx)(n.code,{children:"void"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L244",children:"sigma/src/core/camera.ts:244"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"copy",children:"copy()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"copy"}),"(): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Returns a new Camera instance, with the same state as the current camera."}),"\n",(0,i.jsx)(n.h4,{id:"returns-8",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L291",children:"sigma/src/core/camera.ts:291"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"disable",children:"disable()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"disable"}),"(): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to disable the camera."}),"\n",(0,i.jsx)(n.h4,{id:"returns-9",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L71",children:"sigma/src/core/camera.ts:71"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"emit",children:"emit()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"emit"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ...",(0,i.jsx)(n.code,{children:"args"}),"): ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-1",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ...",(0,i.jsx)(n.strong,{children:"args"}),": ",(0,i.jsx)(n.code,{children:"Parameters"}),"<",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]>"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-10",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"boolean"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.emit"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L119",children:"sigma/src/types.ts:119"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"enable",children:"enable()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"enable"}),"(): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to enable the camera."}),"\n",(0,i.jsx)(n.h4,{id:"returns-11",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L63",children:"sigma/src/core/camera.ts:63"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"eventnames",children:"eventNames()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"eventNames"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(): ",(0,i.jsx)(n.code,{children:"Event"}),"[]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-2",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-12",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Event"}),"[]"]}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.eventNames"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L116",children:"sigma/src/types.ts:116"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getboundedratio",children:"getBoundedRatio()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"getBoundedRatio"}),"(",(0,i.jsx)(n.code,{children:"ratio"}),"): ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to check minRatio and maxRatio values."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"ratio"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-13",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"number"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L114",children:"sigma/src/core/camera.ts:114"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getmaxlisteners",children:"getMaxListeners()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"getMaxListeners"}),"(): ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-14",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"number"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.getMaxListeners"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L118",children:"sigma/src/types.ts:118"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getpreviousstate",children:"getPreviousState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"getPreviousState"}),"(): ",(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"CameraState"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to retrieve the camera's previous state."}),"\n",(0,i.jsx)(n.h4,{id:"returns-15",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"null"})," | ",(0,i.jsx)(n.code,{children:"CameraState"})]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L98",children:"sigma/src/core/camera.ts:98"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"getstate",children:"getState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"getState"}),"(): ",(0,i.jsx)(n.code,{children:"CameraState"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to retrieve the camera's current state."}),"\n",(0,i.jsx)(n.h4,{id:"returns-16",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"CameraState"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L79",children:"sigma/src/core/camera.ts:79"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"hasstate",children:"hasState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"hasState"}),"(",(0,i.jsx)(n.code,{children:"state"}),"): ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to check whether the camera has the given state."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"CameraState"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-17",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"boolean"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L91",children:"sigma/src/core/camera.ts:91"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"isanimated",children:"isAnimated()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"isAnimated"}),"(): ",(0,i.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to check whether the camera is currently being animated."}),"\n",(0,i.jsx)(n.h4,{id:"returns-18",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"boolean"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L137",children:"sigma/src/core/camera.ts:137"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"listenercount",children:"listenerCount()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"listenerCount"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),"): ",(0,i.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-3",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-19",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"number"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.listenerCount"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L129",children:"sigma/src/types.ts:129"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"listeners",children:"listeners()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"listeners"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),"): ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-4",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-20",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"][]"]}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.listeners"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L128",children:"sigma/src/types.ts:128"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"off",children:"off()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"off"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-5",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-21",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.off"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L126",children:"sigma/src/types.ts:126"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"on",children:"on()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"on"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-6",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-22",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.on"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L121",children:"sigma/src/types.ts:121"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"once",children:"once()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"once"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-7",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-23",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.once"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L122",children:"sigma/src/types.ts:122"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"prependlistener",children:"prependListener()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"prependListener"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-8",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-24",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.prependListener"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L123",children:"sigma/src/types.ts:123"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"prependoncelistener",children:"prependOnceListener()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"prependOnceListener"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-9",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-25",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.prependOnceListener"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L124",children:"sigma/src/types.ts:124"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"rawlisteners",children:"rawListeners()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"rawListeners"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),"): ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-10",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-26",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"][]"]}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.rawListeners"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L130",children:"sigma/src/types.ts:130"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"removealllisteners",children:"removeAllListeners()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"removeAllListeners"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),"?): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-11",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type?"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-27",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.removeAllListeners"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L127",children:"sigma/src/types.ts:127"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"removelistener",children:"removeListener()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"removeListener"}),"<",(0,i.jsx)(n.code,{children:"Event"}),">(",(0,i.jsx)(n.code,{children:"type"}),", ",(0,i.jsx)(n.code,{children:"listener"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"type-parameters-12",children:"Type Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"Event"})," ",(0,i.jsx)(n.em,{children:"extends"})," ",(0,i.jsx)(n.code,{children:'"updated"'})]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-18",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"type"}),": ",(0,i.jsx)(n.code,{children:"Event"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"listener"}),": ",(0,i.jsx)(n.code,{children:"CameraEvents"}),"[",(0,i.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-28",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.removeListener"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-39",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L125",children:"sigma/src/types.ts:125"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"setmaxlisteners",children:"setMaxListeners()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"setMaxListeners"}),"(",(0,i.jsx)(n.code,{children:"n"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"parameters-19",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"n"}),": ",(0,i.jsx)(n.code,{children:"number"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-29",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"TypedEventEmitter.setMaxListeners"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-40",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L117",children:"sigma/src/types.ts:117"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"setstate",children:"setState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"setState"}),"(",(0,i.jsx)(n.code,{children:"state"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to set the camera's state."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-20",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-30",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-41",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L144",children:"sigma/src/core/camera.ts:144"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"updatestate",children:"updateState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"updateState"}),"(",(0,i.jsx)(n.code,{children:"updater"}),"): ",(0,i.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to update the camera's state using a function."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-21",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"updater"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-31",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"this"})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-42",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L165",children:"sigma/src/core/camera.ts:165"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"validatestate",children:"validateState()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"validateState"}),"(",(0,i.jsx)(n.code,{children:"state"}),"): ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Method used to check various things to return a legit state candidate."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-22",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"returns-32",children:"Returns"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Partial"}),"<",(0,i.jsx)(n.code,{children:"CameraState"}),">"]}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-43",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L124",children:"sigma/src/core/camera.ts:124"})}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.h3,{id:"from",children:"from()"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"static"})," ",(0,i.jsx)(n.strong,{children:"from"}),"(",(0,i.jsx)(n.code,{children:"state"}),"): ",(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Static method used to create a Camera object with a given state."}),"\n",(0,i.jsx)(n.h4,{id:"parameters-23",children:"Parameters"}),"\n",(0,i.jsxs)(n.p,{children:["\u2022 ",(0,i.jsx)(n.strong,{children:"state"}),": ",(0,i.jsx)(n.code,{children:"CameraState"})]}),"\n",(0,i.jsx)(n.h4,{id:"returns-33",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Camera",children:(0,i.jsx)(n.code,{children:"Camera"})})}),"\n",(0,i.jsx)(n.h4,{id:"defined-in-44",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/camera.ts#L55",children:"sigma/src/core/camera.ts:55"})})]})}function o(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>l});var i=s(4041);const r={},d=i.createContext(r);function c(e){const n=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),i.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/49c8e98f.362288a5.js b/assets/js/49c8e98f.362288a5.js new file mode 100644 index 000000000..56277ab30 --- /dev/null +++ b/assets/js/49c8e98f.362288a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9039],{7340:(e,r,o)=>{o.r(r),o.d(r,{assets:()=>t,contentTitle:()=>d,default:()=>l,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=o(1085),s=o(1184);const a={},d="Variable: EdgeDoubleArrowProgram",i={id:"typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram",title:"Variable: EdgeDoubleArrowProgram",description:"const EdgeDoubleArrowProgram: EdgeProgramType\\",source:"@site/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram.md",sourceDirName:"typedoc/sigma/src/rendering/variables",slug:"/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram"},next:{title:"EdgeDoubleClampedProgram",permalink:"/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram"}},t={},c=[{value:"Defined in",id:"defined-in",level:2}];function g(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"variable-edgedoublearrowprogram",children:"Variable: EdgeDoubleArrowProgram"})}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"const"})," ",(0,n.jsx)(r.strong,{children:"EdgeDoubleArrowProgram"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType",children:(0,n.jsx)(r.code,{children:"EdgeProgramType"})}),"<",(0,n.jsx)(r.code,{children:"Attributes"}),", ",(0,n.jsx)(r.code,{children:"Attributes"}),", ",(0,n.jsx)(r.code,{children:"Attributes"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-double-arrow/index.ts#L19",children:"sigma/src/rendering/programs/edge-double-arrow/index.ts:19"})})]})}function l(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},1184:(e,r,o)=>{o.d(r,{R:()=>d,x:()=>i});var n=o(4041);const s={},a=n.createContext(s);function d(e){const r=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/49f42e04.56d7920a.js b/assets/js/49f42e04.56d7920a.js new file mode 100644 index 000000000..f42ebfe78 --- /dev/null +++ b/assets/js/49f42e04.56d7920a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7987],{3014:(e,r,c)=>{c.r(r),c.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>n,metadata:()=>t,toc:()=>l});var s=c(1085),d=c(1184);const n={},i="edge-curve/src",t={id:"typedoc/edge-curve/src/index",title:"edge-curve/src",description:"Index",source:"@site/docs/typedoc/edge-curve/src/index.md",sourceDirName:"typedoc/edge-curve/src",slug:"/typedoc/edge-curve/src/",permalink:"/docs/typedoc/edge-curve/src/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"Typedoc API",permalink:"/docs/category/typedoc-api"},next:{title:"CreateEdgeCurveProgramOptions",permalink:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions"}},a={},l=[{value:"Index",id:"index",level:2},{value:"Type Aliases",id:"type-aliases",level:3},{value:"Variables",id:"variables",level:3},{value:"Functions",id:"functions",level:3}];function o(e){const r={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ul:"ul",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"edge-curvesrc",children:"edge-curve/src"})}),"\n",(0,s.jsx)(r.h2,{id:"index",children:"Index"}),"\n",(0,s.jsx)(r.h3,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",children:"CreateEdgeCurveProgramOptions"})}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"variables",children:"Variables"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/variables/default",children:"default"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE",children:"DEFAULT_EDGE_CURVATURE"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS",children:"DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS",children:"DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram",children:"EdgeCurvedArrowProgram"})}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"functions",children:"Functions"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel",children:"createDrawCurvedEdgeLabel"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram",children:"createEdgeCurveProgram"})}),"\n",(0,s.jsx)(r.li,{children:(0,s.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex",children:"indexParallelEdgesIndex"})}),"\n"]})]})}function u(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1184:(e,r,c)=>{c.d(r,{R:()=>i,x:()=>t});var s=c(4041);const d={},n=s.createContext(d);function i(e){const r=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4b972e08.738abafe.js b/assets/js/4b972e08.738abafe.js new file mode 100644 index 000000000..e5d179c20 --- /dev/null +++ b/assets/js/4b972e08.738abafe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1126],{7594:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>m,frontMatter:()=>t,metadata:()=>o,toc:()=>d});var r=s(1085),i=s(1184);const t={},c="Function: matrixFromCamera()",o={id:"typedoc/sigma/src/utils/functions/matrixFromCamera",title:"Function: matrixFromCamera()",description:"matrixFromCamera(state, viewportDimensions, graphDimensions, padding, inverse?): Float32Array",source:"@site/docs/typedoc/sigma/src/utils/functions/matrixFromCamera.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/matrixFromCamera",permalink:"/docs/typedoc/sigma/src/utils/functions/matrixFromCamera",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/matrixFromCamera.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"linear",permalink:"/docs/typedoc/sigma/src/utils/functions/linear"},next:{title:"multiply",permalink:"/docs/typedoc/sigma/src/utils/functions/multiply"}},a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-matrixfromcamera",children:"Function: matrixFromCamera()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"matrixFromCamera"}),"(",(0,r.jsx)(n.code,{children:"state"}),", ",(0,r.jsx)(n.code,{children:"viewportDimensions"}),", ",(0,r.jsx)(n.code,{children:"graphDimensions"}),", ",(0,r.jsx)(n.code,{children:"padding"}),", ",(0,r.jsx)(n.code,{children:"inverse"}),"?): ",(0,r.jsx)(n.code,{children:"Float32Array"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Function returning a matrix from the current state of the camera."}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"state"}),": ",(0,r.jsx)(n.code,{children:"CameraState"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"viewportDimensions"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"viewportDimensions.height"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"viewportDimensions.width"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"graphDimensions"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"graphDimensions.height?"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"graphDimensions.width?"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"padding?"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"inverse?"}),": ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Float32Array"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/coordinates.ts#L34",children:"sigma/src/utils/coordinates.ts:34"})})]})}function m(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>o});var r=s(4041);const i={},t=r.createContext(i);function c(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4c17183d.651e50fc.js b/assets/js/4c17183d.651e50fc.js new file mode 100644 index 000000000..8accf2830 --- /dev/null +++ b/assets/js/4c17183d.651e50fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4702],{5020:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>t,metadata:()=>o,toc:()=>c});var s=i(1085),r=i(1184);const t={},a="Interface: NormalizationFunction()",o={id:"typedoc/sigma/src/utils/interfaces/NormalizationFunction",title:"Interface: NormalizationFunction()",description:"Factory returning a function normalizing the given node's position & size.",source:"@site/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction.md",sourceDirName:"typedoc/sigma/src/utils/interfaces",slug:"/typedoc/sigma/src/utils/interfaces/NormalizationFunction",permalink:"/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"AnimateOptions",permalink:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions"},next:{title:"Easing",permalink:"/docs/typedoc/sigma/src/utils/type-aliases/Easing"}},d={},c=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2},{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 l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"interface-normalizationfunction",children:"Interface: NormalizationFunction()"})}),"\n",(0,s.jsx)(n.p,{children:"Factory returning a function normalizing the given node's position & size."}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"NormalizationFunction"}),"(",(0,s.jsx)(n.code,{children:"data"}),"): ",(0,s.jsx)(n.code,{children:"Coordinates"})]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Factory returning a function normalizing the given node's position & size."}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"data"}),": ",(0,s.jsx)(n.code,{children:"Coordinates"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"Coordinates"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/normalization.ts#L7",children:"sigma/src/utils/normalization.ts:7"})}),"\n",(0,s.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(n.h3,{id:"ratio",children:"ratio"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"ratio"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/normalization.ts#L8",children:"sigma/src/utils/normalization.ts:8"})}),"\n",(0,s.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,s.jsx)(n.h3,{id:"applyto",children:"applyTo()"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"applyTo"}),"(",(0,s.jsx)(n.code,{children:"data"}),"): ",(0,s.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"data"}),": ",(0,s.jsx)(n.code,{children:"Coordinates"})]}),"\n",(0,s.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"void"})}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/normalization.ts#L10",children:"sigma/src/utils/normalization.ts:10"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"inverse",children:"inverse()"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"inverse"}),"(",(0,s.jsx)(n.code,{children:"data"}),"): ",(0,s.jsx)(n.code,{children:"Coordinates"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"data"}),": ",(0,s.jsx)(n.code,{children:"Coordinates"})]}),"\n",(0,s.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"Coordinates"})}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/normalization.ts#L9",children:"sigma/src/utils/normalization.ts:9"})})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>a,x:()=>o});var s=i(4041);const r={},t=s.createContext(r);function a(e){const n=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4edc808e.bfb501b1.js b/assets/js/4edc808e.bfb501b1.js new file mode 100644 index 000000000..30da842ee --- /dev/null +++ b/assets/js/4edc808e.bfb501b1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[308],{2110:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>d,contentTitle:()=>c,default:()=>p,frontMatter:()=>a,metadata:()=>l,toc:()=>h});var n=o(1085),t=o(1184);function i(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,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/actions",children:(0,n.jsx)(s.img,{src:"https://github.com/jacomyal/sigma.js/workflows/Tests/badge.svg",alt:"Build Status"})})}),"\n",(0,n.jsx)("br",{}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.img,{alt:"Sigma.js",src:o(5082).A+"",width:"270",height:"74"})}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.a,{href:"https://www.sigmajs.org/",children:"Website"})})," | ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.a,{href:"https://www.sigmajs.org/docs",children:"Documentation"})})," | ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.a,{href:"https://www.sigmajs.org/storybook",children:"Storybook"})})," | ",(0,n.jsx)("strong",{children:(0,n.jsx)("a",{rel:"me",href:"https://vis.social/@sigmajs",children:"Mastodon"})})]}),"\n",(0,n.jsx)(s.hr,{}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.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,n.jsx)(s.a,{href:"https://github.com/jacomyal",children:"@jacomyal"})," and ",(0,n.jsx)(s.a,{href:"https://github.com/Yomguithereal",children:"@Yomguithereal"}),", and built on top of ",(0,n.jsx)(s.a,{href:"https://graphology.github.io/",children:"graphology"}),"."]}),"\n",(0,n.jsx)(s.h2,{id:"how-to-use-in-your-project",children:"How to use in your project"}),"\n",(0,n.jsx)(s.p,{children:"To integrate sigma into your project, follow these simple steps:"}),"\n",(0,n.jsxs)(s.ol,{children:["\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"Installation:"})," Add ",(0,n.jsx)(s.code,{children:"sigma"})," and ",(0,n.jsx)(s.code,{children:"graphology"})," to your project by running the following command:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"npm install sigma graphology\n"})}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"Usage:"})," Import sigma into your JavaScript or TypeScript file:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-javascript",children:'import Graph from "graphology";\nimport Sigma from "sigma";\n'})}),"\n",(0,n.jsxs)(s.p,{children:["Then, create a new ",(0,n.jsx)(s.code,{children:"Sigma"})," instance with your graph data and target container:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.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,n.jsx)(s.h2,{id:"how-to-develop-locally",children:"How to develop locally"}),"\n",(0,n.jsxs)(s.p,{children:["To run the ",(0,n.jsx)(s.a,{href:"https://storybook.js.org/",children:"Storybook"})," locally:"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.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,n.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,n.jsx)(s.h2,{id:"resources",children:"Resources"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"GitHub Project:"})," The source code and collaborative development efforts for Sigma.js are hosted on ",(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js",children:"GitHub"}),"."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Website:"})," The official website, ",(0,n.jsx)(s.a,{href:"https://sigmajs.org",children:"sigmajs.org"}),", kindly designed by ",(0,n.jsx)(s.a,{href:"https://github.com/robindemourat/",children:"Robin de Mourat"})," from the ",(0,n.jsx)(s.a,{href:"https://medialab.sciencespo.fr/en/",children:"Sciences-Po m\xe9dialab"})," team, showcases the library's capabilities."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Documentation:"})," A detailed documentation, built with ",(0,n.jsx)(s.a,{href:"https://docusaurus.io/",children:"Docusaurus"}),", is available at ",(0,n.jsx)(s.a,{href:"https://sigmajs.org/docs",children:"sigmajs.org/docs"}),". It provides extensive guides and API references for users."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Storybook:"})," Interactive examples can be found at ",(0,n.jsx)(s.a,{href:"https://sigmajs.org/storybook",children:"sigmajs.org/storybook"}),"."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Demo:"})," A comprehensive demo, available at ",(0,n.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,n.jsx)(s.h2,{id:"how-to-contribute",children:"How to contribute"}),"\n",(0,n.jsxs)(s.p,{children:["You can contribute by submitting ",(0,n.jsx)(s.a,{href:"http://github.com/jacomyal/sigma.js/issues",children:"issues tickets"})," and proposing ",(0,n.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,n.jsxs)(s.p,{children:["You can also browse the related documentation ",(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/tree/main/CONTRIBUTING.md",children:"here"}),"."]}),"\n",(0,n.jsx)(s.h2,{id:"how-to-start-a-new-package",children:"How to start a new package"}),"\n",(0,n.jsxs)(s.p,{children:["Run ",(0,n.jsx)(s.code,{children:"npm run createPackage"})," from the project root. It will:"]}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"Ask you the new package name"}),"\n",(0,n.jsxs)(s.li,{children:["Copy the ",(0,n.jsx)(s.code,{children:"packages/template"})," folder"]}),"\n",(0,n.jsxs)(s.li,{children:["Update the new package ",(0,n.jsx)(s.code,{children:"package.json"})," entries (name, description, exports)"]}),"\n",(0,n.jsxs)(s.li,{children:["Update various other files (buildable packages list in ",(0,n.jsx)(s.code,{children:"tsconfig.json"}),", Preconstruct compatible packages list in ",(0,n.jsx)(s.code,{children:"package.json"}),"...)"]}),"\n"]})]})}function r(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}const a={title:"Introduction",sidebar_position:1},c=void 0,l={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:"sigmaDocSidebar",next:{title:"Quickstart Guide",permalink:"/docs/quickstart"}},d={},h=[{value:"How to use in your project",id:"how-to-use-in-your-project",level:2},{value:"How to develop locally",id:"how-to-develop-locally",level:2},{value:"Resources",id:"resources",level:2},{value:"How to contribute",id:"how-to-contribute",level:2},{value:"How to start a new package",id:"how-to-start-a-new-package",level:2}];function g(e){return(0,n.jsx)(r,{})}function p(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g()}},5082:(e,s,o)=>{o.d(s,{A:()=>n});const n=o.p+"assets/images/logo-sigma-text-bbd0d8973486c861028e94cb07a98828.svg"},1184:(e,s,o)=>{o.d(s,{R:()=>r,x:()=>a});var n=o(4041);const t={},i=n.createContext(t);function r(e){const s=n.useContext(i);return n.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(t):e.components||t:r(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4efb50d3.db5d73ca.js b/assets/js/4efb50d3.db5d73ca.js new file mode 100644 index 000000000..b9372ac40 --- /dev/null +++ b/assets/js/4efb50d3.db5d73ca.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3834],{726:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>t,default:()=>u,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var r=s(1085),o=s(1184);const c={},t="Function: colorToIndex()",i={id:"typedoc/sigma/src/utils/functions/colorToIndex",title:"Function: colorToIndex()",description:"colorToIndex(r, g, b, _a): number",source:"@site/docs/typedoc/sigma/src/utils/functions/colorToIndex.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/colorToIndex",permalink:"/docs/typedoc/sigma/src/utils/functions/colorToIndex",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/colorToIndex.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"colorToArray",permalink:"/docs/typedoc/sigma/src/utils/functions/colorToArray"},next:{title:"createElement",permalink:"/docs/typedoc/sigma/src/utils/functions/createElement"}},d={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-colortoindex",children:"Function: colorToIndex()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"colorToIndex"}),"(",(0,r.jsx)(n.code,{children:"r"}),", ",(0,r.jsx)(n.code,{children:"g"}),", ",(0,r.jsx)(n.code,{children:"b"}),", ",(0,r.jsx)(n.code,{children:"_a"}),"): ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"r"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"g"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"b"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"_a"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"number"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/colors.ts#L283",children:"sigma/src/utils/colors.ts:283"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>t,x:()=>i});var r=s(4041);const o={},c=r.createContext(o);function t(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:t(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4fd7b19c.424e57e6.js b/assets/js/4fd7b19c.424e57e6.js new file mode 100644 index 000000000..eeaf17ea5 --- /dev/null +++ b/assets/js/4fd7b19c.424e57e6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7957],{646:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>t,metadata:()=>o,toc:()=>a});var r=s(1085),d=s(1184);const t={},c="Function: drawSquareNodeLabel()",o={id:"typedoc/node-square/src/functions/drawSquareNodeLabel",title:"Function: drawSquareNodeLabel()",description:"drawSquareNodeLabel\\(context, data, settings): void",source:"@site/docs/typedoc/node-square/src/functions/drawSquareNodeLabel.md",sourceDirName:"typedoc/node-square/src/functions",slug:"/typedoc/node-square/src/functions/drawSquareNodeLabel",permalink:"/docs/typedoc/node-square/src/functions/drawSquareNodeLabel",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-square/src/functions/drawSquareNodeLabel.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"drawSquareNodeHover",permalink:"/docs/typedoc/node-square/src/functions/drawSquareNodeHover"},next:{title:"sigma/src",permalink:"/docs/typedoc/sigma/src/"}},i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-drawsquarenodelabel",children:"Function: drawSquareNodeLabel()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"drawSquareNodeLabel"}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">(",(0,r.jsx)(n.code,{children:"context"}),", ",(0,r.jsx)(n.code,{children:"data"}),", ",(0,r.jsx)(n.code,{children:"settings"}),"): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"N"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"E"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"G"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"context"}),": ",(0,r.jsx)(n.code,{children:"CanvasRenderingContext2D"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"data"}),": ",(0,r.jsx)(n.code,{children:"PartialButFor"}),"<",(0,r.jsx)(n.code,{children:"NodeDisplayData"}),", ",(0,r.jsx)(n.code,{children:'"label"'})," | ",(0,r.jsx)(n.code,{children:'"x"'})," | ",(0,r.jsx)(n.code,{children:'"y"'})," | ",(0,r.jsx)(n.code,{children:'"color"'})," | ",(0,r.jsx)(n.code,{children:'"size"'}),">"]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"settings"}),": ",(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,r.jsx)(n.code,{children:"Settings"})}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-square/src/utils.ts#L6",children:"node-square/src/utils.ts:6"})})]})}function u(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>o});var r=s(4041);const d={},t=r.createContext(d);function c(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:c(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/50103544.2baf9b1f.js b/assets/js/50103544.2baf9b1f.js new file mode 100644 index 000000000..31ea312db --- /dev/null +++ b/assets/js/50103544.2baf9b1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[419],{8533:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>l,metadata:()=>s,toc:()=>o});var t=n(1085),a=n(1184);const l={},c="layer-maplibre/src",s={id:"typedoc/layer-maplibre/src/index",title:"layer-maplibre/src",description:"Index",source:"@site/docs/typedoc/layer-maplibre/src/index.md",sourceDirName:"typedoc/layer-maplibre/src",slug:"/typedoc/layer-maplibre/src/",permalink:"/docs/typedoc/layer-maplibre/src/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-maplibre/src/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"latlngToGraph",permalink:"/docs/typedoc/layer-leaflet/src/functions/latlngToGraph"},next:{title:"default",permalink:"/docs/typedoc/layer-maplibre/src/functions/default"}},i={},o=[{value:"Index",id:"index",level:2},{value:"Functions",id:"functions",level:3}];function d(e){const r={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ul:"ul",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.header,{children:(0,t.jsx)(r.h1,{id:"layer-maplibresrc",children:"layer-maplibre/src"})}),"\n",(0,t.jsx)(r.h2,{id:"index",children:"Index"}),"\n",(0,t.jsx)(r.h3,{id:"functions",children:"Functions"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsx)(r.li,{children:(0,t.jsx)(r.a,{href:"/docs/typedoc/layer-maplibre/src/functions/default",children:"default"})}),"\n",(0,t.jsx)(r.li,{children:(0,t.jsx)(r.a,{href:"/docs/typedoc/layer-maplibre/src/functions/graphToLatlng",children:"graphToLatlng"})}),"\n",(0,t.jsx)(r.li,{children:(0,t.jsx)(r.a,{href:"/docs/typedoc/layer-maplibre/src/functions/latlngToGraph",children:"latlngToGraph"})}),"\n"]})]})}function p(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>s});var t=n(4041);const a={},l=t.createContext(a);function c(e){const r=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function s(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:c(e.components),t.createElement(l.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/518eb46b.08f047f1.js b/assets/js/518eb46b.08f047f1.js new file mode 100644 index 000000000..f5d5dcde5 --- /dev/null +++ b/assets/js/518eb46b.08f047f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[6374],{2825:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>t,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var d=n(1085),s=n(1184);const i={},c="Class: abstract EdgeProgram<Uniform, N, E, G>",l={id:"typedoc/sigma/src/rendering/classes/EdgeProgram",title:"Class: abstract EdgeProgram\\<Uniform, N, E, G\\>",description:"Extends",source:"@site/docs/typedoc/sigma/src/rendering/classes/EdgeProgram.md",sourceDirName:"typedoc/sigma/src/rendering/classes",slug:"/typedoc/sigma/src/rendering/classes/EdgeProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeProgram",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/classes/EdgeProgram.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeLineProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeLineProgram"},next:{title:"EdgeRectangleProgram",permalink:"/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram"}},a={},o=[{value:"Extends",id:"extends",level:2},{value:"Extended by",id:"extended-by",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new EdgeProgram()",id:"new-edgeprogram",level:3},{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:"array",id:"array",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"ATTRIBUTES",id:"attributes",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"ATTRIBUTES_ITEMS_COUNT",id:"attributes_items_count",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"capacity",id:"capacity",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"CONSTANT_ATTRIBUTES",id:"constant_attributes",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"CONSTANT_DATA",id:"constant_data",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"constantArray",id:"constantarray",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"FRAGMENT_SHADER_SOURCE",id:"fragment_shader_source",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"isInstanced",id:"isinstanced",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"METHOD",id:"method",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"normalProgram",id:"normalprogram",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"pickProgram",id:"pickprogram",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"STRIDE",id:"stride",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"UNIFORMS",id:"uniforms",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"VERTEX_SHADER_SOURCE",id:"vertex_shader_source",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"VERTICES",id:"vertices",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"verticesCount",id:"verticescount",level:3},{value:"Inherited from",id:"inherited-from-18",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-19",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-20",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-21",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:"Inherited from",id:"inherited-from-22",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:"Implementation of",id:"implementation-of-1",level:4},{value:"Overrides",id:"overrides",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:"Implementation of",id:"implementation-of-2",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:"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:"Implementation of",id:"implementation-of-3",level:4},{value:"Inherited from",id:"inherited-from-25",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:"Implementation of",id:"implementation-of-4",level:4},{value:"Inherited from",id:"inherited-from-26",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-27",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-28",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-29",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-30",level:4},{value:"Defined in",id:"defined-in-34",level:4}];function h(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.header,{children:(0,d.jsxs)(r.h1,{id:"class-abstract-edgeprogramuniform-n-e-g",children:["Class: ",(0,d.jsx)(r.code,{children:"abstract"})," EdgeProgram<Uniform, N, E, G>"]})}),"\n",(0,d.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),", ",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"extended-by",children:"Extended by"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsx)(r.li,{children:(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeLineProgram",children:(0,d.jsx)(r.code,{children:"EdgeLineProgram"})})}),"\n",(0,d.jsx)(r.li,{children:(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgram",children:(0,d.jsx)(r.code,{children:"EdgeRectangleProgram"})})}),"\n",(0,d.jsx)(r.li,{children:(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/EdgeTriangleProgram",children:(0,d.jsx)(r.code,{children:"EdgeTriangleProgram"})})}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"Uniform"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"string"})," = ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"N"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"E"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"G"})," ",(0,d.jsx)(r.em,{children:"extends"})," ",(0,d.jsx)(r.code,{children:"Attributes"})," = ",(0,d.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,d.jsx)(r.h2,{id:"implements",children:"Implements"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/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"]}),"\n",(0,d.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,d.jsx)(r.h3,{id:"new-edgeprogram",children:"new EdgeProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"new EdgeProgram"}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),", ",(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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),", ",(0,d.jsx)(r.code,{children:"N"}),", ",(0,d.jsx)(r.code,{children:"E"}),", ",(0,d.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"pickingBuffer"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.code,{children:"WebGLFramebuffer"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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/sigma/src/rendering/classes/EdgeProgram",children:(0,d.jsx)(r.code,{children:"EdgeProgram"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),", ",(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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#constructors",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L81",children:"sigma/src/rendering/program.ts:81"})}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"array",children:"array"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"array"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#array",children:(0,d.jsx)(r.code,{children:"array"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L69",children:"sigma/src/rendering/program.ts:69"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"attributes",children:"ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"ATTRIBUTES"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#attributes",children:(0,d.jsx)(r.code,{children:"ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L60",children:"sigma/src/rendering/program.ts:60"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"ATTRIBUTES_ITEMS_COUNT"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#attributes_items_count",children:(0,d.jsx)(r.code,{children:"ATTRIBUTES_ITEMS_COUNT"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L65",children:"sigma/src/rendering/program.ts:65"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"capacity",children:"capacity"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"capacity"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#capacity",children:(0,d.jsx)(r.code,{children:"capacity"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L71",children:"sigma/src/rendering/program.ts:71"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_attributes",children:"CONSTANT_ATTRIBUTES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_ATTRIBUTES"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#constant_attributes",children:(0,d.jsx)(r.code,{children:"CONSTANT_ATTRIBUTES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L62",children:"sigma/src/rendering/program.ts:62"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constant_data",children:"CONSTANT_DATA"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"CONSTANT_DATA"}),": ",(0,d.jsx)(r.code,{children:"number"}),"[][]"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#constant_data",children:(0,d.jsx)(r.code,{children:"CONSTANT_DATA"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L63",children:"sigma/src/rendering/program.ts:63"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"constantarray",children:"constantArray"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"constantArray"}),": ",(0,d.jsx)(r.code,{children:"Float32Array"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#constantarray",children:(0,d.jsx)(r.code,{children:"constantArray"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L70",children:"sigma/src/rendering/program.ts:70"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"drawLabel"}),": ",(0,d.jsx)(r.code,{children:"undefined"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/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"]}),"\n",(0,d.jsx)(r.h4,{id:"implementation-of",children:"Implementation of"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram#drawlabel",children:(0,d.jsx)(r.code,{children:"drawLabel"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/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:"fragment_shader_source",children:"FRAGMENT_SHADER_SOURCE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"FRAGMENT_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#fragment_shader_source",children:(0,d.jsx)(r.code,{children:"FRAGMENT_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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L58",children:"sigma/src/rendering/program.ts:58"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"isinstanced",children:"isInstanced"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"isInstanced"}),": ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#isinstanced",children:(0,d.jsx)(r.code,{children:"isInstanced"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L77",children:"sigma/src/rendering/program.ts:77"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"method",children:"METHOD"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"METHOD"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#method",children:(0,d.jsx)(r.code,{children:"METHOD"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L61",children:"sigma/src/rendering/program.ts:61"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"normalprogram",children:"normalProgram"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"normalProgram"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#normalprogram",children:(0,d.jsx)(r.code,{children:"normalProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L74",children:"sigma/src/rendering/program.ts:74"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"pickprogram",children:"pickProgram"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"pickProgram"}),": ",(0,d.jsx)(r.code,{children:"null"})," | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#pickprogram",children:(0,d.jsx)(r.code,{children:"pickProgram"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L75",children:"sigma/src/rendering/program.ts:75"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderer",children:"renderer"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"renderer"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/classes/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"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#renderer",children:(0,d.jsx)(r.code,{children:"renderer"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L68",children:"sigma/src/rendering/program.ts:68"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"stride",children:"STRIDE"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"STRIDE"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#stride",children:(0,d.jsx)(r.code,{children:"STRIDE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L66",children:"sigma/src/rendering/program.ts:66"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"uniforms",children:"UNIFORMS"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"UNIFORMS"}),": readonly ",(0,d.jsx)(r.code,{children:"Uniform"}),"[]"]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#uniforms",children:(0,d.jsx)(r.code,{children:"UNIFORMS"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L59",children:"sigma/src/rendering/program.ts:59"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTEX_SHADER_SOURCE"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#vertex_shader_source",children:(0,d.jsx)(r.code,{children:"VERTEX_SHADER_SOURCE"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L57",children:"sigma/src/rendering/program.ts:57"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"vertices",children:"VERTICES"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"VERTICES"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#vertices",children:(0,d.jsx)(r.code,{children:"VERTICES"})})]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L56",children:"sigma/src/rendering/program.ts:56"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"verticescount",children:"verticesCount"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"verticesCount"}),": ",(0,d.jsx)(r.code,{children:"number"})," = ",(0,d.jsx)(r.code,{children:"0"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#verticescount",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L72",children:"sigma/src/rendering/program.ts:72"})}),"\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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"attr"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"setDivisor?"}),": ",(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-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#bindattribute",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L244",children:"sigma/src/rendering/program.ts:244"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bindprogram",children:"bindProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(0,d.jsx)(r.strong,{children:"bindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#bindprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L206",children:"sigma/src/rendering/program.ts:206"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"drawwebgl",children:"drawWebGL()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"drawWebGL"}),"(",(0,d.jsx)(r.code,{children:"method"}),", ",(0,d.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-3",children:"Parameters"}),"\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.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#drawwebgl",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L355",children:"sigma/src/rendering/program.ts:355"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getdefinition",children:"getDefinition()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"getDefinition"}),"(): ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",children:(0,d.jsx)(r.code,{children:"ProgramDefinition"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),"> | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,d.jsx)(r.code,{children:"InstancedProgramDefinition"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"returns-4",children:"Returns"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition",children:(0,d.jsx)(r.code,{children:"ProgramDefinition"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),"> | ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition",children:(0,d.jsx)(r.code,{children:"InstancedProgramDefinition"})}),"<",(0,d.jsx)(r.code,{children:"Uniform"}),">"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#getdefinition",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L79",children:"sigma/src/rendering/program.ts:79"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"getprograminfo",children:"getProgramInfo()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"name"}),": ",(0,d.jsx)(r.code,{children:'"normal"'})," | ",(0,d.jsx)(r.code,{children:'"pick"'})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"gl"}),": ",(0,d.jsx)(r.code,{children:"WebGLRenderingContext"})," | ",(0,d.jsx)(r.code,{children:"WebGL2RenderingContext"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"vertexShaderSource"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"fragmentShaderSource"}),": ",(0,d.jsx)(r.code,{children:"string"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"frameBuffer"}),": ",(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/sigma/src/rendering/interfaces/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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#getprograminfo",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L150",children:"sigma/src/rendering/program.ts:150"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"hasnothingtorender",children:"hasNothingToRender()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"hasNothingToRender"}),"(): ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n"]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#hasnothingtorender",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L312",children:"sigma/src/rendering/program.ts:312"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"kill",children:"kill()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"kill"}),"(): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\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:"implementation-of-1",children:"Implementation of"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram#kill",children:(0,d.jsx)(r.code,{children:"kill"})})]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#kill",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"edgeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"offset"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"sourceData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"targetData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(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:"implementation-of-2",children:"Implementation of"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram#process",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/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.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"edgeIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"startIndex"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"sourceData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"targetData"}),": ",(0,d.jsx)(r.code,{children:"NodeDisplayData"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"data"}),": ",(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:"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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/edge.ts#L65",children:"sigma/src/rendering/edge.ts:65"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"reallocate",children:"reallocate()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"reallocate"}),"(",(0,d.jsx)(r.code,{children:"capacity"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"capacity"}),": ",(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:"implementation-of-3",children:"Implementation of"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram#reallocate",children:(0,d.jsx)(r.code,{children:"reallocate"})})]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#reallocate",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L297",children:"sigma/src/rendering/program.ts:297"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"render",children:"render()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.strong,{children:"render"}),"(",(0,d.jsx)(r.code,{children:"params"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(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:"implementation-of-4",children:"Implementation of"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram",children:(0,d.jsx)(r.code,{children:"AbstractEdgeProgram"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram#render",children:(0,d.jsx)(r.code,{children:"render"})})]}),"\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/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#render",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L334",children:"sigma/src/rendering/program.ts:334"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"renderprogram",children:"renderProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(0,d.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"programInfo"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#renderprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L318",children:"sigma/src/rendering/program.ts:318"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"setuniforms",children:"setUniforms()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"abstract"})," ",(0,d.jsx)(r.strong,{children:"setUniforms"}),"(",(0,d.jsx)(r.code,{children:"params"}),", ",(0,d.jsx)(r.code,{children:"programInfo"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"params"}),": ",(0,d.jsx)(r.code,{children:"RenderParams"})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"programInfo"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#setuniforms",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L316",children:"sigma/src/rendering/program.ts:316"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindattribute",children:"unbindAttribute()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(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"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"attr"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification",children:(0,d.jsx)(r.code,{children:"ProgramAttributeSpecification"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo",children:(0,d.jsx)(r.code,{children:"ProgramInfo"})}),"<",(0,d.jsx)(r.code,{children:"string"}),">"]}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"unsetDivisor?"}),": ",(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-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#unbindattribute",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L279",children:"sigma/src/rendering/program.ts:279"})}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"unbindprogram",children:"unbindProgram()"}),"\n",(0,d.jsxs)(r.blockquote,{children:["\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.code,{children:"protected"})," ",(0,d.jsx)(r.strong,{children:"unbindProgram"}),"(",(0,d.jsx)(r.code,{children:"program"}),"): ",(0,d.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,d.jsx)(r.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.strong,{children:"program"}),": ",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/interfaces/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-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program",children:(0,d.jsx)(r.code,{children:"Program"})}),".",(0,d.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/classes/Program#unbindprogram",children:(0,d.jsx)(r.code,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/program.ts#L235",children:"sigma/src/rendering/program.ts:235"})})]})}function t(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:()=>c,x:()=>l});var d=n(4041);const s={},i=d.createContext(s);function c(e){const r=d.useContext(i);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(s):e.components||s:c(e.components),d.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/52de8cef.f66eca3f.js b/assets/js/52de8cef.f66eca3f.js new file mode 100644 index 000000000..544776498 --- /dev/null +++ b/assets/js/52de8cef.f66eca3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[145],{2910:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>o,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var s=n(1085),t=n(1184);const a={},r="Interface: AnimateOptions",c={id:"typedoc/sigma/src/utils/interfaces/AnimateOptions",title:"Interface: AnimateOptions",description:"Properties",source:"@site/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions.md",sourceDirName:"typedoc/sigma/src/utils/interfaces",slug:"/typedoc/sigma/src/utils/interfaces/AnimateOptions",permalink:"/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"sigma/src/utils",permalink:"/docs/typedoc/sigma/src/utils/"},next:{title:"NormalizationFunction",permalink:"/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction"}},o={},d=[{value:"Properties",id:"properties",level:2},{value:"duration",id:"duration",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"easing",id:"easing",level:3},{value:"Defined in",id:"defined-in-1",level:4}];function l(e){const i={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.header,{children:(0,s.jsx)(i.h1,{id:"interface-animateoptions",children:"Interface: AnimateOptions"})}),"\n",(0,s.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(i.h3,{id:"duration",children:"duration"}),"\n",(0,s.jsxs)(i.blockquote,{children:["\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"duration"}),": ",(0,s.jsx)(i.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(i.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(i.p,{children:(0,s.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/animate.ts#L13",children:"sigma/src/utils/animate.ts:13"})}),"\n",(0,s.jsx)(i.hr,{}),"\n",(0,s.jsx)(i.h3,{id:"easing",children:"easing"}),"\n",(0,s.jsxs)(i.blockquote,{children:["\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"easing"}),": ",(0,s.jsx)(i.a,{href:"/docs/typedoc/sigma/src/utils/type-aliases/Easing",children:(0,s.jsx)(i.code,{children:"Easing"})})]}),"\n"]}),"\n",(0,s.jsx)(i.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(i.p,{children:(0,s.jsx)(i.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/animate.ts#L12",children:"sigma/src/utils/animate.ts:12"})})]})}function u(e={}){const{wrapper:i}={...(0,t.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,i,n)=>{n.d(i,{R:()=>r,x:()=>c});var s=n(4041);const t={},a=s.createContext(t);function r(e){const i=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),s.createElement(a.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/543474a1.c498802e.js b/assets/js/543474a1.c498802e.js new file mode 100644 index 000000000..840f719f8 --- /dev/null +++ b/assets/js/543474a1.c498802e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9650],{928:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});var t=n(1085),i=n(1184);const c={},r="Function: multiplyVec2()",o={id:"typedoc/sigma/src/utils/functions/multiplyVec2",title:"Function: multiplyVec2()",description:"multiplyVec2(a, b, z): Coordinates",source:"@site/docs/typedoc/sigma/src/utils/functions/multiplyVec2.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/multiplyVec2",permalink:"/docs/typedoc/sigma/src/utils/functions/multiplyVec2",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/multiplyVec2.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"multiply",permalink:"/docs/typedoc/sigma/src/utils/functions/multiply"},next:{title:"parseColor",permalink:"/docs/typedoc/sigma/src/utils/functions/parseColor"}},l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"function-multiplyvec2",children:"Function: multiplyVec2()"})}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"multiplyVec2"}),"(",(0,t.jsx)(s.code,{children:"a"}),", ",(0,t.jsx)(s.code,{children:"b"}),", ",(0,t.jsx)(s.code,{children:"z"}),"): ",(0,t.jsx)(s.code,{children:"Coordinates"})]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"a"}),": ",(0,t.jsx)(s.code,{children:"number"}),"[] | ",(0,t.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"b"}),": ",(0,t.jsx)(s.code,{children:"Coordinates"})]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"z"}),": ",(0,t.jsx)(s.code,{children:"number"})," = ",(0,t.jsx)(s.code,{children:"1"})]}),"\n",(0,t.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"Coordinates"})}),"\n",(0,t.jsx)(s.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/matrices.ts#L70",children:"sigma/src/utils/matrices.ts:70"})})]})}function u(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:()=>r,x:()=>o});var t=n(4041);const i={},c=t.createContext(i);function r(e){const s=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5567d24b.24d573c8.js b/assets/js/5567d24b.24d573c8.js new file mode 100644 index 000000000..9c43bfafd --- /dev/null +++ b/assets/js/5567d24b.24d573c8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3956],{1563:(e,n,c)=>{c.r(n),c.d(n,{assets:()=>u,contentTitle:()=>r,default:()=>l,frontMatter:()=>i,metadata:()=>o,toc:()=>a});var t=c(1085),s=c(1184);const i={},r="Function: cubicIn()",o={id:"typedoc/sigma/src/utils/functions/cubicIn",title:"Function: cubicIn()",description:"cubicIn(k): number",source:"@site/docs/typedoc/sigma/src/utils/functions/cubicIn.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/cubicIn",permalink:"/docs/typedoc/sigma/src/utils/functions/cubicIn",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/cubicIn.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createNormalizationFunction",permalink:"/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction"},next:{title:"cubicInOut",permalink:"/docs/typedoc/sigma/src/utils/functions/cubicInOut"}},u={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-cubicin",children:"Function: cubicIn()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"cubicIn"}),"(",(0,t.jsx)(n.code,{children:"k"}),"): ",(0,t.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"k"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"number"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/easings.ts#L12",children:"sigma/src/utils/easings.ts:12"})})]})}function l(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,n,c)=>{c.d(n,{R:()=>r,x:()=>o});var t=c(4041);const s={},i=t.createContext(s);function r(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/561fbaf1.88ebb022.js b/assets/js/561fbaf1.88ebb022.js new file mode 100644 index 000000000..e2d76d8cf --- /dev/null +++ b/assets/js/561fbaf1.88ebb022.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4271],{4891:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>c,contentTitle:()=>d,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>a});var n=s(1085),t=s(1184);const i={},d="Type Alias: NodeProgramType<N, E, G>",o={id:"typedoc/sigma/src/rendering/type-aliases/NodeProgramType",title:"Type Alias: NodeProgramType\\<N, E, G\\>",description:"NodeProgramType\\: typeof _NodeProgramClass",source:"@site/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType.md",sourceDirName:"typedoc/sigma/src/rendering/type-aliases",slug:"/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeLabelDrawingFunction",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction"},next:{title:"ProgramType",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/ProgramType"}},c={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"type-alias-nodeprogramtypen-e-g",children:"Type Alias: NodeProgramType<N, E, G>"})}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"NodeProgramType"}),"<",(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.em,{children:"typeof"})," ",(0,n.jsx)(r.code,{children:"_NodeProgramClass"})]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/node.ts#L83",children:"sigma/src/rendering/node.ts:83"})})]})}function p(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>d,x:()=>o});var n=s(4041);const t={},i=n.createContext(t);function d(e){const r=n.useContext(i);return n.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(t):e.components||t:d(e.components),n.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5aaff84d.67aa1fac.js b/assets/js/5aaff84d.67aa1fac.js new file mode 100644 index 000000000..707d4fbf9 --- /dev/null +++ b/assets/js/5aaff84d.67aa1fac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7706],{8087:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>r,contentTitle:()=>c,default:()=>p,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var t=i(1085),n=i(1184);const a={},c="Type Alias: Easing",o={id:"typedoc/sigma/src/utils/type-aliases/Easing",title:"Type Alias: Easing",description:"Easing: keyof typeof easings \\| (k) => number",source:"@site/docs/typedoc/sigma/src/utils/type-aliases/Easing.md",sourceDirName:"typedoc/sigma/src/utils/type-aliases",slug:"/typedoc/sigma/src/utils/type-aliases/Easing",permalink:"/docs/typedoc/sigma/src/utils/type-aliases/Easing",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/type-aliases/Easing.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NormalizationFunction",permalink:"/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction"},next:{title:"ANIMATE_DEFAULTS",permalink:"/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS"}},r={},l=[{value:"Defined in",id:"defined-in",level:2}];function d(e){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"type-alias-easing",children:"Type Alias: Easing"})}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"Easing"}),": keyof ",(0,t.jsx)(s.em,{children:"typeof"})," ",(0,t.jsx)(s.a,{href:"/docs/typedoc/sigma/src/utils/variables/easings",children:(0,t.jsx)(s.code,{children:"easings"})})," | (",(0,t.jsx)(s.code,{children:"k"}),") => ",(0,t.jsx)(s.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:"Defaults."}),"\n",(0,t.jsx)(s.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/animate.ts#L9",children:"sigma/src/utils/animate.ts:9"})})]})}function p(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,s,i)=>{i.d(s,{R:()=>c,x:()=>o});var t=i(4041);const n={},a=t.createContext(n);function c(e){const s=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),t.createElement(a.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5af5d9d5.1fe741c6.js b/assets/js/5af5d9d5.1fe741c6.js new file mode 100644 index 000000000..8e79f334e --- /dev/null +++ b/assets/js/5af5d9d5.1fe741c6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3766],{8753:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>o,contentTitle:()=>r,default:()=>h,frontMatter:()=>c,metadata:()=>d,toc:()=>a});var n=s(1085),i=s(1184);const c={},r="Function: validateSettings()",d={id:"typedoc/sigma/src/settings/functions/validateSettings",title:"Function: validateSettings()",description:"validateSettings\\(settings): void",source:"@site/docs/typedoc/sigma/src/settings/functions/validateSettings.md",sourceDirName:"typedoc/sigma/src/settings/functions",slug:"/typedoc/sigma/src/settings/functions/validateSettings",permalink:"/docs/typedoc/sigma/src/settings/functions/validateSettings",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/settings/functions/validateSettings.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"resolveSettings",permalink:"/docs/typedoc/sigma/src/settings/functions/resolveSettings"},next:{title:"sigma/src/utils",permalink:"/docs/typedoc/sigma/src/utils/"}},o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.header,{children:(0,n.jsx)(t.h1,{id:"function-validatesettings",children:"Function: validateSettings()"})}),"\n",(0,n.jsxs)(t.blockquote,{children:["\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.strong,{children:"validateSettings"}),"<",(0,n.jsx)(t.code,{children:"N"}),", ",(0,n.jsx)(t.code,{children:"E"}),", ",(0,n.jsx)(t.code,{children:"G"}),">(",(0,n.jsx)(t.code,{children:"settings"}),"): ",(0,n.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"N"})," ",(0,n.jsx)(t.em,{children:"extends"})," ",(0,n.jsx)(t.code,{children:"Attributes"})," = ",(0,n.jsx)(t.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"E"})," ",(0,n.jsx)(t.em,{children:"extends"})," ",(0,n.jsx)(t.code,{children:"Attributes"})," = ",(0,n.jsx)(t.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"G"})," ",(0,n.jsx)(t.em,{children:"extends"})," ",(0,n.jsx)(t.code,{children:"Attributes"})," = ",(0,n.jsx)(t.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"settings"}),": ",(0,n.jsx)(t.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,n.jsx)(t.code,{children:"Settings"})}),"<",(0,n.jsx)(t.code,{children:"N"}),", ",(0,n.jsx)(t.code,{children:"E"}),", ",(0,n.jsx)(t.code,{children:"G"}),">"]}),"\n",(0,n.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"void"})}),"\n",(0,n.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/settings.ts#L192",children:"sigma/src/settings.ts:192"})})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,t,s)=>{s.d(t,{R:()=>r,x:()=>d});var n=s(4041);const i={},c=n.createContext(i);function r(e){const t=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d6a796f.2e82e539.js b/assets/js/5d6a796f.2e82e539.js new file mode 100644 index 000000000..a2e8b9dbf --- /dev/null +++ b/assets/js/5d6a796f.2e82e539.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2151],{256:(e,r,c)=>{c.r(r),c.d(r,{assets:()=>i,contentTitle:()=>t,default:()=>u,frontMatter:()=>s,metadata:()=>a,toc:()=>o});var n=c(1085),d=c(1184);const s={},t="Function: createDrawCurvedEdgeLabel()",a={id:"typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel",title:"Function: createDrawCurvedEdgeLabel()",description:"createDrawCurvedEdgeLabel\\(namedParameters): EdgeLabelDrawingFunction\\",source:"@site/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel.md",sourceDirName:"typedoc/edge-curve/src/functions",slug:"/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel",permalink:"/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeCurvedArrowProgram",permalink:"/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram"},next:{title:"createEdgeCurveProgram",permalink:"/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram"}},i={},o=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"function-createdrawcurvededgelabel",children:"Function: createDrawCurvedEdgeLabel()"})}),"\n",(0,n.jsxs)(r.blockquote,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.strong,{children:"createDrawCurvedEdgeLabel"}),"<",(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:"__namedParameters"}),"): ",(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/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"}),">"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"N"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"E"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"G"})," ",(0,n.jsx)(r.em,{children:"extends"})," ",(0,n.jsx)(r.code,{children:"Attributes"})," = ",(0,n.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,n.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.strong,{children:"__namedParameters"}),": ",(0,n.jsx)(r.a,{href:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",children:(0,n.jsx)(r.code,{children:"CreateEdgeCurveProgramOptions"})})," & ",(0,n.jsx)(r.code,{children:"object"})]}),"\n",(0,n.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/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"}),">"]}),"\n",(0,n.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/edge-curve/src/edge-labels.ts#L31",children:"edge-curve/src/edge-labels.ts:31"})})]})}function u(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1184:(e,r,c)=>{c.d(r,{R:()=>t,x:()=>a});var n=c(4041);const d={},s=n.createContext(d);function t(e){const r=n.useContext(s);return n.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(d):e.components||d:t(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d7b9690.562dac9b.js b/assets/js/5d7b9690.562dac9b.js new file mode 100644 index 000000000..f13cc00e3 --- /dev/null +++ b/assets/js/5d7b9690.562dac9b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2761],{3721:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>a,contentTitle:()=>d,default:()=>l,frontMatter:()=>c,metadata:()=>t,toc:()=>i});var n=s(1085),o=s(1184);const c={},d="node-square/src",t={id:"typedoc/node-square/src/index",title:"node-square/src",description:"Index",source:"@site/docs/typedoc/node-square/src/index.md",sourceDirName:"typedoc/node-square/src",slug:"/typedoc/node-square/src/",permalink:"/docs/typedoc/node-square/src/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-square/src/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createNodePiechartProgram",permalink:"/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram"},next:{title:"NodeSquareProgram",permalink:"/docs/typedoc/node-square/src/classes/NodeSquareProgram"}},a={},i=[{value:"Index",id:"index",level:2},{value:"Classes",id:"classes",level:3},{value:"Functions",id:"functions",level:3}];function u(e){const r={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ul:"ul",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"node-squaresrc",children:"node-square/src"})}),"\n",(0,n.jsx)(r.h2,{id:"index",children:"Index"}),"\n",(0,n.jsx)(r.h3,{id:"classes",children:"Classes"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/node-square/src/classes/NodeSquareProgram",children:"NodeSquareProgram"})}),"\n"]}),"\n",(0,n.jsx)(r.h3,{id:"functions",children:"Functions"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/node-square/src/functions/drawSquareNodeHover",children:"drawSquareNodeHover"})}),"\n",(0,n.jsx)(r.li,{children:(0,n.jsx)(r.a,{href:"/docs/typedoc/node-square/src/functions/drawSquareNodeLabel",children:"drawSquareNodeLabel"})}),"\n"]})]})}function l(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>d,x:()=>t});var n=s(4041);const o={},c=n.createContext(o);function d(e){const r=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:d(e.components),n.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5e1f2e72.09cd724d.js b/assets/js/5e1f2e72.09cd724d.js new file mode 100644 index 000000000..de00d202c --- /dev/null +++ b/assets/js/5e1f2e72.09cd724d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[4596],{9527:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});var t=n(1085),i=n(1184);const c={},r="Function: assignDeep()",o={id:"typedoc/sigma/src/utils/functions/assignDeep",title:"Function: assignDeep()",description:"assignDeep\\(target, ...objects): T",source:"@site/docs/typedoc/sigma/src/utils/functions/assignDeep.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/assignDeep",permalink:"/docs/typedoc/sigma/src/utils/functions/assignDeep",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/assignDeep.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"assign",permalink:"/docs/typedoc/sigma/src/utils/functions/assign"},next:{title:"colorToArray",permalink:"/docs/typedoc/sigma/src/utils/functions/colorToArray"}},a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"function-assigndeep",children:"Function: assignDeep()"})}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"assignDeep"}),"<",(0,t.jsx)(s.code,{children:"T"}),">(",(0,t.jsx)(s.code,{children:"target"}),", ...",(0,t.jsx)(s.code,{children:"objects"}),"): ",(0,t.jsx)(s.code,{children:"T"})]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:["Very simple recursive ",(0,t.jsx)(s.code,{children:"Object.assign"})," like function."]}),"\n",(0,t.jsx)(s.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"T"})]}),"\n",(0,t.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"target"}),": ",(0,t.jsx)(s.code,{children:"undefined"})," | ",(0,t.jsx)(s.code,{children:"Partial"}),"<",(0,t.jsx)(s.code,{children:"T"}),">"]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ...",(0,t.jsx)(s.strong,{children:"objects"}),": ",(0,t.jsx)(s.code,{children:"Partial"}),"<",(0,t.jsx)(s.code,{children:"undefined"})," | ",(0,t.jsx)(s.code,{children:"T"}),">[]"]}),"\n",(0,t.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"T"})}),"\n",(0,t.jsx)(s.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/data.ts#L47",children:"sigma/src/utils/data.ts:47"})})]})}function u(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>r,x:()=>o});var t=n(4041);const i={},c=t.createContext(i);function r(e){const s=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(c.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/6082454c.48ad6ff2.js b/assets/js/6082454c.48ad6ff2.js new file mode 100644 index 000000000..11427d734 --- /dev/null +++ b/assets/js/6082454c.48ad6ff2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2373],{4312:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>d,metadata:()=>i,toc:()=>o});var s=t(1085),n=t(1184);const d={},c="Type Alias: CreateEdgeCurveProgramOptions<N, E, G>",i={id:"typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",title:"Type Alias: CreateEdgeCurveProgramOptions\\<N, E, G\\>",description:"CreateEdgeCurveProgramOptions\\: object",source:"@site/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions.md",sourceDirName:"typedoc/edge-curve/src/type-aliases",slug:"/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",permalink:"/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"edge-curve/src",permalink:"/docs/typedoc/edge-curve/src/"},next:{title:"default",permalink:"/docs/typedoc/edge-curve/src/variables/default"}},a={},o=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Type declaration",id:"type-declaration",level:2},{value:"arrowHead",id:"arrowhead",level:3},{value:"curvatureAttribute",id:"curvatureattribute",level:3},{value:"defaultCurvature",id:"defaultcurvature",level:3},{value:"drawLabel?",id:"drawlabel",level:3},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"type-alias-createedgecurveprogramoptionsn-e-g",children:"Type Alias: CreateEdgeCurveProgramOptions<N, E, G>"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"CreateEdgeCurveProgramOptions"}),"<",(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:"object"})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"N"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"E"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"G"})," ",(0,s.jsx)(r.em,{children:"extends"})," ",(0,s.jsx)(r.code,{children:"Attributes"})," = ",(0,s.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(r.h2,{id:"type-declaration",children:"Type declaration"}),"\n",(0,s.jsx)(r.h3,{id:"arrowhead",children:"arrowHead"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"arrowHead"}),": ",(0,s.jsx)(r.code,{children:"null"})," | ",(0,s.jsx)(r.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"curvatureattribute",children:"curvatureAttribute"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"curvatureAttribute"}),": ",(0,s.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"defaultcurvature",children:"defaultCurvature"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"defaultCurvature"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"drawlabel",children:"drawLabel?"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"optional"})," ",(0,s.jsx)(r.strong,{children:"drawLabel"}),": ",(0,s.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction",children:(0,s.jsx)(r.code,{children:"EdgeLabelDrawingFunction"})}),"<",(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:"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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/edge-curve/src/utils.ts#L7",children:"edge-curve/src/utils.ts:7"})})]})}function u(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,t)=>{t.d(r,{R:()=>c,x:()=>i});var s=t(4041);const n={},d=s.createContext(n);function c(e){const r=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/60eb78c0.11e2fcb9.js b/assets/js/60eb78c0.11e2fcb9.js new file mode 100644 index 000000000..8da08d055 --- /dev/null +++ b/assets/js/60eb78c0.11e2fcb9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[7716],{6258:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>c,default:()=>u,frontMatter:()=>i,metadata:()=>d,toc:()=>a});var t=s(1085),r=s(1184);const i={},c="Function: zIndexOrdering()",d={id:"typedoc/sigma/src/utils/functions/zIndexOrdering",title:"Function: zIndexOrdering()",description:"zIndexOrdering\\(_extent, getter, elements): T[]",source:"@site/docs/typedoc/sigma/src/utils/functions/zIndexOrdering.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/zIndexOrdering",permalink:"/docs/typedoc/sigma/src/utils/functions/zIndexOrdering",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/zIndexOrdering.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"validateGraph",permalink:"/docs/typedoc/sigma/src/utils/functions/validateGraph"}},o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-zindexordering",children:"Function: zIndexOrdering()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"zIndexOrdering"}),"<",(0,t.jsx)(n.code,{children:"T"}),">(",(0,t.jsx)(n.code,{children:"_extent"}),", ",(0,t.jsx)(n.code,{children:"getter"}),", ",(0,t.jsx)(n.code,{children:"elements"}),"): ",(0,t.jsx)(n.code,{children:"T"}),"[]"]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"Function ordering the given elements in reverse z-order so they drawn\nthe correct way."}),"\n",(0,t.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"T"})]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"_extent"}),": ",(0,t.jsx)(n.code,{children:"Extent"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"getter"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"elements"}),": ",(0,t.jsx)(n.code,{children:"T"}),"[]"]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"T"}),"[]"]}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/misc.ts#L41",children:"sigma/src/utils/misc.ts:41"})})]})}function u(e={}){const{wrapper:n}={...(0,r.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:()=>c,x:()=>d});var t=s(4041);const r={},i=t.createContext(r);function c(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/62baadd1.7107b4f3.js b/assets/js/62baadd1.7107b4f3.js new file mode 100644 index 000000000..abdd5c38b --- /dev/null +++ b/assets/js/62baadd1.7107b4f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2522],{8756:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var t=n(1085),c=n(1184);const r={},i="Function: scale()",o={id:"typedoc/sigma/src/utils/functions/scale",title:"Function: scale()",description:"scale(m, x, y?): Float32Array",source:"@site/docs/typedoc/sigma/src/utils/functions/scale.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/scale",permalink:"/docs/typedoc/sigma/src/utils/functions/scale",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/scale.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"rotate",permalink:"/docs/typedoc/sigma/src/utils/functions/rotate"},next:{title:"translate",permalink:"/docs/typedoc/sigma/src/utils/functions/translate"}},a={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"function-scale",children:"Function: scale()"})}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsxs)(s.p,{children:[(0,t.jsx)(s.strong,{children:"scale"}),"(",(0,t.jsx)(s.code,{children:"m"}),", ",(0,t.jsx)(s.code,{children:"x"}),", ",(0,t.jsx)(s.code,{children:"y"}),"?): ",(0,t.jsx)(s.code,{children:"Float32Array"})]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"m"}),": ",(0,t.jsx)(s.code,{children:"Float32Array"})]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"x"}),": ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsxs)(s.p,{children:["\u2022 ",(0,t.jsx)(s.strong,{children:"y?"}),": ",(0,t.jsx)(s.code,{children:"number"})]}),"\n",(0,t.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.code,{children:"Float32Array"})}),"\n",(0,t.jsx)(s.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/matrices.ts#L8",children:"sigma/src/utils/matrices.ts:8"})})]})}function u(e={}){const{wrapper:s}={...(0,c.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>i,x:()=>o});var t=n(4041);const c={},r=t.createContext(c);function i(e){const s=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:i(e.components),t.createElement(r.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/66eac11f.01113242.js b/assets/js/66eac11f.01113242.js new file mode 100644 index 000000000..49b53b60f --- /dev/null +++ b/assets/js/66eac11f.01113242.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[216],{4477:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>s,metadata:()=>t,toc:()=>l});var i=n(1085),c=n(1184);const s={},d="Interface: CreateNodePiechartProgramOptions<N, E, G>",t={id:"typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions",title:"Interface: CreateNodePiechartProgramOptions\\<N, E, G\\>",description:"Type Parameters",source:"@site/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions.md",sourceDirName:"typedoc/node-piechart/src/interfaces",slug:"/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions",permalink:"/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"node-piechart/src",permalink:"/docs/typedoc/node-piechart/src/"},next:{title:"NodeSliceColor",permalink:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor"}},o={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"defaultColor",id:"defaultcolor",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"drawHover",id:"drawhover",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"drawLabel",id:"drawlabel",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"offset",id:"offset",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"slices",id:"slices",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"color",id:"color",level:5},{value:"value",id:"value",level:5},{value:"Defined in",id:"defined-in-4",level:4}];function a(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",header:"header",hr:"hr",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.header,{children:(0,i.jsx)(r.h1,{id:"interface-createnodepiechartprogramoptionsn-e-g",children:"Interface: CreateNodePiechartProgramOptions<N, E, G>"})}),"\n",(0,i.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"N"})," ",(0,i.jsx)(r.em,{children:"extends"})," ",(0,i.jsx)(r.code,{children:"Attributes"})," = ",(0,i.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"E"})," ",(0,i.jsx)(r.em,{children:"extends"})," ",(0,i.jsx)(r.code,{children:"Attributes"})," = ",(0,i.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"G"})," ",(0,i.jsx)(r.em,{children:"extends"})," ",(0,i.jsx)(r.code,{children:"Attributes"})," = ",(0,i.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"defaultcolor",children:"defaultColor"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"defaultColor"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L13",children:"node-piechart/src/utils.ts:13"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"drawhover",children:"drawHover"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"drawHover"}),": ",(0,i.jsx)(r.code,{children:"undefined"})," | ",(0,i.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction",children:(0,i.jsx)(r.code,{children:"NodeHoverDrawingFunction"})}),"<",(0,i.jsx)(r.code,{children:"N"}),", ",(0,i.jsx)(r.code,{children:"E"}),", ",(0,i.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L21",children:"node-piechart/src/utils.ts:21"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"drawlabel",children:"drawLabel"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"drawLabel"}),": ",(0,i.jsx)(r.code,{children:"undefined"})," | ",(0,i.jsx)(r.a,{href:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction",children:(0,i.jsx)(r.code,{children:"NodeLabelDrawingFunction"})}),"<",(0,i.jsx)(r.code,{children:"N"}),", ",(0,i.jsx)(r.code,{children:"E"}),", ",(0,i.jsx)(r.code,{children:"G"}),">"]}),"\n"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L20",children:"node-piechart/src/utils.ts:20"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"offset",children:"offset"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"offset"}),": ",(0,i.jsx)(r.a,{href:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue",children:(0,i.jsx)(r.code,{children:"NodeSliceValue"})})]}),"\n"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L14",children:"node-piechart/src/utils.ts:14"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"slices",children:"slices"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"slices"}),": ",(0,i.jsx)(r.code,{children:"NonEmptyArray"}),"<",(0,i.jsx)(r.code,{children:"object"}),">"]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,i.jsx)(r.h5,{id:"color",children:"color"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"color"}),": ",(0,i.jsx)(r.a,{href:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor",children:(0,i.jsx)(r.code,{children:"NodeSliceColor"})})]}),"\n"]}),"\n",(0,i.jsx)(r.h5,{id:"value",children:"value"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"value"}),": ",(0,i.jsx)(r.a,{href:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue",children:(0,i.jsx)(r.code,{children:"NodeSliceValue"})})]}),"\n"]}),"\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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L15",children:"node-piechart/src/utils.ts:15"})})]})}function h(e={}){const{wrapper:r}={...(0,c.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>d,x:()=>t});var i=n(4041);const c={},s=i.createContext(c);function d(e){const r=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:d(e.components),i.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/679f3958.171851d7.js b/assets/js/679f3958.171851d7.js new file mode 100644 index 000000000..9d67a4132 --- /dev/null +++ b/assets/js/679f3958.171851d7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[1324],{7917:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>t,default:()=>m,frontMatter:()=>s,metadata:()=>a,toc:()=>c});var o=r(1085),i=r(1184);const s={},t="node-image/src",a={id:"typedoc/node-image/src/index",title:"node-image/src",description:"Index",source:"@site/docs/typedoc/node-image/src/index.md",sourceDirName:"typedoc/node-image/src",slug:"/typedoc/node-image/src/",permalink:"/docs/typedoc/node-image/src/",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-image/src/index.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createNodeBorderProgram",permalink:"/docs/typedoc/node-border/src/functions/createNodeBorderProgram"},next:{title:"NodeImageProgram",permalink:"/docs/typedoc/node-image/src/variables/NodeImageProgram"}},d={},c=[{value:"Index",id:"index",level:2},{value:"Variables",id:"variables",level:3},{value:"Functions",id:"functions",level:3}];function l(e){const n={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"node-imagesrc",children:"node-image/src"})}),"\n",(0,o.jsx)(n.h2,{id:"index",children:"Index"}),"\n",(0,o.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.a,{href:"/docs/typedoc/node-image/src/variables/NodeImageProgram",children:"NodeImageProgram"})}),"\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.a,{href:"/docs/typedoc/node-image/src/variables/NodePictogramProgram",children:"NodePictogramProgram"})}),"\n"]}),"\n",(0,o.jsx)(n.h3,{id:"functions",children:"Functions"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:(0,o.jsx)(n.a,{href:"/docs/typedoc/node-image/src/functions/createNodeImageProgram",children:"createNodeImageProgram"})}),"\n"]})]})}function m(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>t,x:()=>a});var o=r(4041);const i={},s=o.createContext(i);function t(e){const n=o.useContext(s);return o.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),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/68032f9c.a9f1fc0d.js b/assets/js/68032f9c.a9f1fc0d.js new file mode 100644 index 000000000..d07ffe386 --- /dev/null +++ b/assets/js/68032f9c.a9f1fc0d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9022],{9329:(e,t,c)=>{c.r(t),c.d(t,{assets:()=>r,contentTitle:()=>n,default:()=>p,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var s=c(1085),o=c(1184);const i={},n="Type Alias: NodeSliceValue",a={id:"typedoc/node-piechart/src/type-aliases/NodeSliceValue",title:"Type Alias: NodeSliceValue",description:"NodeSliceValue: object \\| object",source:"@site/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue.md",sourceDirName:"typedoc/node-piechart/src/type-aliases",slug:"/typedoc/node-piechart/src/type-aliases/NodeSliceValue",permalink:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"NodeSliceColor",permalink:"/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor"},next:{title:"DEFAULT_COLOR",permalink:"/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR"}},r={},d=[{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"type-alias-nodeslicevalue",children:"Type Alias: NodeSliceValue"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"NodeSliceValue"}),": ",(0,s.jsx)(t.code,{children:"object"})," | ",(0,s.jsx)(t.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/node-piechart/src/utils.ts#L6",children:"node-piechart/src/utils.ts:6"})})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,c)=>{c.d(t,{R:()=>n,x:()=>a});var s=c(4041);const o={},i=s.createContext(o);function n(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:n(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6bc4520a.85fe7954.js b/assets/js/6bc4520a.85fe7954.js new file mode 100644 index 000000000..f559ff3c4 --- /dev/null +++ b/assets/js/6bc4520a.85fe7954.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9266],{6583:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>t,metadata:()=>c,toc:()=>a});var s=r(1085),i=r(1184);const t={},d="Type Alias: NodeHoverDrawingFunction()<N, E, G>",c={id:"typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction",title:"Type Alias: NodeHoverDrawingFunction()\\<N, E, G\\>",description:"NodeHoverDrawingFunction\\: (context, data, settings) => void",source:"@site/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction.md",sourceDirName:"typedoc/sigma/src/rendering/type-aliases",slug:"/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"EdgeProgramType",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType"},next:{title:"NodeLabelDrawingFunction",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction"}},o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"type-alias-nodehoverdrawingfunctionn-e-g",children:"Type Alias: NodeHoverDrawingFunction()<N, E, G>"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"NodeHoverDrawingFunction"}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">: (",(0,s.jsx)(n.code,{children:"context"}),", ",(0,s.jsx)(n.code,{children:"data"}),", ",(0,s.jsx)(n.code,{children:"settings"}),") => ",(0,s.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"N"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"E"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"G"})," ",(0,s.jsx)(n.em,{children:"extends"})," ",(0,s.jsx)(n.code,{children:"Attributes"})," = ",(0,s.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"context"}),": ",(0,s.jsx)(n.code,{children:"CanvasRenderingContext2D"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"data"}),": ",(0,s.jsx)(n.code,{children:"PartialButFor"}),"<",(0,s.jsx)(n.code,{children:"NodeDisplayData"}),", ",(0,s.jsx)(n.code,{children:'"x"'})," | ",(0,s.jsx)(n.code,{children:'"y"'})," | ",(0,s.jsx)(n.code,{children:'"size"'})," | ",(0,s.jsx)(n.code,{children:'"label"'})," | ",(0,s.jsx)(n.code,{children:'"color"'}),">"]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"settings"}),": ",(0,s.jsx)(n.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,s.jsx)(n.code,{children:"Settings"})}),"<",(0,s.jsx)(n.code,{children:"N"}),", ",(0,s.jsx)(n.code,{children:"E"}),", ",(0,s.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"void"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/node-hover.ts#L7",children:"sigma/src/rendering/node-hover.ts:7"})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>c});var s=r(4041);const i={},t=s.createContext(i);function d(e){const n=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6c0c4817.1b1b9dc4.js b/assets/js/6c0c4817.1b1b9dc4.js new file mode 100644 index 000000000..474efe924 --- /dev/null +++ b/assets/js/6c0c4817.1b1b9dc4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[933],{2319:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>x,frontMatter:()=>i,metadata:()=>o,toc:()=>d});var s=n(1085),r=n(1184);const i={},c="Function: extractPixel()",o={id:"typedoc/sigma/src/utils/functions/extractPixel",title:"Function: extractPixel()",description:"extractPixel(gl, x, y, array): Uint8Array",source:"@site/docs/typedoc/sigma/src/utils/functions/extractPixel.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/extractPixel",permalink:"/docs/typedoc/sigma/src/utils/functions/extractPixel",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/extractPixel.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"extend",permalink:"/docs/typedoc/sigma/src/utils/functions/extend"},next:{title:"floatColor",permalink:"/docs/typedoc/sigma/src/utils/functions/floatColor"}},l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-extractpixel",children:"Function: extractPixel()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"extractPixel"}),"(",(0,s.jsx)(t.code,{children:"gl"}),", ",(0,s.jsx)(t.code,{children:"x"}),", ",(0,s.jsx)(t.code,{children:"y"}),", ",(0,s.jsx)(t.code,{children:"array"}),"): ",(0,s.jsx)(t.code,{children:"Uint8Array"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Function extracting the color at the given pixel."}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"gl"}),": ",(0,s.jsx)(t.code,{children:"WebGLRenderingContext"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"x"}),": ",(0,s.jsx)(t.code,{children:"number"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"y"}),": ",(0,s.jsx)(t.code,{children:"number"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"array"}),": ",(0,s.jsx)(t.code,{children:"Uint8Array"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"Uint8Array"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/colors.ts#L155",children:"sigma/src/utils/colors.ts:155"})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>o});var s=n(4041);const r={},i=s.createContext(r);function c(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6c9bb9db.8c411073.js b/assets/js/6c9bb9db.8c411073.js new file mode 100644 index 000000000..910f4526a --- /dev/null +++ b/assets/js/6c9bb9db.8c411073.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3314],{380:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>o});var s=n(1085),i=n(1184);const r={},a="Function: validateGraph()",c={id:"typedoc/sigma/src/utils/functions/validateGraph",title:"Function: validateGraph()",description:"validateGraph(graph): void",source:"@site/docs/typedoc/sigma/src/utils/functions/validateGraph.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/validateGraph",permalink:"/docs/typedoc/sigma/src/utils/functions/validateGraph",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/validateGraph.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"translate",permalink:"/docs/typedoc/sigma/src/utils/functions/translate"},next:{title:"zIndexOrdering",permalink:"/docs/typedoc/sigma/src/utils/functions/zIndexOrdering"}},d={},o=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-validategraph",children:"Function: validateGraph()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"validateGraph"}),"(",(0,s.jsx)(t.code,{children:"graph"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Check if the graph variable is a valid graph, and if sigma can render it."}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"graph"}),": ",(0,s.jsx)(t.code,{children:"AbstractGraph"}),"<",(0,s.jsx)(t.code,{children:"Attributes"}),", ",(0,s.jsx)(t.code,{children:"Attributes"}),", ",(0,s.jsx)(t.code,{children:"Attributes"}),">"]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/graph.ts#L33",children:"sigma/src/utils/graph.ts:33"})})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>c});var s=n(4041);const i={},r=s.createContext(i);function a(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6d448064.51be5ead.js b/assets/js/6d448064.51be5ead.js new file mode 100644 index 000000000..5a2a2ebae --- /dev/null +++ b/assets/js/6d448064.51be5ead.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[5391],{5136:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>i});var t=n(1085),s=n(1184);const o={},c="Function: getContoursFragmentShader()",a={id:"typedoc/layer-webgl/src/functions/getContoursFragmentShader",title:"Function: getContoursFragmentShader()",description:"getContoursFragmentShader(namedParameters): string",source:"@site/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader.md",sourceDirName:"typedoc/layer-webgl/src/functions",slug:"/typedoc/layer-webgl/src/functions/getContoursFragmentShader",permalink:"/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"createContoursProgram",permalink:"/docs/typedoc/layer-webgl/src/functions/createContoursProgram"},next:{title:"node-border/src",permalink:"/docs/typedoc/node-border/src/"}},d={},i=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.header,{children:(0,t.jsx)(r.h1,{id:"function-getcontoursfragmentshader",children:"Function: getContoursFragmentShader()"})}),"\n",(0,t.jsxs)(r.blockquote,{children:["\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.strong,{children:"getContoursFragmentShader"}),"(",(0,t.jsx)(r.code,{children:"__namedParameters"}),"): ",(0,t.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,t.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"__namedParameters"})]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"__namedParameters.border"}),": ",(0,t.jsx)(r.code,{children:"undefined"})," | ",(0,t.jsx)(r.code,{children:"object"})]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"__namedParameters.feather"}),": ",(0,t.jsx)(r.code,{children:"number"})]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"__namedParameters.levels"}),": ",(0,t.jsx)(r.code,{children:"object"}),"[]"]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"__namedParameters.nodesCount"}),": ",(0,t.jsx)(r.code,{children:"number"})]}),"\n",(0,t.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.code,{children:"string"})}),"\n",(0,t.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/layer-webgl/src/contours/shader-frag.ts#L5",children:"layer-webgl/src/contours/shader-frag.ts:5"})})]})}function u(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>a});var t=n(4041);const s={},o=t.createContext(s);function c(e){const r=t.useContext(o);return t.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:c(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/75a9b484.915aef64.js b/assets/js/75a9b484.915aef64.js new file mode 100644 index 000000000..334430100 --- /dev/null +++ b/assets/js/75a9b484.915aef64.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2747],{1001:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>c,metadata:()=>i,toc:()=>d});var t=s(1085),r=s(1184);const c={},o="Function: rgbaToFloat()",i={id:"typedoc/sigma/src/utils/functions/rgbaToFloat",title:"Function: rgbaToFloat()",description:"rgbaToFloat(r, g, b, a, masking?): number",source:"@site/docs/typedoc/sigma/src/utils/functions/rgbaToFloat.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/rgbaToFloat",permalink:"/docs/typedoc/sigma/src/utils/functions/rgbaToFloat",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/rgbaToFloat.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"quadraticOut",permalink:"/docs/typedoc/sigma/src/utils/functions/quadraticOut"},next:{title:"rotate",permalink:"/docs/typedoc/sigma/src/utils/functions/rotate"}},a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-rgbatofloat",children:"Function: rgbaToFloat()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"rgbaToFloat"}),"(",(0,t.jsx)(n.code,{children:"r"}),", ",(0,t.jsx)(n.code,{children:"g"}),", ",(0,t.jsx)(n.code,{children:"b"}),", ",(0,t.jsx)(n.code,{children:"a"}),", ",(0,t.jsx)(n.code,{children:"masking"}),"?): ",(0,t.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"r"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"g"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"b"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"a"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"masking?"}),": ",(0,t.jsx)(n.code,{children:"boolean"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"number"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/colors.ts#L220",children:"sigma/src/utils/colors.ts:220"})})]})}function u(e={}){const{wrapper:n}={...(0,r.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:()=>i});var t=s(4041);const r={},c=t.createContext(r);function o(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/76259b74.1b8db02e.js b/assets/js/76259b74.1b8db02e.js new file mode 100644 index 000000000..d4c885a73 --- /dev/null +++ b/assets/js/76259b74.1b8db02e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3359],{7415:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>c,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>h});var r=s(1085),i=s(1184);const d={},c="Class: TouchCaptor<N, E, G>",l={id:"typedoc/sigma/src/classes/TouchCaptor",title:"Class: TouchCaptor\\<N, E, G\\>",description:"Touch captor class.",source:"@site/docs/typedoc/sigma/src/classes/TouchCaptor.md",sourceDirName:"typedoc/sigma/src/classes",slug:"/typedoc/sigma/src/classes/TouchCaptor",permalink:"/docs/typedoc/sigma/src/classes/TouchCaptor",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/classes/TouchCaptor.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"Sigma",permalink:"/docs/typedoc/sigma/src/classes/Sigma"},next:{title:"sigma/src/rendering",permalink:"/docs/typedoc/sigma/src/rendering/"}},t={},h=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new TouchCaptor()",id:"new-touchcaptor",level:3},{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:"lastTap",id:"lasttap",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"lastTouches",id:"lasttouches",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"lastTouchesPositions?",id:"lasttouchespositions",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"movingTimeout?",id:"movingtimeout",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"rawEmitter",id:"rawemitter",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"settings",id:"settings",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"startCameraState?",id:"startcamerastate",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"startTouchesAngle?",id:"starttouchesangle",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"startTouchesDistance?",id:"starttouchesdistance",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"startTouchesPositions",id:"starttouchespositions",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"touchMode",id:"touchmode",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"Methods",id:"methods",level:2},{value:"addListener()",id:"addlistener",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:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"emit()",id:"emit",level:3},{value:"Type Parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"eventNames()",id:"eventnames",level:3},{value:"Type Parameters",id:"type-parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"getDimensions()",id:"getdimensions",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"getMaxListeners()",id:"getmaxlisteners",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"handleLeave()",id:"handleleave",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"handleMove()",id:"handlemove",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"handleStart()",id:"handlestart",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"kill()",id:"kill",level:3},{value:"Returns",id:"returns-9",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"listenerCount()",id:"listenercount",level:3},{value:"Type Parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"listeners()",id:"listeners",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-8",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"off()",id:"off",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-9",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"on()",id:"on",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-10",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"once()",id:"once",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-11",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"prependListener()",id:"prependlistener",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-12",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"prependOnceListener()",id:"prependoncelistener",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-13",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"rawListeners()",id:"rawlisteners",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-14",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"removeAllListeners()",id:"removealllisteners",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-15",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"removeListener()",id:"removelistener",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-16",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"setMaxListeners()",id:"setmaxlisteners",level:3},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"setSettings()",id:"setsettings",level:3},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Defined in",id:"defined-in-37",level:4}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"class-touchcaptorn-e-g",children:"Class: TouchCaptor<N, E, G>"})}),"\n",(0,r.jsx)(n.p,{children:"Touch captor class."}),"\n",(0,r.jsx)(n.h2,{id:"extends",children:"Extends"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"default"}),"<",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),", ",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"N"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"E"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"G"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"Attributes"})," = ",(0,r.jsx)(n.code,{children:"Attributes"})]}),"\n",(0,r.jsx)(n.h2,{id:"constructors",children:"Constructors"}),"\n",(0,r.jsx)(n.h3,{id:"new-touchcaptor",children:"new TouchCaptor()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"new TouchCaptor"}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">(",(0,r.jsx)(n.code,{children:"container"}),", ",(0,r.jsx)(n.code,{children:"renderer"}),"): ",(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/TouchCaptor",children:(0,r.jsx)(n.code,{children:"TouchCaptor"})}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"container"}),": ",(0,r.jsx)(n.code,{children:"HTMLElement"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"renderer"}),": ",(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,r.jsx)(n.code,{children:"Sigma"})}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,r.jsx)(n.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/TouchCaptor",children:(0,r.jsx)(n.code,{children:"TouchCaptor"})}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n",(0,r.jsx)(n.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor<TouchCaptorEvents, N, E, G>.constructor"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L64",children:"sigma/src/core/captors/touch.ts:64"})}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"container",children:"container"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"container"}),": ",(0,r.jsx)(n.code,{children:"HTMLElement"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.container"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/captor.ts#L142",children:"sigma/src/core/captors/captor.ts:142"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"enabled",children:"enabled"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"enabled"}),": ",(0,r.jsx)(n.code,{children:"boolean"})," = ",(0,r.jsx)(n.code,{children:"true"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L48",children:"sigma/src/core/captors/touch.ts:48"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"hasmoved",children:"hasMoved"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"hasMoved"}),": ",(0,r.jsx)(n.code,{children:"boolean"})," = ",(0,r.jsx)(n.code,{children:"false"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L50",children:"sigma/src/core/captors/touch.ts:50"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"ismoving",children:"isMoving"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"isMoving"}),": ",(0,r.jsx)(n.code,{children:"boolean"})," = ",(0,r.jsx)(n.code,{children:"false"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L49",children:"sigma/src/core/captors/touch.ts:49"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lasttap",children:"lastTap"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"lastTap"}),": ",(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"object"})," = ",(0,r.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L60",children:"sigma/src/core/captors/touch.ts:60"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lasttouches",children:"lastTouches"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"lastTouches"}),": ",(0,r.jsx)(n.code,{children:"Touch"}),"[] = ",(0,r.jsx)(n.code,{children:"[]"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L59",children:"sigma/src/core/captors/touch.ts:59"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"lasttouchespositions",children:"lastTouchesPositions?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"lastTouchesPositions"}),": ",(0,r.jsx)(n.code,{children:"Coordinates"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L58",children:"sigma/src/core/captors/touch.ts:58"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"movingtimeout",children:"movingTimeout?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"movingTimeout"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L53",children:"sigma/src/core/captors/touch.ts:53"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"rawemitter",children:"rawEmitter"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"rawEmitter"}),": ",(0,r.jsx)(n.code,{children:"EventEmitter"}),"<",(0,r.jsx)(n.code,{children:"DefaultEventMap"}),">"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.rawEmitter"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L114",children:"sigma/src/types.ts:114"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"renderer",children:"renderer"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"renderer"}),": ",(0,r.jsx)(n.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,r.jsx)(n.code,{children:"Sigma"})}),"<",(0,r.jsx)(n.code,{children:"N"}),", ",(0,r.jsx)(n.code,{children:"E"}),", ",(0,r.jsx)(n.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.renderer"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/captor.ts#L143",children:"sigma/src/core/captors/captor.ts:143"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"settings",children:"settings"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"settings"}),": ",(0,r.jsx)(n.code,{children:"TouchSettings"})," = ",(0,r.jsx)(n.code,{children:"DEFAULT_TOUCH_SETTINGS"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L62",children:"sigma/src/core/captors/touch.ts:62"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"startcamerastate",children:"startCameraState?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"startCameraState"}),": ",(0,r.jsx)(n.code,{children:"CameraState"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L51",children:"sigma/src/core/captors/touch.ts:51"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"starttouchesangle",children:"startTouchesAngle?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"startTouchesAngle"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L55",children:"sigma/src/core/captors/touch.ts:55"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"starttouchesdistance",children:"startTouchesDistance?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"startTouchesDistance"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L56",children:"sigma/src/core/captors/touch.ts:56"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"starttouchespositions",children:"startTouchesPositions"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"startTouchesPositions"}),": ",(0,r.jsx)(n.code,{children:"Coordinates"}),"[] = ",(0,r.jsx)(n.code,{children:"[]"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L57",children:"sigma/src/core/captors/touch.ts:57"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"touchmode",children:"touchMode"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"touchMode"}),": ",(0,r.jsx)(n.code,{children:"number"})," = ",(0,r.jsx)(n.code,{children:"0"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L52",children:"sigma/src/core/captors/touch.ts:52"})}),"\n",(0,r.jsx)(n.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(n.h3,{id:"addlistener",children:"addListener()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"addListener"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-1",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.addListener"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L120",children:"sigma/src/types.ts:120"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"emit",children:"emit()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"emit"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ...",(0,r.jsx)(n.code,{children:"args"}),"): ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-2",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ...",(0,r.jsx)(n.strong,{children:"args"}),": ",(0,r.jsx)(n.code,{children:"Parameters"}),"<",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]>"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-2",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"boolean"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.emit"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L119",children:"sigma/src/types.ts:119"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"eventnames",children:"eventNames()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"eventNames"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(): ",(0,r.jsx)(n.code,{children:"Event"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-3",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-3",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"Event"}),"[]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.eventNames"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L116",children:"sigma/src/types.ts:116"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"getdimensions",children:"getDimensions()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"getDimensions"}),"(): ",(0,r.jsx)(n.code,{children:"Dimensions"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-4",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Dimensions"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L88",children:"sigma/src/core/captors/touch.ts:88"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"getmaxlisteners",children:"getMaxListeners()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"getMaxListeners"}),"(): ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-5",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"number"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.getMaxListeners"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L118",children:"sigma/src/types.ts:118"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"handleleave",children:"handleLeave()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"handleLeave"}),"(",(0,r.jsx)(n.code,{children:"e"}),"): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"e"}),": ",(0,r.jsx)(n.code,{children:"TouchEvent"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-6",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L118",children:"sigma/src/core/captors/touch.ts:118"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"handlemove",children:"handleMove()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"handleMove"}),"(",(0,r.jsx)(n.code,{children:"e"}),"): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"e"}),": ",(0,r.jsx)(n.code,{children:"TouchEvent"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-7",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L201",children:"sigma/src/core/captors/touch.ts:201"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"handlestart",children:"handleStart()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"handleStart"}),"(",(0,r.jsx)(n.code,{children:"e"}),"): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"e"}),": ",(0,r.jsx)(n.code,{children:"TouchEvent"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-8",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L95",children:"sigma/src/core/captors/touch.ts:95"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"kill",children:"kill()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"kill"}),"(): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-9",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.kill"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L79",children:"sigma/src/core/captors/touch.ts:79"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"listenercount",children:"listenerCount()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"listenerCount"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),"): ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-4",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-10",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"number"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.listenerCount"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L129",children:"sigma/src/types.ts:129"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"listeners",children:"listeners()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"listeners"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),"): ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-5",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-11",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"][]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.listeners"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L128",children:"sigma/src/types.ts:128"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"off",children:"off()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"off"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-6",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-12",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.off"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L126",children:"sigma/src/types.ts:126"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"on",children:"on()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"on"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-7",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-13",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.on"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L121",children:"sigma/src/types.ts:121"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"once",children:"once()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"once"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-8",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-14",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.once"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L122",children:"sigma/src/types.ts:122"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"prependlistener",children:"prependListener()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"prependListener"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-9",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-15",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.prependListener"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L123",children:"sigma/src/types.ts:123"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"prependoncelistener",children:"prependOnceListener()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"prependOnceListener"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-10",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-16",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.prependOnceListener"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L124",children:"sigma/src/types.ts:124"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"rawlisteners",children:"rawListeners()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"rawListeners"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),"): ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-11",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-17",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"][]"]}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.rawListeners"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L130",children:"sigma/src/types.ts:130"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"removealllisteners",children:"removeAllListeners()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"removeAllListeners"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),"?): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-12",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type?"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-18",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.removeAllListeners"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L127",children:"sigma/src/types.ts:127"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"removelistener",children:"removeListener()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"removeListener"}),"<",(0,r.jsx)(n.code,{children:"Event"}),">(",(0,r.jsx)(n.code,{children:"type"}),", ",(0,r.jsx)(n.code,{children:"listener"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"type-parameters-13",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"Event"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"TouchCaptorEventType"})]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"type"}),": ",(0,r.jsx)(n.code,{children:"Event"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"listener"}),": ",(0,r.jsx)(n.code,{children:"TouchCaptorEvents"}),"[",(0,r.jsx)(n.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-19",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.removeListener"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L125",children:"sigma/src/types.ts:125"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"setmaxlisteners",children:"setMaxListeners()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"setMaxListeners"}),"(",(0,r.jsx)(n.code,{children:"n"}),"): ",(0,r.jsx)(n.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"n"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-20",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"this"})}),"\n",(0,r.jsx)(n.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Captor.setMaxListeners"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L117",children:"sigma/src/types.ts:117"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"setsettings",children:"setSettings()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"setSettings"}),"(",(0,r.jsx)(n.code,{children:"settings"}),"): ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"settings"}),": ",(0,r.jsx)(n.code,{children:"TouchSettings"})]}),"\n",(0,r.jsx)(n.h4,{id:"returns-21",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/touch.ts#L321",children:"sigma/src/core/captors/touch.ts:321"})})]})}function o(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>l});var r=s(4041);const i={},d=r.createContext(i);function c(e){const n=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),r.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/77907655.9f8401d8.js b/assets/js/77907655.9f8401d8.js new file mode 100644 index 000000000..bcdaf0b1e --- /dev/null +++ b/assets/js/77907655.9f8401d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2511],{7027:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>c,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>h});var r=n(1085),i=n(1184);const d={},c="Class: MouseCaptor<N, E, G>",l={id:"typedoc/sigma/src/classes/MouseCaptor",title:"Class: MouseCaptor\\<N, E, G\\>",description:"Mouse captor class.",source:"@site/docs/typedoc/sigma/src/classes/MouseCaptor.md",sourceDirName:"typedoc/sigma/src/classes",slug:"/typedoc/sigma/src/classes/MouseCaptor",permalink:"/docs/typedoc/sigma/src/classes/MouseCaptor",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/classes/MouseCaptor.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"Camera",permalink:"/docs/typedoc/sigma/src/classes/Camera"},next:{title:"Sigma",permalink:"/docs/typedoc/sigma/src/classes/Sigma"}},t={},h=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new MouseCaptor()",id:"new-mousecaptor",level:3},{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:"clicks",id:"clicks",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"container",id:"container",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"currentWheelDirection",id:"currentwheeldirection",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"doubleClickTimeout",id:"doubleclicktimeout",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"downStartTime",id:"downstarttime",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"draggedEvents",id:"draggedevents",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"enabled",id:"enabled",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"isMouseDown",id:"ismousedown",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"isMoving",id:"ismoving",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"lastMouseX",id:"lastmousex",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"lastMouseY",id:"lastmousey",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"lastWheelTriggerTime?",id:"lastwheeltriggertime",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"movingTimeout",id:"movingtimeout",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"rawEmitter",id:"rawemitter",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"renderer",id:"renderer",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"settings",id:"settings",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"startCameraState",id:"startcamerastate",level:3},{value:"Defined in",id:"defined-in-17",level:4},{value:"Methods",id:"methods",level:2},{value:"addListener()",id:"addlistener",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:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"emit()",id:"emit",level:3},{value:"Type Parameters",id:"type-parameters-2",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"eventNames()",id:"eventnames",level:3},{value:"Type Parameters",id:"type-parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"getMaxListeners()",id:"getmaxlisteners",level:3},{value:"Returns",id:"returns-4",level:4},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"handleClick()",id:"handleclick",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"handleDoubleClick()",id:"handledoubleclick",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"handleDown()",id:"handledown",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"handleEnter()",id:"handleenter",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-8",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"handleLeave()",id:"handleleave",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-9",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"handleMove()",id:"handlemove",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-10",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"handleRightClick()",id:"handlerightclick",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"handleUp()",id:"handleup",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-12",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"handleWheel()",id:"handlewheel",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-13",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"kill()",id:"kill",level:3},{value:"Returns",id:"returns-14",level:4},{value:"Overrides",id:"overrides-1",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"listenerCount()",id:"listenercount",level:3},{value:"Type Parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-15",level:4},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"listeners()",id:"listeners",level:3},{value:"Type Parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-16",level:4},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"off()",id:"off",level:3},{value:"Type Parameters",id:"type-parameters-6",level:4},{value:"Parameters",id:"parameters-14",level:4},{value:"Returns",id:"returns-17",level:4},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"on()",id:"on",level:3},{value:"Type Parameters",id:"type-parameters-7",level:4},{value:"Parameters",id:"parameters-15",level:4},{value:"Returns",id:"returns-18",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"once()",id:"once",level:3},{value:"Type Parameters",id:"type-parameters-8",level:4},{value:"Parameters",id:"parameters-16",level:4},{value:"Returns",id:"returns-19",level:4},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"prependListener()",id:"prependlistener",level:3},{value:"Type Parameters",id:"type-parameters-9",level:4},{value:"Parameters",id:"parameters-17",level:4},{value:"Returns",id:"returns-20",level:4},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"prependOnceListener()",id:"prependoncelistener",level:3},{value:"Type Parameters",id:"type-parameters-10",level:4},{value:"Parameters",id:"parameters-18",level:4},{value:"Returns",id:"returns-21",level:4},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"rawListeners()",id:"rawlisteners",level:3},{value:"Type Parameters",id:"type-parameters-11",level:4},{value:"Parameters",id:"parameters-19",level:4},{value:"Returns",id:"returns-22",level:4},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"removeAllListeners()",id:"removealllisteners",level:3},{value:"Type Parameters",id:"type-parameters-12",level:4},{value:"Parameters",id:"parameters-20",level:4},{value:"Returns",id:"returns-23",level:4},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"removeListener()",id:"removelistener",level:3},{value:"Type Parameters",id:"type-parameters-13",level:4},{value:"Parameters",id:"parameters-21",level:4},{value:"Returns",id:"returns-24",level:4},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"setMaxListeners()",id:"setmaxlisteners",level:3},{value:"Parameters",id:"parameters-22",level:4},{value:"Returns",id:"returns-25",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"setSettings()",id:"setsettings",level:3},{value:"Parameters",id:"parameters-23",level:4},{value:"Returns",id:"returns-26",level:4},{value:"Defined in",id:"defined-in-43",level:4}];function a(e){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"class-mousecaptorn-e-g",children:"Class: MouseCaptor<N, E, G>"})}),"\n",(0,r.jsx)(s.p,{children:"Mouse captor class."}),"\n",(0,r.jsx)(s.h2,{id:"extends",children:"Extends"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"default"}),"<",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),", ",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"N"})," ",(0,r.jsx)(s.em,{children:"extends"})," ",(0,r.jsx)(s.code,{children:"Attributes"})," = ",(0,r.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"E"})," ",(0,r.jsx)(s.em,{children:"extends"})," ",(0,r.jsx)(s.code,{children:"Attributes"})," = ",(0,r.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"G"})," ",(0,r.jsx)(s.em,{children:"extends"})," ",(0,r.jsx)(s.code,{children:"Attributes"})," = ",(0,r.jsx)(s.code,{children:"Attributes"})]}),"\n",(0,r.jsx)(s.h2,{id:"constructors",children:"Constructors"}),"\n",(0,r.jsx)(s.h3,{id:"new-mousecaptor",children:"new MouseCaptor()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"new MouseCaptor"}),"<",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">(",(0,r.jsx)(s.code,{children:"container"}),", ",(0,r.jsx)(s.code,{children:"renderer"}),"): ",(0,r.jsx)(s.a,{href:"/docs/typedoc/sigma/src/classes/MouseCaptor",children:(0,r.jsx)(s.code,{children:"MouseCaptor"})}),"<",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"container"}),": ",(0,r.jsx)(s.code,{children:"HTMLElement"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"renderer"}),": ",(0,r.jsx)(s.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,r.jsx)(s.code,{children:"Sigma"})}),"<",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,r.jsx)(s.h4,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/docs/typedoc/sigma/src/classes/MouseCaptor",children:(0,r.jsx)(s.code,{children:"MouseCaptor"})}),"<",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">"]}),"\n",(0,r.jsx)(s.h4,{id:"overrides",children:"Overrides"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor<MouseCaptorEvents, N, E, G>.constructor"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L78",children:"sigma/src/core/captors/mouse.ts:78"})}),"\n",(0,r.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(s.h3,{id:"clicks",children:"clicks"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"clicks"}),": ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"0"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L70",children:"sigma/src/core/captors/mouse.ts:70"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"container",children:"container"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"container"}),": ",(0,r.jsx)(s.code,{children:"HTMLElement"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.container"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/captor.ts#L142",children:"sigma/src/core/captors/captor.ts:142"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"currentwheeldirection",children:"currentWheelDirection"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"currentWheelDirection"}),": ",(0,r.jsx)(s.code,{children:"-1"})," | ",(0,r.jsx)(s.code,{children:"0"})," | ",(0,r.jsx)(s.code,{children:"1"})," = ",(0,r.jsx)(s.code,{children:"0"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L73",children:"sigma/src/core/captors/mouse.ts:73"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"doubleclicktimeout",children:"doubleClickTimeout"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"doubleClickTimeout"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L71",children:"sigma/src/core/captors/mouse.ts:71"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"downstarttime",children:"downStartTime"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"downStartTime"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L63",children:"sigma/src/core/captors/mouse.ts:63"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"draggedevents",children:"draggedEvents"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"draggedEvents"}),": ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"0"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L62",children:"sigma/src/core/captors/mouse.ts:62"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"enabled",children:"enabled"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"enabled"}),": ",(0,r.jsx)(s.code,{children:"boolean"})," = ",(0,r.jsx)(s.code,{children:"true"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L61",children:"sigma/src/core/captors/mouse.ts:61"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"ismousedown",children:"isMouseDown"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"isMouseDown"}),": ",(0,r.jsx)(s.code,{children:"boolean"})," = ",(0,r.jsx)(s.code,{children:"false"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-8",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L66",children:"sigma/src/core/captors/mouse.ts:66"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"ismoving",children:"isMoving"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"isMoving"}),": ",(0,r.jsx)(s.code,{children:"boolean"})," = ",(0,r.jsx)(s.code,{children:"false"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-9",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L67",children:"sigma/src/core/captors/mouse.ts:67"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"lastmousex",children:"lastMouseX"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"lastMouseX"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-10",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L64",children:"sigma/src/core/captors/mouse.ts:64"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"lastmousey",children:"lastMouseY"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"lastMouseY"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-11",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L65",children:"sigma/src/core/captors/mouse.ts:65"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"lastwheeltriggertime",children:"lastWheelTriggerTime?"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"optional"})," ",(0,r.jsx)(s.strong,{children:"lastWheelTriggerTime"}),": ",(0,r.jsx)(s.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-12",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L74",children:"sigma/src/core/captors/mouse.ts:74"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"movingtimeout",children:"movingTimeout"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"movingTimeout"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"number"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-13",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L68",children:"sigma/src/core/captors/mouse.ts:68"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"rawemitter",children:"rawEmitter"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"rawEmitter"}),": ",(0,r.jsx)(s.code,{children:"EventEmitter"}),"<",(0,r.jsx)(s.code,{children:"DefaultEventMap"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.rawEmitter"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-14",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L114",children:"sigma/src/types.ts:114"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"renderer",children:"renderer"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"renderer"}),": ",(0,r.jsx)(s.a,{href:"/docs/typedoc/sigma/src/classes/Sigma",children:(0,r.jsx)(s.code,{children:"Sigma"})}),"<",(0,r.jsx)(s.code,{children:"N"}),", ",(0,r.jsx)(s.code,{children:"E"}),", ",(0,r.jsx)(s.code,{children:"G"}),">"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.renderer"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-15",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/captor.ts#L143",children:"sigma/src/core/captors/captor.ts:143"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"settings",children:"settings"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"settings"}),": ",(0,r.jsx)(s.code,{children:"MouseSettings"})," = ",(0,r.jsx)(s.code,{children:"DEFAULT_MOUSE_SETTINGS"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-16",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L76",children:"sigma/src/core/captors/mouse.ts:76"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"startcamerastate",children:"startCameraState"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"startCameraState"}),": ",(0,r.jsx)(s.code,{children:"null"})," | ",(0,r.jsx)(s.code,{children:"CameraState"})," = ",(0,r.jsx)(s.code,{children:"null"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-17",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L69",children:"sigma/src/core/captors/mouse.ts:69"})}),"\n",(0,r.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsx)(s.h3,{id:"addlistener",children:"addListener()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"addListener"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-1",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.addListener"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-18",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L120",children:"sigma/src/types.ts:120"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"emit",children:"emit()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"emit"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ...",(0,r.jsx)(s.code,{children:"args"}),"): ",(0,r.jsx)(s.code,{children:"boolean"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-2",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ...",(0,r.jsx)(s.strong,{children:"args"}),": ",(0,r.jsx)(s.code,{children:"Parameters"}),"<",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]>"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-2",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"boolean"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.emit"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-19",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L119",children:"sigma/src/types.ts:119"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"eventnames",children:"eventNames()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"eventNames"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(): ",(0,r.jsx)(s.code,{children:"Event"}),"[]"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-3",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-3",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"Event"}),"[]"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.eventNames"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-20",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L116",children:"sigma/src/types.ts:116"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"getmaxlisteners",children:"getMaxListeners()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"getMaxListeners"}),"(): ",(0,r.jsx)(s.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-4",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"number"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.getMaxListeners"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-21",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L118",children:"sigma/src/types.ts:118"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handleclick",children:"handleClick()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleClick"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-5",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-22",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L117",children:"sigma/src/core/captors/mouse.ts:117"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handledoubleclick",children:"handleDoubleClick()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleDoubleClick"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-6",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-23",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L147",children:"sigma/src/core/captors/mouse.ts:147"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handledown",children:"handleDown()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleDown"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-7",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-24",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L168",children:"sigma/src/core/captors/mouse.ts:168"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handleenter",children:"handleEnter()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleEnter"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-8",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-25",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L305",children:"sigma/src/core/captors/mouse.ts:305"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handleleave",children:"handleLeave()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleLeave"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-9",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-26",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L301",children:"sigma/src/core/captors/mouse.ts:301"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handlemove",children:"handleMove()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleMove"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-10",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-27",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L238",children:"sigma/src/core/captors/mouse.ts:238"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handlerightclick",children:"handleRightClick()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleRightClick"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-11",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-28",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L141",children:"sigma/src/core/captors/mouse.ts:141"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handleup",children:"handleUp()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleUp"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"MouseEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-12",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-29",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L188",children:"sigma/src/core/captors/mouse.ts:188"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"handlewheel",children:"handleWheel()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"handleWheel"}),"(",(0,r.jsx)(s.code,{children:"e"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"e"}),": ",(0,r.jsx)(s.code,{children:"WheelEvent"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-13",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-30",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L309",children:"sigma/src/core/captors/mouse.ts:309"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"kill",children:"kill()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"kill"}),"(): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-14",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.kill"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-31",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L103",children:"sigma/src/core/captors/mouse.ts:103"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"listenercount",children:"listenerCount()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"listenerCount"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),"): ",(0,r.jsx)(s.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-4",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-15",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"number"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.listenerCount"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-32",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L129",children:"sigma/src/types.ts:129"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"listeners",children:"listeners()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"listeners"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),"): ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-5",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-16",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.listeners"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-33",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L128",children:"sigma/src/types.ts:128"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"off",children:"off()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"off"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-6",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-14",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-17",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.off"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-34",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L126",children:"sigma/src/types.ts:126"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"on",children:"on()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"on"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-7",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-15",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-18",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.on"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-35",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L121",children:"sigma/src/types.ts:121"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"once",children:"once()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"once"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-8",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-16",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-19",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.once"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-36",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L122",children:"sigma/src/types.ts:122"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"prependlistener",children:"prependListener()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"prependListener"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-9",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-17",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-20",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.prependListener"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-37",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L123",children:"sigma/src/types.ts:123"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"prependoncelistener",children:"prependOnceListener()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"prependOnceListener"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-10",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-18",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-21",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.prependOnceListener"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-38",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L124",children:"sigma/src/types.ts:124"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"rawlisteners",children:"rawListeners()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"rawListeners"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),"): ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"][]"]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-11",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-19",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-22",children:"Returns"}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"][]"]}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.rawListeners"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-39",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L130",children:"sigma/src/types.ts:130"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"removealllisteners",children:"removeAllListeners()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"removeAllListeners"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),"?): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-12",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-20",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type?"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-23",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.removeAllListeners"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-40",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L127",children:"sigma/src/types.ts:127"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"removelistener",children:"removeListener()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"removeListener"}),"<",(0,r.jsx)(s.code,{children:"Event"}),">(",(0,r.jsx)(s.code,{children:"type"}),", ",(0,r.jsx)(s.code,{children:"listener"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"type-parameters-13",children:"Type Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"Event"})," ",(0,r.jsx)(s.em,{children:"extends"})," keyof ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"})]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-21",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"type"}),": ",(0,r.jsx)(s.code,{children:"Event"})]}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"listener"}),": ",(0,r.jsx)(s.code,{children:"MouseCaptorEvents"}),"[",(0,r.jsx)(s.code,{children:"Event"}),"]"]}),"\n",(0,r.jsx)(s.h4,{id:"returns-24",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.removeListener"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-41",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L125",children:"sigma/src/types.ts:125"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"setmaxlisteners",children:"setMaxListeners()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"setMaxListeners"}),"(",(0,r.jsx)(s.code,{children:"n"}),"): ",(0,r.jsx)(s.code,{children:"this"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-22",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"n"}),": ",(0,r.jsx)(s.code,{children:"number"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-25",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"this"})}),"\n",(0,r.jsx)(s.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"Captor.setMaxListeners"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-42",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/types.ts#L117",children:"sigma/src/types.ts:117"})}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h3,{id:"setsettings",children:"setSettings()"}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"setSettings"}),"(",(0,r.jsx)(s.code,{children:"settings"}),"): ",(0,r.jsx)(s.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(s.h4,{id:"parameters-23",children:"Parameters"}),"\n",(0,r.jsxs)(s.p,{children:["\u2022 ",(0,r.jsx)(s.strong,{children:"settings"}),": ",(0,r.jsx)(s.code,{children:"MouseSettings"})]}),"\n",(0,r.jsx)(s.h4,{id:"returns-26",children:"Returns"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.code,{children:"void"})}),"\n",(0,r.jsx)(s.h4,{id:"defined-in-43",children:"Defined in"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/core/captors/mouse.ts#L363",children:"sigma/src/core/captors/mouse.ts:363"})})]})}function o(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>c,x:()=>l});var r=n(4041);const i={},d=r.createContext(i);function c(e){const s=r.useContext(d);return r.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(i):e.components||i:c(e.components),r.createElement(d.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7e5733a9.c349457a.js b/assets/js/7e5733a9.c349457a.js new file mode 100644 index 000000000..90a8cabb4 --- /dev/null +++ b/assets/js/7e5733a9.c349457a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[131],{4757:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var t=s(1085),i=s(1184);const c={},o="Function: isPlainObject()",r={id:"typedoc/sigma/src/utils/functions/isPlainObject",title:"Function: isPlainObject()",description:"isPlainObject(value): boolean",source:"@site/docs/typedoc/sigma/src/utils/functions/isPlainObject.md",sourceDirName:"typedoc/sigma/src/utils/functions",slug:"/typedoc/sigma/src/utils/functions/isPlainObject",permalink:"/docs/typedoc/sigma/src/utils/functions/isPlainObject",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/isPlainObject.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"indexToColor",permalink:"/docs/typedoc/sigma/src/utils/functions/indexToColor"},next:{title:"linear",permalink:"/docs/typedoc/sigma/src/utils/functions/linear"}},a={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-isplainobject",children:"Function: isPlainObject()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"isPlainObject"}),"(",(0,t.jsx)(n.code,{children:"value"}),"): ",(0,t.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"Checks whether the given value is a plain object."}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"value"}),": ",(0,t.jsx)(n.code,{children:"unknown"})]}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"boolean"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/jacomyal/sigma.js/blob/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/utils/data.ts#L23",children:"sigma/src/utils/data.ts:23"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>r});var t=s(4041);const i={},c=t.createContext(i);function o(e){const n=t.useContext(c);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(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/806d7a11.395285ed.js b/assets/js/806d7a11.395285ed.js new file mode 100644 index 000000000..a334d8798 --- /dev/null +++ b/assets/js/806d7a11.395285ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[9919],{441:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>d,contentTitle:()=>o,default:()=>g,frontMatter:()=>i,metadata:()=>a,toc:()=>c});var s=n(1085),t=n(1184);const i={},o="Type Alias: CreateEdgeArrowHeadProgramOptions",a={id:"typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions",title:"Type Alias: CreateEdgeArrowHeadProgramOptions",description:"CreateEdgeArrowHeadProgramOptions: object",source:"@site/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions.md",sourceDirName:"typedoc/sigma/src/rendering/type-aliases",slug:"/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions.md",tags:[],version:"current",frontMatter:{},sidebar:"sigmaDocSidebar",previous:{title:"ProgramInfo",permalink:"/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo"},next:{title:"CreateEdgeClampedProgramOptions",permalink:"/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions"}},d={},c=[{value:"Type declaration",id:"type-declaration",level:2},{value:"extremity",id:"extremity",level:3},{value:"lengthToThicknessRatio",id:"lengthtothicknessratio",level:3},{value:"widenessToThicknessRatio",id:"widenesstothicknessratio",level:3},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"type-alias-createedgearrowheadprogramoptions",children:"Type Alias: CreateEdgeArrowHeadProgramOptions"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"CreateEdgeArrowHeadProgramOptions"}),": ",(0,s.jsx)(r.code,{children:"object"})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-declaration",children:"Type declaration"}),"\n",(0,s.jsx)(r.h3,{id:"extremity",children:"extremity"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"extremity"}),": ",(0,s.jsx)(r.code,{children:'"source"'})," | ",(0,s.jsx)(r.code,{children:'"target"'})]}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"lengthtothicknessratio",children:"lengthToThicknessRatio"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"lengthToThicknessRatio"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(r.h3,{id:"widenesstothicknessratio",children:"widenessToThicknessRatio"}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"widenessToThicknessRatio"}),": ",(0,s.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{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/f0187cb13da41310bf375caf7105db2f18bc89d2/packages/sigma/src/rendering/programs/edge-arrow-head/index.ts#L21",children:"sigma/src/rendering/programs/edge-arrow-head/index.ts:21"})})]})}function g(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>a});var s=n(4041);const t={},i=s.createContext(t);function o(e){const r=s.useContext(i);return s.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(t):e.components||t:o(e.components),s.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8070e160.45e05833.js b/assets/js/8070e160.45e05833.js new file mode 100644 index 000000000..fa890031c --- /dev/null +++ b/assets/js/8070e160.45e05833.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3822],{3466:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>h,frontMatter:()=>t,metadata:()=>c,toc:()=>l});var a=s(1085),i=s(1184);const t={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:"sigmaDocSidebar",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",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"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/demo/index.js b/demo/index.js new file mode 100644 index 000000000..d27f927f8 --- /dev/null +++ b/demo/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const react_1 = tslib_1.__importDefault(require("react")); +const client_1 = tslib_1.__importDefault(require("react-dom/client")); +require("./styles.css"); +const Root_1 = tslib_1.__importDefault(require("./views/Root")); +const root = client_1.default.createRoot(document.getElementById("root")); +root.render((0, jsx_runtime_1.jsx)(react_1.default.StrictMode, { children: (0, jsx_runtime_1.jsx)(Root_1.default, {}) })); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/demo/index.js.map b/demo/index.js.map new file mode 100644 index 000000000..e5f701d9e --- /dev/null +++ b/demo/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,sEAAwC;AAExC,wBAAsB;AACtB,gEAAgC;AAEhC,MAAM,IAAI,GAAG,gBAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAgB,CAAC,CAAC;AAEjF,IAAI,CAAC,MAAM,CACT,uBAAC,eAAK,CAAC,UAAU,cACf,uBAAC,cAAI,KAAG,GACS,CACpB,CAAC"} \ No newline at end of file diff --git a/demo/types.js b/demo/types.js new file mode 100644 index 000000000..11e638d1e --- /dev/null +++ b/demo/types.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/demo/types.js.map b/demo/types.js.map new file mode 100644 index 000000000..c768b7900 --- /dev/null +++ b/demo/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/demo/use-debounce.js b/demo/use-debounce.js new file mode 100644 index 000000000..5f81ccb41 --- /dev/null +++ b/demo/use-debounce.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const react_1 = require("react"); +function useDebounce(value, delay) { + const [debouncedValue, setDebouncedValue] = (0, react_1.useState)(value); + (0, react_1.useEffect)(() => { + const handler = setTimeout(() => { + if (value !== debouncedValue) + setDebouncedValue(value); + }, delay); + return () => { + clearTimeout(handler); + }; + }, [value, delay]); + return debouncedValue; +} +exports.default = useDebounce; +//# sourceMappingURL=use-debounce.js.map \ No newline at end of file diff --git a/demo/use-debounce.js.map b/demo/use-debounce.js.map new file mode 100644 index 000000000..cb872ce61 --- /dev/null +++ b/demo/use-debounce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"use-debounce.js","sourceRoot":"","sources":["../src/use-debounce.ts"],"names":[],"mappings":";;AAAA,iCAA4C;AAE5C,SAAS,WAAW,CAAI,KAAQ,EAAE,KAAa;IAE7C,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAI,KAAK,CAAC,CAAC;IAE/D,IAAA,iBAAS,EACP,GAAG,EAAE;QAEH,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC9B,IAAI,KAAK,KAAK,cAAc;gBAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACzD,CAAC,EAAE,KAAK,CAAC,CAAC;QAKV,OAAO,GAAG,EAAE;YACV,YAAY,CAAC,OAAO,CAAC,CAAC;QACxB,CAAC,CAAC;IACJ,CAAC,EACD,CAAC,KAAK,EAAE,KAAK,CAAC,CACf,CAAC;IAEF,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/demo/views/ClustersPanel.js b/demo/views/ClustersPanel.js new file mode 100644 index 000000000..ca8024b2f --- /dev/null +++ b/demo/views/ClustersPanel.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const lodash_1 = require("lodash"); +const react_1 = require("react"); +const ai_1 = require("react-icons/ai"); +const md_1 = require("react-icons/md"); +const Panel_1 = tslib_1.__importDefault(require("./Panel")); +const ClustersPanel = ({ clusters, filters, toggleCluster, setClusters }) => { + const sigma = (0, core_1.useSigma)(); + const graph = sigma.getGraph(); + const nodesPerCluster = (0, react_1.useMemo)(() => { + const index = {}; + graph.forEachNode((_, { cluster }) => (index[cluster] = (index[cluster] || 0) + 1)); + return index; + }, []); + const maxNodesPerCluster = (0, react_1.useMemo)(() => Math.max(...(0, lodash_1.values)(nodesPerCluster)), [nodesPerCluster]); + const visibleClustersCount = (0, react_1.useMemo)(() => Object.keys(filters.clusters).length, [filters]); + const [visibleNodesPerCluster, setVisibleNodesPerCluster] = (0, react_1.useState)(nodesPerCluster); + (0, react_1.useEffect)(() => { + requestAnimationFrame(() => { + const index = {}; + graph.forEachNode((_, { cluster, hidden }) => !hidden && (index[cluster] = (index[cluster] || 0) + 1)); + setVisibleNodesPerCluster(index); + }); + }, [filters]); + const sortedClusters = (0, react_1.useMemo)(() => (0, lodash_1.sortBy)(clusters, (cluster) => -nodesPerCluster[cluster.key]), [clusters, nodesPerCluster]); + return ((0, jsx_runtime_1.jsxs)(Panel_1.default, { title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(md_1.MdGroupWork, { className: "text-muted" }), " Clusters", visibleClustersCount < clusters.length ? ((0, jsx_runtime_1.jsxs)("span", { className: "text-muted text-small", children: [" ", "(", visibleClustersCount, " / ", clusters.length, ")"] })) : ("")] }), children: [(0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("i", { className: "text-muted", children: "Click a cluster to show/hide related pages from the network." }) }), (0, jsx_runtime_1.jsxs)("p", { className: "buttons", children: [(0, jsx_runtime_1.jsxs)("button", { className: "btn", onClick: () => setClusters((0, lodash_1.mapValues)((0, lodash_1.keyBy)(clusters, "key"), () => true)), children: [(0, jsx_runtime_1.jsx)(ai_1.AiOutlineCheckCircle, {}), " Check all"] }), " ", (0, jsx_runtime_1.jsxs)("button", { className: "btn", onClick: () => setClusters({}), children: [(0, jsx_runtime_1.jsx)(ai_1.AiOutlineCloseCircle, {}), " Uncheck all"] })] }), (0, jsx_runtime_1.jsx)("ul", { children: sortedClusters.map((cluster) => { + const nodesCount = nodesPerCluster[cluster.key]; + const visibleNodesCount = visibleNodesPerCluster[cluster.key] || 0; + return ((0, jsx_runtime_1.jsxs)("li", { className: "caption-row", title: `${nodesCount} page${nodesCount > 1 ? "s" : ""}${visibleNodesCount !== nodesCount + ? visibleNodesCount > 0 + ? ` (only ${visibleNodesCount > 1 ? `${visibleNodesCount} are` : "one is"} visible)` + : " (all hidden)" + : ""}`, children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: filters.clusters[cluster.key] || false, onChange: () => toggleCluster(cluster.key), id: `cluster-${cluster.key}` }), (0, jsx_runtime_1.jsxs)("label", { htmlFor: `cluster-${cluster.key}`, children: [(0, jsx_runtime_1.jsx)("span", { className: "circle", style: { background: cluster.color, borderColor: cluster.color } }), " ", (0, jsx_runtime_1.jsxs)("div", { className: "node-label", children: [(0, jsx_runtime_1.jsx)("span", { children: cluster.clusterLabel }), (0, jsx_runtime_1.jsx)("div", { className: "bar", style: { width: (100 * nodesCount) / maxNodesPerCluster + "%" }, children: (0, jsx_runtime_1.jsx)("div", { className: "inside-bar", style: { + width: (100 * visibleNodesCount) / nodesCount + "%", + } }) })] })] })] }, cluster.key)); + }) })] })); +}; +exports.default = ClustersPanel; +//# sourceMappingURL=ClustersPanel.js.map \ No newline at end of file diff --git a/demo/views/ClustersPanel.js.map b/demo/views/ClustersPanel.js.map new file mode 100644 index 000000000..a92a23e07 --- /dev/null +++ b/demo/views/ClustersPanel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ClustersPanel.js","sourceRoot":"","sources":["../../src/views/ClustersPanel.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6C;AAC7C,mCAA0D;AAC1D,iCAAyD;AACzD,uCAA4E;AAC5E,uCAA6C;AAG7C,4DAA4B;AAE5B,MAAM,aAAa,GAKd,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,EAAE;IACzD,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAE/B,MAAM,eAAe,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QACnC,MAAM,KAAK,GAA2B,EAAE,CAAC;QACzC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpF,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,kBAAkB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAA,eAAM,EAAC,eAAe,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAClG,MAAM,oBAAoB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAE5F,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,IAAA,gBAAQ,EAAyB,eAAe,CAAC,CAAC;IAC9G,IAAA,iBAAS,EAAC,GAAG,EAAE;QAIb,qBAAqB,CAAC,GAAG,EAAE;YACzB,MAAM,KAAK,GAA2B,EAAE,CAAC;YACzC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACvG,yBAAyB,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,cAAc,GAAG,IAAA,eAAO,EAC5B,GAAG,EAAE,CAAC,IAAA,eAAM,EAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAClE,CAAC,QAAQ,EAAE,eAAe,CAAC,CAC5B,CAAC;IAEF,OAAO,CACL,wBAAC,eAAK,IACJ,KAAK,EACH,6DACE,uBAAC,gBAAW,IAAC,SAAS,EAAC,YAAY,GAAG,eACrC,oBAAoB,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CACxC,kCAAM,SAAS,EAAC,uBAAuB,aACpC,GAAG,OACF,oBAAoB,SAAK,QAAQ,CAAC,MAAM,SACrC,CACR,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACA,aAGL,wCACE,8BAAG,SAAS,EAAC,YAAY,6EAAiE,GACxF,EACJ,+BAAG,SAAS,EAAC,SAAS,aACpB,oCAAQ,SAAS,EAAC,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAA,kBAAS,EAAC,IAAA,cAAK,EAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,aAC/F,uBAAC,yBAAoB,KAAG,kBACjB,EAAC,GAAG,EACb,oCAAQ,SAAS,EAAC,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,aACpD,uBAAC,yBAAoB,KAAG,oBACjB,IACP,EACJ,yCACG,cAAc,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;oBAC9B,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;oBAChD,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBACnE,OAAO,CACL,gCACE,SAAS,EAAC,aAAa,EAEvB,KAAK,EAAE,GAAG,UAAU,QAAQ,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GACnD,iBAAiB,KAAK,UAAU;4BAC9B,CAAC,CAAC,iBAAiB,GAAG,CAAC;gCACrB,CAAC,CAAC,UAAU,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,MAAM,CAAC,CAAC,CAAC,QAAQ,WAAW;gCACpF,CAAC,CAAC,eAAe;4BACnB,CAAC,CAAC,EACN,EAAE,aAEF,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,KAAK,EAC/C,QAAQ,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAC1C,EAAE,EAAE,WAAW,OAAO,CAAC,GAAG,EAAE,GAC5B,EACF,mCAAO,OAAO,EAAE,WAAW,OAAO,CAAC,GAAG,EAAE,aACtC,iCAAM,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,KAAK,EAAE,GAAI,EAAC,GAAG,EACjG,iCAAK,SAAS,EAAC,YAAY,aACzB,2CAAO,OAAO,CAAC,YAAY,GAAQ,EACnC,gCAAK,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,kBAAkB,GAAG,GAAG,EAAE,YAClF,gCACE,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE;wDACL,KAAK,EAAE,CAAC,GAAG,GAAG,iBAAiB,CAAC,GAAG,UAAU,GAAG,GAAG;qDACpD,GACD,GACE,IACF,IACA,KA5BH,OAAO,CAAC,GAAG,CA6Bb,CACN,CAAC;gBACJ,CAAC,CAAC,GACC,IACC,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"} \ No newline at end of file diff --git a/demo/views/DescriptionPanel.js b/demo/views/DescriptionPanel.js new file mode 100644 index 000000000..b3ef746eb --- /dev/null +++ b/demo/views/DescriptionPanel.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const bs_1 = require("react-icons/bs"); +const Panel_1 = tslib_1.__importDefault(require("./Panel")); +const DescriptionPanel = () => { + return ((0, jsx_runtime_1.jsxs)(Panel_1.default, { initiallyDeployed: true, title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(bs_1.BsInfoCircle, { className: "text-muted" }), " Description"] }), children: [(0, jsx_runtime_1.jsxs)("p", { children: ["This map represents a ", (0, jsx_runtime_1.jsx)("i", { children: "network" }), " of Wikipedia articles around the topic of \"Data visualisation\". Each", " ", (0, jsx_runtime_1.jsx)("i", { children: "node" }), " represents an article, and each edge a", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://en.wikipedia.org/wiki/See_also", children: "\"See also\" link" }), "."] }), (0, jsx_runtime_1.jsxs)("p", { children: ["The seed articles were selected by hand by the", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://medialab.sciencespo.fr/", children: "Sciences-Po m\u00E9dialab" }), " ", "team, and the network was crawled using", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://densitydesign.github.io/strumentalia-seealsology/", children: "Seealsology" }), ", and then cleaned and enriched manually. This makes the dataset creditable to both the m\u00E9dialab team and", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://en.wikipedia.org/wiki/Wikipedia:Wikipedians", children: "Wikipedia editors" }), "."] }), (0, jsx_runtime_1.jsxs)("p", { children: ["This web application has been developed by", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://www.ouestware.com/en/", children: "OuestWare" }), ", using", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://reactjs.org/", children: "react" }), " ", "and", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://www.sigmajs.org", children: "sigma.js" }), ". You can read the source code", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://github.com/jacomyal/sigma.js/tree/main/packages/demo", children: "on GitHub" }), "."] }), (0, jsx_runtime_1.jsxs)("p", { children: ["Nodes sizes are related to their", " ", (0, jsx_runtime_1.jsx)("a", { target: "_blank", rel: "noreferrer", href: "https://en.wikipedia.org/wiki/Betweenness_centrality", children: "betweenness centrality" }), ". More central nodes (ie. bigger nodes) are important crossing points in the network. Finally, You can click a node to open the related Wikipedia article."] })] })); +}; +exports.default = DescriptionPanel; +//# sourceMappingURL=DescriptionPanel.js.map \ No newline at end of file diff --git a/demo/views/DescriptionPanel.js.map b/demo/views/DescriptionPanel.js.map new file mode 100644 index 000000000..8aff873f8 --- /dev/null +++ b/demo/views/DescriptionPanel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"DescriptionPanel.js","sourceRoot":"","sources":["../../src/views/DescriptionPanel.tsx"],"names":[],"mappings":";;;;AACA,uCAA8C;AAE9C,4DAA4B;AAE5B,MAAM,gBAAgB,GAAO,GAAG,EAAE;IAChC,OAAO,CACL,wBAAC,eAAK,IACJ,iBAAiB,QACjB,KAAK,EACH,6DACE,uBAAC,iBAAY,IAAC,SAAS,EAAC,YAAY,GAAG,oBACtC,aAGL,oEACwB,oDAAc,6EAAsE,GAAG,EAC7G,iDAAW,6CAAwC,GAAG,EACtD,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,wCAAwC,kCAE7E,SAEF,EACJ,4FACiD,GAAG,EAClD,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,iCAAiC,0CAEtE,EAAC,GAAG,6CACgC,GAAG,EAC3C,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,2DAA2D,4BAEhG,oHACsG,GAAG,EAC7G,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,qDAAqD,kCAE1F,SAEF,EACJ,wFAC6C,GAAG,EAC9C,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,+BAA+B,0BAEpE,aACI,GAAG,EACX,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,sBAAsB,sBAE3D,EAAC,GAAG,SACJ,GAAG,EACP,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,yBAAyB,yBAE9D,oCAC2B,GAAG,EAClC,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,8DAA8D,0BAEnG,SAEF,EACJ,8EACmC,GAAG,EACpC,8BAAG,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,sDAAsD,uCAE3F,kKAGF,IACE,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/demo/views/GraphDataController.js b/demo/views/GraphDataController.js new file mode 100644 index 000000000..9ea8d220d --- /dev/null +++ b/demo/views/GraphDataController.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const react_1 = require("react"); +const GraphDataController = ({ filters, children }) => { + const sigma = (0, core_1.useSigma)(); + const graph = sigma.getGraph(); + (0, react_1.useEffect)(() => { + const { clusters, tags } = filters; + graph.forEachNode((node, { cluster, tag }) => graph.setNodeAttribute(node, "hidden", !clusters[cluster] || !tags[tag])); + }, [graph, filters]); + return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children }); +}; +exports.default = GraphDataController; +//# sourceMappingURL=GraphDataController.js.map \ No newline at end of file diff --git a/demo/views/GraphDataController.js.map b/demo/views/GraphDataController.js.map new file mode 100644 index 000000000..bfccc2142 --- /dev/null +++ b/demo/views/GraphDataController.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GraphDataController.js","sourceRoot":"","sources":["../../src/views/GraphDataController.tsx"],"names":[],"mappings":";;;AAAA,4CAA6C;AAC7C,iCAAyD;AAIzD,MAAM,mBAAmB,GAAqD,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtG,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAK/B,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;QACnC,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,CAC3C,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CACzE,CAAC;IACJ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAErB,OAAO,2DAAG,QAAQ,GAAI,CAAC;AACzB,CAAC,CAAC;AAEF,kBAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/demo/views/GraphEventsController.js b/demo/views/GraphEventsController.js new file mode 100644 index 000000000..e922ad525 --- /dev/null +++ b/demo/views/GraphEventsController.js @@ -0,0 +1,37 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const react_1 = require("react"); +function getMouseLayer() { + return document.querySelector(".sigma-mouse"); +} +const GraphEventsController = ({ setHoveredNode, children, }) => { + const sigma = (0, core_1.useSigma)(); + const graph = sigma.getGraph(); + const registerEvents = (0, core_1.useRegisterEvents)(); + (0, react_1.useEffect)(() => { + registerEvents({ + clickNode({ node }) { + if (!graph.getNodeAttribute(node, "hidden")) { + window.open(graph.getNodeAttribute(node, "URL"), "_blank"); + } + }, + enterNode({ node }) { + setHoveredNode(node); + const mouseLayer = getMouseLayer(); + if (mouseLayer) + mouseLayer.classList.add("mouse-pointer"); + }, + leaveNode() { + setHoveredNode(null); + const mouseLayer = getMouseLayer(); + if (mouseLayer) + mouseLayer.classList.remove("mouse-pointer"); + }, + }); + }, []); + return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children }); +}; +exports.default = GraphEventsController; +//# sourceMappingURL=GraphEventsController.js.map \ No newline at end of file diff --git a/demo/views/GraphEventsController.js.map b/demo/views/GraphEventsController.js.map new file mode 100644 index 000000000..4ecfc9b82 --- /dev/null +++ b/demo/views/GraphEventsController.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GraphEventsController.js","sourceRoot":"","sources":["../../src/views/GraphEventsController.tsx"],"names":[],"mappings":";;;AAAA,4CAAgE;AAChE,iCAAyD;AAEzD,SAAS,aAAa;IACpB,OAAO,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,qBAAqB,GAA6E,CAAC,EACvG,cAAc,EACd,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC/B,MAAM,cAAc,GAAG,IAAA,wBAAiB,GAAE,CAAC;IAM3C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,cAAc,CAAC;YACb,SAAS,CAAC,EAAE,IAAI,EAAE;gBAChB,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;oBAC5C,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC;gBAC7D,CAAC;YACH,CAAC;YACD,SAAS,CAAC,EAAE,IAAI,EAAE;gBAChB,cAAc,CAAC,IAAI,CAAC,CAAC;gBAErB,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;gBACnC,IAAI,UAAU;oBAAE,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;YAC5D,CAAC;YACD,SAAS;gBACP,cAAc,CAAC,IAAI,CAAC,CAAC;gBAErB,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;gBACnC,IAAI,UAAU;oBAAE,UAAU,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC,CAAC;IACL,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,2DAAG,QAAQ,GAAI,CAAC;AACzB,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"} \ No newline at end of file diff --git a/demo/views/GraphSettingsController.js b/demo/views/GraphSettingsController.js new file mode 100644 index 000000000..8b5280b03 --- /dev/null +++ b/demo/views/GraphSettingsController.js @@ -0,0 +1,57 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const react_1 = require("react"); +const canvas_utils_1 = require("../canvas-utils"); +const use_debounce_1 = tslib_1.__importDefault(require("../use-debounce")); +const NODE_FADE_COLOR = "#bbb"; +const EDGE_FADE_COLOR = "#eee"; +const GraphSettingsController = ({ children, hoveredNode }) => { + const sigma = (0, core_1.useSigma)(); + const setSettings = (0, core_1.useSetSettings)(); + const graph = sigma.getGraph(); + const debouncedHoveredNode = (0, use_debounce_1.default)(hoveredNode, 40); + (0, react_1.useEffect)(() => { + var _a; + const hoveredColor = (debouncedHoveredNode && ((_a = sigma.getNodeDisplayData(debouncedHoveredNode)) === null || _a === void 0 ? void 0 : _a.color)) || ""; + setSettings({ + defaultDrawNodeLabel: canvas_utils_1.drawLabel, + defaultDrawNodeHover: canvas_utils_1.drawHover, + nodeReducer: (node, data) => { + if (debouncedHoveredNode) { + return node === debouncedHoveredNode || + graph.hasEdge(node, debouncedHoveredNode) || + graph.hasEdge(debouncedHoveredNode, node) + ? Object.assign(Object.assign({}, data), { zIndex: 1 }) : Object.assign(Object.assign({}, data), { zIndex: 0, label: "", color: NODE_FADE_COLOR, image: null, highlighted: false }); + } + return data; + }, + edgeReducer: (edge, data) => { + if (debouncedHoveredNode) { + return graph.hasExtremity(edge, debouncedHoveredNode) + ? Object.assign(Object.assign({}, data), { color: hoveredColor, size: 4 }) : Object.assign(Object.assign({}, data), { color: EDGE_FADE_COLOR, hidden: true }); + } + return data; + }, + }); + }, [sigma, graph, debouncedHoveredNode]); + (0, react_1.useEffect)(() => { + var _a; + const hoveredColor = (debouncedHoveredNode && ((_a = sigma.getNodeDisplayData(debouncedHoveredNode)) === null || _a === void 0 ? void 0 : _a.color)) || ""; + sigma.setSetting("nodeReducer", debouncedHoveredNode + ? (node, data) => node === debouncedHoveredNode || + graph.hasEdge(node, debouncedHoveredNode) || + graph.hasEdge(debouncedHoveredNode, node) + ? Object.assign(Object.assign({}, data), { zIndex: 1 }) : Object.assign(Object.assign({}, data), { zIndex: 0, label: "", color: NODE_FADE_COLOR, image: null, highlighted: false }) + : null); + sigma.setSetting("edgeReducer", debouncedHoveredNode + ? (edge, data) => graph.hasExtremity(edge, debouncedHoveredNode) + ? Object.assign(Object.assign({}, data), { color: hoveredColor, size: 4 }) : Object.assign(Object.assign({}, data), { color: EDGE_FADE_COLOR, hidden: true }) + : null); + }, [debouncedHoveredNode]); + return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children }); +}; +exports.default = GraphSettingsController; +//# sourceMappingURL=GraphSettingsController.js.map \ No newline at end of file diff --git a/demo/views/GraphSettingsController.js.map b/demo/views/GraphSettingsController.js.map new file mode 100644 index 000000000..f75fd7c5c --- /dev/null +++ b/demo/views/GraphSettingsController.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GraphSettingsController.js","sourceRoot":"","sources":["../../src/views/GraphSettingsController.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6D;AAE7D,iCAAyD;AAEzD,kDAAuD;AACvD,2EAA0C;AAE1C,MAAM,eAAe,GAAG,MAAM,CAAC;AAC/B,MAAM,eAAe,GAAG,MAAM,CAAC;AAE/B,MAAM,uBAAuB,GAA0D,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACnH,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,WAAW,GAAG,IAAA,qBAAc,GAAE,CAAC;IACrC,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAI/B,MAAM,oBAAoB,GAAG,IAAA,sBAAW,EAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAM1D,IAAA,iBAAS,EAAC,GAAG,EAAE;;QACb,MAAM,YAAY,GAAW,CAAC,oBAAoB,KAAI,MAAA,KAAK,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,0CAAE,KAAK,CAAA,CAAC,IAAI,EAAE,CAAC;QAEnH,WAAW,CAAC;YACV,oBAAoB,EAAE,wBAAS;YAC/B,oBAAoB,EAAE,wBAAS;YAC/B,WAAW,EAAE,CAAC,IAAY,EAAE,IAAgB,EAAE,EAAE;gBAC9C,IAAI,oBAAoB,EAAE,CAAC;oBACzB,OAAO,IAAI,KAAK,oBAAoB;wBAClC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC;wBACzC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,IAAI,CAAC;wBACzC,CAAC,iCAAM,IAAI,KAAE,MAAM,EAAE,CAAC,IACtB,CAAC,iCAAM,IAAI,KAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,GAAE,CAAC;gBACjG,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YACD,WAAW,EAAE,CAAC,IAAY,EAAE,IAAgB,EAAE,EAAE;gBAC9C,IAAI,oBAAoB,EAAE,CAAC;oBACzB,OAAO,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,oBAAoB,CAAC;wBACnD,CAAC,iCAAM,IAAI,KAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,IACzC,CAAC,iCAAM,IAAI,KAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,GAAE,CAAC;gBACxD,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAMzC,IAAA,iBAAS,EAAC,GAAG,EAAE;;QACb,MAAM,YAAY,GAAW,CAAC,oBAAoB,KAAI,MAAA,KAAK,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,0CAAE,KAAK,CAAA,CAAC,IAAI,EAAE,CAAC;QAEnH,KAAK,CAAC,UAAU,CACd,aAAa,EACb,oBAAoB;YAClB,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CACb,IAAI,KAAK,oBAAoB;gBAC7B,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC;gBACzC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,IAAI,CAAC;gBACvC,CAAC,iCAAM,IAAI,KAAE,MAAM,EAAE,CAAC,IACtB,CAAC,iCAAM,IAAI,KAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,GAAE;YAClG,CAAC,CAAC,IAAI,CACT,CAAC;QACF,KAAK,CAAC,UAAU,CACd,aAAa,EACb,oBAAoB;YAClB,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CACb,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,oBAAoB,CAAC;gBAC5C,CAAC,iCAAM,IAAI,KAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,IACzC,CAAC,iCAAM,IAAI,KAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,GAAE;YACzD,CAAC,CAAC,IAAI,CACT,CAAC;IACJ,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAE3B,OAAO,2DAAG,QAAQ,GAAI,CAAC;AACzB,CAAC,CAAC;AAEF,kBAAe,uBAAuB,CAAC"} \ No newline at end of file diff --git a/demo/views/GraphTitle.js b/demo/views/GraphTitle.js new file mode 100644 index 000000000..e196592b5 --- /dev/null +++ b/demo/views/GraphTitle.js @@ -0,0 +1,28 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const react_1 = require("react"); +function prettyPercentage(val) { + return (val * 100).toFixed(1) + "%"; +} +const GraphTitle = ({ filters }) => { + const sigma = (0, core_1.useSigma)(); + const graph = sigma.getGraph(); + const [visibleItems, setVisibleItems] = (0, react_1.useState)({ nodes: 0, edges: 0 }); + (0, react_1.useEffect)(() => { + requestAnimationFrame(() => { + const index = { nodes: 0, edges: 0 }; + graph.forEachNode((_, { hidden }) => !hidden && index.nodes++); + graph.forEachEdge((_, _2, _3, _4, source, target) => !source.hidden && !target.hidden && index.edges++); + setVisibleItems(index); + }); + }, [filters]); + return ((0, jsx_runtime_1.jsxs)("div", { className: "graph-title", children: [(0, jsx_runtime_1.jsx)("h1", { children: "A cartography of Wikipedia pages around data visualization" }), (0, jsx_runtime_1.jsx)("h2", { children: (0, jsx_runtime_1.jsxs)("i", { children: [graph.order, " node", graph.order > 1 ? "s" : "", " ", visibleItems.nodes !== graph.order + ? ` (only ${prettyPercentage(visibleItems.nodes / graph.order)} visible)` + : "", ", ", graph.size, " edge", graph.size > 1 ? "s" : "", " ", visibleItems.edges !== graph.size + ? ` (only ${prettyPercentage(visibleItems.edges / graph.size)} visible)` + : ""] }) })] })); +}; +exports.default = GraphTitle; +//# sourceMappingURL=GraphTitle.js.map \ No newline at end of file diff --git a/demo/views/GraphTitle.js.map b/demo/views/GraphTitle.js.map new file mode 100644 index 000000000..334b7c2b0 --- /dev/null +++ b/demo/views/GraphTitle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GraphTitle.js","sourceRoot":"","sources":["../../src/views/GraphTitle.tsx"],"names":[],"mappings":";;;AAAA,4CAA6C;AAC7C,iCAAgD;AAIhD,SAAS,gBAAgB,CAAC,GAAW;IACnC,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,GAAkC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IAChE,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAE/B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAmC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAC3G,IAAA,iBAAS,EAAC,GAAG,EAAE;QAIb,qBAAqB,CAAC,GAAG,EAAE;YACzB,MAAM,KAAK,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;YAC/D,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;YACxG,eAAe,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,CACL,iCAAK,SAAS,EAAC,aAAa,aAC1B,wGAAmE,EACnE,yCACE,0CACG,KAAK,CAAC,KAAK,WAAO,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,EACjD,YAAY,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK;4BACjC,CAAC,CAAC,UAAU,gBAAgB,CAAC,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW;4BACzE,CAAC,CAAC,EAAE,QACH,KAAK,CAAC,IAAI,WACZ,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,EAC9B,YAAY,CAAC,KAAK,KAAK,KAAK,CAAC,IAAI;4BAChC,CAAC,CAAC,UAAU,gBAAgB,CAAC,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW;4BACxE,CAAC,CAAC,EAAE,IACJ,GACD,IACD,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/demo/views/Panel.js b/demo/views/Panel.js new file mode 100644 index 000000000..331619e42 --- /dev/null +++ b/demo/views/Panel.js @@ -0,0 +1,23 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const react_1 = require("react"); +const react_animate_height_1 = tslib_1.__importDefault(require("react-animate-height")); +const md_1 = require("react-icons/md"); +const DURATION = 300; +const Panel = ({ title, initiallyDeployed, children, }) => { + const [isDeployed, setIsDeployed] = (0, react_1.useState)(initiallyDeployed || false); + const dom = (0, react_1.useRef)(null); + (0, react_1.useEffect)(() => { + if (isDeployed) + setTimeout(() => { + var _a; + if (dom.current) + (_a = dom.current.parentElement) === null || _a === void 0 ? void 0 : _a.scrollTo({ top: dom.current.offsetTop - 5, behavior: "smooth" }); + }, DURATION); + }, [isDeployed]); + return ((0, jsx_runtime_1.jsxs)("div", { className: "panel", ref: dom, children: [(0, jsx_runtime_1.jsxs)("h2", { children: [title, " ", (0, jsx_runtime_1.jsx)("button", { type: "button", onClick: () => setIsDeployed((v) => !v), children: isDeployed ? (0, jsx_runtime_1.jsx)(md_1.MdExpandLess, {}) : (0, jsx_runtime_1.jsx)(md_1.MdExpandMore, {}) })] }), (0, jsx_runtime_1.jsx)(react_animate_height_1.default, { duration: DURATION, height: isDeployed ? "auto" : 0, children: children })] })); +}; +exports.default = Panel; +//# sourceMappingURL=Panel.js.map \ No newline at end of file diff --git a/demo/views/Panel.js.map b/demo/views/Panel.js.map new file mode 100644 index 000000000..4eb84e936 --- /dev/null +++ b/demo/views/Panel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Panel.js","sourceRoot":"","sources":["../../src/views/Panel.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsF;AACtF,wFAAiD;AACjD,uCAA4D;AAE5D,MAAM,QAAQ,GAAG,GAAG,CAAC;AAErB,MAAM,KAAK,GAAsF,CAAC,EAChG,KAAK,EACL,iBAAiB,EACjB,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,iBAAiB,IAAI,KAAK,CAAC,CAAC;IACzE,MAAM,GAAG,GAAG,IAAA,cAAM,EAAiB,IAAI,CAAC,CAAC;IAEzC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,UAAU;YACZ,UAAU,CAAC,GAAG,EAAE;;gBACd,IAAI,GAAG,CAAC,OAAO;oBAAE,MAAA,GAAG,CAAC,OAAO,CAAC,aAAa,0CAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,OAAO,CAAC,SAAS,GAAG,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;YAC/G,CAAC,EAAE,QAAQ,CAAC,CAAC;IACjB,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,CACL,iCAAK,SAAS,EAAC,OAAO,EAAC,GAAG,EAAE,GAAG,aAC7B,2CACG,KAAK,EAAE,GAAG,EACX,mCAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,YAC1D,UAAU,CAAC,CAAC,CAAC,uBAAC,iBAAY,KAAG,CAAC,CAAC,CAAC,uBAAC,iBAAY,KAAG,GAC1C,IACN,EACL,uBAAC,8BAAa,IAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,YAC/D,QAAQ,GACK,IACZ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/demo/views/Root.js b/demo/views/Root.js new file mode 100644 index 000000000..4a34fc0e5 --- /dev/null +++ b/demo/views/Root.js @@ -0,0 +1,83 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const node_image_1 = require("@sigma/node-image"); +const graphology_1 = require("graphology"); +const lodash_1 = require("lodash"); +const react_1 = require("react"); +const bi_1 = require("react-icons/bi"); +const bs_1 = require("react-icons/bs"); +const gr_1 = require("react-icons/gr"); +const canvas_utils_1 = require("../canvas-utils"); +const ClustersPanel_1 = tslib_1.__importDefault(require("./ClustersPanel")); +const DescriptionPanel_1 = tslib_1.__importDefault(require("./DescriptionPanel")); +const GraphDataController_1 = tslib_1.__importDefault(require("./GraphDataController")); +const GraphEventsController_1 = tslib_1.__importDefault(require("./GraphEventsController")); +const GraphSettingsController_1 = tslib_1.__importDefault(require("./GraphSettingsController")); +const GraphTitle_1 = tslib_1.__importDefault(require("./GraphTitle")); +const SearchField_1 = tslib_1.__importDefault(require("./SearchField")); +const TagsPanel_1 = tslib_1.__importDefault(require("./TagsPanel")); +const Root = () => { + const graph = (0, react_1.useMemo)(() => new graphology_1.DirectedGraph(), []); + const [showContents, setShowContents] = (0, react_1.useState)(false); + const [dataReady, setDataReady] = (0, react_1.useState)(false); + const [dataset, setDataset] = (0, react_1.useState)(null); + const [filtersState, setFiltersState] = (0, react_1.useState)({ + clusters: {}, + tags: {}, + }); + const [hoveredNode, setHoveredNode] = (0, react_1.useState)(null); + const sigmaSettings = (0, react_1.useMemo)(() => ({ + nodeProgramClasses: { + image: (0, node_image_1.createNodeImageProgram)({ + size: { mode: "force", value: 256 }, + }), + }, + defaultDrawNodeLabel: canvas_utils_1.drawLabel, + defaultDrawNodeHover: canvas_utils_1.drawHover, + defaultNodeType: "image", + defaultEdgeType: "arrow", + labelDensity: 0.07, + labelGridCellSize: 60, + labelRenderedSizeThreshold: 15, + labelFont: "Lato, sans-serif", + zIndex: true, + }), []); + (0, react_1.useEffect)(() => { + fetch(`./dataset.json`) + .then((res) => res.json()) + .then((dataset) => { + const clusters = (0, lodash_1.keyBy)(dataset.clusters, "key"); + const tags = (0, lodash_1.keyBy)(dataset.tags, "key"); + dataset.nodes.forEach((node) => graph.addNode(node.key, Object.assign(Object.assign(Object.assign({}, node), (0, lodash_1.omit)(clusters[node.cluster], "key")), { image: `./images/${tags[node.tag].image}` }))); + dataset.edges.forEach(([source, target]) => graph.addEdge(source, target, { size: 1 })); + const scores = graph.nodes().map((node) => graph.getNodeAttribute(node, "score")); + const minDegree = Math.min(...scores); + const maxDegree = Math.max(...scores); + const MIN_NODE_SIZE = 3; + const MAX_NODE_SIZE = 30; + graph.forEachNode((node) => graph.setNodeAttribute(node, "size", ((graph.getNodeAttribute(node, "score") - minDegree) / (maxDegree - minDegree)) * + (MAX_NODE_SIZE - MIN_NODE_SIZE) + + MIN_NODE_SIZE)); + setFiltersState({ + clusters: (0, lodash_1.mapValues)((0, lodash_1.keyBy)(dataset.clusters, "key"), (0, lodash_1.constant)(true)), + tags: (0, lodash_1.mapValues)((0, lodash_1.keyBy)(dataset.tags, "key"), (0, lodash_1.constant)(true)), + }); + setDataset(dataset); + requestAnimationFrame(() => setDataReady(true)); + }); + }, []); + if (!dataset) + return null; + return ((0, jsx_runtime_1.jsx)("div", { id: "app-root", className: showContents ? "show-contents" : "", children: (0, jsx_runtime_1.jsxs)(core_1.SigmaContainer, { graph: graph, settings: sigmaSettings, className: "react-sigma", children: [(0, jsx_runtime_1.jsx)(GraphSettingsController_1.default, { hoveredNode: hoveredNode }), (0, jsx_runtime_1.jsx)(GraphEventsController_1.default, { setHoveredNode: setHoveredNode }), (0, jsx_runtime_1.jsx)(GraphDataController_1.default, { filters: filtersState }), dataReady && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { className: "controls", children: [(0, jsx_runtime_1.jsx)("div", { className: "react-sigma-control ico", children: (0, jsx_runtime_1.jsx)("button", { type: "button", className: "show-contents", onClick: () => setShowContents(true), title: "Show caption and description", children: (0, jsx_runtime_1.jsx)(bi_1.BiBookContent, {}) }) }), (0, jsx_runtime_1.jsxs)(core_1.FullScreenControl, { className: "ico", children: [(0, jsx_runtime_1.jsx)(bs_1.BsArrowsFullscreen, {}), (0, jsx_runtime_1.jsx)(bs_1.BsFullscreenExit, {})] }), (0, jsx_runtime_1.jsxs)(core_1.ZoomControl, { className: "ico", children: [(0, jsx_runtime_1.jsx)(bs_1.BsZoomIn, {}), (0, jsx_runtime_1.jsx)(bs_1.BsZoomOut, {}), (0, jsx_runtime_1.jsx)(bi_1.BiRadioCircleMarked, {})] })] }), (0, jsx_runtime_1.jsxs)("div", { className: "contents", children: [(0, jsx_runtime_1.jsx)("div", { className: "ico", children: (0, jsx_runtime_1.jsx)("button", { type: "button", className: "ico hide-contents", onClick: () => setShowContents(false), title: "Show caption and description", children: (0, jsx_runtime_1.jsx)(gr_1.GrClose, {}) }) }), (0, jsx_runtime_1.jsx)(GraphTitle_1.default, { filters: filtersState }), (0, jsx_runtime_1.jsxs)("div", { className: "panels", children: [(0, jsx_runtime_1.jsx)(SearchField_1.default, { filters: filtersState }), (0, jsx_runtime_1.jsx)(DescriptionPanel_1.default, {}), (0, jsx_runtime_1.jsx)(ClustersPanel_1.default, { clusters: dataset.clusters, filters: filtersState, setClusters: (clusters) => setFiltersState((filters) => (Object.assign(Object.assign({}, filters), { clusters }))), toggleCluster: (cluster) => { + setFiltersState((filters) => (Object.assign(Object.assign({}, filters), { clusters: filters.clusters[cluster] + ? (0, lodash_1.omit)(filters.clusters, cluster) + : Object.assign(Object.assign({}, filters.clusters), { [cluster]: true }) }))); + } }), (0, jsx_runtime_1.jsx)(TagsPanel_1.default, { tags: dataset.tags, filters: filtersState, setTags: (tags) => setFiltersState((filters) => (Object.assign(Object.assign({}, filters), { tags }))), toggleTag: (tag) => { + setFiltersState((filters) => (Object.assign(Object.assign({}, filters), { tags: filters.tags[tag] ? (0, lodash_1.omit)(filters.tags, tag) : Object.assign(Object.assign({}, filters.tags), { [tag]: true }) }))); + } })] })] })] }))] }) })); +}; +exports.default = Root; +//# sourceMappingURL=Root.js.map \ No newline at end of file diff --git a/demo/views/Root.js.map b/demo/views/Root.js.map new file mode 100644 index 000000000..d801d0852 --- /dev/null +++ b/demo/views/Root.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Root.js","sourceRoot":"","sources":["../../src/views/Root.tsx"],"names":[],"mappings":";;;;AAAA,4CAAmF;AACnF,kDAA2D;AAC3D,2CAA2C;AAC3C,mCAA0D;AAC1D,iCAAyD;AACzD,uCAAoE;AACpE,uCAA2F;AAC3F,uCAAyC;AAGzC,kDAAuD;AAEvD,4EAA4C;AAC5C,kFAAkD;AAClD,wFAAwD;AACxD,4FAA4D;AAC5D,gGAAgE;AAChE,sEAAsC;AACtC,wEAAwC;AACxC,oEAAoC;AAEpC,MAAM,IAAI,GAAO,GAAG,EAAE;IACpB,MAAM,KAAK,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,IAAI,0BAAa,EAAE,EAAE,EAAE,CAAC,CAAC;IACrD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACxD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAClD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAiB,IAAI,CAAC,CAAC;IAC7D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAe;QAC7D,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,EAAE;KACT,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAgB,IAAI,CAAC,CAAC;IACpE,MAAM,aAAa,GAAsB,IAAA,eAAO,EAC9C,GAAG,EAAE,CAAC,CAAC;QACL,kBAAkB,EAAE;YAClB,KAAK,EAAE,IAAA,mCAAsB,EAAC;gBAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE;aACpC,CAAC;SACH;QACD,oBAAoB,EAAE,wBAAS;QAC/B,oBAAoB,EAAE,wBAAS;QAC/B,eAAe,EAAE,OAAO;QACxB,eAAe,EAAE,OAAO;QACxB,YAAY,EAAE,IAAI;QAClB,iBAAiB,EAAE,EAAE;QACrB,0BAA0B,EAAE,EAAE;QAC9B,SAAS,EAAE,kBAAkB;QAC7B,MAAM,EAAE,IAAI;KACb,CAAC,EACF,EAAE,CACH,CAAC;IAGF,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,KAAK,CAAC,gBAAgB,CAAC;aACpB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;aACzB,IAAI,CAAC,CAAC,OAAgB,EAAE,EAAE;YACzB,MAAM,QAAQ,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YAChD,MAAM,IAAI,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAExC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7B,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,gDACjB,IAAI,GACJ,IAAA,aAAI,EAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,KACtC,KAAK,EAAE,YAAY,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,IACzC,CACH,CAAC;YACF,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;YAGxF,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;YAClF,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC;YACtC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC;YACtC,MAAM,aAAa,GAAG,CAAC,CAAC;YACxB,MAAM,aAAa,GAAG,EAAE,CAAC;YACzB,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE,CACzB,KAAK,CAAC,gBAAgB,CACpB,IAAI,EACJ,MAAM,EACN,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;gBAC7E,CAAC,aAAa,GAAG,aAAa,CAAC;gBAC/B,aAAa,CAChB,CACF,CAAC;YAEF,eAAe,CAAC;gBACd,QAAQ,EAAE,IAAA,kBAAS,EAAC,IAAA,cAAK,EAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,IAAA,iBAAQ,EAAC,IAAI,CAAC,CAAC;gBACnE,IAAI,EAAE,IAAA,kBAAS,EAAC,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,IAAA,iBAAQ,EAAC,IAAI,CAAC,CAAC;aAC5D,CAAC,CAAC;YACH,UAAU,CAAC,OAAO,CAAC,CAAC;YACpB,qBAAqB,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,gCAAK,EAAE,EAAC,UAAU,EAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,YAC/D,wBAAC,qBAAc,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAC,aAAa,aAC5E,uBAAC,iCAAuB,IAAC,WAAW,EAAE,WAAW,GAAI,EACrD,uBAAC,+BAAqB,IAAC,cAAc,EAAE,cAAc,GAAI,EACzD,uBAAC,6BAAmB,IAAC,OAAO,EAAE,YAAY,GAAI,EAE7C,SAAS,IAAI,CACZ,6DACE,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAC,yBAAyB,YACtC,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,EACpC,KAAK,EAAC,8BAA8B,YAEpC,uBAAC,kBAAa,KAAG,GACV,GACL,EACN,wBAAC,wBAAiB,IAAC,SAAS,EAAC,KAAK,aAChC,uBAAC,uBAAkB,KAAG,EACtB,uBAAC,qBAAgB,KAAG,IACF,EAEpB,wBAAC,kBAAW,IAAC,SAAS,EAAC,KAAK,aAC1B,uBAAC,aAAQ,KAAG,EACZ,uBAAC,cAAS,KAAG,EACb,uBAAC,wBAAmB,KAAG,IACX,IACV,EACN,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAC,KAAK,YAClB,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,mBAAmB,EAC7B,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,EACrC,KAAK,EAAC,8BAA8B,YAEpC,uBAAC,YAAO,KAAG,GACJ,GACL,EACN,uBAAC,oBAAU,IAAC,OAAO,EAAE,YAAY,GAAI,EACrC,iCAAK,SAAS,EAAC,QAAQ,aACrB,uBAAC,qBAAW,IAAC,OAAO,EAAE,YAAY,GAAI,EACtC,uBAAC,0BAAgB,KAAG,EACpB,uBAAC,uBAAa,IACZ,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,OAAO,EAAE,YAAY,EACrB,WAAW,EAAE,CAAC,QAAQ,EAAE,EAAE,CACxB,eAAe,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACxB,OAAO,KACV,QAAQ,IACR,CAAC,EAEL,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE;gDACzB,eAAe,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACxB,OAAO,KACV,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;wDACjC,CAAC,CAAC,IAAA,aAAI,EAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC;wDACjC,CAAC,iCAAM,OAAO,CAAC,QAAQ,KAAE,CAAC,OAAO,CAAC,EAAE,IAAI,GAAE,IAC5C,CAAC,CAAC;4CACN,CAAC,GACD,EACF,uBAAC,mBAAS,IACR,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAChB,eAAe,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACxB,OAAO,KACV,IAAI,IACJ,CAAC,EAEL,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE;gDACjB,eAAe,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,iCACxB,OAAO,KACV,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,aAAI,EAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,iCAAM,OAAO,CAAC,IAAI,KAAE,CAAC,GAAG,CAAC,EAAE,IAAI,GAAE,IACpF,CAAC,CAAC;4CACN,CAAC,GACD,IACE,IACF,IACL,CACJ,IACc,GACb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/demo/views/SearchField.js b/demo/views/SearchField.js new file mode 100644 index 000000000..95bd5d45c --- /dev/null +++ b/demo/views/SearchField.js @@ -0,0 +1,62 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const react_1 = require("react"); +const bs_1 = require("react-icons/bs"); +const SearchField = ({ filters }) => { + const sigma = (0, core_1.useSigma)(); + const [search, setSearch] = (0, react_1.useState)(""); + const [values, setValues] = (0, react_1.useState)([]); + const [selected, setSelected] = (0, react_1.useState)(null); + const refreshValues = () => { + const newValues = []; + const lcSearch = search.toLowerCase(); + if (!selected && search.length > 1) { + sigma.getGraph().forEachNode((key, attributes) => { + if (!attributes.hidden && attributes.label && attributes.label.toLowerCase().indexOf(lcSearch) === 0) + newValues.push({ id: key, label: attributes.label }); + }); + } + setValues(newValues); + }; + (0, react_1.useEffect)(() => refreshValues(), [search]); + (0, react_1.useEffect)(() => { + requestAnimationFrame(refreshValues); + }, [filters]); + (0, react_1.useEffect)(() => { + if (!selected) + return; + sigma.getGraph().setNodeAttribute(selected, "highlighted", true); + const nodeDisplayData = sigma.getNodeDisplayData(selected); + if (nodeDisplayData) + sigma.getCamera().animate(Object.assign(Object.assign({}, nodeDisplayData), { ratio: 0.05 }), { + duration: 600, + }); + return () => { + sigma.getGraph().setNodeAttribute(selected, "highlighted", false); + }; + }, [selected]); + const onInputChange = (e) => { + const searchString = e.target.value; + const valueItem = values.find((value) => value.label === searchString); + if (valueItem) { + setSearch(valueItem.label); + setValues([]); + setSelected(valueItem.id); + } + else { + setSelected(null); + setSearch(searchString); + } + }; + const onKeyPress = (e) => { + if (e.key === "Enter" && values.length) { + setSearch(values[0].label); + setSelected(values[0].id); + } + }; + return ((0, jsx_runtime_1.jsxs)("div", { className: "search-wrapper", children: [(0, jsx_runtime_1.jsx)("input", { type: "search", placeholder: "Search in nodes...", list: "nodes", value: search, onChange: onInputChange, onKeyPress: onKeyPress }), (0, jsx_runtime_1.jsx)(bs_1.BsSearch, { className: "icon" }), (0, jsx_runtime_1.jsx)("datalist", { id: "nodes", children: values.map((value) => ((0, jsx_runtime_1.jsx)("option", { value: value.label, children: value.label }, value.id))) })] })); +}; +exports.default = SearchField; +//# sourceMappingURL=SearchField.js.map \ No newline at end of file diff --git a/demo/views/SearchField.js.map b/demo/views/SearchField.js.map new file mode 100644 index 000000000..5dbc5d2a7 --- /dev/null +++ b/demo/views/SearchField.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SearchField.js","sourceRoot":"","sources":["../../src/views/SearchField.tsx"],"names":[],"mappings":";;;AAAA,4CAA6C;AAE7C,iCAA4E;AAC5E,uCAA0C;AAU1C,MAAM,WAAW,GAAkC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IAEzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAS,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAuC,EAAE,CAAC,CAAC;IAC/E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,EAAgB,IAAI,CAAC,CAAC;IAE9D,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,MAAM,SAAS,GAAyC,EAAE,CAAC;QAC3D,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QACtC,IAAI,CAAC,QAAQ,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,CAAC,GAAW,EAAE,UAAsB,EAAQ,EAAE;gBACzE,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,UAAU,CAAC,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;oBAClG,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;YACzD,CAAC,CAAC,CAAC;QACL,CAAC;QACD,SAAS,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC,CAAC;IAGF,IAAA,iBAAS,EAAC,GAAG,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAG3C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,CAAC,QAAQ;YAAE,OAAO;QAEtB,KAAK,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;QACjE,MAAM,eAAe,GAAG,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QAE3D,IAAI,eAAe;YACjB,KAAK,CAAC,SAAS,EAAE,CAAC,OAAO,iCAClB,eAAe,KAAE,KAAK,EAAE,IAAI,KACjC;gBACE,QAAQ,EAAE,GAAG;aACd,CACF,CAAC;QAEJ,OAAO,GAAG,EAAE;YACV,KAAK,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;QACpE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,aAAa,GAAG,CAAC,CAAgC,EAAE,EAAE;QACzD,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QACpC,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,YAAY,CAAC,CAAC;QACvE,IAAI,SAAS,EAAE,CAAC;YACd,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3B,SAAS,CAAC,EAAE,CAAC,CAAC;YACd,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;aAAM,CAAC;YACN,WAAW,CAAC,IAAI,CAAC,CAAC;YAClB,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,CAAkC,EAAE,EAAE;QACxD,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YACvC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YAC3B,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,kCACE,IAAI,EAAC,QAAQ,EACb,WAAW,EAAC,oBAAoB,EAChC,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,UAAU,GACtB,EACF,uBAAC,aAAQ,IAAC,SAAS,EAAC,MAAM,GAAG,EAC7B,qCAAU,EAAE,EAAC,OAAO,YACjB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAoC,EAAE,EAAE,CAAC,CACpD,mCAAuB,KAAK,EAAE,KAAK,CAAC,KAAK,YACtC,KAAK,CAAC,KAAK,IADD,KAAK,CAAC,EAAE,CAEZ,CACV,CAAC,GACO,IACP,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/demo/views/TagsPanel.js b/demo/views/TagsPanel.js new file mode 100644 index 000000000..920e33f28 --- /dev/null +++ b/demo/views/TagsPanel.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +const jsx_runtime_1 = require("react/jsx-runtime"); +const core_1 = require("@react-sigma/core"); +const lodash_1 = require("lodash"); +const react_1 = require("react"); +const ai_1 = require("react-icons/ai"); +const md_1 = require("react-icons/md"); +const Panel_1 = tslib_1.__importDefault(require("./Panel")); +const TagsPanel = ({ tags, filters, toggleTag, setTags }) => { + const sigma = (0, core_1.useSigma)(); + const graph = sigma.getGraph(); + const nodesPerTag = (0, react_1.useMemo)(() => { + const index = {}; + graph.forEachNode((_, { tag }) => (index[tag] = (index[tag] || 0) + 1)); + return index; + }, []); + const maxNodesPerTag = (0, react_1.useMemo)(() => Math.max(...(0, lodash_1.values)(nodesPerTag)), [nodesPerTag]); + const visibleTagsCount = (0, react_1.useMemo)(() => Object.keys(filters.tags).length, [filters]); + const [visibleNodesPerTag, setVisibleNodesPerTag] = (0, react_1.useState)(nodesPerTag); + (0, react_1.useEffect)(() => { + requestAnimationFrame(() => { + const index = {}; + graph.forEachNode((_, { tag, hidden }) => !hidden && (index[tag] = (index[tag] || 0) + 1)); + setVisibleNodesPerTag(index); + }); + }, [filters]); + const sortedTags = (0, react_1.useMemo)(() => (0, lodash_1.sortBy)(tags, (tag) => (tag.key === "unknown" ? Infinity : -nodesPerTag[tag.key])), [tags, nodesPerTag]); + return ((0, jsx_runtime_1.jsxs)(Panel_1.default, { title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(md_1.MdCategory, { className: "text-muted" }), " Categories", visibleTagsCount < tags.length ? ((0, jsx_runtime_1.jsxs)("span", { className: "text-muted text-small", children: [" ", "(", visibleTagsCount, " / ", tags.length, ")"] })) : ("")] }), children: [(0, jsx_runtime_1.jsx)("p", { children: (0, jsx_runtime_1.jsx)("i", { className: "text-muted", children: "Click a category to show/hide related pages from the network." }) }), (0, jsx_runtime_1.jsxs)("p", { className: "buttons", children: [(0, jsx_runtime_1.jsxs)("button", { className: "btn", onClick: () => setTags((0, lodash_1.mapValues)((0, lodash_1.keyBy)(tags, "key"), () => true)), children: [(0, jsx_runtime_1.jsx)(ai_1.AiOutlineCheckCircle, {}), " Check all"] }), " ", (0, jsx_runtime_1.jsxs)("button", { className: "btn", onClick: () => setTags({}), children: [(0, jsx_runtime_1.jsx)(ai_1.AiOutlineCloseCircle, {}), " Uncheck all"] })] }), (0, jsx_runtime_1.jsx)("ul", { children: sortedTags.map((tag) => { + const nodesCount = nodesPerTag[tag.key]; + const visibleNodesCount = visibleNodesPerTag[tag.key] || 0; + return ((0, jsx_runtime_1.jsxs)("li", { className: "caption-row", title: `${nodesCount} page${nodesCount > 1 ? "s" : ""}${visibleNodesCount !== nodesCount + ? visibleNodesCount > 0 + ? ` (only ${visibleNodesCount > 1 ? `${visibleNodesCount} are` : "one is"} visible)` + : " (all hidden)" + : ""}`, children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: filters.tags[tag.key] || false, onChange: () => toggleTag(tag.key), id: `tag-${tag.key}` }), (0, jsx_runtime_1.jsxs)("label", { htmlFor: `tag-${tag.key}`, children: [(0, jsx_runtime_1.jsx)("span", { className: "circle", style: { backgroundImage: `url(./images/${tag.image})` } }), " ", (0, jsx_runtime_1.jsxs)("div", { className: "node-label", children: [(0, jsx_runtime_1.jsx)("span", { children: tag.key }), (0, jsx_runtime_1.jsx)("div", { className: "bar", style: { width: (100 * nodesCount) / maxNodesPerTag + "%" }, children: (0, jsx_runtime_1.jsx)("div", { className: "inside-bar", style: { + width: (100 * visibleNodesCount) / nodesCount + "%", + } }) })] })] })] }, tag.key)); + }) })] })); +}; +exports.default = TagsPanel; +//# sourceMappingURL=TagsPanel.js.map \ No newline at end of file diff --git a/demo/views/TagsPanel.js.map b/demo/views/TagsPanel.js.map new file mode 100644 index 000000000..75e6e1f38 --- /dev/null +++ b/demo/views/TagsPanel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TagsPanel.js","sourceRoot":"","sources":["../../src/views/TagsPanel.tsx"],"names":[],"mappings":";;;;AAAA,4CAA6C;AAC7C,mCAA0D;AAC1D,iCAAyD;AACzD,uCAA4E;AAC5E,uCAA4C;AAG5C,4DAA4B;AAE5B,MAAM,SAAS,GAKV,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IAC7C,MAAM,KAAK,GAAG,IAAA,eAAQ,GAAE,CAAC;IACzB,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;IAE/B,MAAM,WAAW,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC/B,MAAM,KAAK,GAA2B,EAAE,CAAC;QACzC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,cAAc,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAA,eAAM,EAAC,WAAW,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IACtF,MAAM,gBAAgB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEpF,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAyB,WAAW,CAAC,CAAC;IAClG,IAAA,iBAAS,EAAC,GAAG,EAAE;QAIb,qBAAqB,CAAC,GAAG,EAAE;YACzB,MAAM,KAAK,GAA2B,EAAE,CAAC;YACzC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3F,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,UAAU,GAAG,IAAA,eAAO,EACxB,GAAG,EAAE,CAAC,IAAA,eAAM,EAAC,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EACvF,CAAC,IAAI,EAAE,WAAW,CAAC,CACpB,CAAC;IAEF,OAAO,CACL,wBAAC,eAAK,IACJ,KAAK,EACH,6DACE,uBAAC,eAAU,IAAC,SAAS,EAAC,YAAY,GAAG,iBACpC,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAChC,kCAAM,SAAS,EAAC,uBAAuB,aACpC,GAAG,OACF,gBAAgB,SAAK,IAAI,CAAC,MAAM,SAC7B,CACR,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACA,aAGL,wCACE,8BAAG,SAAS,EAAC,YAAY,8EAAkE,GACzF,EACJ,+BAAG,SAAS,EAAC,SAAS,aACpB,oCAAQ,SAAS,EAAC,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAA,kBAAS,EAAC,IAAA,cAAK,EAAC,IAAI,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,aACvF,uBAAC,yBAAoB,KAAG,kBACjB,EAAC,GAAG,EACb,oCAAQ,SAAS,EAAC,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,aAChD,uBAAC,yBAAoB,KAAG,oBACjB,IACP,EACJ,yCACG,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;oBACtB,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;oBACxC,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBAC3D,OAAO,CACL,gCACE,SAAS,EAAC,aAAa,EAEvB,KAAK,EAAE,GAAG,UAAU,QAAQ,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GACnD,iBAAiB,KAAK,UAAU;4BAC9B,CAAC,CAAC,iBAAiB,GAAG,CAAC;gCACrB,CAAC,CAAC,UAAU,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,MAAM,CAAC,CAAC,CAAC,QAAQ,WAAW;gCACpF,CAAC,CAAC,eAAe;4BACnB,CAAC,CAAC,EACN,EAAE,aAEF,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,KAAK,EACvC,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAClC,EAAE,EAAE,OAAO,GAAG,CAAC,GAAG,EAAE,GACpB,EACF,mCAAO,OAAO,EAAE,OAAO,GAAG,CAAC,GAAG,EAAE,aAC9B,iCAAM,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,EAAE,eAAe,EAAE,gBAAgB,GAAG,CAAC,KAAK,GAAG,EAAE,GAAI,EAAC,GAAG,EACzF,iCAAK,SAAS,EAAC,YAAY,aACzB,2CAAO,GAAG,CAAC,GAAG,GAAQ,EACtB,gCAAK,SAAS,EAAC,KAAK,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,cAAc,GAAG,GAAG,EAAE,YAC9E,gCACE,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE;wDACL,KAAK,EAAE,CAAC,GAAG,GAAG,iBAAiB,CAAC,GAAG,UAAU,GAAG,GAAG;qDACpD,GACD,GACE,IACF,IACA,KA5BH,GAAG,CAAC,GAAG,CA6BT,CACN,CAAC;gBACJ,CAAC,CAAC,GACC,IACC,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/docs/advanced/coordinate-systems/index.html b/docs/advanced/coordinate-systems/index.html new file mode 100644 index 000000000..8a119f610 --- /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..23b44b9e2 --- /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 methods, and each edge program can have an optional drawLabel 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..d0909fc5c --- /dev/null +++ b/docs/advanced/data/index.html @@ -0,0 +1,82 @@ + + + + + +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 defines the visual representation of the node, such as 'circle', 'square', etc. If not specified, the defaultNodeType setting will be used instead. The type value must match a key in the nodeProgramClasses collection from the settings. Please check the custom-rendering story to see an actual example.

    +
  • +
  • +

    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.

    +
  • +
  • +

    type: This attribute defines the visual representation of the edge, such as 'line', 'arrow', 'curve'', etc. If not specified, the defaultEdgeType setting will be used instead. The type value must match a key in the edgeProgramClasses collection from the settings. Please check the parallel-edges story to see an actual example.

    +
  • +
+

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..12a975c6b --- /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/layers/index.html b/docs/advanced/layers/index.html new file mode 100644 index 000000000..a315733df --- /dev/null +++ b/docs/advanced/layers/index.html @@ -0,0 +1,44 @@ + + + + + +Layers | sigma.js + + + + + +

Layers

+

Sigma renders the graph on multiple layers. Some layers are using WebGL, some are using Canvas.

+

List of existing layers

+Sigma's layouts list +
    +
  • sigma-edges (WebGL)
  • +
  • sigma-edgeLabels (Canvas)
  • +
  • sigma-nodes (WebGL)
  • +
  • sigma-labels (Canvas)
  • +
  • sigma-hovers (Canvas): This layer draws the hovered and highlighted node labels, with the related backgrounds.
  • +
  • sigma-hoverNodes (WebGL): This layer renders the hovered and highlighted nodes again, but on top of the sigma-hovers Canvas layer.
  • +
  • sigma-mouse: This layer is just here to listen to interaction events.
  • +
+

Manipulating layers

+

By default, all these layers are simply put in the sigma container, with position: absolute; and inset: 0;. There are multiple ways to manipulate these layers! Here are some examples:

+

Putting layers behind the mouse layer

+

It is sometimes useful to add new layers on top of the sigma graph, but without altering the interactions. It is for instance the case in the Events story, where we want to display the events log, on top of the graph, but without breaking the graph interactions.

+

To do this, the simplest method we could find was:

+
    +
  • Insert the logs container after the sigma container in the DOM, also with position: absolute; inset: 0;
  • +
  • Put the sigma-mouse layer back on top, simply using z-index: 1;
  • +
+

You can check this example's sources here.

+

Creating new layers and inserting in the right spot

+

For the Adding label on clusters story, we chose to insert the custom HTML layer, directly using the DOM APIs:

+
myCustomLayer.insertBefore(clustersLayer, sigmaContainer.querySelector(".sigma-hovers"));
+

You can check this example's sources here.

+

Creating new Canvas or WebGL layers

+

It is also possible to create new layers, directly using sigma's APIs. Sigma exposes a createCanvas method, to create a new Canvas HTML element. This method accepts beforeLayer and afterLayer options, that take a layer class. Then, the methods createCanvasContext and createWebGLContext allow retrieving the proper context from the Canvas element.

+

The main advantage of this method is that the layer will be properly removed when the kill method is called.

+

A good example of this method is in the @sigma/layer-webgl package, that both creates the context and destroys it when needed.

+ + \ 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..2efa62288 --- /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 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..93cc478e1 --- /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..f03772711 --- /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..48d3cae70 --- /dev/null +++ b/docs/advanced/renderers/index.html @@ -0,0 +1,93 @@ + + + + + +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, all exported from "sigma/rendering":

+

For edges

+
    +
  • +

    EdgeLineProgram: 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.

    +
  • +
  • +

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

    +
  • +
  • +

    EdgeArrowProgram: This is a composite renderer that uses EdgeClampedProgram (for drawing the arrow body) and EdgeArrowHeadProgram (for drawing the arrow head).

    +
  • +
+
+

NOTE: The three programs EdgeArrowProgram, EdgeClampedProgram and EdgeArrowHeadProgram each also exist as a factory, to allow generating a program with custom arrow head width and length (relatively to the edge thicknesses). The factory are called createEdgeArrowProgram, createEdgeClampedProgram and createEdgeArrowHeadProgram.

+
+

For nodes

+
    +
  • +

    NodePointProgram: 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.

    +
  • +
  • +

    NodeCircleProgram: This method displays nodes as squares, represented by two triangles (similar to EdgeRectangleProgram). 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 NodeCircleProgram, 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 NodeCircleProgram, but drawing concentric discs.
  • +
  • @sigma/node-piechart: This package exposes a factory to create a program that operates similarly to NodeCircleProgram, but drawing nodes as pie-charts.
  • +
  • @sigma/node-square: This package exposes a simple program that renders nodes as squares.
  • +
  • @sigma/edge-curve: This package exposes an edge renderer that draw edges as curves.
  • +
+

Additional layers

+

There are also some other packages, that allow rendering additional layers as backgrounds, to display more contextual information.

+
+ + \ No newline at end of file diff --git a/docs/advanced/sizes/index.html b/docs/advanced/sizes/index.html new file mode 100644 index 000000000..560e1394d --- /dev/null +++ b/docs/advanced/sizes/index.html @@ -0,0 +1,49 @@ + + + + + +Node and Edge Sizes | sigma.js + + + + + +

Node and Edge Sizes

+

Default Behavior

+

Design Motivation

+

The default behavior of Sigma is designed to ensure:

+
    +
  • The entire graph is visible and uses the available viewport space efficiently.
  • +
  • Like how road thickness on map applications isn't true-to-scale (for better readability), nodes and edges adjust to the zoom level, preventing them from becoming too large or too small.
  • +
  • It is easy for developers to adjust the node and edge sizes to the viewport.
  • +
+

This approach allows developers to use a variety of graph layouts, ensuring the graph is visible and readable without requiring additional customization.

+

Implementation Details

+

Sigma applies the following rules for rendering nodes and edges relative to data sizes:

+
    +
  1. Node and edge sizes scale with the square root of the zoom ratio.
  2. +
  3. Sizes from data are treated as pixel values, for the default zoom level.
  4. +
  5. Node and edge positions are adjusted so that the graph is rescaled and centered, fitting optimally in the viewport at the default camera zoom.
  6. +
+

Limitations

+

These opinionated choices bring some limitations, though:

+
    +
  • Graph appearance can be inconsistent across different viewports.
  • +
  • Node and edge sizes can be difficult to predict, especially in relation to positions, which can lead to overlap on smaller viewports.
  • +
+

Customization Options

+

To allow adapting these behaviours, sigma offers various settings to change the way it handles positions and sizes.

+

zoomToSizeRatioFunction Setting

+

To modify rule #1, adjust the zoomToSizeRatioFunction setting. This setting takes a transformation function (ratio: number) => number. By default, Sigma uses Math.sqrt, which keeps nodes and edges reasonably sized when zooming in or out.

+

For instance, using (ratio) => ratio will make node and edge sizes scale directly with the zoom, similar to most graph visualization tools.

+

itemSizesReference Setting

+

To change rule #2, set itemSizesReference to "positions". This makes sigma interpret node and edge sizes in the same coordinate system as the node positions at the default zoom level.

+

If you want sizes to scale with the node positions at all zoom levels, combine this setting with zoomToSizeRatioFunction: (ratio) => ratio.

+

autoRescale Setting

+

To disable rule #3, use the autoRescale setting. Setting autoRescale as false prevents Sigma from automatically resizing the graph. Then, node positions are interpreted in pixels, for the default zoom level. The graph remains centered in the viewport, though.

+

Also, note that when disabling autoRescale, the itemSizesReference setting becomes irrelevant, since node and edge sizes become

+

Example

+

You can play with these three options, in the "Customize how sigma handles sizes and positions" story in the StoryBook.

+ + \ 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..38d7598aa --- /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/category/typedoc-api/index.html b/docs/category/typedoc-api/index.html new file mode 100644 index 000000000..4857fa45a --- /dev/null +++ b/docs/category/typedoc-api/index.html @@ -0,0 +1,14 @@ + + + + + +Typedoc API | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..7b75d61e3 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,56 @@ + + + + + +Introduction | sigma.js + + + + + +

Introduction

Build Status

+
+

Sigma.js

+

Website | Documentation | Storybook | Mastodon

+
+

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.

+

How to start a new package

+

Run npm run createPackage from the project root. It will:

+
    +
  • Ask you the new package name
  • +
  • Copy the packages/template folder
  • +
  • Update the new package package.json entries (name, description, exports)
  • +
  • Update various other files (buildable packages list in tsconfig.json, Preconstruct compatible packages list in package.json...)
  • +
+ + \ No newline at end of file diff --git a/docs/quickstart/index.html b/docs/quickstart/index.html new file mode 100644 index 000000000..37a38d5f9 --- /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..c34444bc7 --- /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/edge-curve/src/functions/createDrawCurvedEdgeLabel/index.html b/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel/index.html new file mode 100644 index 000000000..f0c92e4ed --- /dev/null +++ b/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabel/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createDrawCurvedEdgeLabel() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram/index.html b/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram/index.html new file mode 100644 index 000000000..4c3a717d9 --- /dev/null +++ b/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeCurveProgram() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex/index.html b/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex/index.html new file mode 100644 index 000000000..4d850643a --- /dev/null +++ b/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndex/index.html @@ -0,0 +1,24 @@ + + + + + +Function: indexParallelEdgesIndex() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/index.html b/docs/typedoc/edge-curve/src/index.html new file mode 100644 index 000000000..c34af9378 --- /dev/null +++ b/docs/typedoc/edge-curve/src/index.html @@ -0,0 +1,33 @@ + + + + + +edge-curve/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions/index.html b/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions/index.html new file mode 100644 index 000000000..21f26a56e --- /dev/null +++ b/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptions/index.html @@ -0,0 +1,40 @@ + + + + + +Type Alias: CreateEdgeCurveProgramOptions\<N, E, G\> | sigma.js + + + + + +

Type Alias: CreateEdgeCurveProgramOptions<N, E, G>

+
+

CreateEdgeCurveProgramOptions<N, E, G>: object

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Type declaration

+

arrowHead

+
+

arrowHead: null | object

+
+

curvatureAttribute

+
+

curvatureAttribute: string

+
+

defaultCurvature

+
+

defaultCurvature: number

+
+

drawLabel?

+
+

optional drawLabel: EdgeLabelDrawingFunction<N, E, G>

+
+

Defined in

+

edge-curve/src/utils.ts:7

+ + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE/index.html b/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE/index.html new file mode 100644 index 000000000..2ac792642 --- /dev/null +++ b/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATURE/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_CURVATURE | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS/index.html b/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS/index.html new file mode 100644 index 000000000..ec63b34ab --- /dev/null +++ b/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_CURVE\_PROGRAM\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS/index.html b/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS/index.html new file mode 100644 index 000000000..cf0f26e56 --- /dev/null +++ b/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS/index.html @@ -0,0 +1,33 @@ + + + + + +Variable: DEFAULT\_INDEX\_PARALLEL\_EDGES\_OPTIONS | sigma.js + + + + + +

Variable: DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS

+
+

const DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS: object

+
+

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

+

Type declaration

+

edgeIndexAttribute

+
+

edgeIndexAttribute: string = "parallelIndex"

+
+

edgeMaxIndexAttribute

+
+

edgeMaxIndexAttribute: string = "parallelMaxIndex"

+
+

edgeMinIndexAttribute

+
+

edgeMinIndexAttribute: string = "parallelMinIndex"

+
+

Defined in

+

edge-curve/src/utils.ts:32

+ + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram/index.html b/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram/index.html new file mode 100644 index 000000000..7b44a6302 --- /dev/null +++ b/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeCurvedArrowProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/edge-curve/src/variables/default/index.html b/docs/typedoc/edge-curve/src/variables/default/index.html new file mode 100644 index 000000000..c9fed5266 --- /dev/null +++ b/docs/typedoc/edge-curve/src/variables/default/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: default | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/index.html b/docs/typedoc/index.html new file mode 100644 index 000000000..8e0372a73 --- /dev/null +++ b/docs/typedoc/index.html @@ -0,0 +1,56 @@ + + + + + +index | sigma.js + + + + + +

index

Build Status

+
+

Sigma.js

+

Website | Documentation | Storybook | Mastodon

+
+

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.

+

How to start a new package

+

Run npm run createPackage from the project root. It will:

+
    +
  • Ask you the new package name
  • +
  • Copy the packages/template folder
  • +
  • Update the new package package.json entries (name, description, exports)
  • +
  • Update various other files (buildable packages list in tsconfig.json, Preconstruct compatible packages list in package.json...)
  • +
+ + \ No newline at end of file diff --git a/docs/typedoc/layer-leaflet/src/functions/default/index.html b/docs/typedoc/layer-leaflet/src/functions/default/index.html new file mode 100644 index 000000000..9f8e95926 --- /dev/null +++ b/docs/typedoc/layer-leaflet/src/functions/default/index.html @@ -0,0 +1,52 @@ + + + + + +Function: default() | sigma.js + + + + + +

Function: default()

+
+

default(sigma, opts?): object

+
+

On the graph, we store the 2D projection of the geographical lat/long.

+

Parameters

+

sigma: Sigma<Attributes, Attributes, Attributes>

+

The sigma instance

+

opts?

+

opts.getNodeLatLng?

+

Function to retrieve lat/long values from a node's attributs (default is lat & lng)

+

opts.mapOptions?: Omit<MapOptions, "zoom" | "zoomControl" | "zoomSnap" | "maxZoom">

+

Options that will be provided to the map constructor.

+

opts.tileLayer?

+

Tile layer configuration for the map (default is openstreetmap)

+

opts.tileLayer.attribution?: string

+

opts.tileLayer.urlTemplate?: string

+

Returns

+

object

+

clean()

+
+

clean: () => void

+
+

Returns

+

void

+

map

+
+

map: Map

+
+

updateGraphCoordinates()

+
+

updateGraphCoordinates: (graph) => void

+
+

Parameters

+

graph: Graph<Attributes, Attributes, Attributes>

+

Returns

+

void

+

Defined in

+

layer-leaflet/src/index.ts:16

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-leaflet/src/functions/graphToLatlng/index.html b/docs/typedoc/layer-leaflet/src/functions/graphToLatlng/index.html new file mode 100644 index 000000000..39e8d92a4 --- /dev/null +++ b/docs/typedoc/layer-leaflet/src/functions/graphToLatlng/index.html @@ -0,0 +1,35 @@ + + + + + +Function: graphToLatlng() | sigma.js + + + + + +

Function: graphToLatlng()

+
+

graphToLatlng(map, coords): object

+
+

Given a graph coords returns its lat/lng coords.

+

Parameters

+

map: Map

+

coords

+

coords.x: number

+

coords.y: number

+

Returns

+

object

+

lat

+
+

lat: number

+
+

lng

+
+

lng: number

+
+

Defined in

+

layer-leaflet/src/utils.ts:30

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-leaflet/src/functions/latlngToGraph/index.html b/docs/typedoc/layer-leaflet/src/functions/latlngToGraph/index.html new file mode 100644 index 000000000..fc9a9a751 --- /dev/null +++ b/docs/typedoc/layer-leaflet/src/functions/latlngToGraph/index.html @@ -0,0 +1,35 @@ + + + + + +Function: latlngToGraph() | sigma.js + + + + + +

Function: latlngToGraph()

+
+

latlngToGraph(map, coord): object

+
+

Given a geo point returns its graph coords.

+

Parameters

+

map: Map

+

coord

+

coord.lat: number

+

coord.lng: number

+

Returns

+

object

+

x

+
+

x: number

+
+

y

+
+

y: number

+
+

Defined in

+

layer-leaflet/src/utils.ts:18

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-leaflet/src/index.html b/docs/typedoc/layer-leaflet/src/index.html new file mode 100644 index 000000000..603e4fae5 --- /dev/null +++ b/docs/typedoc/layer-leaflet/src/index.html @@ -0,0 +1,21 @@ + + + + + +layer-leaflet/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/layer-maplibre/src/functions/default/index.html b/docs/typedoc/layer-maplibre/src/functions/default/index.html new file mode 100644 index 000000000..16721aa22 --- /dev/null +++ b/docs/typedoc/layer-maplibre/src/functions/default/index.html @@ -0,0 +1,48 @@ + + + + + +Function: default() | sigma.js + + + + + +

Function: default()

+
+

default(sigma, opts?): object

+
+

On the graph, we store the 2D projection of the geographical lat/long.

+

Parameters

+

sigma: Sigma<Attributes, Attributes, Attributes>

+

The sigma instance

+

opts?

+

opts.getNodeLatLng?

+

Function to retrieve lat/long values from a node's attributs (default is lat & lng)

+

opts.mapOptions?: Omit<MapOptions, "center" | "container" | "zoom" | "minPitch" | "maxPitch">

+

Options that will be provided to map constructor.

+

Returns

+

object

+

clean()

+
+

clean: () => void

+
+

Returns

+

void

+

map

+
+

map: Map$1

+
+

updateGraphCoordinates()

+
+

updateGraphCoordinates: (graph) => void

+
+

Parameters

+

graph: Graph<Attributes, Attributes, Attributes>

+

Returns

+

void

+

Defined in

+

layer-maplibre/src/index.ts:15

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-maplibre/src/functions/graphToLatlng/index.html b/docs/typedoc/layer-maplibre/src/functions/graphToLatlng/index.html new file mode 100644 index 000000000..35fbbcd08 --- /dev/null +++ b/docs/typedoc/layer-maplibre/src/functions/graphToLatlng/index.html @@ -0,0 +1,35 @@ + + + + + +Function: graphToLatlng() | sigma.js + + + + + +

Function: graphToLatlng()

+
+

graphToLatlng(map, coords): object

+
+

Given a graph coords returns its lat/lng coords.

+

Parameters

+

map: Map$1

+

coords

+

coords.x: number

+

coords.y: number

+

Returns

+

object

+

lat

+
+

lat: number

+
+

lng

+
+

lng: number

+
+

Defined in

+

layer-maplibre/src/utils.ts:22

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-maplibre/src/functions/latlngToGraph/index.html b/docs/typedoc/layer-maplibre/src/functions/latlngToGraph/index.html new file mode 100644 index 000000000..73755c536 --- /dev/null +++ b/docs/typedoc/layer-maplibre/src/functions/latlngToGraph/index.html @@ -0,0 +1,35 @@ + + + + + +Function: latlngToGraph() | sigma.js + + + + + +

Function: latlngToGraph()

+
+

latlngToGraph(map, coord): object

+
+

Given a geo point returns its graph coords.

+

Parameters

+

map: Map$1

+

coord

+

coord.lat: number

+

coord.lng: number

+

Returns

+

object

+

x

+
+

x: number

+
+

y

+
+

y: number

+
+

Defined in

+

layer-maplibre/src/utils.ts:10

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-maplibre/src/index.html b/docs/typedoc/layer-maplibre/src/index.html new file mode 100644 index 000000000..08ba52f0a --- /dev/null +++ b/docs/typedoc/layer-maplibre/src/index.html @@ -0,0 +1,21 @@ + + + + + +layer-maplibre/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram/index.html b/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram/index.html new file mode 100644 index 000000000..15cc3273c --- /dev/null +++ b/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgram/index.html @@ -0,0 +1,413 @@ + + + + + +Class: abstract WebGLLayerProgram\<N, E, G\> | sigma.js + + + + + +

Class: abstract WebGLLayerProgram<N, E, G>

+

This program is based on the base Program from Sigma, but instead of using this.array to iterate over the vertices, +it is bound to some uniform directly for the fragment shader.

+

So, when extending this new CustomLayerProgram abstract class:

+
    +
  • Do not implement getDefinition, implement getCustomLayerDefinition instead
  • +
  • Do not implement setUniforms, implement setCameraUniforms and cacheDataUniforms instead
  • +
+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new WebGLLayerProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

WebGLLayerProgram<N, E, G>

+

Overrides

+

Program.constructor

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:34

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

Program.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

Program.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

Program.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

Program.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

Program.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

Program.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

Program.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

Program.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

Program.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

Program.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

Program.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

Program.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

UNIFORMS: readonly string[]

+
+

Inherited from

+

Program.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

Program.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

Program.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

Program.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

Program.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

Program.bindProgram

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:62

+
+

cacheDataUniforms()

+
+

abstract cacheDataUniforms(programInfo): void

+
+

Parameters

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:30

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getCustomLayerDefinition()

+
+

abstract getCustomLayerDefinition(): WebGLLayerDefinition

+
+

Returns

+

WebGLLayerDefinition

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:32

+
+

getDefinition()

+
+

getDefinition(): ProgramDefinition<string>

+
+

Returns

+

ProgramDefinition<string>

+

Overrides

+

Program.getDefinition

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:44

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

Program.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Overrides

+

Program.hasNothingToRender

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:56

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Inherited from

+

Program.kill

+

Defined in

+

sigma/src/rendering/program.ts:141

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

Program.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

Program.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setCameraUniforms()

+
+

abstract setCameraUniforms(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:31

+
+

setUniforms()

+
+

setUniforms(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

Program.setUniforms

+

Defined in

+

layer-webgl/src/webgl-layer-program/index.ts:59

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

Program.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer/index.html b/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer/index.html new file mode 100644 index 000000000..7bd6abc14 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/functions/bindWebGLLayer/index.html @@ -0,0 +1,28 @@ + + + + + +Function: bindWebGLLayer() | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/functions/createContoursProgram/index.html b/docs/typedoc/layer-webgl/src/functions/createContoursProgram/index.html new file mode 100644 index 000000000..0e2d40c28 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/functions/createContoursProgram/index.html @@ -0,0 +1,28 @@ + + + + + +Function: createContoursProgram() | sigma.js + + + + + +

Function: createContoursProgram()

+
+

createContoursProgram<N, E, G>(nodes, options?): WebGLLayerProgramType<N, E, G>

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

nodes: string[]

+

options?: Partial<ContoursOptions>

+

Returns

+

WebGLLayerProgramType<N, E, G>

+

Defined in

+

layer-webgl/src/contours/index.ts:14

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader/index.html b/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader/index.html new file mode 100644 index 000000000..0a4477b16 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShader/index.html @@ -0,0 +1,27 @@ + + + + + +Function: getContoursFragmentShader() | sigma.js + + + + + +

Function: getContoursFragmentShader()

+
+

getContoursFragmentShader(__namedParameters): string

+
+

Parameters

+

__namedParameters

+

__namedParameters.border: undefined | object

+

__namedParameters.feather: number

+

__namedParameters.levels: object[]

+

__namedParameters.nodesCount: number

+

Returns

+

string

+

Defined in

+

layer-webgl/src/contours/shader-frag.ts:5

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/index.html b/docs/typedoc/layer-webgl/src/index.html new file mode 100644 index 000000000..2c882d689 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/index.html @@ -0,0 +1,35 @@ + + + + + +layer-webgl/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions/index.html b/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions/index.html new file mode 100644 index 000000000..ce9679649 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptions/index.html @@ -0,0 +1,52 @@ + + + + + +Type Alias: ContoursOptions | sigma.js + + + + + +

Type Alias: ContoursOptions

+
+

ContoursOptions: object

+
+

Type declaration

+

border?

+
+

optional border: object

+
+

border.color

+
+

color: string

+
+

border.thickness

+
+

thickness: number

+
+

feather

+
+

feather: number

+
+

levels

+
+

levels: object[]

+
+

radius

+
+

radius: number

+
+

zoomToRadiusRatioFunction()

+
+

zoomToRadiusRatioFunction: (ratio) => number

+
+

Parameters

+

ratio: number

+

Returns

+

number

+

Defined in

+

layer-webgl/src/contours/types.ts:1

+ + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition/index.html b/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition/index.html new file mode 100644 index 000000000..16db89374 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinition/index.html @@ -0,0 +1,32 @@ + + + + + +Type Alias: WebGLLayerDefinition | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType/index.html b/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType/index.html new file mode 100644 index 000000000..e3d00a230 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramType/index.html @@ -0,0 +1,23 @@ + + + + + +Type Alias: WebGLLayerProgramType\<N, E, G\> | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS/index.html b/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS/index.html new file mode 100644 index 000000000..fe3186183 --- /dev/null +++ b/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_CONTOURS\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/modules/index.html b/docs/typedoc/modules/index.html new file mode 100644 index 000000000..4b0a9e4ee --- /dev/null +++ b/docs/typedoc/modules/index.html @@ -0,0 +1,29 @@ + + + + + +@sigma/root | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-border/src/functions/createNodeBorderProgram/index.html b/docs/typedoc/node-border/src/functions/createNodeBorderProgram/index.html new file mode 100644 index 000000000..2645c6aa0 --- /dev/null +++ b/docs/typedoc/node-border/src/functions/createNodeBorderProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createNodeBorderProgram() | sigma.js + + + + + +

Function: createNodeBorderProgram()

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

inputOptions?: Partial<CreateNodeBorderProgramOptions<N, E, G>>

+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

node-border/src/factory.ts:12

+ + \ No newline at end of file diff --git a/docs/typedoc/node-border/src/index.html b/docs/typedoc/node-border/src/index.html new file mode 100644 index 000000000..5a61afda9 --- /dev/null +++ b/docs/typedoc/node-border/src/index.html @@ -0,0 +1,23 @@ + + + + + +node-border/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-border/src/variables/NodeBorderProgram/index.html b/docs/typedoc/node-border/src/variables/NodeBorderProgram/index.html new file mode 100644 index 000000000..aac69df92 --- /dev/null +++ b/docs/typedoc/node-border/src/variables/NodeBorderProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: NodeBorderProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-image/src/functions/createNodeImageProgram/index.html b/docs/typedoc/node-image/src/functions/createNodeImageProgram/index.html new file mode 100644 index 000000000..4f713cad4 --- /dev/null +++ b/docs/typedoc/node-image/src/functions/createNodeImageProgram/index.html @@ -0,0 +1,30 @@ + + + + + +Function: createNodeImageProgram() | sigma.js + + + + + +

Function: 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

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

options?: Partial<CreateNodeImageProgramOptions<N, E, G>>

+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

node-image/src/factory.ts:68

+ + \ No newline at end of file diff --git a/docs/typedoc/node-image/src/index.html b/docs/typedoc/node-image/src/index.html new file mode 100644 index 000000000..fdd57e1de --- /dev/null +++ b/docs/typedoc/node-image/src/index.html @@ -0,0 +1,24 @@ + + + + + +node-image/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-image/src/variables/NodeImageProgram/index.html b/docs/typedoc/node-image/src/variables/NodeImageProgram/index.html new file mode 100644 index 000000000..9eea1e2ce --- /dev/null +++ b/docs/typedoc/node-image/src/variables/NodeImageProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: NodeImageProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-image/src/variables/NodePictogramProgram/index.html b/docs/typedoc/node-image/src/variables/NodePictogramProgram/index.html new file mode 100644 index 000000000..bc035c43d --- /dev/null +++ b/docs/typedoc/node-image/src/variables/NodePictogramProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: NodePictogramProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram/index.html b/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram/index.html new file mode 100644 index 000000000..afa1c295f --- /dev/null +++ b/docs/typedoc/node-piechart/src/functions/createNodePiechartProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createNodePiechartProgram() | sigma.js + + + + + +

Function: createNodePiechartProgram()

+
+

createNodePiechartProgram<N, E, G>(inputOptions): NodeProgramType<N, E, G>

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

inputOptions: PartialButFor<CreateNodePiechartProgramOptions<N, E, G>, "slices">

+

Returns

+

NodeProgramType<N, E, G>

+

Defined in

+

node-piechart/src/factory.ts:12

+ + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/index.html b/docs/typedoc/node-piechart/src/index.html new file mode 100644 index 000000000..37778d838 --- /dev/null +++ b/docs/typedoc/node-piechart/src/index.html @@ -0,0 +1,33 @@ + + + + + +node-piechart/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions/index.html b/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions/index.html new file mode 100644 index 000000000..743c13788 --- /dev/null +++ b/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptions/index.html @@ -0,0 +1,62 @@ + + + + + +Interface: CreateNodePiechartProgramOptions\<N, E, G\> | sigma.js + + + + + +

Interface: CreateNodePiechartProgramOptions<N, E, G>

+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Properties

+

defaultColor

+
+

defaultColor: string

+
+

Defined in

+

node-piechart/src/utils.ts:13

+
+

drawHover

+
+

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

+
+

Defined in

+

node-piechart/src/utils.ts:21

+
+

drawLabel

+
+

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

+
+

Defined in

+

node-piechart/src/utils.ts:20

+
+

offset

+
+

offset: NodeSliceValue

+
+

Defined in

+

node-piechart/src/utils.ts:14

+
+

slices

+
+

slices: NonEmptyArray<object>

+
+

Type declaration

+
color
+
+

color: NodeSliceColor

+
+
value
+
+

value: NodeSliceValue

+
+

Defined in

+

node-piechart/src/utils.ts:15

+ + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor/index.html b/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor/index.html new file mode 100644 index 000000000..975156a5d --- /dev/null +++ b/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColor/index.html @@ -0,0 +1,19 @@ + + + + + +Type Alias: NodeSliceColor | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue/index.html b/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue/index.html new file mode 100644 index 000000000..f56074970 --- /dev/null +++ b/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValue/index.html @@ -0,0 +1,19 @@ + + + + + +Type Alias: NodeSliceValue | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR/index.html b/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR/index.html new file mode 100644 index 000000000..f57117e63 --- /dev/null +++ b/docs/typedoc/node-piechart/src/variables/DEFAULT_COLOR/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_COLOR | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS/index.html b/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS/index.html new file mode 100644 index 000000000..50439b099 --- /dev/null +++ b/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_CREATE\_NODE\_PIECHART\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/node-square/src/classes/NodeSquareProgram/index.html b/docs/typedoc/node-square/src/classes/NodeSquareProgram/index.html new file mode 100644 index 000000000..2fb4a47ea --- /dev/null +++ b/docs/typedoc/node-square/src/classes/NodeSquareProgram/index.html @@ -0,0 +1,474 @@ + + + + + +Class: NodeSquareProgram\<N, E, G\> | sigma.js + + + + + +

Class: NodeSquareProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new NodeSquareProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

NodeSquareProgram<N, E, G>

+

Inherited from

+

NodeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

NodeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

NodeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

NodeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

NodeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

NodeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

drawHover()

+
+

drawHover: <N, E, G>(context, data, settings) => void = drawSquareNodeHover

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "label" | "x" | "y" | "color" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Overrides

+

NodeProgram.drawHover

+

Defined in

+

node-square/src/program.ts:21

+
+

drawLabel()

+
+

drawLabel: <N, E, G>(context, data, settings) => void = drawSquareNodeLabel

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "label" | "x" | "y" | "color" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Overrides

+

NodeProgram.drawLabel

+

Defined in

+

node-square/src/program.ts:22

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

NodeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

NodeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

NodeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

NodeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

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

+
+

Inherited from

+

NodeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

NodeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

NodeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

NodeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
CONSTANT_ATTRIBUTES
+
+

CONSTANT_ATTRIBUTES: object[]

+
+
CONSTANT_DATA
+
+

CONSTANT_DATA: number[][]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 4 = WebGLRenderingContext.TRIANGLES

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_sizeRatio", "u_correctionRatio", "u_cameraAngle", "u_matrix"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 6

+
+

Overrides

+

NodeProgram.getDefinition

+

Defined in

+

node-square/src/program.ts:24

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

NodeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

NodeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Inherited from

+

NodeProgram.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process()

+
+

process(nodeIndex, offset, data): void

+
+

Parameters

+

nodeIndex: number

+

offset: number

+

data: NodeDisplayData

+

Returns

+

void

+

Inherited from

+

NodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem()

+
+

processVisibleItem(nodeIndex, startIndex, data): void

+
+

Parameters

+

nodeIndex: number

+

startIndex: number

+

data: NodeDisplayData

+

Returns

+

void

+

Overrides

+

NodeProgram.processVisibleItem

+

Defined in

+

node-square/src/program.ts:42

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

NodeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

NodeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(params, __namedParameters): void

+
+

Parameters

+

params: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

NodeProgram.setUniforms

+

Defined in

+

node-square/src/program.ts:53

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

+ + \ No newline at end of file diff --git a/docs/typedoc/node-square/src/functions/drawSquareNodeHover/index.html b/docs/typedoc/node-square/src/functions/drawSquareNodeHover/index.html new file mode 100644 index 000000000..17955d4a6 --- /dev/null +++ b/docs/typedoc/node-square/src/functions/drawSquareNodeHover/index.html @@ -0,0 +1,29 @@ + + + + + +Function: drawSquareNodeHover() | sigma.js + + + + + +

Function: drawSquareNodeHover()

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "label" | "x" | "y" | "color" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

node-square/src/utils.ts:18

+ + \ No newline at end of file diff --git a/docs/typedoc/node-square/src/functions/drawSquareNodeLabel/index.html b/docs/typedoc/node-square/src/functions/drawSquareNodeLabel/index.html new file mode 100644 index 000000000..1c33e6929 --- /dev/null +++ b/docs/typedoc/node-square/src/functions/drawSquareNodeLabel/index.html @@ -0,0 +1,29 @@ + + + + + +Function: drawSquareNodeLabel() | sigma.js + + + + + +

Function: drawSquareNodeLabel()

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "label" | "x" | "y" | "color" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

node-square/src/utils.ts:6

+ + \ No newline at end of file diff --git a/docs/typedoc/node-square/src/index.html b/docs/typedoc/node-square/src/index.html new file mode 100644 index 000000000..8a25fdf68 --- /dev/null +++ b/docs/typedoc/node-square/src/index.html @@ -0,0 +1,24 @@ + + + + + +node-square/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/classes/Camera/index.html b/docs/typedoc/sigma/src/classes/Camera/index.html new file mode 100644 index 000000000..8dea740b8 --- /dev/null +++ b/docs/typedoc/sigma/src/classes/Camera/index.html @@ -0,0 +1,549 @@ + + + + + +Class: Camera | sigma.js + + + + + +

Class: Camera

+

Camera class

+

Extends

+
    +
  • TypedEventEmitter<CameraEvents>
  • +
+

Implements

+
    +
  • CameraState
  • +
+

Constructors

+

new Camera()

+
+

new Camera(): Camera

+
+

Returns

+

Camera

+

Overrides

+

TypedEventEmitter<CameraEvents>.constructor

+

Defined in

+

sigma/src/core/camera.ts:45

+

Properties

+

angle

+
+

angle: number = 0

+
+

Implementation of

+

CameraState.angle

+

Defined in

+

sigma/src/core/camera.ts:29

+
+

animationCallback()?

+
+

optional animationCallback: () => void

+
+

Returns

+

void

+

Defined in

+

sigma/src/core/camera.ts:43

+
+

clean

+
+

clean: null | (state) => CameraState = null

+
+

Defined in

+

sigma/src/core/camera.ts:37

+
+

enabledPanning

+
+

enabledPanning: boolean = true

+
+

Defined in

+

sigma/src/core/camera.ts:35

+
+

enabledRotation

+
+

enabledRotation: boolean = true

+
+

Defined in

+

sigma/src/core/camera.ts:36

+
+

enabledZooming

+
+

enabledZooming: boolean = true

+
+

Defined in

+

sigma/src/core/camera.ts:34

+
+

maxRatio

+
+

maxRatio: null | number = null

+
+

Defined in

+

sigma/src/core/camera.ts:33

+
+

minRatio

+
+

minRatio: null | number = null

+
+

Defined in

+

sigma/src/core/camera.ts:32

+
+

ratio

+
+

ratio: number = 1

+
+

Implementation of

+

CameraState.ratio

+

Defined in

+

sigma/src/core/camera.ts:30

+
+

rawEmitter

+
+

rawEmitter: EventEmitter<DefaultEventMap>

+
+

Inherited from

+

TypedEventEmitter.rawEmitter

+

Defined in

+

sigma/src/types.ts:114

+
+

x

+
+

x: number = 0.5

+
+

Implementation of

+

CameraState.x

+

Defined in

+

sigma/src/core/camera.ts:27

+
+

y

+
+

y: number = 0.5

+
+

Implementation of

+

CameraState.y

+

Defined in

+

sigma/src/core/camera.ts:28

+

Methods

+

addListener()

+
+

addListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.addListener

+

Defined in

+

sigma/src/types.ts:120

+
+

animate()

+

animate(state, opts, callback)

+
+

animate(state, opts, callback): void

+
+

Method used to animate the camera.

+
Parameters
+

state: Partial<CameraState>

+

opts: Partial<AnimateOptions>

+

callback

+
Returns
+

void

+
Defined in
+

sigma/src/core/camera.ts:173

+

animate(state, opts)

+
+

animate(state, opts?): Promise<void>

+
+
Parameters
+

state: Partial<CameraState>

+

opts?: Partial<AnimateOptions>

+
Returns
+

Promise<void>

+
Defined in
+

sigma/src/core/camera.ts:174

+
+

animatedReset()

+
+

animatedReset(options?): Promise<void>

+
+

Method used to reset the camera.

+

Parameters

+

options?: Partial<AnimateOptions>

+

Returns

+

Promise<void>

+

Defined in

+

sigma/src/core/camera.ts:276

+
+

animatedUnzoom()

+
+

animatedUnzoom(factorOrOptions?): Promise<void>

+
+

Method used to unzoom the camera.

+

Parameters

+

factorOrOptions?: number | Partial<AnimateOptions> & object

+

Returns

+

Promise<void>

+

Defined in

+

sigma/src/core/camera.ts:260

+
+

animatedZoom()

+
+

animatedZoom(factorOrOptions?): Promise<void>

+
+

Method used to zoom the camera.

+

Parameters

+

factorOrOptions?: number | Partial<AnimateOptions> & object

+

Returns

+

Promise<void>

+

Defined in

+

sigma/src/core/camera.ts:244

+
+

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:291

+
+

disable()

+
+

disable(): this

+
+

Method used to disable the camera.

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:71

+
+

emit()

+
+

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

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

• ...args: Parameters<CameraEvents[Event]>

+

Returns

+

boolean

+

Inherited from

+

TypedEventEmitter.emit

+

Defined in

+

sigma/src/types.ts:119

+
+

enable()

+
+

enable(): this

+
+

Method used to enable the camera.

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:63

+
+

eventNames()

+
+

eventNames<Event>(): Event[]

+
+

Type Parameters

+

Event extends "updated"

+

Returns

+

Event[]

+

Inherited from

+

TypedEventEmitter.eventNames

+

Defined in

+

sigma/src/types.ts:116

+
+

getBoundedRatio()

+
+

getBoundedRatio(ratio): number

+
+

Method used to check minRatio and maxRatio values.

+

Parameters

+

ratio: number

+

Returns

+

number

+

Defined in

+

sigma/src/core/camera.ts:114

+
+

getMaxListeners()

+
+

getMaxListeners(): number

+
+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.getMaxListeners

+

Defined in

+

sigma/src/types.ts:118

+
+

getPreviousState()

+
+

getPreviousState(): null | CameraState

+
+

Method used to retrieve the camera's previous state.

+

Returns

+

null | CameraState

+

Defined in

+

sigma/src/core/camera.ts:98

+
+

getState()

+
+

getState(): CameraState

+
+

Method used to retrieve the camera's current state.

+

Returns

+

CameraState

+

Defined in

+

sigma/src/core/camera.ts:79

+
+

hasState()

+
+

hasState(state): boolean

+
+

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

+

Parameters

+

state: CameraState

+

Returns

+

boolean

+

Defined in

+

sigma/src/core/camera.ts:91

+
+

isAnimated()

+
+

isAnimated(): boolean

+
+

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

+

Returns

+

boolean

+

Defined in

+

sigma/src/core/camera.ts:137

+
+

listenerCount()

+
+

listenerCount<Event>(type): number

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.listenerCount

+

Defined in

+

sigma/src/types.ts:129

+
+

listeners()

+
+

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

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

Returns

+

CameraEvents[Event][]

+

Inherited from

+

TypedEventEmitter.listeners

+

Defined in

+

sigma/src/types.ts:128

+
+

off()

+
+

off<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.off

+

Defined in

+

sigma/src/types.ts:126

+
+

on()

+
+

on<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.on

+

Defined in

+

sigma/src/types.ts:121

+
+

once()

+
+

once<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.once

+

Defined in

+

sigma/src/types.ts:122

+
+

prependListener()

+
+

prependListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependListener

+

Defined in

+

sigma/src/types.ts:123

+
+

prependOnceListener()

+
+

prependOnceListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependOnceListener

+

Defined in

+

sigma/src/types.ts:124

+
+

rawListeners()

+
+

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

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

Returns

+

CameraEvents[Event][]

+

Inherited from

+

TypedEventEmitter.rawListeners

+

Defined in

+

sigma/src/types.ts:130

+
+

removeAllListeners()

+
+

removeAllListeners<Event>(type?): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type?: Event

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeAllListeners

+

Defined in

+

sigma/src/types.ts:127

+
+

removeListener()

+
+

removeListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends "updated"

+

Parameters

+

type: Event

+

listener: CameraEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeListener

+

Defined in

+

sigma/src/types.ts:125

+
+

setMaxListeners()

+
+

setMaxListeners(n): this

+
+

Parameters

+

n: number

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.setMaxListeners

+

Defined in

+

sigma/src/types.ts:117

+
+

setState()

+
+

setState(state): this

+
+

Method used to set the camera's state.

+

Parameters

+

state: Partial<CameraState>

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:144

+
+

updateState()

+
+

updateState(updater): this

+
+

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

+

Parameters

+

updater

+

Returns

+

this

+

Defined in

+

sigma/src/core/camera.ts:165

+
+

validateState()

+
+

validateState(state): Partial<CameraState>

+
+

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

+

Parameters

+

state: Partial<CameraState>

+

Returns

+

Partial<CameraState>

+

Defined in

+

sigma/src/core/camera.ts:124

+
+

from()

+
+

static from(state): Camera

+
+

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

+

Parameters

+

state: CameraState

+

Returns

+

Camera

+

Defined in

+

sigma/src/core/camera.ts:55

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

Class: MouseCaptor<N, E, G>

+

Mouse captor class.

+

Extends

+
    +
  • default<MouseCaptorEvents, N, E, G>
  • +
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new MouseCaptor()

+
+

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

+
+

Parameters

+

container: HTMLElement

+

renderer: Sigma<N, E, G>

+

Returns

+

MouseCaptor<N, E, G>

+

Overrides

+

Captor<MouseCaptorEvents, N, E, G>.constructor

+

Defined in

+

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

+

Properties

+

clicks

+
+

clicks: number = 0

+
+

Defined in

+

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

+
+

container

+
+

container: HTMLElement

+
+

Inherited from

+

Captor.container

+

Defined in

+

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

+
+

currentWheelDirection

+
+

currentWheelDirection: -1 | 0 | 1 = 0

+
+

Defined in

+

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

+
+

doubleClickTimeout

+
+

doubleClickTimeout: null | number = null

+
+

Defined in

+

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

+
+

downStartTime

+
+

downStartTime: null | number = null

+
+

Defined in

+

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

+
+

draggedEvents

+
+

draggedEvents: number = 0

+
+

Defined in

+

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

+
+

enabled

+
+

enabled: boolean = true

+
+

Defined in

+

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

+
+

isMouseDown

+
+

isMouseDown: boolean = false

+
+

Defined in

+

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

+
+

isMoving

+
+

isMoving: boolean = false

+
+

Defined in

+

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

+
+

lastMouseX

+
+

lastMouseX: null | number = null

+
+

Defined in

+

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

+
+

lastMouseY

+
+

lastMouseY: null | number = null

+
+

Defined in

+

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

+
+

lastWheelTriggerTime?

+
+

optional lastWheelTriggerTime: number

+
+

Defined in

+

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

+
+

movingTimeout

+
+

movingTimeout: null | number = null

+
+

Defined in

+

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

+
+

rawEmitter

+
+

rawEmitter: EventEmitter<DefaultEventMap>

+
+

Inherited from

+

Captor.rawEmitter

+

Defined in

+

sigma/src/types.ts:114

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

Captor.renderer

+

Defined in

+

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

+
+

settings

+
+

settings: MouseSettings = DEFAULT_MOUSE_SETTINGS

+
+

Defined in

+

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

+
+

startCameraState

+
+

startCameraState: null | CameraState = null

+
+

Defined in

+

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

+

Methods

+

addListener()

+
+

addListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.addListener

+

Defined in

+

sigma/src/types.ts:120

+
+

emit()

+
+

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

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

• ...args: Parameters<MouseCaptorEvents[Event]>

+

Returns

+

boolean

+

Inherited from

+

Captor.emit

+

Defined in

+

sigma/src/types.ts:119

+
+

eventNames()

+
+

eventNames<Event>(): Event[]

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Returns

+

Event[]

+

Inherited from

+

Captor.eventNames

+

Defined in

+

sigma/src/types.ts:116

+
+

getMaxListeners()

+
+

getMaxListeners(): number

+
+

Returns

+

number

+

Inherited from

+

Captor.getMaxListeners

+

Defined in

+

sigma/src/types.ts:118

+
+

handleClick()

+
+

handleClick(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleDoubleClick()

+
+

handleDoubleClick(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleDown()

+
+

handleDown(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleEnter()

+
+

handleEnter(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleLeave()

+
+

handleLeave(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleMove()

+
+

handleMove(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleRightClick()

+
+

handleRightClick(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleUp()

+
+

handleUp(e): void

+
+

Parameters

+

e: MouseEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleWheel()

+
+

handleWheel(e): void

+
+

Parameters

+

e: WheelEvent

+

Returns

+

void

+

Defined in

+

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

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Overrides

+

Captor.kill

+

Defined in

+

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

+
+

listenerCount()

+
+

listenerCount<Event>(type): number

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

Returns

+

number

+

Inherited from

+

Captor.listenerCount

+

Defined in

+

sigma/src/types.ts:129

+
+

listeners()

+
+

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

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

Returns

+

MouseCaptorEvents[Event][]

+

Inherited from

+

Captor.listeners

+

Defined in

+

sigma/src/types.ts:128

+
+

off()

+
+

off<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.off

+

Defined in

+

sigma/src/types.ts:126

+
+

on()

+
+

on<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.on

+

Defined in

+

sigma/src/types.ts:121

+
+

once()

+
+

once<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.once

+

Defined in

+

sigma/src/types.ts:122

+
+

prependListener()

+
+

prependListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.prependListener

+

Defined in

+

sigma/src/types.ts:123

+
+

prependOnceListener()

+
+

prependOnceListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.prependOnceListener

+

Defined in

+

sigma/src/types.ts:124

+
+

rawListeners()

+
+

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

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

Returns

+

MouseCaptorEvents[Event][]

+

Inherited from

+

Captor.rawListeners

+

Defined in

+

sigma/src/types.ts:130

+
+

removeAllListeners()

+
+

removeAllListeners<Event>(type?): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type?: Event

+

Returns

+

this

+

Inherited from

+

Captor.removeAllListeners

+

Defined in

+

sigma/src/types.ts:127

+
+

removeListener()

+
+

removeListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends keyof MouseCaptorEvents

+

Parameters

+

type: Event

+

listener: MouseCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.removeListener

+

Defined in

+

sigma/src/types.ts:125

+
+

setMaxListeners()

+
+

setMaxListeners(n): this

+
+

Parameters

+

n: number

+

Returns

+

this

+

Inherited from

+

Captor.setMaxListeners

+

Defined in

+

sigma/src/types.ts:117

+
+

setSettings()

+
+

setSettings(settings): void

+
+

Parameters

+

settings: MouseSettings

+

Returns

+

void

+

Defined in

+

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

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

Class: Sigma<N, E, G>

+

Main class.

+

Param

+

Graph to render.

+

Param

+

DOM container in which to render.

+

Param

+

Optional settings.

+

Extends

+
    +
  • TypedEventEmitter<SigmaEvents>
  • +
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new Sigma()

+
+

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

+
+

Parameters

+

graph: AbstractGraph<N, E, G>

+

container: HTMLElement

+

settings: Partial<Settings<N, E, G>> = {}

+

Returns

+

Sigma<N, E, G>

+

Overrides

+

TypedEventEmitter<SigmaEvents>.constructor

+

Defined in

+

sigma/src/sigma.ts:192

+

Properties

+

rawEmitter

+
+

rawEmitter: EventEmitter<DefaultEventMap>

+
+

Inherited from

+

TypedEventEmitter.rawEmitter

+

Defined in

+

sigma/src/types.ts:114

+

Methods

+

addListener()

+
+

addListener<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.addListener

+

Defined in

+

sigma/src/types.ts:120

+
+

clear()

+
+

clear(): this

+
+

Method used to clear all the canvases.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:2048

+
+

createCanvas()

+
+

createCanvas(id, options): HTMLCanvasElement

+
+

Function used to create a canvas element.

+

Parameters

+

id: string

+

Context's id.

+

options: object & object | object = {}

+

Returns

+

HTMLCanvasElement

+

Defined in

+

sigma/src/sigma.ts:1647

+
+

createCanvasContext()

+
+

createCanvasContext(id, options): this

+
+

Function used to create a canvas context and add the relevant DOM elements.

+

Parameters

+

id: string

+

Context's id.

+

options = {}

+

options.style?: Partial<CSSStyleDeclaration>

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1661

+
+

createLayer()

+
+

createLayer<T>(id, tag, options): T

+
+

Function used to create a layer element.

+

Type Parameters

+

T extends HTMLElement

+

Parameters

+

id: string

+

Context's id.

+

tag: string

+

The HTML tag to use.

+

options: object & object | object = {}

+

Returns

+

T

+

Defined in

+

sigma/src/sigma.ts:1608

+
+

createWebGLContext()

+
+

createWebGLContext(id, options): WebGLRenderingContext

+
+

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

+

Parameters

+

id: string

+

Context's id.

+

options: object & object | object = {}

+

#getContext params to override (optional)

+

Returns

+

WebGLRenderingContext

+

Defined in

+

sigma/src/sigma.ts:1682

+
+

emit()

+
+

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

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

• ...args: Parameters<SigmaEvents[Event]>

+

Returns

+

boolean

+

Inherited from

+

TypedEventEmitter.emit

+

Defined in

+

sigma/src/types.ts:119

+
+

eventNames()

+
+

eventNames<Event>(): Event[]

+
+

Type Parameters

+

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

+

Returns

+

Event[]

+

Inherited from

+

TypedEventEmitter.eventNames

+

Defined in

+

sigma/src/types.ts:116

+
+

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

+

coordinates: Coordinates

+

override: CoordinateConversionOverride = {}

+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:2221

+
+

getBBox()

+
+

getBBox(): object

+
+

Method returning the graph's bounding box.

+

Returns

+

object

+
x
+
+

x: Extent

+
+
y
+
+

y: Extent

+
+

Defined in

+

sigma/src/sigma.ts:2323

+
+

getCamera()

+
+

getCamera(): Camera

+
+

Method returning the renderer's camera.

+

Returns

+

Camera

+

Defined in

+

sigma/src/sigma.ts:1759

+
+

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:2449

+
+

getContainer()

+
+

getContainer(): HTMLElement

+
+

Method returning the container DOM element.

+

Returns

+

HTMLElement

+

Defined in

+

sigma/src/sigma.ts:1780

+
+

getCustomBBox()

+
+

getCustomBBox(): null | object

+
+

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

+

Returns

+

null | object

+

Defined in

+

sigma/src/sigma.ts:2332

+
+

getDimensions()

+
+

getDimensions(): Dimensions

+
+

Method returning the current renderer's dimensions.

+

Returns

+

Dimensions

+

Defined in

+

sigma/src/sigma.ts:1846

+
+

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

+

key: unknown

+

The 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:1884

+
+

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:1903

+
+

getGraph()

+
+

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

+
+

Method returning the renderer's graph.

+

Returns

+

AbstractGraph<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1789

+
+

getGraphDimensions()

+
+

getGraphDimensions(): Dimensions

+
+

Method returning the current graph's dimensions.

+

Returns

+

Dimensions

+

Defined in

+

sigma/src/sigma.ts:1855

+
+

getGraphToViewportRatio()

+
+

getGraphToViewportRatio(): number

+
+

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

+

Returns

+

number

+

Defined in

+

sigma/src/sigma.ts:2306

+
+

getMaxListeners()

+
+

getMaxListeners(): number

+
+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.getMaxListeners

+

Defined in

+

sigma/src/types.ts:118

+
+

getMouseCaptor()

+
+

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

+
+

Method returning the mouse captor.

+

Returns

+

MouseCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1828

+
+

getNodeDisplayData()

+
+

getNodeDisplayData(key): undefined | NodeDisplayData

+
+

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

+

Parameters

+

key: unknown

+

The 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:1872

+
+

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:1894

+
+

getRenderParams()

+
+

getRenderParams(): RenderParams

+
+

Function used to get the render params.

+

Returns

+

RenderParams

+

Defined in

+

sigma/src/sigma.ts:1573

+
+

getSetting()

+
+

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

+
+

Method returning the current value for a given setting key.

+

Type Parameters

+

K extends keyof Settings<N, E, G>

+

Parameters

+

key: K

+

The setting key to get.

+

Returns

+

Settings<N, E, G>[K]

+

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

+

Defined in

+

sigma/src/sigma.ts:1922

+
+

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:1912

+
+

getStagePadding()

+
+

getStagePadding(): number

+
+

Function used to retrieve the actual stage padding value.

+

Returns

+

number

+

Defined in

+

sigma/src/sigma.ts:1595

+
+

getTouchCaptor()

+
+

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

+
+

Method returning the touch captor.

+

Returns

+

TouchCaptor<N, E, G>

+

Defined in

+

sigma/src/sigma.ts:1837

+
+

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

+

viewportTarget: Coordinates

+

newRatio: number

+

Returns

+

CameraState

+

Defined in

+

sigma/src/sigma.ts:2164

+
+

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

+

graphPoint: Coordinates

+

override: CoordinateConversionOverride = {}

+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:2298

+
+

kill()

+
+

kill(): void

+
+

Method used to shut the container & release event listeners.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:2352

+
+

killLayer()

+
+

killLayer(id): this

+
+

Function used to properly kill a layer.

+

Parameters

+

id: string

+

Layer id.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1734

+
+

listenerCount()

+
+

listenerCount<Event>(type): number

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

Returns

+

number

+

Inherited from

+

TypedEventEmitter.listenerCount

+

Defined in

+

sigma/src/types.ts:129

+
+

listeners()

+
+

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

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

Returns

+

SigmaEvents[Event][]

+

Inherited from

+

TypedEventEmitter.listeners

+

Defined in

+

sigma/src/types.ts:128

+
+

off()

+
+

off<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.off

+

Defined in

+

sigma/src/types.ts:126

+
+

on()

+
+

on<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.on

+

Defined in

+

sigma/src/types.ts:121

+
+

once()

+
+

once<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.once

+

Defined in

+

sigma/src/types.ts:122

+
+

prependListener()

+
+

prependListener<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependListener

+

Defined in

+

sigma/src/types.ts:123

+
+

prependOnceListener()

+
+

prependOnceListener<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.prependOnceListener

+

Defined in

+

sigma/src/types.ts:124

+
+

rawListeners()

+
+

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

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

Returns

+

SigmaEvents[Event][]

+

Inherited from

+

TypedEventEmitter.rawListeners

+

Defined in

+

sigma/src/types.ts:130

+
+

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

+

opts?

+

opts.partialGraph?

+

opts.partialGraph.edges?: string[]

+

opts.partialGraph.nodes?: string[]

+

opts.schedule?: boolean

+

opts.skipIndexation?: boolean

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:2073

+
+

removeAllListeners()

+
+

removeAllListeners<Event>(type?): this

+
+

Type Parameters

+

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

+

Parameters

+

type?: Event

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeAllListeners

+

Defined in

+

sigma/src/types.ts:127

+
+

removeListener()

+
+

removeListener<Event>(type, listener): this

+
+

Type Parameters

+

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

+

Parameters

+

type: Event

+

listener: SigmaEvents[Event]

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.removeListener

+

Defined in

+

sigma/src/types.ts:125

+
+

resize()

+
+

resize(force?): this

+
+

Method used to resize the renderer.

+

Parameters

+

force?: boolean

+

If true, then resize is processed even if size is unchanged (optional).

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1980

+
+

scaleSize()

+
+

scaleSize(size, cameraRatio): number

+
+

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

+

Parameters

+

size: number = 1

+

The size to scale (node size, edge thickness etc.).

+

cameraRatio: number = ...

+

A camera ratio (defaults to the actual camera ratio).

+

Returns

+

number

+
    +
  • The scaled size.
  • +
+

Defined in

+

sigma/src/sigma.ts:2428

+
+

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

+

opts?

+

opts.layoutUnchange?: boolean

+

opts.partialGraph?

+

opts.partialGraph.edges?: string[]

+

opts.partialGraph.nodes?: string[]

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:2152

+
+

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:2134

+
+

setCamera()

+
+

setCamera(camera): void

+
+

Method setting the renderer's camera.

+

Parameters

+

camera: Camera

+

New camera.

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1769

+
+

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

+

customBBox: null | object

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:2341

+
+

setGraph()

+
+

setGraph(graph): void

+
+

Method used to set the renderer's graph.

+

Parameters

+

graph: AbstractGraph<N, E, G>

+

Returns

+

void

+

Defined in

+

sigma/src/sigma.ts:1798

+
+

setMaxListeners()

+
+

setMaxListeners(n): this

+
+

Parameters

+

n: number

+

Returns

+

this

+

Inherited from

+

TypedEventEmitter.setMaxListeners

+

Defined in

+

sigma/src/types.ts:117

+
+

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

+

K extends keyof Settings<N, E, G>

+

Parameters

+

key: K

+

The setting key to set.

+

value: Settings<N, E, G>[K]

+

The value to set.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1934

+
+

setSettings()

+
+

setSettings(settings): this

+
+

Method setting multiple settings at once.

+

Parameters

+

settings: Partial<Settings<N, E, G>>

+

The settings to set.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1965

+
+

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

+

K extends keyof Settings<N, E, G>

+

Parameters

+

key: K

+

The setting key to set.

+

updater

+

The update function.

+

Returns

+

this

+

Defined in

+

sigma/src/sigma.ts:1951

+
+

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

+

coordinates: Coordinates

+

override: CoordinateConversionOverride = {}

+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:2249

+
+

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

+

viewportPoint: Coordinates

+

override: CoordinateConversionOverride = {}

+

Returns

+

Coordinates

+

Defined in

+

sigma/src/sigma.ts:2284

+
+

viewRectangle()

+
+

viewRectangle(): object

+
+

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

+

Returns

+

object

+
    +
  • The view's rectangle.
  • +
+
height
+
+

height: number

+
+
x1
+
+

x1: number

+
+
x2
+
+

x2: number

+
+
y1
+
+

y1: number

+
+
y2
+
+

y2: number

+
+

Defined in

+

sigma/src/sigma.ts:2194

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

Class: TouchCaptor<N, E, G>

+

Touch captor class.

+

Extends

+
    +
  • default<TouchCaptorEvents, N, E, G>
  • +
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new TouchCaptor()

+
+

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

+
+

Parameters

+

container: HTMLElement

+

renderer: Sigma<N, E, G>

+

Returns

+

TouchCaptor<N, E, G>

+

Overrides

+

Captor<TouchCaptorEvents, N, E, G>.constructor

+

Defined in

+

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

+

Properties

+

container

+
+

container: HTMLElement

+
+

Inherited from

+

Captor.container

+

Defined in

+

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

+
+

enabled

+
+

enabled: boolean = true

+
+

Defined in

+

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

+
+

hasMoved

+
+

hasMoved: boolean = false

+
+

Defined in

+

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

+
+

isMoving

+
+

isMoving: boolean = false

+
+

Defined in

+

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

+
+

lastTap

+
+

lastTap: null | object = null

+
+

Defined in

+

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

+
+

lastTouches

+
+

lastTouches: Touch[] = []

+
+

Defined in

+

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

+
+

lastTouchesPositions?

+
+

optional lastTouchesPositions: Coordinates[]

+
+

Defined in

+

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

+
+

movingTimeout?

+
+

optional movingTimeout: number

+
+

Defined in

+

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

+
+

rawEmitter

+
+

rawEmitter: EventEmitter<DefaultEventMap>

+
+

Inherited from

+

Captor.rawEmitter

+

Defined in

+

sigma/src/types.ts:114

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

Captor.renderer

+

Defined in

+

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

+
+

settings

+
+

settings: TouchSettings = DEFAULT_TOUCH_SETTINGS

+
+

Defined in

+

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

+
+

startCameraState?

+
+

optional startCameraState: CameraState

+
+

Defined in

+

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

+
+

startTouchesAngle?

+
+

optional startTouchesAngle: number

+
+

Defined in

+

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

+
+

startTouchesDistance?

+
+

optional startTouchesDistance: number

+
+

Defined in

+

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

+
+

startTouchesPositions

+
+

startTouchesPositions: Coordinates[] = []

+
+

Defined in

+

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

+
+

touchMode

+
+

touchMode: number = 0

+
+

Defined in

+

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

+

Methods

+

addListener()

+
+

addListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.addListener

+

Defined in

+

sigma/src/types.ts:120

+
+

emit()

+
+

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

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

• ...args: Parameters<TouchCaptorEvents[Event]>

+

Returns

+

boolean

+

Inherited from

+

Captor.emit

+

Defined in

+

sigma/src/types.ts:119

+
+

eventNames()

+
+

eventNames<Event>(): Event[]

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Returns

+

Event[]

+

Inherited from

+

Captor.eventNames

+

Defined in

+

sigma/src/types.ts:116

+
+

getDimensions()

+
+

getDimensions(): Dimensions

+
+

Returns

+

Dimensions

+

Defined in

+

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

+
+

getMaxListeners()

+
+

getMaxListeners(): number

+
+

Returns

+

number

+

Inherited from

+

Captor.getMaxListeners

+

Defined in

+

sigma/src/types.ts:118

+
+

handleLeave()

+
+

handleLeave(e): void

+
+

Parameters

+

e: TouchEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleMove()

+
+

handleMove(e): void

+
+

Parameters

+

e: TouchEvent

+

Returns

+

void

+

Defined in

+

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

+
+

handleStart()

+
+

handleStart(e): void

+
+

Parameters

+

e: TouchEvent

+

Returns

+

void

+

Defined in

+

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

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Overrides

+

Captor.kill

+

Defined in

+

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

+
+

listenerCount()

+
+

listenerCount<Event>(type): number

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

Returns

+

number

+

Inherited from

+

Captor.listenerCount

+

Defined in

+

sigma/src/types.ts:129

+
+

listeners()

+
+

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

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

Returns

+

TouchCaptorEvents[Event][]

+

Inherited from

+

Captor.listeners

+

Defined in

+

sigma/src/types.ts:128

+
+

off()

+
+

off<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.off

+

Defined in

+

sigma/src/types.ts:126

+
+

on()

+
+

on<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.on

+

Defined in

+

sigma/src/types.ts:121

+
+

once()

+
+

once<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.once

+

Defined in

+

sigma/src/types.ts:122

+
+

prependListener()

+
+

prependListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.prependListener

+

Defined in

+

sigma/src/types.ts:123

+
+

prependOnceListener()

+
+

prependOnceListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.prependOnceListener

+

Defined in

+

sigma/src/types.ts:124

+
+

rawListeners()

+
+

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

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

Returns

+

TouchCaptorEvents[Event][]

+

Inherited from

+

Captor.rawListeners

+

Defined in

+

sigma/src/types.ts:130

+
+

removeAllListeners()

+
+

removeAllListeners<Event>(type?): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type?: Event

+

Returns

+

this

+

Inherited from

+

Captor.removeAllListeners

+

Defined in

+

sigma/src/types.ts:127

+
+

removeListener()

+
+

removeListener<Event>(type, listener): this

+
+

Type Parameters

+

Event extends TouchCaptorEventType

+

Parameters

+

type: Event

+

listener: TouchCaptorEvents[Event]

+

Returns

+

this

+

Inherited from

+

Captor.removeListener

+

Defined in

+

sigma/src/types.ts:125

+
+

setMaxListeners()

+
+

setMaxListeners(n): this

+
+

Parameters

+

n: number

+

Returns

+

this

+

Inherited from

+

Captor.setMaxListeners

+

Defined in

+

sigma/src/types.ts:117

+
+

setSettings()

+
+

setSettings(settings): void

+
+

Parameters

+

settings: TouchSettings

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/index.html b/docs/typedoc/sigma/src/index.html new file mode 100644 index 000000000..242b443dd --- /dev/null +++ b/docs/typedoc/sigma/src/index.html @@ -0,0 +1,27 @@ + + + + + +sigma/src | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram/index.html b/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram/index.html new file mode 100644 index 000000000..bdf03642a --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgram/index.html @@ -0,0 +1,96 @@ + + + + + +Class: abstract AbstractEdgeProgram\<N, E, G\> | sigma.js + + + + + +

Class: abstract AbstractEdgeProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new AbstractEdgeProgram()

+
+

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

+
+

Parameters

+

_gl: WebGLRenderingContext

+

_pickGl: WebGLRenderingContext

+

_renderer: Sigma<N, E, G>

+

Returns

+

AbstractEdgeProgram<N, E, G>

+

Inherited from

+

AbstractProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:42

+

Properties

+

drawLabel

+
+

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

+
+

Defined in

+

sigma/src/rendering/edge.ts:20

+

Methods

+

kill()

+
+

abstract kill(): void

+
+

Returns

+

void

+

Inherited from

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:45

+
+

process()

+
+

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

+
+

Parameters

+

edgeIndex: number

+

offset: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/edge.ts:22

+
+

reallocate()

+
+

abstract reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:43

+
+

render()

+
+

abstract render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:44

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

Class: abstract AbstractNodeProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new AbstractNodeProgram()

+
+

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

+
+

Parameters

+

_gl: WebGLRenderingContext

+

_pickGl: WebGLRenderingContext

+

_renderer: Sigma<N, E, G>

+

Returns

+

AbstractNodeProgram<N, E, G>

+

Inherited from

+

AbstractProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:42

+

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()

+
+

abstract kill(): void

+
+

Returns

+

void

+

Inherited from

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:45

+
+

process()

+
+

abstract process(nodeIndex, offset, data): void

+
+

Parameters

+

nodeIndex: number

+

offset: number

+

data: NodeDisplayData

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node.ts:23

+
+

reallocate()

+
+

abstract reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:43

+
+

render()

+
+

abstract render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:44

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

Class: abstract AbstractProgram<N, E, G>

+

Extended by

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new AbstractProgram()

+
+

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

+
+

Parameters

+

_gl: WebGLRenderingContext

+

_pickGl: WebGLRenderingContext

+

_renderer: Sigma<N, E, G>

+

Returns

+

AbstractProgram<N, E, G>

+

Defined in

+

sigma/src/rendering/program.ts:42

+

Methods

+

kill()

+
+

abstract kill(): void

+
+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:45

+
+

reallocate()

+
+

abstract reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:43

+
+

render()

+
+

abstract render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:44

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

Class: EdgeLineProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new EdgeLineProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

EdgeLineProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

drawLabel

+
+

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

+
+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

UNIFORMS: readonly "u_matrix"[]

+
+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 1 = WebGLRenderingContext.LINES

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_matrix"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 2

+
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

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

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

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

+

edgeIndex: number

+

offset: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem()

+
+

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

+
+

Parameters

+

edgeIndex: number

+

startIndex: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

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

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(params, __namedParameters): void

+
+

Parameters

+

params: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

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

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

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

+

Extends

+ +

Extended by

+ +

Type Parameters

+

Uniform extends string = string

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Implements

+ +

Constructors

+

new EdgeProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

EdgeProgram<Uniform, N, E, G>

+

Inherited from

+

Program.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

Program.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

Program.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

Program.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

Program.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

Program.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

drawLabel

+
+

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

+
+

Implementation of

+

AbstractEdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

Program.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

Program.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

Program.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

Program.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

Program.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

Program.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

Program.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

UNIFORMS: readonly Uniform[]

+
+

Inherited from

+

Program.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

Program.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

Program.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

Program.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

Program.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

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

+
+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Inherited from

+

Program.getDefinition

+

Defined in

+

sigma/src/rendering/program.ts:79

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

Program.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

Program.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

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

+

edgeIndex: number

+

offset: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem()

+
+

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

+
+

Parameters

+

edgeIndex: number

+

startIndex: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/edge.ts:65

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.reallocate

+

Inherited from

+

Program.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Implementation of

+

AbstractEdgeProgram.render

+

Inherited from

+

Program.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

abstract setUniforms(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.setUniforms

+

Defined in

+

sigma/src/rendering/program.ts:316

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

Program.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

Class: EdgeRectangleProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new EdgeRectangleProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

EdgeRectangleProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

drawLabel

+
+

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

+
+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

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

+
+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
CONSTANT_ATTRIBUTES
+
+

CONSTANT_ATTRIBUTES: object[]

+
+
CONSTANT_DATA
+
+

CONSTANT_DATA: number[][]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 4 = WebGLRenderingContext.TRIANGLES

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio", "u_pixelRatio", "u_feather", "u_minEdgeThickness"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 6

+
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

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

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

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

+

edgeIndex: number

+

offset: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem()

+
+

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

+
+

Parameters

+

edgeIndex: number

+

startIndex: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

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

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(params, __namedParameters): void

+
+

Parameters

+

params: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

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

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

Class: EdgeTriangleProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new EdgeTriangleProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

EdgeTriangleProgram<N, E, G>

+

Inherited from

+

EdgeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

EdgeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

EdgeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

EdgeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

EdgeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

EdgeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

EdgeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

drawLabel

+
+

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

+
+

Inherited from

+

EdgeProgram.drawLabel

+

Defined in

+

sigma/src/rendering/edge.ts:40

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

EdgeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

EdgeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

EdgeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

EdgeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

EdgeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

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

+
+

Inherited from

+

EdgeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

EdgeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

EdgeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

EdgeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

EdgeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
CONSTANT_ATTRIBUTES
+
+

CONSTANT_ATTRIBUTES: object[]

+
+
CONSTANT_DATA
+
+

CONSTANT_DATA: number[][]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 4 = WebGLRenderingContext.TRIANGLES

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 3

+
+

Overrides

+

EdgeProgram.getDefinition

+

Defined in

+

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

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

EdgeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

EdgeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

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

+

edgeIndex: number

+

offset: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Inherited from

+

EdgeProgram.process

+

Defined in

+

sigma/src/rendering/edge.ts:46

+
+

processVisibleItem()

+
+

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

+
+

Parameters

+

edgeIndex: number

+

startIndex: number

+

sourceData: NodeDisplayData

+

targetData: NodeDisplayData

+

data: DisplayData

+

Returns

+

void

+

Overrides

+

EdgeProgram.processVisibleItem

+

Defined in

+

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

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

EdgeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

EdgeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(params, __namedParameters): void

+
+

Parameters

+

params: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

EdgeProgram.setUniforms

+

Defined in

+

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

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

EdgeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

Class: NodeCircleProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new NodeCircleProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

NodeCircleProgram<N, E, G>

+

Inherited from

+

NodeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

NodeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

NodeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

NodeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

NodeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

NodeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

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

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

NodeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

NodeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

NodeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

NodeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

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

+
+

Inherited from

+

NodeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

NodeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

NodeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+
+

ANGLE_1

+
+

readonly static ANGLE_1: 0 = 0

+
+

Defined in

+

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

+
+

ANGLE_2

+
+

readonly static ANGLE_2: number

+
+

Defined in

+

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

+
+

ANGLE_3

+
+

readonly static ANGLE_3: number

+
+

Defined in

+

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

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

NodeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
CONSTANT_ATTRIBUTES
+
+

CONSTANT_ATTRIBUTES: object[]

+
+
CONSTANT_DATA
+
+

CONSTANT_DATA: number[][]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 4 = WebGLRenderingContext.TRIANGLES

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_sizeRatio", "u_correctionRatio", "u_matrix"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 3

+
+

Overrides

+

NodeProgram.getDefinition

+

Defined in

+

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

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

NodeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

NodeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Inherited from

+

NodeProgram.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process()

+
+

process(nodeIndex, offset, data): void

+
+

Parameters

+

nodeIndex: number

+

offset: number

+

data: NodeDisplayData

+

Returns

+

void

+

Inherited from

+

NodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem()

+
+

processVisibleItem(nodeIndex, startIndex, data): void

+
+

Parameters

+

nodeIndex: number

+

startIndex: number

+

data: NodeDisplayData

+

Returns

+

void

+

Overrides

+

NodeProgram.processVisibleItem

+

Defined in

+

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

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

NodeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

NodeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(params, __namedParameters): void

+
+

Parameters

+

params: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

NodeProgram.setUniforms

+

Defined in

+

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

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

Class: NodePointProgram<N, E, G>

+

Extends

+ +

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Constructors

+

new NodePointProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

NodePointProgram<N, E, G>

+

Inherited from

+

NodeProgram.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

NodeProgram.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

NodeProgram.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

NodeProgram.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

NodeProgram.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

NodeProgram.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

NodeProgram.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

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

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

NodeProgram.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

NodeProgram.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

NodeProgram.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

NodeProgram.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

NodeProgram.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

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

+
+

Inherited from

+

NodeProgram.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

NodeProgram.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

NodeProgram.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

NodeProgram.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

NodeProgram.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

getDefinition(): object

+
+

Returns

+

object

+
ATTRIBUTES
+
+

ATTRIBUTES: (object | object)[]

+
+
FRAGMENT_SHADER_SOURCE
+
+

FRAGMENT_SHADER_SOURCE: string

+
+
METHOD
+
+

METHOD: 0 = WebGLRenderingContext.POINTS

+
+
UNIFORMS
+
+

UNIFORMS: readonly ["u_sizeRatio", "u_pixelRatio", "u_matrix"]

+
+
VERTEX_SHADER_SOURCE
+
+

VERTEX_SHADER_SOURCE: string

+
+
VERTICES
+
+

VERTICES: number = 1

+
+

Overrides

+

NodeProgram.getDefinition

+

Defined in

+

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

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

NodeProgram.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

NodeProgram.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Inherited from

+

NodeProgram.kill

+

Defined in

+

sigma/src/rendering/node.ts:38

+
+

process()

+
+

process(nodeIndex, offset, data): void

+
+

Parameters

+

nodeIndex: number

+

offset: number

+

data: NodeDisplayData

+

Returns

+

void

+

Inherited from

+

NodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem()

+
+

processVisibleItem(nodeIndex, startIndex, data): void

+
+

Parameters

+

nodeIndex: number

+

startIndex: number

+

data: NodeDisplayData

+

Returns

+

void

+

Overrides

+

NodeProgram.processVisibleItem

+

Defined in

+

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

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Inherited from

+

NodeProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Inherited from

+

NodeProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

setUniforms(__namedParameters, __namedParameters): void

+
+

Parameters

+

__namedParameters: RenderParams

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Overrides

+

NodeProgram.setUniforms

+

Defined in

+

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

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

NodeProgram.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

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

+

Extends

+ +

Extended by

+ +

Type Parameters

+

Uniform extends string = string

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Implements

+ +

Constructors

+

new NodeProgram()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

NodeProgram<Uniform, N, E, G>

+

Inherited from

+

Program.constructor

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Inherited from

+

Program.array

+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Inherited from

+

Program.ATTRIBUTES_ITEMS_COUNT

+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Inherited from

+

Program.capacity

+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

Program.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Inherited from

+

Program.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Inherited from

+

Program.constantArray

+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

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

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

Program.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Inherited from

+

Program.isInstanced

+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

Program.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Inherited from

+

Program.normalProgram

+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Inherited from

+

Program.pickProgram

+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Inherited from

+

Program.renderer

+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Inherited from

+

Program.STRIDE

+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

UNIFORMS: readonly Uniform[]

+
+

Inherited from

+

Program.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

Program.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

Program.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Inherited from

+

Program.verticesCount

+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Inherited from

+

Program.bindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.bindProgram

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.drawWebGL

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

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

+
+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Inherited from

+

Program.getDefinition

+

Defined in

+

sigma/src/rendering/program.ts:79

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Inherited from

+

Program.getProgramInfo

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Inherited from

+

Program.hasNothingToRender

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

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

+

nodeIndex: number

+

offset: number

+

data: NodeDisplayData

+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.process

+

Defined in

+

sigma/src/rendering/node.ts:42

+
+

processVisibleItem()

+
+

abstract processVisibleItem(nodeIndex, i, data): void

+
+

Parameters

+

nodeIndex: number

+

i: number

+

data: NodeDisplayData

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/node.ts:55

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.reallocate

+

Inherited from

+

Program.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Implementation of

+

AbstractNodeProgram.render

+

Inherited from

+

Program.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.renderProgram

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

abstract setUniforms(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.setUniforms

+

Defined in

+

sigma/src/rendering/program.ts:316

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Inherited from

+

Program.unbindAttribute

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Inherited from

+

Program.unbindProgram

+

Defined in

+

sigma/src/rendering/program.ts:235

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

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

+

Extended by

+ +

Type Parameters

+

Uniform extends string = string

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Implements

+ +

Constructors

+

new Program()

+
+

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

+
+

Parameters

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

pickingBuffer: null | WebGLFramebuffer

+

renderer: Sigma<N, E, G>

+

Returns

+

Program<Uniform, N, E, G>

+

Defined in

+

sigma/src/rendering/program.ts:81

+

Properties

+

array

+
+

array: Float32Array

+
+

Defined in

+

sigma/src/rendering/program.ts:69

+
+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Implementation of

+

InstancedProgramDefinition.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:60

+
+

ATTRIBUTES_ITEMS_COUNT

+
+

ATTRIBUTES_ITEMS_COUNT: number

+
+

Defined in

+

sigma/src/rendering/program.ts:65

+
+

capacity

+
+

capacity: number = 0

+
+

Defined in

+

sigma/src/rendering/program.ts:71

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Implementation of

+

InstancedProgramDefinition.CONSTANT_ATTRIBUTES

+

Defined in

+

sigma/src/rendering/program.ts:62

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Implementation of

+

InstancedProgramDefinition.CONSTANT_DATA

+

Defined in

+

sigma/src/rendering/program.ts:63

+
+

constantArray

+
+

constantArray: Float32Array

+
+

Defined in

+

sigma/src/rendering/program.ts:70

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Implementation of

+

InstancedProgramDefinition.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:58

+
+

isInstanced

+
+

isInstanced: boolean

+
+

Defined in

+

sigma/src/rendering/program.ts:77

+
+

METHOD

+
+

METHOD: number

+
+

Implementation of

+

InstancedProgramDefinition.METHOD

+

Defined in

+

sigma/src/rendering/program.ts:61

+
+

normalProgram

+
+

normalProgram: ProgramInfo<string>

+
+

Defined in

+

sigma/src/rendering/program.ts:74

+
+

pickProgram

+
+

pickProgram: null | ProgramInfo<string>

+
+

Defined in

+

sigma/src/rendering/program.ts:75

+
+

renderer

+
+

renderer: Sigma<N, E, G>

+
+

Defined in

+

sigma/src/rendering/program.ts:68

+
+

STRIDE

+
+

STRIDE: number

+
+

Defined in

+

sigma/src/rendering/program.ts:66

+
+

UNIFORMS

+
+

UNIFORMS: readonly Uniform[]

+
+

Implementation of

+

InstancedProgramDefinition.UNIFORMS

+

Defined in

+

sigma/src/rendering/program.ts:59

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Implementation of

+

InstancedProgramDefinition.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/program.ts:57

+
+

VERTICES

+
+

VERTICES: number

+
+

Implementation of

+

InstancedProgramDefinition.VERTICES

+

Defined in

+

sigma/src/rendering/program.ts:56

+
+

verticesCount

+
+

verticesCount: number = 0

+
+

Defined in

+

sigma/src/rendering/program.ts:72

+

Methods

+

bindAttribute()

+
+

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

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

offset: number

+

setDivisor?: boolean

+

Returns

+

number

+

Defined in

+

sigma/src/rendering/program.ts:244

+
+

bindProgram()

+
+

protected bindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:206

+
+

drawWebGL()

+
+

drawWebGL(method, __namedParameters): void

+
+

Parameters

+

method: number

+

__namedParameters: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:355

+
+

getDefinition()

+
+

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

+
+

Returns

+

ProgramDefinition<Uniform> | InstancedProgramDefinition<Uniform>

+

Defined in

+

sigma/src/rendering/program.ts:79

+
+

getProgramInfo()

+
+

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

+
+

Parameters

+

name: "normal" | "pick"

+

gl: WebGLRenderingContext | WebGL2RenderingContext

+

vertexShaderSource: string

+

fragmentShaderSource: string

+

frameBuffer: null | WebGLFramebuffer

+

Returns

+

ProgramInfo<string>

+

Defined in

+

sigma/src/rendering/program.ts:150

+
+

hasNothingToRender()

+
+

hasNothingToRender(): boolean

+
+

Returns

+

boolean

+

Defined in

+

sigma/src/rendering/program.ts:312

+
+

kill()

+
+

kill(): void

+
+

Returns

+

void

+

Implementation of

+

AbstractProgram.kill

+

Defined in

+

sigma/src/rendering/program.ts:141

+
+

reallocate()

+
+

reallocate(capacity): void

+
+

Parameters

+

capacity: number

+

Returns

+

void

+

Implementation of

+

AbstractProgram.reallocate

+

Defined in

+

sigma/src/rendering/program.ts:297

+
+

render()

+
+

render(params): void

+
+

Parameters

+

params: RenderParams

+

Returns

+

void

+

Implementation of

+

AbstractProgram.render

+

Defined in

+

sigma/src/rendering/program.ts:334

+
+

renderProgram()

+
+

protected renderProgram(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:318

+
+

setUniforms()

+
+

abstract setUniforms(params, programInfo): void

+
+

Parameters

+

params: RenderParams

+

programInfo: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:316

+
+

unbindAttribute()

+
+

protected unbindAttribute(attr, program, unsetDivisor?): void

+
+

Parameters

+

attr: ProgramAttributeSpecification

+

program: ProgramInfo<string>

+

unsetDivisor?: boolean

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:279

+
+

unbindProgram()

+
+

protected unbindProgram(program): void

+
+

Parameters

+

program: ProgramInfo<string>

+

Returns

+

void

+

Defined in

+

sigma/src/rendering/program.ts:235

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram/index.html new file mode 100644 index 000000000..1e4e2e3f0 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeArrowHeadProgram() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram/index.html new file mode 100644 index 000000000..fc9f3f6b4 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeArrowProgram() | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram/index.html new file mode 100644 index 000000000..07b420797 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeClampedProgram() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram/index.html new file mode 100644 index 000000000..506de5268 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgram/index.html @@ -0,0 +1,33 @@ + + + + + +Function: createEdgeCompoundProgram() | sigma.js + + + + + +

Function: 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

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

programClasses: (_gl, _pickingBuffer, _renderer) => _EdgeProgramClass<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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram/index.html new file mode 100644 index 000000000..0f70c0a9e --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeDoubleArrowProgram() | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram/index.html new file mode 100644 index 000000000..b24c34b52 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgram/index.html @@ -0,0 +1,27 @@ + + + + + +Function: createEdgeDoubleClampedProgram() | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/createNodeCompoundProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/createNodeCompoundProgram/index.html new file mode 100644 index 000000000..0d26731ea --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/createNodeCompoundProgram/index.html @@ -0,0 +1,35 @@ + + + + + +Function: createNodeCompoundProgram() | sigma.js + + + + + +

Function: 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

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

programClasses: NonEmptyArray<(_gl, _pickingBuffer, _renderer) => _NodeProgramClass<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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeHover/index.html b/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeHover/index.html new file mode 100644 index 000000000..4315e84fc --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeHover/index.html @@ -0,0 +1,35 @@ + + + + + +Function: drawDiscNodeHover() | sigma.js + + + + + +

Function: 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

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "x" | "y" | "label" | "color" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeLabel/index.html b/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeLabel/index.html new file mode 100644 index 000000000..311182a0b --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeLabel/index.html @@ -0,0 +1,29 @@ + + + + + +Function: drawDiscNodeLabel() | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel/index.html b/docs/typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel/index.html new file mode 100644 index 000000000..20701e99f --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/drawStraightEdgeLabel/index.html @@ -0,0 +1,31 @@ + + + + + +Function: drawStraightEdgeLabel() | sigma.js + + + + + +

Function: drawStraightEdgeLabel()

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

edgeData: PartialButFor<DisplayData, "label" | "color" | "size">

+

sourceData: PartialButFor<NodeDisplayData, "x" | "y" | "size">

+

targetData: PartialButFor<NodeDisplayData, "x" | "y" | "size">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCount/index.html b/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCount/index.html new file mode 100644 index 000000000..015d0d50d --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCount/index.html @@ -0,0 +1,23 @@ + + + + + +Function: getAttributeItemsCount() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount/index.html b/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount/index.html new file mode 100644 index 000000000..d58bf5acc --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCount/index.html @@ -0,0 +1,23 @@ + + + + + +Function: getAttributesItemsCount() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/killProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/killProgram/index.html new file mode 100644 index 000000000..582d4deaf --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/killProgram/index.html @@ -0,0 +1,23 @@ + + + + + +Function: killProgram() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader/index.html b/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader/index.html new file mode 100644 index 000000000..f4fabee8b --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/loadFragmentShader/index.html @@ -0,0 +1,24 @@ + + + + + +Function: loadFragmentShader() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/loadProgram/index.html b/docs/typedoc/sigma/src/rendering/functions/loadProgram/index.html new file mode 100644 index 000000000..65447d15e --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/loadProgram/index.html @@ -0,0 +1,25 @@ + + + + + +Function: loadProgram() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/loadVertexShader/index.html b/docs/typedoc/sigma/src/rendering/functions/loadVertexShader/index.html new file mode 100644 index 000000000..6283b1e69 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/loadVertexShader/index.html @@ -0,0 +1,24 @@ + + + + + +Function: loadVertexShader() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat/index.html b/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat/index.html new file mode 100644 index 000000000..9b9794400 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloat/index.html @@ -0,0 +1,24 @@ + + + + + +Function: numberToGLSLFloat() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/index.html b/docs/typedoc/sigma/src/rendering/index.html new file mode 100644 index 000000000..f07c2dc1f --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/index.html @@ -0,0 +1,79 @@ + + + + + +sigma/src/rendering | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition/index.html b/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition/index.html new file mode 100644 index 000000000..4de3d0e6e --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinition/index.html @@ -0,0 +1,88 @@ + + + + + +Interface: InstancedProgramDefinition\<Uniform\> | sigma.js + + + + + +

Interface: InstancedProgramDefinition<Uniform>

+

Extends

+ +

Type Parameters

+

Uniform extends string = string

+

Properties

+

ATTRIBUTES

+
+

ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Inherited from

+

ProgramDefinition.ATTRIBUTES

+

Defined in

+

sigma/src/rendering/utils.ts:36

+
+

CONSTANT_ATTRIBUTES

+
+

CONSTANT_ATTRIBUTES: ProgramAttributeSpecification[]

+
+

Defined in

+

sigma/src/rendering/utils.ts:41

+
+

CONSTANT_DATA

+
+

CONSTANT_DATA: number[][]

+
+

Defined in

+

sigma/src/rendering/utils.ts:42

+
+

FRAGMENT_SHADER_SOURCE

+
+

FRAGMENT_SHADER_SOURCE: string

+
+

Inherited from

+

ProgramDefinition.FRAGMENT_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/utils.ts:34

+
+

METHOD

+
+

METHOD: number

+
+

Inherited from

+

ProgramDefinition.METHOD

+

Defined in

+

sigma/src/rendering/utils.ts:37

+
+

UNIFORMS

+
+

UNIFORMS: readonly Uniform[]

+
+

Inherited from

+

ProgramDefinition.UNIFORMS

+

Defined in

+

sigma/src/rendering/utils.ts:35

+
+

VERTEX_SHADER_SOURCE

+
+

VERTEX_SHADER_SOURCE: string

+
+

Inherited from

+

ProgramDefinition.VERTEX_SHADER_SOURCE

+

Defined in

+

sigma/src/rendering/utils.ts:33

+
+

VERTICES

+
+

VERTICES: number

+
+

Inherited from

+

ProgramDefinition.VERTICES

+

Defined in

+

sigma/src/rendering/utils.ts:32

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification/index.html b/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification/index.html new file mode 100644 index 000000000..4fd0065ae --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecification/index.html @@ -0,0 +1,42 @@ + + + + + +Interface: ProgramAttributeSpecification | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition/index.html b/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition/index.html new file mode 100644 index 000000000..f8a236a23 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinition/index.html @@ -0,0 +1,62 @@ + + + + + +Interface: ProgramDefinition\<Uniform\> | sigma.js + + + + + +
+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo/index.html b/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo/index.html new file mode 100644 index 000000000..593bb3817 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfo/index.html @@ -0,0 +1,93 @@ + + + + + +Interface: ProgramInfo\<Uniform\> | sigma.js + + + + + +

Interface: ProgramInfo<Uniform>

+

Type Parameters

+

Uniform extends string = string

+

Properties

+

attributeLocations

+
+

attributeLocations: Record<string, number>

+
+

Defined in

+

sigma/src/rendering/utils.ts:19

+
+

buffer

+
+

buffer: WebGLBuffer

+
+

Defined in

+

sigma/src/rendering/utils.ts:16

+
+

constantBuffer

+
+

constantBuffer: WebGLBuffer

+
+

Defined in

+

sigma/src/rendering/utils.ts:17

+
+

fragmentShader

+
+

fragmentShader: WebGLShader

+
+

Defined in

+

sigma/src/rendering/utils.ts:21

+
+

frameBuffer

+
+

frameBuffer: null | WebGLFramebuffer

+
+

Defined in

+

sigma/src/rendering/utils.ts:15

+
+

gl

+
+

gl: WebGLRenderingContext | WebGL2RenderingContext

+
+

Defined in

+

sigma/src/rendering/utils.ts:14

+
+

isPicking

+
+

isPicking: boolean

+
+

Defined in

+

sigma/src/rendering/utils.ts:12

+
+

name

+
+

name: string

+
+

Defined in

+

sigma/src/rendering/utils.ts:11

+
+

program

+
+

program: WebGLProgram

+
+

Defined in

+

sigma/src/rendering/utils.ts:13

+
+

uniformLocations

+
+

uniformLocations: Record<Uniform, WebGLUniformLocation>

+
+

Defined in

+

sigma/src/rendering/utils.ts:18

+
+

vertexShader

+
+

vertexShader: WebGLShader

+
+

Defined in

+

sigma/src/rendering/utils.ts:20

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions/index.html new file mode 100644 index 000000000..e76c3fc1a --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptions/index.html @@ -0,0 +1,32 @@ + + + + + +Type Alias: CreateEdgeArrowHeadProgramOptions | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions/index.html new file mode 100644 index 000000000..6cfb06673 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptions/index.html @@ -0,0 +1,19 @@ + + + + + +Type Alias: CreateEdgeClampedProgramOptions | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions/index.html new file mode 100644 index 000000000..2ca72a7d7 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptions/index.html @@ -0,0 +1,19 @@ + + + + + +Type Alias: CreateEdgeDoubleClampedProgramOptions | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction/index.html new file mode 100644 index 000000000..16b1c1fc5 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunction/index.html @@ -0,0 +1,31 @@ + + + + + +Type Alias: EdgeLabelDrawingFunction()\<N, E, G\> | sigma.js + + + + + +

Type Alias: EdgeLabelDrawingFunction()<N, E, G>

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

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>

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType/index.html new file mode 100644 index 000000000..a6d9cc7a8 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramType/index.html @@ -0,0 +1,23 @@ + + + + + +Type Alias: EdgeProgramType\<N, E, G\> | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction/index.html new file mode 100644 index 000000000..fc96bbd40 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunction/index.html @@ -0,0 +1,29 @@ + + + + + +Type Alias: NodeHoverDrawingFunction()\<N, E, G\> | sigma.js + + + + + +

Type Alias: NodeHoverDrawingFunction()<N, E, G>

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction/index.html new file mode 100644 index 000000000..3bfbd34e3 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunction/index.html @@ -0,0 +1,29 @@ + + + + + +Type Alias: NodeLabelDrawingFunction()\<N, E, G\> | sigma.js + + + + + +

Type Alias: NodeLabelDrawingFunction()<N, E, G>

+
+

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

+
+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Parameters

+

context: CanvasRenderingContext2D

+

data: PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "color">

+

settings: Settings<N, E, G>

+

Returns

+

void

+

Defined in

+

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

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType/index.html new file mode 100644 index 000000000..2d1b6e9c0 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramType/index.html @@ -0,0 +1,23 @@ + + + + + +Type Alias: NodeProgramType\<N, E, G\> | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/type-aliases/ProgramType/index.html b/docs/typedoc/sigma/src/rendering/type-aliases/ProgramType/index.html new file mode 100644 index 000000000..9659ca53a --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/type-aliases/ProgramType/index.html @@ -0,0 +1,24 @@ + + + + + +Type Alias: ProgramType\<Uniform, N, E, G\> | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS/index.html b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS/index.html new file mode 100644 index 000000000..d5368d0ec --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_ARROW\_HEAD\_PROGRAM\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS/index.html b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS/index.html new file mode 100644 index 000000000..5287f09c8 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_CLAMPED\_PROGRAM\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS/index.html b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS/index.html new file mode 100644 index 000000000..3ded052c9 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_DOUBLE\_CLAMPED\_PROGRAM\_OPTIONS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram/index.html b/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram/index.html new file mode 100644 index 000000000..73911638d --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeArrowHeadProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram/index.html b/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram/index.html new file mode 100644 index 000000000..b6f4643db --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeArrowProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram/index.html b/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram/index.html new file mode 100644 index 000000000..a8fda6615 --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeClampedProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram/index.html b/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram/index.html new file mode 100644 index 000000000..3cf02407d --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeDoubleArrowProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram/index.html b/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram/index.html new file mode 100644 index 000000000..abfb723db --- /dev/null +++ b/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgram/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: EdgeDoubleClampedProgram | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/functions/resolveSettings/index.html b/docs/typedoc/sigma/src/settings/functions/resolveSettings/index.html new file mode 100644 index 000000000..9ff449c66 --- /dev/null +++ b/docs/typedoc/sigma/src/settings/functions/resolveSettings/index.html @@ -0,0 +1,27 @@ + + + + + +Function: resolveSettings() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/functions/validateSettings/index.html b/docs/typedoc/sigma/src/settings/functions/validateSettings/index.html new file mode 100644 index 000000000..692745977 --- /dev/null +++ b/docs/typedoc/sigma/src/settings/functions/validateSettings/index.html @@ -0,0 +1,27 @@ + + + + + +Function: validateSettings() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/index.html b/docs/typedoc/sigma/src/settings/index.html new file mode 100644 index 000000000..ec04eefee --- /dev/null +++ b/docs/typedoc/sigma/src/settings/index.html @@ -0,0 +1,32 @@ + + + + + +sigma/src/settings | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/interfaces/Settings/index.html b/docs/typedoc/sigma/src/settings/interfaces/Settings/index.html new file mode 100644 index 000000000..3d1ec0c8b --- /dev/null +++ b/docs/typedoc/sigma/src/settings/interfaces/Settings/index.html @@ -0,0 +1,400 @@ + + + + + +Interface: Settings\<N, E, G\> | sigma.js + + + + + +

Interface: Settings<N, E, G>

+

Sigma.js settings

+

Type Parameters

+

N extends Attributes = Attributes

+

E extends Attributes = Attributes

+

G extends Attributes = Attributes

+

Properties

+

allowInvalidContainer

+
+

allowInvalidContainer: boolean

+
+

Defined in

+

sigma/src/settings.ts:102

+
+

antiAliasingFeather

+
+

antiAliasingFeather: number

+
+

Defined in

+

sigma/src/settings.ts:60

+
+

autoCenter

+
+

autoCenter: boolean

+
+

Defined in

+

sigma/src/settings.ts:78

+
+

autoRescale

+
+

autoRescale: boolean

+
+

Defined in

+

sigma/src/settings.ts:77

+
+

cameraPanBoundaries

+
+

cameraPanBoundaries: null | true | AtLeastOne<object>

+
+

Defined in

+

sigma/src/settings.ts:96

+
+

defaultDrawEdgeLabel

+
+

defaultDrawEdgeLabel: EdgeLabelDrawingFunction<N, E, G>

+
+

Defined in

+

sigma/src/settings.ts:56

+
+

defaultDrawNodeHover

+
+

defaultDrawNodeHover: NodeHoverDrawingFunction<N, E, G>

+
+

Defined in

+

sigma/src/settings.ts:58

+
+

defaultDrawNodeLabel

+
+

defaultDrawNodeLabel: NodeLabelDrawingFunction<N, E, G>

+
+

Defined in

+

sigma/src/settings.ts:57

+
+

defaultEdgeColor

+
+

defaultEdgeColor: string

+
+

Defined in

+

sigma/src/settings.ts:45

+
+

defaultEdgeType

+
+

defaultEdgeType: string

+
+

Defined in

+

sigma/src/settings.ts:46

+
+

defaultNodeColor

+
+

defaultNodeColor: string

+
+

Defined in

+

sigma/src/settings.ts:43

+
+

defaultNodeType

+
+

defaultNodeType: string

+
+

Defined in

+

sigma/src/settings.ts:44

+
+

doubleClickTimeout

+
+

doubleClickTimeout: number

+
+

Defined in

+

sigma/src/settings.ts:69

+
+

doubleClickZoomingDuration

+
+

doubleClickZoomingDuration: number

+
+

Defined in

+

sigma/src/settings.ts:71

+
+

doubleClickZoomingRatio

+
+

doubleClickZoomingRatio: number

+
+

Defined in

+

sigma/src/settings.ts:70

+
+

draggedEventsTolerance

+
+

draggedEventsTolerance: number

+
+

Defined in

+

sigma/src/settings.ts:64

+
+

dragTimeout

+
+

dragTimeout: number

+
+

Defined in

+

sigma/src/settings.ts:63

+
+

edgeLabelColor

+
+

edgeLabelColor: object | object

+
+

Defined in

+

sigma/src/settings.ts:54

+
+

edgeLabelFont

+
+

edgeLabelFont: string

+
+

Defined in

+

sigma/src/settings.ts:51

+
+

edgeLabelSize

+
+

edgeLabelSize: number

+
+

Defined in

+

sigma/src/settings.ts:52

+
+

edgeLabelWeight

+
+

edgeLabelWeight: string

+
+

Defined in

+

sigma/src/settings.ts:53

+
+

edgeProgramClasses

+
+

edgeProgramClasses: object

+
+

Index Signature

+

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

+

Defined in

+

sigma/src/settings.ts:107

+
+

edgeReducer

+
+

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

+
+

Defined in

+

sigma/src/settings.ts:87

+
+

enableCameraPanning

+
+

enableCameraPanning: boolean

+
+

Defined in

+

sigma/src/settings.ts:94

+
+

enableCameraRotation

+
+

enableCameraRotation: boolean

+
+

Defined in

+

sigma/src/settings.ts:95

+
+

enableCameraZooming

+
+

enableCameraZooming: boolean

+
+

Defined in

+

sigma/src/settings.ts:93

+
+

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

+
+

inertiaDuration

+
+

inertiaDuration: number

+
+

Defined in

+

sigma/src/settings.ts:65

+
+

inertiaRatio

+
+

inertiaRatio: number

+
+

Defined in

+

sigma/src/settings.ts:66

+
+

itemSizesReference

+
+

itemSizesReference: "screen" | "positions"

+
+

Defined in

+

sigma/src/settings.ts:76

+
+

labelColor

+
+

labelColor: object | object

+
+

Defined in

+

sigma/src/settings.ts:50

+
+

labelDensity

+
+

labelDensity: number

+
+

Defined in

+

sigma/src/settings.ts:81

+
+

labelFont

+
+

labelFont: string

+
+

Defined in

+

sigma/src/settings.ts:47

+
+

labelGridCellSize

+
+

labelGridCellSize: number

+
+

Defined in

+

sigma/src/settings.ts:82

+
+

labelRenderedSizeThreshold

+
+

labelRenderedSizeThreshold: number

+
+

Defined in

+

sigma/src/settings.ts:83

+
+

labelSize

+
+

labelSize: number

+
+

Defined in

+

sigma/src/settings.ts:48

+
+

labelWeight

+
+

labelWeight: string

+
+

Defined in

+

sigma/src/settings.ts:49

+
+

maxCameraRatio

+
+

maxCameraRatio: null | number

+
+

Defined in

+

sigma/src/settings.ts:92

+
+

minCameraRatio

+
+

minCameraRatio: null | number

+
+

Defined in

+

sigma/src/settings.ts:91

+
+

minEdgeThickness

+
+

minEdgeThickness: number

+
+

Defined in

+

sigma/src/settings.ts:59

+
+

nodeHoverProgramClasses

+
+

nodeHoverProgramClasses: object

+
+

Index Signature

+

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

+

Defined in

+

sigma/src/settings.ts:106

+
+

nodeProgramClasses

+
+

nodeProgramClasses: object

+
+

Index Signature

+

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

+

Defined in

+

sigma/src/settings.ts:105

+
+

nodeReducer

+
+

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

+
+

Defined in

+

sigma/src/settings.ts:86

+
+

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:55

+
+

tapMoveTolerance

+
+

tapMoveTolerance: number

+
+

Defined in

+

sigma/src/settings.ts:72

+
+

zIndex

+
+

zIndex: boolean

+
+

Defined in

+

sigma/src/settings.ts:90

+
+

zoomDuration

+
+

zoomDuration: number

+
+

Defined in

+

sigma/src/settings.ts:67

+
+

zoomingRatio

+
+

zoomingRatio: number

+
+

Defined in

+

sigma/src/settings.ts:68

+
+

zoomToSizeRatioFunction()

+
+

zoomToSizeRatioFunction: (ratio) => number

+
+

Parameters

+

ratio: number

+

Returns

+

number

+

Defined in

+

sigma/src/settings.ts:75

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES/index.html b/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES/index.html new file mode 100644 index 000000000..6814899b8 --- /dev/null +++ b/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSES/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_EDGE\_PROGRAM\_CLASSES | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES/index.html b/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES/index.html new file mode 100644 index 000000000..d7afe0bbc --- /dev/null +++ b/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSES/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_NODE\_PROGRAM\_CLASSES | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS/index.html b/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS/index.html new file mode 100644 index 000000000..f3767fc92 --- /dev/null +++ b/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: DEFAULT\_SETTINGS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/animateNodes/index.html b/docs/typedoc/sigma/src/utils/functions/animateNodes/index.html new file mode 100644 index 000000000..0b374401a --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/animateNodes/index.html @@ -0,0 +1,29 @@ + + + + + +Function: animateNodes() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/assign/index.html b/docs/typedoc/sigma/src/utils/functions/assign/index.html new file mode 100644 index 000000000..33cda009a --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/assign/index.html @@ -0,0 +1,27 @@ + + + + + +Function: assign() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/assignDeep/index.html b/docs/typedoc/sigma/src/utils/functions/assignDeep/index.html new file mode 100644 index 000000000..8f4dd272c --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/assignDeep/index.html @@ -0,0 +1,27 @@ + + + + + +Function: assignDeep() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/colorToArray/index.html b/docs/typedoc/sigma/src/utils/functions/colorToArray/index.html new file mode 100644 index 000000000..b170bc2b2 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/colorToArray/index.html @@ -0,0 +1,24 @@ + + + + + +Function: colorToArray() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/colorToIndex/index.html b/docs/typedoc/sigma/src/utils/functions/colorToIndex/index.html new file mode 100644 index 000000000..b8f215483 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/colorToIndex/index.html @@ -0,0 +1,26 @@ + + + + + +Function: colorToIndex() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/createElement/index.html b/docs/typedoc/sigma/src/utils/functions/createElement/index.html new file mode 100644 index 000000000..c0571762b --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/createElement/index.html @@ -0,0 +1,28 @@ + + + + + +Function: createElement() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction/index.html b/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction/index.html new file mode 100644 index 000000000..120928820 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/createNormalizationFunction/index.html @@ -0,0 +1,25 @@ + + + + + +Function: createNormalizationFunction() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/cubicIn/index.html b/docs/typedoc/sigma/src/utils/functions/cubicIn/index.html new file mode 100644 index 000000000..7589932a4 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/cubicIn/index.html @@ -0,0 +1,23 @@ + + + + + +Function: cubicIn() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/cubicInOut/index.html b/docs/typedoc/sigma/src/utils/functions/cubicInOut/index.html new file mode 100644 index 000000000..02d1875ae --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/cubicInOut/index.html @@ -0,0 +1,23 @@ + + + + + +Function: cubicInOut() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/cubicOut/index.html b/docs/typedoc/sigma/src/utils/functions/cubicOut/index.html new file mode 100644 index 000000000..ff02f2e6a --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/cubicOut/index.html @@ -0,0 +1,23 @@ + + + + + +Function: cubicOut() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/extend/index.html b/docs/typedoc/sigma/src/utils/functions/extend/index.html new file mode 100644 index 000000000..27a774f80 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/extend/index.html @@ -0,0 +1,27 @@ + + + + + +Function: extend() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/extractPixel/index.html b/docs/typedoc/sigma/src/utils/functions/extractPixel/index.html new file mode 100644 index 000000000..00959e205 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/extractPixel/index.html @@ -0,0 +1,27 @@ + + + + + +Function: extractPixel() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/floatColor/index.html b/docs/typedoc/sigma/src/utils/functions/floatColor/index.html new file mode 100644 index 000000000..c1fdd9eb8 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/floatColor/index.html @@ -0,0 +1,23 @@ + + + + + +Function: floatColor() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio/index.html b/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio/index.html new file mode 100644 index 000000000..e9e0d133e --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/getCorrectionRatio/index.html @@ -0,0 +1,33 @@ + + + + + +Function: getCorrectionRatio() | sigma.js + + + + + +

Function: 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

+

viewportDimensions

+

viewportDimensions.height: number

+

viewportDimensions.width: number

+

graphDimensions

+

graphDimensions.height: number

+

graphDimensions.width: number

+

Returns

+

number

+

Defined in

+

sigma/src/utils/coordinates.ts:12

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/getMatrixImpact/index.html b/docs/typedoc/sigma/src/utils/functions/getMatrixImpact/index.html new file mode 100644 index 000000000..df72f901e --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/getMatrixImpact/index.html @@ -0,0 +1,40 @@ + + + + + +Function: getMatrixImpact() | sigma.js + + + + + +

Function: 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

+

matrix: Float32Array

+

cameraState: CameraState

+

viewportDimensions: Dimensions

+

Returns

+

number

+

Defined in

+

sigma/src/utils/coordinates.ts:98

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/getPixelColor/index.html b/docs/typedoc/sigma/src/utils/functions/getPixelColor/index.html new file mode 100644 index 000000000..f860164a6 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/getPixelColor/index.html @@ -0,0 +1,28 @@ + + + + + +Function: getPixelColor() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/getPixelRatio/index.html b/docs/typedoc/sigma/src/utils/functions/getPixelRatio/index.html new file mode 100644 index 000000000..33c014f4b --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/getPixelRatio/index.html @@ -0,0 +1,22 @@ + + + + + +Function: getPixelRatio() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/graphExtent/index.html b/docs/typedoc/sigma/src/utils/functions/graphExtent/index.html new file mode 100644 index 000000000..a23971bde --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/graphExtent/index.html @@ -0,0 +1,32 @@ + + + + + +Function: graphExtent() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/identity/index.html b/docs/typedoc/sigma/src/utils/functions/identity/index.html new file mode 100644 index 000000000..07c0dd4cb --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/identity/index.html @@ -0,0 +1,21 @@ + + + + + +Function: identity() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/indexToColor/index.html b/docs/typedoc/sigma/src/utils/functions/indexToColor/index.html new file mode 100644 index 000000000..aed742bbd --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/indexToColor/index.html @@ -0,0 +1,23 @@ + + + + + +Function: indexToColor() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/isPlainObject/index.html b/docs/typedoc/sigma/src/utils/functions/isPlainObject/index.html new file mode 100644 index 000000000..007b04149 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/isPlainObject/index.html @@ -0,0 +1,24 @@ + + + + + +Function: isPlainObject() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/linear/index.html b/docs/typedoc/sigma/src/utils/functions/linear/index.html new file mode 100644 index 000000000..d8eeb12da --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/linear/index.html @@ -0,0 +1,23 @@ + + + + + +Function: linear() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/matrixFromCamera/index.html b/docs/typedoc/sigma/src/utils/functions/matrixFromCamera/index.html new file mode 100644 index 000000000..a4ac75b53 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/matrixFromCamera/index.html @@ -0,0 +1,32 @@ + + + + + +Function: matrixFromCamera() | sigma.js + + + + + +

Function: matrixFromCamera()

+
+

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

+
+

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

+

Parameters

+

state: CameraState

+

viewportDimensions

+

viewportDimensions.height: number

+

viewportDimensions.width: number

+

graphDimensions

+

graphDimensions.height?: number

+

graphDimensions.width?: number

+

padding?: number

+

inverse?: boolean

+

Returns

+

Float32Array

+

Defined in

+

sigma/src/utils/coordinates.ts:34

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/multiply/index.html b/docs/typedoc/sigma/src/utils/functions/multiply/index.html new file mode 100644 index 000000000..a8d7a8a03 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/multiply/index.html @@ -0,0 +1,26 @@ + + + + + +Function: multiply() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/multiplyVec2/index.html b/docs/typedoc/sigma/src/utils/functions/multiplyVec2/index.html new file mode 100644 index 000000000..317998764 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/multiplyVec2/index.html @@ -0,0 +1,25 @@ + + + + + +Function: multiplyVec2() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/parseColor/index.html b/docs/typedoc/sigma/src/utils/functions/parseColor/index.html new file mode 100644 index 000000000..fc0cba2e1 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/parseColor/index.html @@ -0,0 +1,23 @@ + + + + + +Function: parseColor() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/quadraticIn/index.html b/docs/typedoc/sigma/src/utils/functions/quadraticIn/index.html new file mode 100644 index 000000000..1b7db0e59 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/quadraticIn/index.html @@ -0,0 +1,23 @@ + + + + + +Function: quadraticIn() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/quadraticInOut/index.html b/docs/typedoc/sigma/src/utils/functions/quadraticInOut/index.html new file mode 100644 index 000000000..739a265d1 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/quadraticInOut/index.html @@ -0,0 +1,23 @@ + + + + + +Function: quadraticInOut() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/quadraticOut/index.html b/docs/typedoc/sigma/src/utils/functions/quadraticOut/index.html new file mode 100644 index 000000000..45097d68d --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/quadraticOut/index.html @@ -0,0 +1,23 @@ + + + + + +Function: quadraticOut() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/rgbaToFloat/index.html b/docs/typedoc/sigma/src/utils/functions/rgbaToFloat/index.html new file mode 100644 index 000000000..c11396097 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/rgbaToFloat/index.html @@ -0,0 +1,27 @@ + + + + + +Function: rgbaToFloat() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/rotate/index.html b/docs/typedoc/sigma/src/utils/functions/rotate/index.html new file mode 100644 index 000000000..2ac214e34 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/rotate/index.html @@ -0,0 +1,24 @@ + + + + + +Function: rotate() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/scale/index.html b/docs/typedoc/sigma/src/utils/functions/scale/index.html new file mode 100644 index 000000000..af5c9d04b --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/scale/index.html @@ -0,0 +1,25 @@ + + + + + +Function: scale() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/translate/index.html b/docs/typedoc/sigma/src/utils/functions/translate/index.html new file mode 100644 index 000000000..268a37aa3 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/translate/index.html @@ -0,0 +1,25 @@ + + + + + +Function: translate() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/validateGraph/index.html b/docs/typedoc/sigma/src/utils/functions/validateGraph/index.html new file mode 100644 index 000000000..0060ddb1d --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/validateGraph/index.html @@ -0,0 +1,24 @@ + + + + + +Function: validateGraph() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/functions/zIndexOrdering/index.html b/docs/typedoc/sigma/src/utils/functions/zIndexOrdering/index.html new file mode 100644 index 000000000..6c4fd53a6 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/functions/zIndexOrdering/index.html @@ -0,0 +1,29 @@ + + + + + +Function: zIndexOrdering() | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/index.html b/docs/typedoc/sigma/src/utils/index.html new file mode 100644 index 000000000..cd2d4e1f9 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/index.html @@ -0,0 +1,70 @@ + + + + + +sigma/src/utils | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions/index.html b/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions/index.html new file mode 100644 index 000000000..f25c1e073 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/interfaces/AnimateOptions/index.html @@ -0,0 +1,28 @@ + + + + + +Interface: AnimateOptions | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction/index.html b/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction/index.html new file mode 100644 index 000000000..1e95c3fba --- /dev/null +++ b/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunction/index.html @@ -0,0 +1,54 @@ + + + + + +Interface: NormalizationFunction() | sigma.js + + + + + +

Interface: NormalizationFunction()

+

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

+
+

NormalizationFunction(data): Coordinates

+
+

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

+

Parameters

+

data: Coordinates

+

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

+

data: Coordinates

+

Returns

+

void

+

Defined in

+

sigma/src/utils/normalization.ts:10

+
+

inverse()

+
+

inverse(data): Coordinates

+
+

Parameters

+

data: Coordinates

+

Returns

+

Coordinates

+

Defined in

+

sigma/src/utils/normalization.ts:9

+ + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/type-aliases/Easing/index.html b/docs/typedoc/sigma/src/utils/type-aliases/Easing/index.html new file mode 100644 index 000000000..71a7f43c8 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/type-aliases/Easing/index.html @@ -0,0 +1,20 @@ + + + + + +Type Alias: Easing | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS/index.html b/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS/index.html new file mode 100644 index 000000000..b85105a3a --- /dev/null +++ b/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTS/index.html @@ -0,0 +1,28 @@ + + + + + +Variable: ANIMATE\_DEFAULTS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/variables/HTML_COLORS/index.html b/docs/typedoc/sigma/src/utils/variables/HTML_COLORS/index.html new file mode 100644 index 000000000..70f762711 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/variables/HTML_COLORS/index.html @@ -0,0 +1,19 @@ + + + + + +Variable: HTML\_COLORS | sigma.js + + + + + + + + \ No newline at end of file diff --git a/docs/typedoc/sigma/src/utils/variables/easings/index.html b/docs/typedoc/sigma/src/utils/variables/easings/index.html new file mode 100644 index 000000000..5e3d294e8 --- /dev/null +++ b/docs/typedoc/sigma/src/utils/variables/easings/index.html @@ -0,0 +1,21 @@ + + + + + +Variable: easings | sigma.js + + + + + + + + \ 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/layers/sigma-layers.png b/img/layers/sigma-layers.png new file mode 100644 index 000000000..5e1b3719b Binary files /dev/null and b/img/layers/sigma-layers.png differ 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-mastodon.svg b/img/logo-mastodon.svg new file mode 100644 index 000000000..c0f29e684 --- /dev/null +++ b/img/logo-mastodon.svg @@ -0,0 +1 @@ + \ No newline at end of file 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-text.svg b/img/logo-sigma-text.svg new file mode 100644 index 000000000..cce90d743 --- /dev/null +++ b/img/logo-sigma-text.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/thumbnail-bloodhound.png b/img/thumbnail-bloodhound.png new file mode 100644 index 000000000..e93ae57c2 Binary files /dev/null and b/img/thumbnail-bloodhound.png differ 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-helveg.png b/img/thumbnail-helveg.png new file mode 100644 index 000000000..80d740f47 Binary files /dev/null and b/img/thumbnail-helveg.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-kenelyze.png b/img/thumbnail-kenelyze.png new file mode 100644 index 000000000..fc6082da2 Binary files /dev/null and b/img/thumbnail-kenelyze.png differ diff --git a/img/thumbnail-marvel-graphs.png b/img/thumbnail-marvel-graphs.png new file mode 100644 index 000000000..487c268dd Binary files /dev/null and b/img/thumbnail-marvel-graphs.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/img/thumbnail-scovery.png b/img/thumbnail-scovery.png new file mode 100644 index 000000000..4120b537f Binary files /dev/null and b/img/thumbnail-scovery.png differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..cb2fef299 --- /dev/null +++ b/index.html @@ -0,0 +1,502 @@ + + + + + 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

+
+
+
+ +
+
+
+

Kenelyze

+

an interactive network analysis and data visualization platform

+
+
+
+ +
+
+
+

BloodHound

+

a security analysis tool for uncovering hidden Active Directory and Azure relationships

+
+
+
+ +
+
+
+

Scovery

+

a tool for visualizing the digital footprint of companies on the Internet

+
+
+
+ +
+
+
+

MARVEL graphs

+

a website featuring interactive maps of Marvel's characters and creators

+
+
+
+ +
+
+
+

Helveg

+

a tool for visualizing and exploring the structure of C# codebases

+
+
+
+
+
+ + + + + + + + + + diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..f371676d7 --- /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/layersweekly0.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/advanced/sizesweekly0.5https://www.sigmajs.org/docs/category/advanced-topicsweekly0.5https://www.sigmajs.org/docs/category/typedoc-apiweekly0.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/edge-curve/src/weekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/functions/createDrawCurvedEdgeLabelweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/functions/createEdgeCurveProgramweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/functions/indexParallelEdgesIndexweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/type-aliases/CreateEdgeCurveProgramOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/variables/defaultweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVATUREweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/variables/DEFAULT_EDGE_CURVE_PROGRAM_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/variables/DEFAULT_INDEX_PARALLEL_EDGES_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/edge-curve/src/variables/EdgeCurvedArrowProgramweekly0.5https://www.sigmajs.org/docs/typedoc/layer-leaflet/src/weekly0.5https://www.sigmajs.org/docs/typedoc/layer-leaflet/src/functions/defaultweekly0.5https://www.sigmajs.org/docs/typedoc/layer-leaflet/src/functions/graphToLatlngweekly0.5https://www.sigmajs.org/docs/typedoc/layer-leaflet/src/functions/latlngToGraphweekly0.5https://www.sigmajs.org/docs/typedoc/layer-maplibre/src/weekly0.5https://www.sigmajs.org/docs/typedoc/layer-maplibre/src/functions/defaultweekly0.5https://www.sigmajs.org/docs/typedoc/layer-maplibre/src/functions/graphToLatlngweekly0.5https://www.sigmajs.org/docs/typedoc/layer-maplibre/src/functions/latlngToGraphweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/weekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/classes/WebGLLayerProgramweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/functions/bindWebGLLayerweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/functions/createContoursProgramweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/functions/getContoursFragmentShaderweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/type-aliases/ContoursOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerDefinitionweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/type-aliases/WebGLLayerProgramTypeweekly0.5https://www.sigmajs.org/docs/typedoc/layer-webgl/src/variables/DEFAULT_CONTOURS_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/modulesweekly0.5https://www.sigmajs.org/docs/typedoc/node-border/src/weekly0.5https://www.sigmajs.org/docs/typedoc/node-border/src/functions/createNodeBorderProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-border/src/variables/NodeBorderProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-image/src/weekly0.5https://www.sigmajs.org/docs/typedoc/node-image/src/functions/createNodeImageProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-image/src/variables/NodeImageProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-image/src/variables/NodePictogramProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/weekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/functions/createNodePiechartProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/interfaces/CreateNodePiechartProgramOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/type-aliases/NodeSliceColorweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/type-aliases/NodeSliceValueweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/variables/DEFAULT_COLORweekly0.5https://www.sigmajs.org/docs/typedoc/node-piechart/src/variables/DEFAULT_CREATE_NODE_PIECHART_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/node-square/src/weekly0.5https://www.sigmajs.org/docs/typedoc/node-square/src/classes/NodeSquareProgramweekly0.5https://www.sigmajs.org/docs/typedoc/node-square/src/functions/drawSquareNodeHoverweekly0.5https://www.sigmajs.org/docs/typedoc/node-square/src/functions/drawSquareNodeLabelweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/weekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/classes/Cameraweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/classes/MouseCaptorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/classes/Sigmaweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/classes/TouchCaptorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/weekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/AbstractEdgeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/AbstractNodeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/AbstractProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/EdgeLineProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/EdgeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/EdgeRectangleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/EdgeTriangleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/NodeCircleProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/NodePointProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/NodeProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/classes/Programweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowHeadProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeArrowProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeClampedProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeCompoundProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleArrowProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createEdgeDoubleClampedProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/createNodeCompoundProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeHoverweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/drawDiscNodeLabelweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/drawStraightEdgeLabelweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/getAttributeItemsCountweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/getAttributesItemsCountweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/killProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/loadFragmentShaderweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/loadProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/loadVertexShaderweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/functions/numberToGLSLFloatweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/interfaces/InstancedProgramDefinitionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/interfaces/ProgramAttributeSpecificationweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/interfaces/ProgramDefinitionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/interfaces/ProgramInfoweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeArrowHeadProgramOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeClampedProgramOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/CreateEdgeDoubleClampedProgramOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/EdgeLabelDrawingFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/EdgeProgramTypeweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/NodeHoverDrawingFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/NodeLabelDrawingFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/NodeProgramTypeweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/type-aliases/ProgramTypeweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONSweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/EdgeArrowHeadProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/EdgeArrowProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/EdgeClampedProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleArrowProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/rendering/variables/EdgeDoubleClampedProgramweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/weekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/functions/resolveSettingsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/functions/validateSettingsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/interfaces/Settingsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/variables/DEFAULT_EDGE_PROGRAM_CLASSESweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/variables/DEFAULT_NODE_PROGRAM_CLASSESweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/settings/variables/DEFAULT_SETTINGSweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/weekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/animateNodesweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/assignweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/assignDeepweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/colorToArrayweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/colorToIndexweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/createElementweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/createNormalizationFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/cubicInweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/cubicInOutweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/cubicOutweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/extendweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/extractPixelweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/floatColorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/getCorrectionRatioweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/getMatrixImpactweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/getPixelColorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/getPixelRatioweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/graphExtentweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/identityweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/indexToColorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/isPlainObjectweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/linearweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/matrixFromCameraweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/multiplyweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/multiplyVec2weekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/parseColorweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/quadraticInweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/quadraticInOutweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/quadraticOutweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/rgbaToFloatweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/rotateweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/scaleweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/translateweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/validateGraphweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/functions/zIndexOrderingweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/interfaces/AnimateOptionsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/interfaces/NormalizationFunctionweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/type-aliases/Easingweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/variables/ANIMATE_DEFAULTSweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/variables/easingsweekly0.5https://www.sigmajs.org/docs/typedoc/sigma/src/utils/variables/HTML_COLORSweekly0.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-ERTF36HU-B-ogFeV6.js b/storybook/assets/Color-ERTF36HU-B-ogFeV6.js new file mode 100644 index 000000000..da4d08d00 --- /dev/null +++ b/storybook/assets/Color-ERTF36HU-B-ogFeV6.js @@ -0,0 +1 @@ +import{aj as Me,ak as ie,al as Ce,ai as h,am as b,an as $,a4 as ue,a2 as $e,x as Ie,ao as Oe,ap as Ne}from"./chunk-NUUEMKO5-BVg1OFz5.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import"./iframe-NuZR3tEK.js";import"../sb-preview/runtime.js";import"./index-CKIJeAdQ.js";import"./index-DrFu-skq.js";var Se={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=Se,he={};for(const e of Object.keys(F))he[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 de=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,c;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 i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*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 Re(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=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(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,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-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,c[i]=s*255;return c};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),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,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 c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*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,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(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,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*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 c=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 c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*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 X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(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{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(m,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?ut(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function m(){var v=W();if(p(v))return w(v);l=setTimeout(m,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function I(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(m,t),x(c)}return l===void 0&&(l=setTimeout(m,t)),s}return I.cancel=E,I.flush=k,I}var ht=ft;const dt=fe(ht);function O(){return(O=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=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(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var m=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(m?"touchmove":"mousemove",x),E(m?"touchend":"mouseup",j)}return[function(p){var m=p.nativeEvent,w=o.current;if(w&&(ae(m),!function(k,I){return I&&!H(k)}(m,c.current)&&w)){if(H(m)){c.current=!0;var E=m.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,m,l.current)),M(!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}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return b.useEffect(function(){return g},[g]),h.createElement("div",O({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["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},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},bt=function(e){return me(G(e))},G=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}},mt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=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?pt({h:mt(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}},pt=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}},yt=function(e){return wt(be(e))},ge=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)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},be=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),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?me({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}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},me=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}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(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 i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),b.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=b.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?b.useLayoutEffect:b.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.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}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=b.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:bt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,O({},e,{colorModel:Ct}))},It=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["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(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=b.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",O({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(It,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ot={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,O({},e,{colorModel:Ot}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=be(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,O({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ht=$.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"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.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})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Ie.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({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||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\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,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.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{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.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}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>S(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=b.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=b.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(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"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=b.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),m=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ht,null,h.createElement(m,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,I)=>h.createElement(ue,{key:`${k.value}-${I}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},rn=Yt;export{Yt as ColorControl,rn as default}; diff --git a/storybook/assets/DocsRenderer-CFRXHY34-C7SePvzM.js b/storybook/assets/DocsRenderer-CFRXHY34-C7SePvzM.js new file mode 100644 index 000000000..8cbd7b2c2 --- /dev/null +++ b/storybook/assets/DocsRenderer-CFRXHY34-C7SePvzM.js @@ -0,0 +1 @@ +import{D as s,d as a}from"./chunk-NUUEMKO5-BVg1OFz5.js";import"./iframe-NuZR3tEK.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CKIJeAdQ.js";import"./index-DrFu-skq.js";export{s as DocsRenderer,a as defaultComponents}; 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-CrraTPB2.js b/storybook/assets/chroma-CrraTPB2.js new file mode 100644 index 000000000..fcb429879 --- /dev/null +++ b/storybook/assets/chroma-CrraTPB2.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).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);rai.map(i=>d[i]); +var bB=Object.defineProperty;var EB=(e,t,r)=>t in e?bB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Mo=(e,t,r)=>EB(e,typeof t!="symbol"?t+"":t,r);import{_ as T5}from"./iframe-NuZR3tEK.js";import{g as ol,c as ac}from"./_commonjsHelpers-BosuxZz1.js";import{y as d3,D as $p}from"./index-CKIJeAdQ.js";import{d as xB}from"./index-DrFu-skq.js";var MC={exports:{}},r1={},PC={exports:{}},re={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Du=Symbol.for("react.element"),CB=Symbol.for("react.portal"),DB=Symbol.for("react.fragment"),SB=Symbol.for("react.strict_mode"),kB=Symbol.for("react.profiler"),_B=Symbol.for("react.provider"),AB=Symbol.for("react.context"),FB=Symbol.for("react.forward_ref"),$B=Symbol.for("react.suspense"),TB=Symbol.for("react.memo"),IB=Symbol.for("react.lazy"),p3=Symbol.iterator;function RB(e){return e===null||typeof e!="object"?null:(e=p3&&e[p3]||e["@@iterator"],typeof e=="function"?e:null)}var NC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},jC=Object.assign,HC={};function il(e,t,r){this.props=e,this.context=t,this.refs=HC,this.updater=r||NC}il.prototype.isReactComponent={};il.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};il.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function VC(){}VC.prototype=il.prototype;function I5(e,t,r){this.props=e,this.context=t,this.refs=HC,this.updater=r||NC}var R5=I5.prototype=new VC;R5.constructor=I5;jC(R5,il.prototype);R5.isPureReactComponent=!0;var f3=Array.isArray,UC=Object.prototype.hasOwnProperty,z5={current:null},WC={key:!0,ref:!0,__self:!0,__source:!0};function qC(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)UC.call(t,n)&&!WC.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1function(){return t||(0,e[ZC(e)[0]])((t={exports:{}}).exports,t),t.exports},KB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ZC(t))!GB.call(e,a)&&a!==r&&YC(e,a,{get:()=>t[a],enumerable:!(n=WB(t,a))||n.enumerable});return e},YB=(e,t,r)=>(r=e!=null?UB(qB(e)):{},KB(!e||!e.__esModule?YC(r,"default",{value:e,enumerable:!0}):r,e)),Cr=e=>`control-${e.replace(/\s+/g,"-")}`,n1=e=>`set-${e.replace(/\s+/g,"-")}`,ZB=Object.create,L5=Object.defineProperty,XB=Object.getOwnPropertyDescriptor,JB=Object.getOwnPropertyNames,QB=Object.getPrototypeOf,eL=Object.prototype.hasOwnProperty,T=(e,t)=>L5(e,"name",{value:t,configurable:!0}),ic=(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')}),a1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of JB(t))!eL.call(e,a)&&a!==r&&L5(e,a,{get:()=>t[a],enumerable:!(n=XB(t,a))||n.enumerable});return e},O5=(e,t,r)=>(r=e!=null?ZB(QB(e)):{},tL(t||!e||!e.__esModule?L5(r,"default",{value:e,enumerable:!0}):r,e)),rL=a1(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function x(q){return typeof q=="string"||typeof q=="function"||q===a||q===f||q===i||q===o||q===p||q===m||typeof q=="object"&&q!==null&&(q.$$typeof===v||q.$$typeof===g||q.$$typeof===l||q.$$typeof===s||q.$$typeof===h||q.$$typeof===b||q.$$typeof===y||q.$$typeof===E||q.$$typeof===C)}T(x,"isValidElementType");function D(q){if(typeof q=="object"&&q!==null){var tr=q.$$typeof;switch(tr){case r:var Ar=q.type;switch(Ar){case d:case f:case a:case i:case o:case p:return Ar;default:var Fa=Ar&&Ar.$$typeof;switch(Fa){case s:case h:case v:case g:case l:return Fa;default:return tr}}case n:return tr}}}T(D,"typeOf");var S=d,k=f,_=s,A=l,$=r,I=h,O=a,z=v,j=g,M=n,H=i,W=o,B=p,L=!1;function N(q){return L||(L=!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.")),G(q)||D(q)===d}T(N,"isAsyncMode");function G(q){return D(q)===f}T(G,"isConcurrentMode");function J(q){return D(q)===s}T(J,"isContextConsumer");function ne(q){return D(q)===l}T(ne,"isContextProvider");function ae(q){return typeof q=="object"&&q!==null&&q.$$typeof===r}T(ae,"isElement");function U(q){return D(q)===h}T(U,"isForwardRef");function X(q){return D(q)===a}T(X,"isFragment");function ee(q){return D(q)===v}T(ee,"isLazy");function Te(q){return D(q)===g}T(Te,"isMemo");function Ye(q){return D(q)===n}T(Ye,"isPortal");function _r(q){return D(q)===i}T(_r,"isProfiler");function kt(q){return D(q)===o}T(kt,"isStrictMode");function er(q){return D(q)===p}T(er,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=_,e.ContextProvider=A,e.Element=$,e.ForwardRef=I,e.Fragment=O,e.Lazy=z,e.Memo=j,e.Portal=M,e.Profiler=H,e.StrictMode=W,e.Suspense=B,e.isAsyncMode=N,e.isConcurrentMode=G,e.isContextConsumer=J,e.isContextProvider=ne,e.isElement=ae,e.isForwardRef=U,e.isFragment=X,e.isLazy=ee,e.isMemo=Te,e.isPortal=Ye,e.isProfiler=_r,e.isStrictMode=kt,e.isSuspense=er,e.isValidElementType=x,e.typeOf=D})()}),nL=a1((e,t)=>{t.exports=rL()}),XC=a1((e,t)=>{var r=nL(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[r.ForwardRef]=o,l[r.Memo]=i;function s(C){return r.isMemo(C)?i:l[C.$$typeof]||n}T(s,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function v(C,b,y){if(typeof b!="string"){if(g){var E=m(b);E&&E!==g&&v(C,E,y)}var x=f(b);h&&(x=x.concat(h(b)));for(var D=s(C),S=s(b),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return T(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof ic=="function"&⁣if(!f&&h)return h(d,!0);if(l)return l(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}T(i,"s");for(var l=typeof ic=="function"&&ic,s=0;s=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var s;for(s=0;s0&&(y[b]={cacheItem:g,arg:arguments[b]},E?i(h,y):h.push(y),h.length>d&&l(h.shift())),m.wasMemoized=E,m.numArgs=b+1,C},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}T(l,"removeCachedResult");function s(d,f){return d===f||d!==d&&f!==f}T(s,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?je(sl,--Ct):0,Ri--,Ae===10&&(Ri=1,l1--),Ae}T(i9,"prev");function vt(){return Ae=Ct2||zi(Ae)>3?"":" "}T(l9,"whitespace");function s9(e,t){for(;--t&&vt()&&!(Ae<48||Ae>102||Ae>57&&Ae<65||Ae>70&&Ae<97););return ul(e,xs()+(t<6&&hr()==32&&vt()==32))}T(s9,"escaping");function P0(e){for(;vt();)switch(Ae){case e:return Ct;case 34:case 39:e!==34&&e!==39&&P0(Ae);break;case 40:e===41&&P0(e);break;case 92:vt();break}return Ct}T(P0,"delimiter");function u9(e,t){for(;vt()&&e+Ae!==57&&!(e+Ae===84&&hr()===47););return"/*"+ul(t,Ct-1)+"*"+o1(e===47?e:vt())}T(u9,"commenter");function c9(e){for(;!zi(hr());)vt();return ul(e,Ct)}T(c9,"identifier");function d9(e){return W5(Ds("",null,null,null,[""],e=U5(e),0,[0],e))}T(d9,"compile");function Ds(e,t,r,n,a,o,i,l,s){for(var d=0,f=0,h=i,p=0,m=0,g=0,v=1,C=1,b=1,y=0,E="",x=a,D=o,S=n,k=E;C;)switch(g=y,y=vt()){case 40:if(g!=108&&je(k,h-1)==58){M0(k+=le(Cs(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:k+=Cs(y);break;case 9:case 10:case 13:case 32:k+=l9(g);break;case 92:k+=s9(xs()-1,7);continue;case 47:switch(hr()){case 42:case 47:os(p9(u9(vt(),xs()),t,r),s);break;default:k+="/"}break;case 123*v:l[d++]=ur(k)*b;case 125*v:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+f:b==-1&&(k=le(k,/\f/g,"")),m>0&&ur(k)-h&&os(m>32?Pm(k+";",n,r,h-1):Pm(le(k," ","")+";",n,r,h-2),s);break;case 59:k+=";";default:if(os(S=Mm(k,t,r,d,f,a,l,E,x=[],D=[],h),o),y===123)if(f===0)Ds(k,t,S,S,x,o,h,l,D);else switch(p===99&&je(k,3)===110?100:p){case 100:case 108:case 109:case 115:Ds(e,S,S,n&&os(Mm(e,S,S,0,0,a,l,E,a,x=[],h),D),a,D,h,l,n?x:D);break;default:Ds(k,S,S,S,[""],D,0,l,D)}}d=f=m=0,v=b=1,E=k="",h=i;break;case 58:h=1+ur(k),m=g;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&i9()==125)continue}switch(k+=o1(y),y*v){case 38:b=f>0?1:(k+="\f",-1);break;case 44:l[d++]=(ur(k)-1)*b,b=1;break;case 64:hr()===45&&(k+=Cs(vt())),p=hr(),f=h=ur(E=k+=c9(xs())),y++;break;case 45:g===45&&ur(k)==2&&(v=0)}}return o}T(Ds,"parse");function Mm(e,t,r,n,a,o,i,l,s,d,f){for(var h=a-1,p=a===0?o:[""],m=i1(p),g=0,v=0,C=0;g0?p[b]+" "+y:le(y,/&\f/g,p[b])))&&(s[C++]=E);return Su(e,t,r,a===0?j5:l,s,d,f)}T(Mm,"ruleset");function p9(e,t,r){return Su(e,t,r,N5,o1(o9()),Ii(e,2,-2),0)}T(p9,"comment");function Pm(e,t,r,n){return Su(e,t,r,H5,Ii(e,0,n),Ii(e,n+1,-1),n)}T(Pm,"declaration");function to(e,t){for(var r="",n=i1(e),a=0;a-1},"isIgnoringComment"),yL=T(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,l=i.length-1;l>=0;l--){var s=i[l];if(s.line=0;r--)if(!m9(t[r]))return!0;return!1},"isPrependedWithRegularRules"),v3=T(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),bL=T(function(e,t,r){m9(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."),v3(e)):wL(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),v3(e)))},"incorrectImportAlarm");function q5(e,t){switch(t9(e,t)){case 5103:return ue+"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 ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+O0+e+rt+e+e;case 6828:case 4268:return ue+e+rt+e+e;case 6165:return ue+e+rt+"flex-"+e+e;case 5187:return ue+e+le(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+rt+"flex-$1$2")+e;case 5443:return ue+e+rt+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return ue+e+rt+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+rt+le(e,"shrink","negative")+e;case 5292:return ue+e+rt+le(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+le(e,"-grow","")+ue+e+rt+le(e,"grow","positive")+e;case 4554:return ue+le(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+rt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,ue+"$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(ur(e)-1-t>6)switch(je(e,t+1)){case 109:if(je(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+O0+(je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~M0(e,"stretch")?q5(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(je(e,t+1)!==115)break;case 6444:switch(je(e,ur(e)-3-(~M0(e,"!important")&&10))){case 107:return le(e,":",":"+ue)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(je(e,14)===45?"inline-":"")+"box$3$1"+ue+"$2$3$1"+rt+"$2box$3")+e}break;case 5936:switch(je(e,t+11)){case 114:return ue+e+rt+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+rt+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+rt+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+rt+e+e}return e}T(q5,"prefix");var EL=T(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H5:e.return=q5(e.value,e.length);break;case e9:return to([Go(e,{value:le(e.value,"@","@"+ue)})],n);case j5:if(e.length)return n9(e.props,function(a){switch(r9(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return to([Go(e,{props:[le(a,/:(read-\w+)/,":"+O0+"$1")]})],n);case"::placeholder":return to([Go(e,{props:[le(a,/:(plac\w+)/,":"+ue+"input-$1")]}),Go(e,{props:[le(a,/:(plac\w+)/,":"+O0+"$1")]}),Go(e,{props:[le(a,/:(plac\w+)/,rt+"input-$1")]})],n)}return""})}},"prefixer"),xL=[EL],CL=T(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 r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||xL;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),C=1;C=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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)}T(g9,"murmur2");var _L={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},y3=`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`,AL="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",FL=/[A-Z]|^ms/g,v9=/_EMO_([^_]+?)_([^]*?)_EMO_/g,G5=T(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),w3=T(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Ip=M5(function(e){return G5(e)?e:e.replace(FL,"-$&").toLowerCase()}),N0=T(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(v9,function(r,n,a){return Pr={name:n,styles:a,next:Pr},n})}return _L[e]!==1&&!G5(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");b3=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,E3=["normal","none","initial","inherit","unset"],x3=N0,C3=/^-ms-/,D3=/-(.)/g,Rp={},N0=T(function(e,t){if(e==="content"&&(typeof t!="string"||E3.indexOf(t)===-1&&!b3.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 r=x3(e,t);return r!==""&&!G5(e)&&e.indexOf("-")!==-1&&Rp[e]===void 0&&(Rp[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(C3,"ms-").replace(D3,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var b3,E3,x3,C3,D3,Rp,y9="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Bi(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(y9);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Pr={name:r.name,styles:r.styles,next:Pr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Pr={name:n.name,styles:n.styles,next:Pr},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return w9(e,t,r)}case"function":{if(e!==void 0){var o=Pr,i=r(e);return Pr=o,Bi(e,t,i)}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 l=[],s=r.replace(v9,function(f,h,p){var m="animation"+l.length;return l.push("const "+m+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+m+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+s+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+s+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}T(Bi,"handleInterpolation");function w9(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Xr({},e,t)},"getTheme"),RL=m3(function(e){return m3(function(t){return IL(e,t)})}),C9=T(function(e){var t=u.useContext(Dn);return e.theme!==t&&(t=RL(t)(e.theme)),u.createElement(Dn.Provider,{value:t},e.children)},"ThemeProvider");function zL(e){var t=e.displayName||e.name||"Component",r=T(function(a,o){var i=u.useContext(Dn);return u.createElement(e,Xr({theme:i,ref:o},a))},"render"),n=u.forwardRef(r);return n.displayName="WithTheme("+t+")",SL(n,e)}T(zL,"withTheme");var _3="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",A3="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",BL=T(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return u1(t,r,n),K5(function(){return c1(t,r,n)}),null},"Insertion"),LL=d1(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[_3],o=[n],i="";typeof e.className=="string"?i=s1(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var l=Li(o,void 0,u.useContext(Dn));if(l.name.indexOf("-")===-1){var s=e[A3];s&&(l=Li([l,"label:"+s+";"]))}i+=t.key+"-"+l.name;var d={};for(var f in e)TL.call(e,f)&&f!=="css"&&f!==_3&&f!==A3&&(d[f]=e[f]);return d.ref=r,d.className=i,u.createElement(u.Fragment,null,u.createElement(BL,{cache:t,serialized:l,isStringTag:typeof a=="string"}),u.createElement(a,d))});LL.displayName="EmotionCssPropInternal";O5(XC());var OL={name:"@emotion/react",version:"11.11.4",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.3","@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.2","@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"}}}}},F3=!1,ML=d1(function(e,t){!F3&&(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?"),F3=!0);var r=e.styles,n=Li([r],void 0,u.useContext(Dn)),a=u.useRef();return k3(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",o),i.hydrate([s])),a.current=[i,l],function(){i.flush()}},[t]),k3(function(){var o=a.current,i=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&c1(t,n.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});ML.displayName="EmotionGlobal";function p1(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var l in o)o[l]&&l&&(i&&(i+=" "),i+=l)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function D9(e,t,r){var n=[],a=s1(e,n,r);return n.length<2?r:a+t(n)}T(D9,"merge");var NL=T(function(e){var t=e.cache,r=e.serializedArr;return K5(function(){for(var n=0;n96?HL:VL},"getDefaultShouldForwardProp"),I3=T(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),R3=`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`,UL=T(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return u1(t,r,n),K5(function(){return c1(t,r,n)}),null},"Insertion"),WL=T(function e(t,r){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 n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var l=I3(t,r,n),s=l||T3(a),d=!s("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{f[0][0]===void 0&&console.error(R3),h.push(f[0][0]);for(var p=f.length,m=1;m1?a-1:0),i=1;i=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var f=r-o/2,h=l+f,p=s+f,m=d+f;return n(h,p,m)}T(Mi,"hslToRgb");var z3={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 T9(e){if(typeof e!="string")return e;var t=e.toLowerCase();return z3[t]?"#"+z3[t]:e}T(T9,"nameToHex");var KL=/^#[a-fA-F0-9]{6}$/,YL=/^#[a-fA-F0-9]{8}$/,ZL=/^#[a-fA-F0-9]{3}$/,XL=/^#[a-fA-F0-9]{4}$/,Op=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,JL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,QL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,eO=/^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 ku(e){if(typeof e!="string")throw new Vr(3);var t=T9(e);if(t.match(KL))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(YL)){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(ZL))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(XL)){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=Op.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=JL.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=QL.exec(t);if(i){var l=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+Mi(l,s,d)+")",h=Op.exec(f);if(!h)throw new Vr(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=eO.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,C="rgb("+Mi(m,g,v)+")",b=Op.exec(C);if(!b)throw new Vr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Vr(5)}T(ku,"parseToRgb");function I9(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var l,s=a-o,d=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:l=(r-n)/s+(r=1?Us(e,t,r):"rgba("+Mi(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Us(e.hue,e.saturation,e.lightness):"rgba("+Mi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Vr(2)}T(B9,"hsla");function V0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Nm("#"+jn(e)+jn(t)+jn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Nm("#"+jn(e.red)+jn(e.green)+jn(e.blue));throw new Vr(6)}T(V0,"rgb");function Pi(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=ku(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?V0(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?V0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Vr(7)}T(Pi,"rgba");var rO=T(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),nO=T(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),aO=T(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),oO=T(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function J5(e){if(typeof e!="object")throw new Vr(8);if(nO(e))return Pi(e);if(rO(e))return V0(e);if(oO(e))return B9(e);if(aO(e))return z9(e);throw new Vr(8)}T(J5,"toColorString");function Q5(e,t,r){return T(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Q5(e,t,n)},"fn")}T(Q5,"curried");function _u(e){return Q5(e,e.length,[])}T(_u,"curry");function Au(e,t,r){return Math.max(e,Math.min(t,r))}T(Au,"guard");function L9(e,t){if(t==="transparent")return t;var r=X5(t);return J5(Xr({},r,{lightness:Au(0,1,r.lightness-parseFloat(e))}))}T(L9,"darken");var iO=_u(L9),lO=iO;function O9(e,t){if(t==="transparent")return t;var r=X5(t);return J5(Xr({},r,{lightness:Au(0,1,r.lightness+parseFloat(e))}))}T(O9,"lighten");var sO=_u(O9),uO=sO;function M9(e,t){if(t==="transparent")return t;var r=ku(t),n=typeof r.alpha=="number"?r.alpha:1,a=Xr({},r,{alpha:Au(0,1,(n*100+parseFloat(e)*100)/100)});return Pi(a)}T(M9,"opacify");var cO=_u(M9),dO=cO;function P9(e,t){if(t==="transparent")return t;var r=ku(t),n=typeof r.alpha=="number"?r.alpha:1,a=Xr({},r,{alpha:Au(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Pi(a)}T(P9,"transparentize");var pO=_u(P9),fO=pO,K={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"},Hn={app:"#F6F9FC",bar:K.lightest,content:K.lightest,preview:K.lightest,gridCellSize:10,hoverable:fO(.9,K.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Ur={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}},N9=O5(aL(),1),hO=(0,N9.default)(1)(({typography:e})=>({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"}}));(0,N9.default)(1)(({color:e,background:t,typography:r})=>{let n=hO({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var mO={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:K.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Ur.fonts.base,fontCode:Ur.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:K.lightest,inputBorderRadius:4},gO=mO,vO={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Hn.app,appContentBg:K.lightest,appPreviewBg:K.lightest,appBorderColor:K.border,appBorderRadius:4,fontBase:Ur.fonts.base,fontCode:Ur.fonts.mono,textColor:K.darkest,textInverseColor:K.lightest,textMutedColor:K.dark,barTextColor:K.mediumdark,barHoverColor:K.secondary,barSelectedColor:K.secondary,barBg:K.lightest,buttonBg:Hn.app,buttonBorder:K.medium,booleanBg:K.mediumlight,booleanSelectedBg:K.lightest,inputBg:K.lightest,inputBorder:K.border,inputTextColor:K.darkest,inputBorderRadius:4},U0=vO,yO=(()=>{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})();const{logger:wO}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Mp}=yO,bO=T(e=>({color:e}),"mkColor"),EO=T(e=>typeof e!="string"?(wO.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),xO=T(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),CO=T((e,t)=>e==="darken"?Pi(`${lO(1,t)}`,.95):e==="lighten"?Pi(`${uO(1,t)}`,.95):t,"applyPolished"),j9=T(e=>t=>{if(!EO(t)||!xO(t))return t;try{return CO(e,t)}catch{return t}},"colorFactory"),Il=j9("lighten");j9("darken");var H9=T(()=>!Mp||!Mp.matchMedia?"light":Mp.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),jm={light:U0,dark:gO,normal:U0};H9();var DO={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},SO=$n` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,V9=$n` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,kO=$n` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,_O=$n` + 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); } +`,AO=p1` + animation: ${V9} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,FO=p1` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,$O={rotate360:SO,glow:V9,float:kO,jiggle:_O,inlineGlow:AO,hoverable:FO},TO={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"},IO={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"},RO=T(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:bO(n)}),{}),"convertColors"),zO=T(({colors:e,mono:t})=>{let r=RO(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),BO={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},LO={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},OO=T(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:K.tertiary,ancillary:K.ancillary,orange:K.orange,gold:K.gold,green:K.green,seafoam:K.seafoam,purple:K.purple,ultraviolet:K.ultraviolet,lightest:K.lightest,lighter:K.lighter,light:K.light,mediumlight:K.mediumlight,medium:K.medium,mediumdark:K.mediumdark,dark:K.dark,darker:K.darker,darkest:K.darkest,border:K.border,positive:K.positive,negative:K.negative,warning:K.warning,critical:K.critical,defaultText:e.textColor||K.darkest,inverseText:e.textInverseColor||K.lightest,positiveText:K.positiveText,negativeText:K.negativeText,warningText:K.warningText}),"createColors"),Hm=T((e=jm[H9()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:l,appBorderRadius:s,fontBase:d,fontCode:f,textColor:h,textInverseColor:p,barTextColor:m,barHoverColor:g,barSelectedColor:v,barBg:C,buttonBg:b,buttonBorder:y,booleanBg:E,booleanSelectedBg:x,inputBg:D,inputBorder:S,inputTextColor:k,inputBorderRadius:_,brandTitle:A,brandUrl:$,brandImage:I,brandTarget:O,gridCellSize:z,...j}=e;return{...j,base:t,color:OO(e),background:{app:a,bar:C,content:o,preview:i,gridCellSize:z||Hn.gridCellSize,hoverable:Hn.hoverable,positive:Hn.positive,negative:Hn.negative,warning:Hn.warning,critical:Hn.critical},typography:{fonts:{base:d,mono:f},weight:Ur.weight,size:Ur.size},animation:$O,easing:DO,input:{background:D,border:S,borderRadius:_,color:k},button:{background:b||D,border:y||S},boolean:{background:E||S,selectedBackground:x||D},layoutMargin:10,appBorderColor:l,appBorderRadius:s,barTextColor:m,barHoverColor:g||n,barSelectedColor:v||n,barBg:C,brand:{title:A,url:$,image:I||(A?null:void 0),target:O},code:zO({colors:t==="light"?BO:LO,mono:f}),addonActionsTheme:{...t==="light"?IO:TO,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:Ur.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:dO(.2,l),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:Ur.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:MO}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var PO=T(e=>Object.keys(e).length===0,"isEmpty"),Pp=T(e=>e!=null&&typeof e=="object","isObject"),NO=T((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),jO=T(()=>Object.create(null),"makeObjectWithoutPrototype"),U9=T((e,t)=>e===t||!Pp(e)||!Pp(t)?{}:Object.keys(e).reduce((r,n)=>{if(NO(t,n)){let a=U9(e[n],t[n]);return Pp(a)&&PO(a)||(r[n]=a),r}return r[n]=void 0,r},jO()),"deletedDiff"),HO=U9;function W9(e){for(var t=[],r=1;r{if(!e)return Hm(U0);let t=HO(U0,e);return Object.keys(t).length&&MO.warn(W9` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),Hm(e)},"ensure"),Vm="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",q9={exports:{}},Mt={},G9={exports:{}},K9={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(B,L){var N=B.length;B.push(L);e:for(;0>>1,J=B[G];if(0>>1;Ga(U,N))Xa(ee,U)?(B[G]=ee,B[X]=N,G=X):(B[G]=U,B[ae]=N,G=ae);else if(Xa(ee,N))B[G]=ee,B[X]=N,G=X;else break e}}return L}function a(B,L){var N=B.sortIndex-L.sortIndex;return N!==0?N:B.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],d=[],f=1,h=null,p=3,m=!1,g=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var L=r(d);L!==null;){if(L.callback===null)n(d);else if(L.startTime<=B)n(d),L.sortIndex=L.expirationTime,t(s,L);else break;L=r(d)}}function x(B){if(v=!1,E(B),!g)if(r(s)!==null)g=!0,H(D);else{var L=r(d);L!==null&&W(x,L.startTime-B)}}function D(B,L){g=!1,v&&(v=!1,b(_),_=-1),m=!0;var N=p;try{for(E(L),h=r(s);h!==null&&(!(h.expirationTime>L)||B&&!I());){var G=h.callback;if(typeof G=="function"){h.callback=null,p=h.priorityLevel;var J=G(h.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?h.callback=J:h===r(s)&&n(s),E(L)}else n(s);h=r(s)}if(h!==null)var ne=!0;else{var ae=r(d);ae!==null&&W(x,ae.startTime-L),ne=!1}return ne}finally{h=null,p=N,m=!1}}var S=!1,k=null,_=-1,A=5,$=-1;function I(){return!(e.unstable_now()-$B||125G?(B.sortIndex=N,t(d,B),r(s)===null&&B===r(d)&&(v?(b(_),_=-1):v=!0,W(x,N-G))):(B.sortIndex=J,t(s,B),g||m||(g=!0,H(D))),B},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(B){var L=p;return function(){var N=p;p=L;try{return B.apply(this,arguments)}finally{p=N}}}})(K9);G9.exports=K9;var UO=G9.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 WO=u,Bt=UO;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Um=Object.prototype.hasOwnProperty,qO=/^[: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]*$/,B3={},L3={};function GO(e){return Um.call(L3,e)?!0:Um.call(B3,e)?!1:qO.test(e)?L3[e]=!0:(B3[e]=!0,!1)}function KO(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function YO(e,t,r,n){if(t===null||typeof t>"u"||KO(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 ht(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ge[e]=new ht(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ge[t]=new ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ge[e]=new ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ge[e]=new ht(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){Ge[e]=new ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ge[e]=new ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ge[e]=new ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ge[e]=new ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ge[e]=new ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var ev=/[\-:]([a-z])/g;function tv(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(ev,tv);Ge[t]=new ht(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(ev,tv);Ge[t]=new ht(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(ev,tv);Ge[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ge[e]=new ht(e,1,!1,e.toLowerCase(),null,!1,!1)});Ge.xlinkHref=new ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ge[e]=new ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function rv(e,t,r,n){var a=Ge.hasOwnProperty(t)?Ge[t]:null;(a!==null?a.type!==0:n||!(2l||a[i]!==o[l]){var s=` +`+a[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{jp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?is(e):""}function ZO(e){switch(e.tag){case 5:return is(e.type);case 16:return is("Lazy");case 13:return is("Suspense");case 19:return is("SuspenseList");case 0:case 2:case 15:return e=Hp(e.type,!1),e;case 11:return e=Hp(e.type.render,!1),e;case 1:return e=Hp(e.type,!0),e;default:return""}}function Km(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 ti:return"Fragment";case ei:return"Portal";case Wm:return"Profiler";case nv:return"StrictMode";case qm:return"Suspense";case Gm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case X9:return(e.displayName||"Context")+".Consumer";case Z9:return(e._context.displayName||"Context")+".Provider";case av:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ov:return t=e.displayName||null,t!==null?t:Km(e.type)||"Memo";case Vn:t=e._payload,e=e._init;try{return Km(e(t))}catch{}}return null}function XO(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 Km(t);case 8:return t===nv?"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 ca(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Q9(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function JO(e){var t=Q9(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sc(e){e._valueTracker||(e._valueTracker=JO(e))}function eD(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Q9(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function W0(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 Ym(e,t){var r=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function M3(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ca(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function tD(e,t){t=t.checked,t!=null&&rv(e,"checked",t,!1)}function Zm(e,t){tD(e,t);var r=ca(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xm(e,t.type,r):t.hasOwnProperty("defaultValue")&&Xm(e,t.type,ca(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function P3(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Xm(e,t,r){(t!=="number"||W0(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ls=Array.isArray;function hi(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=uc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qs(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ss={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},QO=["Webkit","ms","Moz","O"];Object.keys(Ss).forEach(function(e){QO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ss[t]=Ss[e]})});function oD(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ss.hasOwnProperty(e)&&Ss[e]?(""+t).trim():t+"px"}function iD(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=oD(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var eM=xe({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 eg(e,t){if(t){if(eM[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function tg(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 rg=null;function iv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ng=null,mi=null,gi=null;function H3(e){if(e=Tu(e)){if(typeof ng!="function")throw Error(P(280));var t=e.stateNode;t&&(t=v1(t),ng(e.stateNode,e.type,t))}}function lD(e){mi?gi?gi.push(e):gi=[e]:mi=e}function sD(){if(mi){var e=mi,t=gi;if(gi=mi=null,H3(e),t)for(e=0;e>>=0,e===0?32:31-(dM(e)/pM|0)|0}var cc=64,dc=4194304;function ss(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 Y0(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var l=i&~a;l!==0?n=ss(l):(o&=i,o!==0&&(n=ss(o)))}else i=r&~a,i!==0?n=ss(i):o!==0&&(n=ss(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Fu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mr(t),e[t]=r}function gM(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0=_s),X3=" ",J3=!1;function AD(e,t){switch(e){case"keyup":return UM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function FD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ri=!1;function qM(e,t){switch(e){case"compositionend":return FD(t);case"keypress":return t.which!==32?null:(J3=!0,X3);case"textInput":return e=t.data,e===X3&&J3?null:e;default:return null}}function GM(e,t){if(ri)return e==="compositionend"||!hv&&AD(e,t)?(e=kD(),l0=dv=Xn=null,ri=!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:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=rw(r)}}function RD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?RD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zD(){for(var e=window,t=W0();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=W0(e.document)}return t}function mv(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 rP(e){var t=zD(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&RD(r.ownerDocument.documentElement,r)){if(n!==null&&mv(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=nw(r,o);var i=nw(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ni=null,ug=null,Fs=null,cg=!1;function aw(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;cg||ni==null||ni!==W0(n)||(n=ni,"selectionStart"in n&&mv(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Fs&&Js(Fs,n)||(Fs=n,n=J0(ug,"onSelect"),0ii||(e.current=gg[ii],gg[ii]=null,ii--)}function pe(e,t){ii++,gg[ii]=e.current,e.current=t}var da={},at=ba(da),yt=ba(!1),lo=da;function ji(e,t){var r=e.type.contextTypes;if(!r)return da;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function wt(e){return e=e.childContextTypes,e!=null}function ed(){ge(yt),ge(at)}function dw(e,t,r){if(at.current!==da)throw Error(P(168));pe(at,t),pe(yt,r)}function VD(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(P(108,XO(e)||"Unknown",a));return xe({},r,n)}function td(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,lo=at.current,pe(at,e),pe(yt,yt.current),!0}function pw(e,t,r){var n=e.stateNode;if(!n)throw Error(P(169));r?(e=VD(e,t,lo),n.__reactInternalMemoizedMergedChildContext=e,ge(yt),ge(at),pe(at,e)):ge(yt),pe(yt,r)}var yn=null,y1=!1,rf=!1;function UD(e){yn===null?yn=[e]:yn.push(e)}function hP(e){y1=!0,UD(e)}function Ea(){if(!rf&&yn!==null){rf=!0;var e=0,t=ce;try{var r=yn;for(ce=1;e>=i,a-=i,wn=1<<32-mr(t)+a|r<_?(A=k,k=null):A=k.sibling;var $=p(b,k,E[_],x);if($===null){k===null&&(k=A);break}e&&k&&$.alternate===null&&t(b,k),y=o($,y,_),S===null?D=$:S.sibling=$,S=$,k=A}if(_===E.length)return r(b,k),ye&&Pa(b,_),D;if(k===null){for(;__?(A=k,k=null):A=k.sibling;var I=p(b,k,$.value,x);if(I===null){k===null&&(k=A);break}e&&k&&I.alternate===null&&t(b,k),y=o(I,y,_),S===null?D=I:S.sibling=I,S=I,k=A}if($.done)return r(b,k),ye&&Pa(b,_),D;if(k===null){for(;!$.done;_++,$=E.next())$=h(b,$.value,x),$!==null&&(y=o($,y,_),S===null?D=$:S.sibling=$,S=$);return ye&&Pa(b,_),D}for(k=n(b,k);!$.done;_++,$=E.next())$=m(k,b,_,$.value,x),$!==null&&(e&&$.alternate!==null&&k.delete($.key===null?_:$.key),y=o($,y,_),S===null?D=$:S.sibling=$,S=$);return e&&k.forEach(function(O){return t(b,O)}),ye&&Pa(b,_),D}function C(b,y,E,x){if(typeof E=="object"&&E!==null&&E.type===ti&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case lc:e:{for(var D=E.key,S=y;S!==null;){if(S.key===D){if(D=E.type,D===ti){if(S.tag===7){r(b,S.sibling),y=a(S,E.props.children),y.return=b,b=y;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Vn&&mw(D)===S.type){r(b,S.sibling),y=a(S,E.props),y.ref=Ml(b,S,E),y.return=b,b=y;break e}r(b,S);break}else t(b,S);S=S.sibling}E.type===ti?(y=no(E.props.children,b.mode,x,E.key),y.return=b,b=y):(x=m0(E.type,E.key,E.props,null,b.mode,x),x.ref=Ml(b,y,E),x.return=b,b=x)}return i(b);case ei:e:{for(S=E.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){r(b,y.sibling),y=a(y,E.children||[]),y.return=b,b=y;break e}else{r(b,y);break}else t(b,y);y=y.sibling}y=df(E,b.mode,x),y.return=b,b=y}return i(b);case Vn:return S=E._init,C(b,y,S(E._payload),x)}if(ls(E))return g(b,y,E,x);if(Rl(E))return v(b,y,E,x);yc(b,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(r(b,y.sibling),y=a(y,E),y.return=b,b=y):(r(b,y),y=cf(E,b.mode,x),y.return=b,b=y),i(b)):r(b,y)}return C}var Vi=KD(!0),YD=KD(!1),ad=ba(null),od=null,ui=null,wv=null;function bv(){wv=ui=od=null}function Ev(e){var t=ad.current;ge(ad),e._currentValue=t}function wg(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function wi(e,t){od=e,wv=ui=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(gt=!0),e.firstContext=null)}function Kt(e){var t=e._currentValue;if(wv!==e)if(e={context:e,memoizedValue:t,next:null},ui===null){if(od===null)throw Error(P(308));ui=e,od.dependencies={lanes:0,firstContext:e}}else ui=ui.next=e;return t}var Ga=null;function xv(e){Ga===null?Ga=[e]:Ga.push(e)}function ZD(e,t,r,n){var a=t.interleaved;return a===null?(r.next=r,xv(t)):(r.next=a.next,a.next=r),t.interleaved=r,_n(e,n)}function _n(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Un=!1;function Cv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function XD(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function En(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function na(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ie&2){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,_n(e,r)}return a=n.interleaved,a===null?(t.next=t,xv(n)):(t.next=a.next,a.next=t),n.interleaved=t,_n(e,r)}function u0(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,sv(e,r)}}function gw(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var a=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?a=o=i:o=o.next=i,r=r.next}while(r!==null);o===null?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function id(e,t,r,n){var a=e.updateQueue;Un=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(l!==null){a.shared.pending=null;var s=l,d=s.next;s.next=null,i===null?o=d:i.next=d,i=s;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==i&&(l===null?f.firstBaseUpdate=d:l.next=d,f.lastBaseUpdate=s))}if(o!==null){var h=a.baseState;i=0,f=d=s=null,l=o;do{var p=l.lane,m=l.eventTime;if((n&p)===p){f!==null&&(f=f.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,v=l;switch(p=t,m=r,v.tag){case 1:if(g=v.payload,typeof g=="function"){h=g.call(m,h,p);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,p=typeof g=="function"?g.call(m,h,p):g,p==null)break e;h=xe({},h,p);break e;case 2:Un=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=a.effects,p===null?a.effects=[l]:p.push(l))}else m={eventTime:m,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(d=f=m,s=h):f=f.next=m,i|=p;if(l=l.next,l===null){if(l=a.shared.pending,l===null)break;p=l,l=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);if(f===null&&(s=h),a.baseState=s,a.firstBaseUpdate=d,a.lastBaseUpdate=f,t=a.shared.interleaved,t!==null){a=t;do i|=a.lane,a=a.next;while(a!==t)}else o===null&&(a.shared.lanes=0);co|=i,e.lanes=i,e.memoizedState=h}}function vw(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=af.transition;af.transition={};try{e(!1),t()}finally{ce=r,af.transition=n}}function hS(){return Yt().memoizedState}function yP(e,t,r){var n=oa(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},mS(e))gS(t,r);else if(r=ZD(e,t,r,n),r!==null){var a=ut();gr(r,e,n,a),vS(r,t,n)}}function wP(e,t,r){var n=oa(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(mS(e))gS(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,l=o(i,r);if(a.hasEagerState=!0,a.eagerState=l,yr(l,i)){var s=t.interleaved;s===null?(a.next=a,xv(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch{}finally{}r=ZD(e,t,a,n),r!==null&&(a=ut(),gr(r,e,n,a),vS(r,t,n))}}function mS(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function gS(e,t){$s=sd=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function vS(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,sv(e,r)}}var ud={readContext:Kt,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useInsertionEffect:Xe,useLayoutEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useMutableSource:Xe,useSyncExternalStore:Xe,useId:Xe,unstable_isNewReconciler:!1},bP={readContext:Kt,useCallback:function(e,t){return Lr().memoizedState=[e,t===void 0?null:t],e},useContext:Kt,useEffect:ww,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,d0(4194308,4,uS.bind(null,t,e),r)},useLayoutEffect:function(e,t){return d0(4194308,4,e,t)},useInsertionEffect:function(e,t){return d0(4,2,e,t)},useMemo:function(e,t){var r=Lr();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Lr();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=yP.bind(null,Ee,e),[n.memoizedState,e]},useRef:function(e){var t=Lr();return e={current:e},t.memoizedState=e},useState:yw,useDebugValue:Tv,useDeferredValue:function(e){return Lr().memoizedState=e},useTransition:function(){var e=yw(!1),t=e[0];return e=vP.bind(null,e[1]),Lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ee,a=Lr();if(ye){if(r===void 0)throw Error(P(407));r=r()}else{if(r=t(),Ve===null)throw Error(P(349));uo&30||tS(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,ww(nS.bind(null,n,o,e),[e]),n.flags|=2048,iu(9,rS.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=Lr(),t=Ve.identifierPrefix;if(ye){var r=bn,n=wn;r=(n&~(1<<32-mr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=au++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[jr]=t,e[tu]=n,_S(e,t,!1,!1),t.stateNode=e;e:{switch(i=tg(r,n),r){case"dialog":fe("cancel",e),fe("close",e),a=n;break;case"iframe":case"object":case"embed":fe("load",e),a=n;break;case"video":case"audio":for(a=0;aqi&&(t.flags|=128,n=!0,Pl(o,!1),t.lanes=4194304)}else{if(!n)if(e=ld(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Pl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!ye)return Je(t),null}else 2*ke()-o.renderingStartTime>qi&&r!==1073741824&&(t.flags|=128,n=!0,Pl(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ke(),t.sibling=null,r=be.current,pe(be,n?r&1|2:r&1),t):(Je(t),null);case 22:case 23:return Ov(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ft&1073741824&&(Je(t),t.subtreeFlags&6&&(t.flags|=8192)):Je(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function AP(e,t){switch(vv(t),t.tag){case 1:return wt(t.type)&&ed(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ui(),ge(yt),ge(at),kv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Sv(t),null;case 13:if(ge(be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Hi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(be),null;case 4:return Ui(),null;case 10:return Ev(t.type._context),null;case 22:case 23:return Ov(),null;case 24:return null;default:return null}}var bc=!1,nt=!1,FP=typeof WeakSet=="function"?WeakSet:Set,V=null;function ci(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ce(e,t,n)}else r.current=null}function Ag(e,t,r){try{r()}catch(n){Ce(e,t,n)}}var $w=!1;function $P(e,t){if(dg=Z0,e=zD(),mv(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,l=-1,s=-1,d=0,f=0,h=e,p=null;t:for(;;){for(var m;h!==r||a!==0&&h.nodeType!==3||(l=i+a),h!==o||n!==0&&h.nodeType!==3||(s=i+n),h.nodeType===3&&(i+=h.nodeValue.length),(m=h.firstChild)!==null;)p=h,h=m;for(;;){if(h===e)break t;if(p===r&&++d===a&&(l=i),p===o&&++f===n&&(s=i),(m=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=m}r=l===-1||s===-1?null:{start:l,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(pg={focusedElem:e,selectionRange:r},Z0=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,C=g.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:lr(t.type,v),C);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){Ce(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return g=$w,$w=!1,g}function Ts(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&Ag(t,r,o)}a=a.next}while(a!==n)}}function E1(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Fg(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function $S(e){var t=e.alternate;t!==null&&(e.alternate=null,$S(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jr],delete t[tu],delete t[mg],delete t[pP],delete t[fP])),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 TS(e){return e.tag===5||e.tag===3||e.tag===4}function Tw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||TS(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 $g(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Q0));else if(n!==4&&(e=e.child,e!==null))for($g(e,t,r),e=e.sibling;e!==null;)$g(e,t,r),e=e.sibling}function Tg(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Tg(e,t,r),e=e.sibling;e!==null;)Tg(e,t,r),e=e.sibling}var Ue=null,sr=!1;function Bn(e,t,r){for(r=r.child;r!==null;)IS(e,t,r),r=r.sibling}function IS(e,t,r){if(Gr&&typeof Gr.onCommitFiberUnmount=="function")try{Gr.onCommitFiberUnmount(f1,r)}catch{}switch(r.tag){case 5:nt||ci(r,t);case 6:var n=Ue,a=sr;Ue=null,Bn(e,t,r),Ue=n,sr=a,Ue!==null&&(sr?(e=Ue,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ue.removeChild(r.stateNode));break;case 18:Ue!==null&&(sr?(e=Ue,r=r.stateNode,e.nodeType===8?tf(e.parentNode,r):e.nodeType===1&&tf(e,r),Zs(e)):tf(Ue,r.stateNode));break;case 4:n=Ue,a=sr,Ue=r.stateNode.containerInfo,sr=!0,Bn(e,t,r),Ue=n,sr=a;break;case 0:case 11:case 14:case 15:if(!nt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ag(r,t,i),a=a.next}while(a!==n)}Bn(e,t,r);break;case 1:if(!nt&&(ci(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){Ce(r,t,l)}Bn(e,t,r);break;case 21:Bn(e,t,r);break;case 22:r.mode&1?(nt=(n=nt)||r.memoizedState!==null,Bn(e,t,r),nt=n):Bn(e,t,r);break;default:Bn(e,t,r)}}function Iw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new FP),t.forEach(function(n){var a=PP.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function nr(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=ke()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*IP(n/1960))-n,10e?16:e,Jn===null)var n=!1;else{if(e=Jn,Jn=null,pd=0,ie&6)throw Error(P(331));var a=ie;for(ie|=4,V=e.current;V!==null;){var o=V,i=o.child;if(V.flags&16){var l=o.deletions;if(l!==null){for(var s=0;ske()-Bv?ro(e,0):zv|=r),bt(e,t)}function NS(e,t){t===0&&(e.mode&1?(t=dc,dc<<=1,!(dc&130023424)&&(dc=4194304)):t=1);var r=ut();e=_n(e,t),e!==null&&(Fu(e,t,r),bt(e,r))}function MP(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),NS(e,r)}function PP(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(P(314))}n!==null&&n.delete(t),NS(e,r)}var jS;jS=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||yt.current)gt=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return gt=!1,kP(e,t,r);gt=!!(e.flags&131072)}else gt=!1,ye&&t.flags&1048576&&WD(t,nd,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;p0(e,t),e=t.pendingProps;var a=ji(t,at.current);wi(t,r),a=Av(null,t,n,e,a,r);var o=Fv();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(n)?(o=!0,td(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Cv(t),a.updater=b1,t.stateNode=a,a._reactInternals=t,Eg(t,n,e,r),t=Dg(null,t,n,!0,o,r)):(t.tag=0,ye&&o&&gv(t),st(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(p0(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=jP(n),e=lr(n,e),a){case 0:t=Cg(null,t,n,e,r);break e;case 1:t=_w(null,t,n,e,r);break e;case 11:t=Sw(null,t,n,e,r);break e;case 14:t=kw(null,t,n,lr(n.type,e),r);break e}throw Error(P(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:lr(n,a),Cg(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:lr(n,a),_w(e,t,n,a,r);case 3:e:{if(DS(t),e===null)throw Error(P(387));n=t.pendingProps,o=t.memoizedState,a=o.element,XD(e,t),id(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Wi(Error(P(423)),t),t=Aw(e,t,n,r,a);break e}else if(n!==a){a=Wi(Error(P(424)),t),t=Aw(e,t,n,r,a);break e}else for(Tt=ra(t.stateNode.containerInfo.firstChild),It=t,ye=!0,cr=null,r=YD(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Hi(),n===a){t=An(e,t,r);break e}st(e,t,n,r)}t=t.child}return t;case 5:return JD(t),e===null&&yg(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,fg(n,a)?i=null:o!==null&&fg(n,o)&&(t.flags|=32),CS(e,t),st(e,t,i,r),t.child;case 6:return e===null&&yg(t),null;case 13:return SS(e,t,r);case 4:return Dv(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Vi(t,null,n,r):st(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:lr(n,a),Sw(e,t,n,a,r);case 7:return st(e,t,t.pendingProps,r),t.child;case 8:return st(e,t,t.pendingProps.children,r),t.child;case 12:return st(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,pe(ad,n._currentValue),n._currentValue=i,o!==null)if(yr(o.value,i)){if(o.children===a.children&&!yt.current){t=An(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){i=o.child;for(var s=l.firstContext;s!==null;){if(s.context===n){if(o.tag===1){s=En(-1,r&-r),s.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var f=d.pending;f===null?s.next=s:(s.next=f.next,f.next=s),d.pending=s}}o.lanes|=r,s=o.alternate,s!==null&&(s.lanes|=r),wg(o.return,r,t),l.lanes|=r;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(P(341));i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),wg(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}st(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,wi(t,r),a=Kt(a),n=n(a),t.flags|=1,st(e,t,n,r),t.child;case 14:return n=t.type,a=lr(n,t.pendingProps),a=lr(n.type,a),kw(e,t,n,a,r);case 15:return ES(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:lr(n,a),p0(e,t),t.tag=1,wt(n)?(e=!0,td(t)):e=!1,wi(t,r),yS(t,n,a),Eg(t,n,a,r),Dg(null,t,n,!0,e,r);case 19:return kS(e,t,r);case 22:return xS(e,t,r)}throw Error(P(156,t.tag))};function HS(e,t){return mD(e,t)}function NP(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vt(e,t,r,n){return new NP(e,t,r,n)}function Pv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jP(e){if(typeof e=="function")return Pv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===av)return 11;if(e===ov)return 14}return 2}function ia(e,t){var r=e.alternate;return r===null?(r=Vt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function m0(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")Pv(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ti:return no(r.children,a,o,t);case nv:i=8,a|=8;break;case Wm:return e=Vt(12,r,t,a|2),e.elementType=Wm,e.lanes=o,e;case qm:return e=Vt(13,r,t,a),e.elementType=qm,e.lanes=o,e;case Gm:return e=Vt(19,r,t,a),e.elementType=Gm,e.lanes=o,e;case J9:return C1(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z9:i=10;break e;case X9:i=9;break e;case av:i=11;break e;case ov:i=14;break e;case Vn:i=16,n=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Vt(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function no(e,t,r,n){return e=Vt(7,e,n,t),e.lanes=r,e}function C1(e,t,r,n){return e=Vt(22,e,n,t),e.elementType=J9,e.lanes=r,e.stateNode={isHidden:!1},e}function cf(e,t,r){return e=Vt(6,e,null,t),e.lanes=r,e}function df(e,t,r){return t=Vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function HP(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Up(0),this.expirationTimes=Up(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Up(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Nv(e,t,r,n,a,o,i,l,s){return e=new HP(e,t,r,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Vt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cv(o),e}function VP(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qS)}catch(e){console.error(e)}}qS(),q9.exports=Mt;var pl=q9.exports;const GS=ol(pl);var KP=Object.create,KS=Object.defineProperty,YP=Object.getOwnPropertyDescriptor,ZP=Object.getOwnPropertyNames,XP=Object.getPrototypeOf,JP=Object.prototype.hasOwnProperty,QP=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),eN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ZP(t))!JP.call(e,a)&&a!==r&&KS(e,a,{get:()=>t[a],enumerable:!(n=YP(t,a))||n.enumerable});return e},tN=(e,t,r)=>(r=e!=null?KP(XP(e)):{},eN(!e||!e.__esModule?KS(r,"default",{value:e,enumerable:!0}):r,e)),rN=QP(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(l,s,d){var f,h,p,m=t.call(l),g=t.call(s);if(l===s)return!0;if(l==null||s==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(s)>-1)return!0;if(d.push(l,s),m!=g||(f=n(l),h=n(s),f.length!=h.length||f.some(function(v){return!i(l[v],s[v],d)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==s.valueOf();case"Date":case"Number":return+l==+s||+l!=+l&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+s;case"Set":case"Map":f=l.entries(),h=s.entries();do if(!i((p=f.next()).value,h.next().value,d))return!1;while(!p.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),s=new Uint8Array(s);case"DataView":l=new Uint8Array(l.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=s.length)return!1;for(p=0;pe.map(t=>typeof t<"u").filter(Boolean).length,nN=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(YS([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,Nw.isEqual)(t,n);if(typeof a<"u")return!(0,Nw.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},aN=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(YS([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return nN(e.if,o)},ZS=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),oN=Object.create,A1=Object.defineProperty,iN=Object.getOwnPropertyDescriptor,lN=Object.getOwnPropertyNames,sN=Object.getPrototypeOf,uN=Object.prototype.hasOwnProperty,c=(e,t)=>A1(e,"name",{value:t,configurable:!0}),Cc=(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')}),R=(e,t)=>()=>(e&&(t=e(e=0)),t),Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fl=(e,t)=>{for(var r in t)A1(e,r,{get:t[r],enumerable:!0})},cN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lN(t))!uN.call(e,a)&&a!==r&&A1(e,a,{get:()=>t[a],enumerable:!(n=iN(t,a))||n.enumerable});return e},Ke=(e,t,r)=>(r=e!=null?oN(sN(e)):{},cN(t||!e||!e.__esModule?A1(r,"default",{value:e,enumerable:!0}):r,e));function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(se,"_extends")});function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var dN=R(()=>{c(XS,"_assertThisInitialized")});function Gi(e,t){return Gi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Gi(e,t)}var Uv=R(()=>{c(Gi,"_setPrototypeOf")});function md(e){return md=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},md(e)}var pN=R(()=>{c(md,"_getPrototypeOf")}),F1,Wv=R(()=>{F1=(()=>{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})()}),$1=Z((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof Cc=="function"&&Cc;if(!f&&h)return h(d,!0);if(l)return l(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}c(i,"s");for(var l=typeof Cc=="function"&&Cc,s=0;s=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var s;for(s=0;s0&&(y[b]={cacheItem:g,arg:arguments[b]},E?i(h,y):h.push(y),h.length>d&&l(h.shift())),m.wasMemoized=E,m.numArgs=b+1,C},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}c(l,"removeCachedResult");function s(d,f){return d===f||d!==d&&f!==f}c(s,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function T1(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var qv=R(()=>{c(T1,"_objectWithoutPropertiesLoose")});function JS(e,t){if(e==null)return{};var r,n,a=T1(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var fN=R(()=>{qv(),c(JS,"_objectWithoutProperties")});function gd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(gd,"_arrayLikeToArray")});function ek(e){if(Array.isArray(e))return gd(e)}var hN=R(()=>{QS(),c(ek,"_arrayWithoutHoles")});function tk(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var mN=R(()=>{c(tk,"_iterableToArray")});function rk(e,t){if(e){if(typeof e=="string")return gd(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gd(e,t):void 0}}var gN=R(()=>{QS(),c(rk,"_unsupportedIterableToArray")});function nk(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var vN=R(()=>{c(nk,"_nonIterableSpread")});function ak(e){return ek(e)||tk(e)||rk(e)||nk()}var yN=R(()=>{hN(),mN(),gN(),vN(),c(ak,"_toConsumableArray")});function Ki(e){"@babel/helpers - typeof";return Ki=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},Ki(e)}var ok=R(()=>{c(Ki,"_typeof")});function ik(e,t){if(Ki(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ki(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var wN=R(()=>{ok(),c(ik,"toPrimitive")});function lk(e){var t=ik(e,"string");return Ki(t)=="symbol"?t:t+""}var bN=R(()=>{ok(),wN(),c(lk,"toPropertyKey")});function Gv(e,t,r){return(t=lk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sk=R(()=>{bN(),c(Gv,"_defineProperty")});function Lg(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 Ya(e){for(var t=1;t=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])]}function ck(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return g0[t]||(g0[t]=uk(e)),g0[t]}function dk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=ck(n);return a.reduce(function(o,i){return Ya(Ya({},o),r[i])},t)}function Og(e){return e.join(" ")}function pk(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return I1({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function I1(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,l=t.properties,s=t.type,d=t.tagName,f=t.value;if(s==="text")return f;if(d){var h=pk(r,o),p;if(!o)p=Ya(Ya({},l),{},{className:Og(l.className)});else{var m=Object.keys(r).reduce(function(b,y){return y.split(".").forEach(function(E){b.includes(E)||b.push(E)}),b},[]),g=l.className&&l.className.includes("token")?["token"]:[],v=l.className&&g.concat(l.className.filter(function(b){return!m.includes(b)}));p=Ya(Ya({},l),{},{className:Og(v)||void 0,style:dk(l.className,Object.assign({},l.style,a),r)})}var C=h(t.children);return w.createElement(d,se({key:i},p),C)}}var g0,fk=R(()=>{on(),sk(),c(Lg,"ownKeys"),c(Ya,"_objectSpread"),c(uk,"powerSetPermutations"),g0={},c(ck,"getClassNameCombinations"),c(dk,"createStyleObject"),c(Og,"createClassNameString"),c(pk,"createChildren"),c(I1,"createElement")}),hk,EN=R(()=>{hk=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Mg(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 dr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return zs({children:D,lineNumber:S,lineNumberStyle:l,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:s})}c(g,"createWrappedLine");function v(D,S){if(n&&S&&a){var k=Yv(l,S,i);D.unshift(Kv(S,k))}return D}c(v,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?g(D,S,k):v(D,S)}c(C,"createLine");for(var b=c(function(){var D=f[m],S=D.children[0].value,k=mk(S);if(k){var _=S.split(` +`);_.forEach(function(A,$){var I=n&&h.length+o,O={type:"text",value:"".concat(A,` +`)};if($===0){var z=f.slice(p+1,m).concat(zs({children:[O],className:D.properties.className})),j=C(z,I);h.push(j)}else if($===_.length-1){var M=f[m+1]&&f[m+1].children&&f[m+1].children[0],H={type:"text",value:"".concat(A)};if(M){var W=zs({children:[H],className:D.properties.className});f.splice(m+1,0,W)}else{var B=[H],L=C(B,I,D.properties.className);h.push(L)}}else{var N=[O],G=C(N,I,D.properties.className);h.push(G)}}),p=m}m++},"_loop");m{fN(),yN(),sk(),fk(),EN(),Ck=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Mg,"ownKeys"),c(dr,"_objectSpread"),Dk=/\n/g,c(mk,"getNewLines"),c(gk,"getAllLineNumbers"),c(vk,"AllLineNumbers"),c(yk,"getEmWidthOfNumber"),c(Kv,"getInlineLineNumber"),c(Yv,"assembleLineNumberStyles"),c(zs,"createLineElement"),c(Zv,"flattenCodeTree"),c(wk,"processLines"),c(bk,"defaultRenderer"),c(Xv,"isHighlightJs"),c(Ek,"getCodeTree"),c(xk,"default")}),CN=Z((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}c(n,"Schema")}),DN=Z((e,t)=>{var r=CN(),n=Sk();t.exports=a;function a(o){for(var i=o.length,l=[],s=[],d=-1,f,h;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),kk=Z((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}c(n,"Info")}),Qv=Z(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),_k=Z((e,t)=>{var r=kk(),n=Qv();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(s,d,f,h){var p=-1,m;for(l(this,"space",h),r.call(this,s,d);++p{var r=Jv(),n=Sk(),a=_k();t.exports=o;function o(i){var l=i.space,s=i.mustUseProperty||[],d=i.attributes||{},f=i.properties,h=i.transform,p={},m={},g,v;for(g in f)v=new a(g,h(d,g),f[g],l),s.indexOf(g)!==-1&&(v.mustUseProperty=!0),p[g]=v,m[r(g)]=g,m[r(v.attribute)]=g;return new n(p,m,l)}c(o,"create")}),SN=Z((e,t)=>{var r=Ru();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}c(n,"xlinkTransform")}),kN=Z((e,t)=>{var r=Ru();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}c(n,"xmlTransform")}),_N=Z((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}c(r,"caseSensitiveTransform")}),Ak=Z((e,t)=>{var r=_N();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}c(n,"caseInsensitiveTransform")}),AN=Z((e,t)=>{var r=Ru(),n=Ak();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),FN=Z((e,t)=>{var r=Qv(),n=Ru(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:l,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function l(s,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(l,"ariaTransform")}),$N=Z((e,t)=>{var r=Qv(),n=Ru(),a=Ak(),o=r.boolean,i=r.overloadedBoolean,l=r.booleanish,s=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:s,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:d,coords:s|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:s,hidden:o,high:s,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:s,manifest:null,max:null,maxLength:s,media:null,method:null,min:null,minLength:s,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:s,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:s,rowSpan:s,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:s,sizes:null,slot:null,span:s,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:f,start:s,step:null,style:null,tabIndex:s,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:s,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:s,borderColor:null,bottomMargin:s,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:s,leftMargin:s,link:null,longDesc:null,lowSrc:null,marginHeight:s,marginWidth:s,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:s,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:s,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:s,security:null,unselectable:null}})}),TN=Z((e,t)=>{var r=DN(),n=SN(),a=kN(),o=AN(),i=FN(),l=$N();t.exports=r([a,n,o,i,l])}),IN=Z((e,t)=>{var r=Jv(),n=_k(),a=kk(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,l=/-[a-z]/g,s=/[A-Z]/g;function d(g,v){var C=r(v),b=v,y=a;return C in g.normal?g.property[g.normal[C]]:(C.length>4&&C.slice(0,4)===o&&i.test(v)&&(v.charAt(4)==="-"?b=f(v):v=h(v),y=n),new y(b,v))}c(d,"find");function f(g){var v=g.slice(5).replace(l,m);return o+v.charAt(0).toUpperCase()+v.slice(1)}c(f,"datasetToProperty");function h(g){var v=g.slice(4);return l.test(v)?g:(v=v.replace(s,p),v.charAt(0)!=="-"&&(v="-"+v),o+v)}c(h,"datasetToAttribute");function p(g){return"-"+g.toLowerCase()}c(p,"kebab");function m(g){return g.charAt(1).toUpperCase()}c(m,"camelcase")}),RN=Z((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",l=o||"div",s={},d=0,f,h,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var l=String(i||t).trim();return l===t?[]:l.split(n)}c(a,"parse");function o(i){return i.join(r).trim()}c(o,"stringify")}),BN=Z(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var l=[],s=String(i||n),d=s.indexOf(t),f=0,h=!1,p;!h;)d===-1&&(d=s.length,h=!0),p=s.slice(f,d).trim(),(p||!h)&&l.push(p),f=d+1,d=s.indexOf(t,f);return l}c(a,"parse");function o(i,l){var s=l||{},d=s.padLeft===!1?n:r,f=s.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(f+t+d).trim()}c(o,"stringify")}),LN=Z((e,t)=>{var r=IN(),n=Jv(),a=RN(),o=zN().parse,i=BN().parse;t.exports=s;var l={}.hasOwnProperty;function s(C,b,y){var E=y?v(y):null;return x;function x(S,k){var _=a(S,b),A=Array.prototype.slice.call(arguments,2),$=_.tagName.toLowerCase(),I;if(_.tagName=E&&l.call(E,$)?E[$]:$,k&&d(k,_)&&(A.unshift(k),k=null),k)for(I in k)D(_.properties,I,k[I]);return h(_.children,A),_.tagName==="template"&&(_.content={type:"root",children:_.children},_.children=[]),_}function D(S,k,_){var A,$,I;_==null||_!==_||(A=r(C,k),$=A.property,I=_,typeof I=="string"&&(A.spaceSeparated?I=o(I):A.commaSeparated?I=i(I):A.commaOrSpaceSeparated&&(I=o(i(I).join(" ")))),$==="style"&&typeof _!="string"&&(I=g(I)),$==="className"&&S.className&&(I=S.className.concat(I)),S[$]=p(A,$,I))}}c(s,"factory");function d(C,b){return typeof C=="string"||"length"in C||f(b.tagName,C)}c(d,"isChildren");function f(C,b){var y=b.type;return C==="input"||!y||typeof y!="string"?!1:typeof b.children=="object"&&"length"in b.children?!0:(y=y.toLowerCase(),C==="button"?y!=="menu"&&y!=="submit"&&y!=="reset"&&y!=="button":"value"in b)}c(f,"isNode");function h(C,b){var y,E;if(typeof b=="string"||typeof b=="number"){C.push({type:"text",value:String(b)});return}if(typeof b=="object"&&"length"in b){for(y=-1,E=b.length;++y{var r=TN(),n=LN(),a=n(r,"div");a.displayName="html",t.exports=a}),MN=Z((e,t)=>{t.exports=ON()}),PN=Z((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",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:"ÿ"}}),NN=Z((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:"Ÿ"}}),Fk=Z((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}c(r,"decimal")}),jN=Z((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}c(r,"hexadecimal")}),HN=Z((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}c(r,"alphabetical")}),VN=Z((e,t)=>{var r=HN(),n=Fk();t.exports=a;function a(o){return r(o)||n(o)}c(a,"alphanumerical")}),UN=Z((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",l;return r=r||document.createElement("i"),r.innerHTML=i,l=r.textContent,l.charCodeAt(l.length-1)===n&&o!=="semi"||l===i?!1:l}c(a,"decodeEntity")}),WN=Z((e,t)=>{var r=PN(),n=NN(),a=Fk(),o=jN(),i=VN(),l=UN();t.exports=G;var s={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,m=10,g=12,v=32,C=38,b=59,y=60,E=61,x=35,D=88,S=120,k=65533,_="named",A="hexadecimal",$="decimal",I={};I[A]=16,I[$]=10;var O={};O[_]=i,O[$]=a,O[A]=o;var z=1,j=2,M=3,H=4,W=5,B=6,L=7,N={};N[z]="Named character references must be terminated by a semicolon",N[j]="Numeric character references must be terminated by a semicolon",N[M]="Named character references cannot be empty",N[H]="Numeric character references cannot be empty",N[W]="Named character references must be known",N[B]="Numeric character references cannot be disallowed",N[L]="Numeric character references cannot be outside the permissible Unicode range";function G(U,X){var ee={},Te,Ye;X||(X={});for(Ye in h)Te=X[Ye],ee[Ye]=Te??h[Ye];return(ee.position.indent||ee.position.start)&&(ee.indent=ee.position.indent||[],ee.position=ee.position.start),J(U,ee)}c(G,"parseEntities");function J(U,X){var ee=X.additional,Te=X.nonTerminated,Ye=X.text,_r=X.reference,kt=X.warning,er=X.textContext,q=X.referenceContext,tr=X.warningContext,Ar=X.position,Fa=X.indent||[],Bo=U.length,Fr=0,tc=-1,ot=Ar.column||1,$a=Ar.line||1,$r="",Lo=[],Tr,Oo,Ir,Ze,rr,Me,_e,Rr,rc,Ap,Ta,Fl,Ia,un,l3,$l,nc,zr,Pe;for(typeof ee=="string"&&(ee=ee.charCodeAt(0)),$l=Tl(),Rr=kt?wB:f,Fr--,Bo++;++Fr65535&&(Me-=65536,Ap+=d(Me>>>10|55296),Me=56320|Me&1023),Me=Ap+d(Me))):un!==_&&Rr(H,zr)),Me?(s3(),$l=Tl(),Fr=Pe-1,ot+=Pe-Ia+1,Lo.push(Me),nc=Tl(),nc.offset++,_r&&_r.call(q,Me,{start:$l,end:nc},U.slice(Ia-1,Pe)),$l=nc):(Ze=U.slice(Ia-1,Pe),$r+=Ze,ot+=Ze.length,Fr=Pe-1)}else rr===10&&($a++,tc++,ot=0),rr===rr?($r+=d(rr),ot++):s3();return Lo.join("");function Tl(){return{line:$a,column:ot,offset:Fr+(Ar.offset||0)}}function wB(u3,c3){var Fp=Tl();Fp.column+=c3,Fp.offset+=c3,kt.call(tr,N[u3],Fp,u3)}function s3(){$r&&(Lo.push($r),Ye&&Ye.call(er,$r,{start:$l,end:Tl()}),$r="")}}c(J,"parse");function ne(U){return U>=55296&&U<=57343||U>1114111}c(ne,"prohibited");function ae(U){return U>=1&&U<=8||U===11||U>=13&&U<=31||U>=127&&U<=159||U>=64976&&U<=65007||(U&65535)===65535||(U&65535)===65534}c(ae,"disallowed")}),qN=Z((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,l={},s={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:c(function E(x){return x instanceof d?new d(x.type,E(x.content),x.alias):Array.isArray(x)?x.map(E):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var x=document.getElementsByTagName("script");for(var D in x)if(x[D].src==E)return x[D]}return null}},"currentScript"),isActive:c(function(E,x,D){for(var S="no-"+x;E;){var k=E.classList;if(k.contains(x))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!D},"isActive")},languages:{plain:l,plaintext:l,text:l,txt:l,extend:c(function(E,x){var D=s.util.clone(s.languages[E]);for(var S in x)D[S]=x[S];return D},"extend"),insertBefore:c(function(E,x,D,S){S=S||s.languages;var k=S[E],_={};for(var A in k)if(k.hasOwnProperty(A)){if(A==x)for(var $ in D)D.hasOwnProperty($)&&(_[$]=D[$]);D.hasOwnProperty(A)||(_[A]=k[A])}var I=S[E];return S[E]=_,s.languages.DFS(s.languages,function(O,z){z===I&&O!=E&&(this[O]=_)}),_},"insertBefore"),DFS:c(function E(x,D,S,k){k=k||{};var _=s.util.objId;for(var A in x)if(x.hasOwnProperty(A)){D.call(x,A,x[A],S||A);var $=x[A],I=s.util.type($);I==="Object"&&!k[_($)]?(k[_($)]=!0,E($,D,null,k)):I==="Array"&&!k[_($)]&&(k[_($)]=!0,E($,D,A,k))}},"DFS")},plugins:{},highlightAll:c(function(E,x){s.highlightAllUnder(document,E,x)},"highlightAll"),highlightAllUnder:c(function(E,x,D){var S={callback:D,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),s.hooks.run("before-all-elements-highlight",S);for(var k=0,_;_=S.elements[k++];)s.highlightElement(_,x===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(E,x,D){var S=s.util.getLanguage(E),k=s.languages[S];s.util.setLanguage(E,S);var _=E.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(_,S);var A=E.textContent,$={element:E,language:S,grammar:k,code:A};function I(z){$.highlightedCode=z,s.hooks.run("before-insert",$),$.element.innerHTML=$.highlightedCode,s.hooks.run("after-highlight",$),s.hooks.run("complete",$),D&&D.call($.element)}if(c(I,"insertHighlightedCode"),s.hooks.run("before-sanity-check",$),_=$.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!$.code){s.hooks.run("complete",$),D&&D.call($.element);return}if(s.hooks.run("before-highlight",$),!$.grammar){I(s.util.encode($.code));return}if(x&&a.Worker){var O=new Worker(s.filename);O.onmessage=function(z){I(z.data)},O.postMessage(JSON.stringify({language:$.language,code:$.code,immediateClose:!0}))}else I(s.highlight($.code,$.grammar,$.language))},"highlightElement"),highlight:c(function(E,x,D){var S={code:E,grammar:x,language:D};if(s.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=s.tokenize(S.code,S.grammar),s.hooks.run("after-tokenize",S),d.stringify(s.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(E,x){var D=x.rest;if(D){for(var S in D)x[S]=D[S];delete x.rest}var k=new p;return m(k,k.head,E),h(E,k,x,k.head,0),v(k)},"tokenize"),hooks:{all:{},add:c(function(E,x){var D=s.hooks.all;D[E]=D[E]||[],D[E].push(x)},"add"),run:c(function(E,x){var D=s.hooks.all[E];if(!(!D||!D.length))for(var S=0,k;k=D[S++];)k(x)},"run")},Token:d};a.Prism=s;function d(E,x,D,S){this.type=E,this.content=x,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function E(x,D){if(typeof x=="string")return x;if(Array.isArray(x)){var S="";return x.forEach(function(I){S+=E(I,D)}),S}var k={type:x.type,content:E(x.content,D),tag:"span",classes:["token",x.type],attributes:{},language:D},_=x.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(k.classes,_):k.classes.push(_)),s.hooks.run("wrap",k);var A="";for(var $ in k.attributes)A+=" "+$+'="'+(k.attributes[$]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+A+">"+k.content+""},"stringify");function f(E,x,D,S){E.lastIndex=x;var k=E.exec(D);if(k&&S&&k[1]){var _=k[1].length;k.index+=_,k[0]=k[0].slice(_)}return k}c(f,"matchPattern");function h(E,x,D,S,k,_){for(var A in D)if(!(!D.hasOwnProperty(A)||!D[A])){var $=D[A];$=Array.isArray($)?$:[$];for(var I=0;I<$.length;++I){if(_&&_.cause==A+","+I)return;var O=$[I],z=O.inside,j=!!O.lookbehind,M=!!O.greedy,H=O.alias;if(M&&!O.pattern.global){var W=O.pattern.toString().match(/[imsuy]*$/)[0];O.pattern=RegExp(O.pattern.source,W+"g")}for(var B=O.pattern||O,L=S.next,N=k;L!==x.tail&&!(_&&N>=_.reach);N+=L.value.length,L=L.next){var G=L.value;if(x.length>E.length)return;if(!(G instanceof d)){var J=1,ne;if(M){if(ne=f(B,N,E,j),!ne||ne.index>=E.length)break;var ee=ne.index,ae=ne.index+ne[0].length,U=N;for(U+=L.value.length;ee>=U;)L=L.next,U+=L.value.length;if(U-=L.value.length,N=U,L.value instanceof d)continue;for(var X=L;X!==x.tail&&(U_.reach&&(_.reach=kt);var er=L.prev;Ye&&(er=m(x,er,Ye),N+=Ye.length),g(x,er,J);var q=new d(A,z?s.tokenize(Te,z):Te,H,Te);if(L=m(x,er,q),_r&&m(x,L,_r),J>1){var tr={cause:A+","+I,reach:kt};h(E,x,D,L.prev,N,tr),_&&tr.reach>_.reach&&(_.reach=tr.reach)}}}}}}c(h,"matchGrammar");function p(){var E={value:null,prev:null,next:null},x={value:null,prev:E,next:null};E.next=x,this.head=E,this.tail=x,this.length=0}c(p,"LinkedList");function m(E,x,D){var S=x.next,k={value:D,prev:x,next:S};return x.next=k,S.prev=k,E.length++,k}c(m,"addAfter");function g(E,x,D){for(var S=x.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.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]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:c(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:i}};l["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var s={};s[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:l},n.languages.insertBefore("markup","cdata",s)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),Tk=Z((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.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\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,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:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}c(r,"css")}),GN=Z((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.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:/[{}[\];(),.:]/}}c(r,"clike")}),KN=Z((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}c(r,"javascript")}),YN=Z((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=MN(),o=WN(),i=qN(),l=$k(),s=Tk(),d=GN(),f=KN();n();var h={}.hasOwnProperty;function p(){}c(p,"Refractor"),p.prototype=i;var m=new p;t.exports=m,m.highlight=C,m.register=g,m.alias=v,m.registered=b,m.listLanguages=y,g(l),g(s),g(d),g(f),m.util.encode=D,m.Token.stringify=E;function g(_){if(typeof _!="function"||!_.displayName)throw new Error("Expected `function` for `grammar`, got `"+_+"`");m.languages[_.displayName]===void 0&&_(m)}c(g,"register");function v(_,A){var $=m.languages,I=_,O,z,j,M;A&&(I={},I[_]=A);for(O in I)for(z=I[O],z=typeof z=="string"?[z]:z,j=z.length,M=-1;++M{xN(),Dc=Ke(YN()),Sc=xk(Dc.default,{}),Sc.registerLanguage=function(e,t){return Dc.default.register(t)},Sc.alias=function(e,t){return Dc.default.alias(e,t)},v0=Sc}),XN=R(()=>{fk()}),JN=Z((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},l={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),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})/};a.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;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:l},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:l},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:l.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:l.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}},i.inside=a.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=l.variable[1].inside,f=0;f{jw=Ke(JN()),Ik=jw.default}),Hw,Rk,ej=R(()=>{Hw=Ke(Tk()),Rk=Hw.default}),tj=Z((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),i=0;function l(y){return o[i+y]}c(l,"getToken");function s(y,E){E=E||0;for(var x=0;x0)){var v=d(/^\{$/,/^\}$/);if(v===-1)continue;for(var C=i;C=0&&f(b,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),Vw,zk,rj=R(()=>{Vw=Ke(tj()),zk=Vw.default}),nj=Z((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(h,p){return RegExp(h.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}c(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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 i=["function","function-variable","method","method-variable","property-access"],l=0;l{Uw=Ke(nj()),Bk=Uw.default}),oj=Z((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),Ww,Lk,ij=R(()=>{Ww=Ke(oj()),Lk=Ww.default}),Ok=Z((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,l=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,m){return p=p.replace(//g,function(){return i}).replace(//g,function(){return l}).replace(//g,function(){return s}),RegExp(p,m)}c(d,"re"),s=d(s).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=c(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),h=c(function(p){for(var m=[],g=0;g0&&m[m.length-1].tagName===f(v.content[0].content[1])&&m.pop():v.content[v.content.length-1].content==="/>"||m.push({tagName:f(v.content[0].content[1]),openedBraces:0}):m.length>0&&v.type==="punctuation"&&v.content==="{"?m[m.length-1].openedBraces++:m.length>0&&m[m.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?m[m.length-1].openedBraces--:C=!0),(C||typeof v=="string")&&m.length>0&&m[m.length-1].openedBraces===0){var b=f(v);g0&&(typeof p[g-1]=="string"||p[g-1].type==="plain-text")&&(b=f(p[g-1])+b,p.splice(g-1,1),g--),p[g]=new a.Token("plain-text",b,null,b)}v.content&&typeof v.content!="string"&&h(v.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||h(p.tokens)})})(n)}c(r,"jsx")}),qw,Mk,lj=R(()=>{qw=Ke(Ok()),Mk=qw.default}),sj=Z((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(g){return g=g.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+g+")")}c(i,"createInline");var l=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return l}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+d+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+d+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(l),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(l),alias:"important",inside:a.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:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\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:i(/!?\[(?:(?!\]))+\](?:\([^\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(g){["url","bold","italic","strike","code-snippet"].forEach(function(v){g!==v&&(a.languages.markdown[g].inside.content.inside[v]=a.languages.markdown[v])})}),a.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function v(C){if(!(!C||typeof C=="string"))for(var b=0,y=C.length;b",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function m(g){var v=g.replace(f,"");return v=v.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(C,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),p(y)}else{var E=h[b];return E||C}}),v}c(m,"textContent"),a.languages.md=a.languages.markdown})(n)}c(r,"markdown")}),Gw,Pk,uj=R(()=>{Gw=Ke(sj()),Pk=Gw.default}),Kw,Nk,cj=R(()=>{Kw=Ke($k()),Nk=Kw.default}),jk=Z((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.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/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}c(r,"typescript")}),dj=Z((e,t)=>{var r=Ok(),n=jk();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var l=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",l),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var s=i.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(o)}c(a,"tsx")}),Yw,Hk,pj=R(()=>{Yw=Ke(dj()),Hk=Yw.default}),Zw,Vk,fj=R(()=>{Zw=Ke(jk()),Vk=Zw.default}),hj=Z((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,l="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(h,p){p=(p||"").replace(/m/g,"")+"m";var m=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return h});return RegExp(m,p)}c(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return l})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return l}).replace(/<>/g,function(){return"(?:"+s+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\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:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}c(r,"yaml")}),Xw,Uk,mj=R(()=>{Xw=Ke(hj()),Uk=Xw.default}),Jw,pf,ey,Wk=R(()=>{Jw=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),pf=F.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}),pf.displayName="ActionButton",ey=c(({actionItems:e,...t})=>w.createElement(Jw,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>w.createElement(pf,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function qk(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ty(...e){return t=>e.forEach(r=>qk(r,t))}function Wn(...e){return u.useCallback(ty(...e),e)}var ry=R(()=>{c(qk,"setRef"),c(ty,"composeRefs"),c(Wn,"useComposedRefs")});function Qw(e){return u.isValidElement(e)&&e.type===Gk}function e7(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function t7(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Pg,kc,Gk,gj=R(()=>{ry(),Pg=u.forwardRef((e,t)=>{let{children:r,...n}=e,a=u.Children.toArray(r),o=a.find(Qw);if(o){let i=o.props.children,l=a.map(s=>s===o?u.Children.count(i)>1?u.Children.only(null):u.isValidElement(i)?i.props.children:null:s);return oe.jsx(kc,{...n,ref:t,children:u.isValidElement(i)?u.cloneElement(i,void 0,l):null})}return oe.jsx(kc,{...n,ref:t,children:r})}),Pg.displayName="Slot",kc=u.forwardRef((e,t)=>{let{children:r,...n}=e;if(u.isValidElement(r)){let a=t7(r);return u.cloneElement(r,{...e7(n,r.props),ref:t?ty(t,a):a})}return u.Children.count(r)>1?u.Children.only(null):null}),kc.displayName="SlotClone",Gk=c(({children:e})=>oe.jsx(oe.Fragment,{children:e}),"Slottable"),c(Qw,"isSlottable"),c(e7,"mergeProps"),c(t7,"getElementRef")}),r7,Ko,vj=R(()=>{gj(),r7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ko=r7.reduce((e,t)=>{let r=u.forwardRef((n,a)=>{let{asChild:o,...i}=n,l=o?Pg:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),oe.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})}),vd,Kk=R(()=>{vd=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{}});function Yk(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}function n7(e){let[t,r]=u.useState(),n=u.useRef({}),a=u.useRef(e),o=u.useRef("none"),i=e?"mounted":"unmounted",[l,s]=Yk(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{let d=cs(n.current);o.current=l==="mounted"?d:"none"},[l]),vd(()=>{let d=n.current,f=a.current;if(f!==e){let h=o.current,p=cs(d);e?s("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),vd(()=>{if(t){let d=c(h=>{let p=cs(n.current).includes(h.animationName);h.target===t&&p&&pl.flushSync(()=>s("ANIMATION_END"))},"handleAnimationEnd"),f=c(h=>{h.target===t&&(o.current=cs(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:u.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function cs(e){return(e==null?void 0:e.animationName)||"none"}function a7(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var pi,yj=R(()=>{"use client";ry(),Kk(),c(Yk,"useStateMachine"),pi=c(e=>{let{present:t,children:r}=e,n=n7(t),a=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),o=Wn(n.ref,a7(a));return typeof r=="function"||n.isPresent?u.cloneElement(a,{ref:o}):null},"Presence"),pi.displayName="Presence",c(n7,"usePresence"),c(cs,"getAnimationName"),c(a7,"getElementRef")});function Zk(e,t=[]){let r=[];function n(o,i){let l=u.createContext(i),s=r.length;r=[...r,i];function d(h){let{scope:p,children:m,...g}=h,v=(p==null?void 0:p[e][s])||l,C=u.useMemo(()=>g,Object.values(g));return oe.jsx(v.Provider,{value:C,children:m})}c(d,"Provider");function f(h,p){let m=(p==null?void 0:p[e][s])||l,g=u.useContext(m);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(f,"useContext2"),d.displayName=o+"Provider",[d,f]}c(n,"createContext3");let a=c(()=>{let o=r.map(i=>u.createContext(i));return c(function(i){let l=(i==null?void 0:i[e])||o;return u.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])},"useScope")},"createScope");return a.scopeName=e,[n,Xk(a,...t)]}function Xk(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:l,scopeName:s})=>{let d=l(a)[`__scope${s}`];return{...i,...d}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var wj=R(()=>{c(Zk,"createContextScope"),c(Xk,"composeContextScopes")});function Zn(e){let t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var bj=R(()=>{c(Zn,"useCallbackRef")});function Jk(e){let t=u.useContext(Qk);return e||t||"ltr"}var Qk,Ej=R(()=>{Qk=u.createContext(void 0),c(Jk,"useDirection")});function e_(e,[t,r]){return Math.min(r,Math.max(t,e))}var xj=R(()=>{c(e_,"clamp")});function Pn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var Cj=R(()=>{c(Pn,"composeEventHandlers")});function o7(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}function jl(e){return e?parseInt(e,10):0}function Ng(e,t){let r=e/t;return isNaN(r)?0:r}function Bs(e){let t=Ng(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function i7(e,t,r,n="ltr"){let a=Bs(r),o=a/2,i=t||o,l=a-i,s=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-l,f=r.content-r.viewport,h=n==="ltr"?[0,f]:[f*-1,0];return ny([s,d],h)(e)}function ff(e,t,r="ltr"){let n=Bs(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,l=o-n,s=r==="ltr"?[0,i]:[i*-1,0],d=e_(e,s);return ny([0,i],[0,l])(d)}function ny(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function hf(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),u.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Ra(e,t){let r=Zn(t);vd(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function l7(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=u.Children.only(n);return u.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var _c,mf,Dj,s7,_t,gf,vf,yf,ar,wf,u7,c7,bf,Ac,d7,p7,f7,Ef,xf,Vl,Cf,h7,Fc,Df,m7,g7,t_,r_,n_,a_,o_,Sj=R(()=>{"use client";vj(),yj(),wj(),ry(),bj(),Ej(),Kk(),xj(),Cj(),c(o7,"useStateMachine"),_c="ScrollArea",[mf,Dj]=Zk(_c),[s7,_t]=mf(_c),gf=u.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[l,s]=u.useState(null),[d,f]=u.useState(null),[h,p]=u.useState(null),[m,g]=u.useState(null),[v,C]=u.useState(null),[b,y]=u.useState(0),[E,x]=u.useState(0),[D,S]=u.useState(!1),[k,_]=u.useState(!1),A=Wn(t,I=>s(I)),$=Jk(a);return oe.jsx(s7,{scope:r,type:n,dir:$,scrollHideDelay:o,scrollArea:l,viewport:d,onViewportChange:f,content:h,onContentChange:p,scrollbarX:m,onScrollbarXChange:g,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:v,onScrollbarYChange:C,scrollbarYEnabled:k,onScrollbarYEnabledChange:_,onCornerWidthChange:y,onCornerHeightChange:x,children:oe.jsx(Ko.div,{dir:$,...i,ref:A,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),gf.displayName=_c,vf="ScrollAreaViewport",yf=u.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,l=_t(vf,r),s=u.useRef(null),d=Wn(t,s,l.onViewportChange);return oe.jsxs(oe.Fragment,{children:[oe.jsx("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; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:o}),oe.jsx(Ko.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style},children:l7({asChild:a,children:n},f=>oe.jsx("div",{"data-radix-scroll-area-content":"",ref:l.onContentChange,style:{minWidth:l.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),yf.displayName=vf,ar="ScrollAreaScrollbar",wf=u.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=_t(ar,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,l=e.orientation==="horizontal";return u.useEffect(()=>(l?o(!0):i(!0),()=>{l?o(!1):i(!1)}),[l,o,i]),a.type==="hover"?oe.jsx(u7,{...n,ref:t,forceMount:r}):a.type==="scroll"?oe.jsx(c7,{...n,ref:t,forceMount:r}):a.type==="auto"?oe.jsx(bf,{...n,ref:t,forceMount:r}):a.type==="always"?oe.jsx(Ac,{...n,ref:t}):null}),wf.displayName=ar,u7=u.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=_t(ar,e.__scopeScrollArea),[o,i]=u.useState(!1);return u.useEffect(()=>{let l=a.scrollArea,s=0;if(l){let d=c(()=>{window.clearTimeout(s),i(!0)},"handlePointerEnter"),f=c(()=>{s=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return l.addEventListener("pointerenter",d),l.addEventListener("pointerleave",f),()=>{window.clearTimeout(s),l.removeEventListener("pointerenter",d),l.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),oe.jsx(pi,{present:r||o,children:oe.jsx(bf,{"data-state":o?"visible":"hidden",...n,ref:t})})}),c7=u.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=_t(ar,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Hl(()=>s("SCROLL_END"),100),[l,s]=o7("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(l==="idle"){let d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[l,a.scrollHideDelay,s]),u.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let h=d[f],p=c(()=>{let m=d[f];h!==m&&(s("SCROLL"),i()),h=m},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,s,i]),oe.jsx(pi,{present:r||l!=="hidden",children:oe.jsx(Ac,{"data-state":l==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Pn(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Pn(e.onPointerLeave,()=>s("POINTER_LEAVE"))})})}),bf=u.forwardRef((e,t)=>{let r=_t(ar,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=u.useState(!1),l=e.orientation==="horizontal",s=Hl(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=_t(ar,e.__scopeScrollArea),o=u.useRef(null),i=u.useRef(0),[l,s]=u.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Ng(l.viewport,l.content),f={...n,sizes:l,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:c(p=>o.current=p,"onThumbChange"),onThumbPointerUp:c(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:c(p=>i.current=p,"onThumbPointerDown")};function h(p,m){return i7(p,i.current,l,m)}return c(h,"getScrollPosition"),r==="horizontal"?oe.jsx(d7,{...f,ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,m=ff(p,l,a.dir);o.current.style.transform=`translate3d(${m}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:c(p=>{a.viewport&&(a.viewport.scrollLeft=h(p,a.dir))},"onDragScroll")}):r==="vertical"?oe.jsx(p7,{...f,ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,m=ff(p,l);o.current.style.transform=`translate3d(0, ${m}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:c(p=>{a.viewport&&(a.viewport.scrollTop=h(p))},"onDragScroll")}):null}),d7=u.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=_t(ar,e.__scopeScrollArea),[i,l]=u.useState(),s=u.useRef(null),d=Wn(t,s,o.onScrollbarXChange);return u.useEffect(()=>{s.current&&l(getComputedStyle(s.current))},[s]),oe.jsx(xf,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Bs(r)+"px",...e.style},onThumbPointerDown:c(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:c(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:c((f,h)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),hf(p,h)&&f.preventDefault()}},"onWheelScroll"),onResize:c(()=>{s.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:jl(i.paddingLeft),paddingEnd:jl(i.paddingRight)}})},"onResize")})}),p7=u.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=_t(ar,e.__scopeScrollArea),[i,l]=u.useState(),s=u.useRef(null),d=Wn(t,s,o.onScrollbarYChange);return u.useEffect(()=>{s.current&&l(getComputedStyle(s.current))},[s]),oe.jsx(xf,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Bs(r)+"px",...e.style},onThumbPointerDown:c(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:c(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:c((f,h)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),hf(p,h)&&f.preventDefault()}},"onWheelScroll"),onResize:c(()=>{s.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:jl(i.paddingTop),paddingEnd:jl(i.paddingBottom)}})},"onResize")})}),[f7,Ef]=mf(ar),xf=u.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:f,onResize:h,...p}=e,m=_t(ar,r),[g,v]=u.useState(null),C=Wn(t,A=>v(A)),b=u.useRef(null),y=u.useRef(""),E=m.viewport,x=n.content-n.viewport,D=Zn(f),S=Zn(s),k=Hl(h,10);function _(A){if(b.current){let $=A.clientX-b.current.left,I=A.clientY-b.current.top;d({x:$,y:I})}}return c(_,"handleDragScroll"),u.useEffect(()=>{let A=c($=>{let I=$.target;g!=null&&g.contains(I)&&D($,x)},"handleWheel");return document.addEventListener("wheel",A,{passive:!1}),()=>document.removeEventListener("wheel",A,{passive:!1})},[E,g,x,D]),u.useEffect(S,[n,S]),Ra(g,k),Ra(m.content,k),oe.jsx(f7,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:Zn(o),onThumbPointerUp:Zn(i),onThumbPositionChange:S,onThumbPointerDown:Zn(l),children:oe.jsx(Ko.div,{...p,ref:C,style:{position:"absolute",...p.style},onPointerDown:Pn(e.onPointerDown,A=>{A.button===0&&(A.target.setPointerCapture(A.pointerId),b.current=g.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),_(A))}),onPointerMove:Pn(e.onPointerMove,_),onPointerUp:Pn(e.onPointerUp,A=>{let $=A.target;$.hasPointerCapture(A.pointerId)&&$.releasePointerCapture(A.pointerId),document.body.style.webkitUserSelect=y.current,m.viewport&&(m.viewport.style.scrollBehavior=""),b.current=null})})})}),Vl="ScrollAreaThumb",Cf=u.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ef(Vl,e.__scopeScrollArea);return oe.jsx(pi,{present:r||a.hasThumb,children:oe.jsx(h7,{ref:t,...n})})}),h7=u.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=_t(Vl,r),i=Ef(Vl,r),{onThumbPositionChange:l}=i,s=Wn(t,h=>i.onThumbChange(h)),d=u.useRef(),f=Hl(()=>{d.current&&(d.current(),d.current=void 0)},100);return u.useEffect(()=>{let h=o.viewport;if(h){let p=c(()=>{if(f(),!d.current){let m=g7(h,l);d.current=m,l()}},"handleScroll");return l(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[o.viewport,f,l]),oe.jsx(Ko.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Pn(e.onPointerDownCapture,h=>{let p=h.target.getBoundingClientRect(),m=h.clientX-p.left,g=h.clientY-p.top;i.onThumbPointerDown({x:m,y:g})}),onPointerUp:Pn(e.onPointerUp,i.onThumbPointerUp)})}),Cf.displayName=Vl,Fc="ScrollAreaCorner",Df=u.forwardRef((e,t)=>{let r=_t(Fc,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?oe.jsx(m7,{...e,ref:t}):null}),Df.displayName=Fc,m7=u.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=_t(Fc,r),[o,i]=u.useState(0),[l,s]=u.useState(0),d=!!(o&&l);return Ra(a.scrollbarX,()=>{var h;let f=((h=a.scrollbarX)==null?void 0:h.offsetHeight)||0;a.onCornerHeightChange(f),s(f)}),Ra(a.scrollbarY,()=>{var h;let f=((h=a.scrollbarY)==null?void 0:h.offsetWidth)||0;a.onCornerWidthChange(f),i(f)}),d?oe.jsx(Ko.div,{...n,ref:t,style:{width:o,height:l,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(jl,"toInt"),c(Ng,"getThumbRatio"),c(Bs,"getThumbSize"),c(i7,"getScrollPositionFromPointer"),c(ff,"getThumbOffsetFromScroll"),c(ny,"linearScale"),c(hf,"isScrollingWithinScrollbarBounds"),g7=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,l=r.top!==o.top;(i||l)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(Hl,"useDebounceCallback"),c(Ra,"useResizeObserver"),c(l7,"getSubtree"),t_=gf,r_=yf,n_=wf,a_=Cf,o_=Df}),v7,y7,Sf,kf,yd,ay=R(()=>{Sj(),v7=F(t_)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),y7=F(r_)({width:"100%",height:"100%"}),Sf=F(n_)(({offset:e,horizontal:t,vertical:r})=>({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"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),kf=F(a_)(({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%"}})),yd=u.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>w.createElement(v7,{scrollbarsize:a,offset:n,className:o},w.createElement(y7,{ref:i},e),t&&w.createElement(Sf,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(kf,null)),r&&w.createElement(Sf,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},w.createElement(kf,null)),t&&r&&w.createElement(o_,null))),yd.displayName="ScrollArea"}),oy={};fl(oy,{SyntaxHighlighter:()=>Ls,createCopyToClipboardFunction:()=>jg,default:()=>i_,supportedLanguages:()=>Hg});const{logger:kj}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function jg(){return ds!=null&&ds.clipboard?e=>ds.clipboard.writeText(e):async e=>{let t=Yo.createElement("TEXTAREA"),r=Yo.activeElement;t.value=e,Yo.body.appendChild(t),t.select(),Yo.execCommand("copy"),Yo.body.removeChild(t),r.focus()}}var w7,ds,Yo,b7,Hg,E7,x7,C7,D7,S7,k7,_7,_f,A7,F7,Ls,i_,R1=R(()=>{Wv(),w7=Ke($1(),1),XN(),QN(),ej(),rj(),aj(),ij(),lj(),uj(),cj(),pj(),fj(),mj(),ZN(),Wk(),ay(),{navigator:ds,document:Yo,window:b7}=F1,Hg={jsextra:Bk,jsx:Mk,json:Lk,yml:Uk,md:Pk,bash:Ik,css:Rk,html:Nk,tsx:Hk,typescript:Vk,graphql:zk},Object.entries(Hg).forEach(([e,t])=>{v0.registerLanguage(e,t)}),E7=(0,w7.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),x7=jg(),c(jg,"createCopyToClipboardFunction"),C7=F.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)"}}:{}),D7=c(({children:e,className:t})=>w.createElement(yd,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),S7=F(D7)({position:"relative"},({theme:e})=>E7(e)),k7=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),_7=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),_f=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),A7=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>I1({node:_f(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),F7=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>_f(a)),...n}):A7:e,"wrapRenderer"),Ls=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:l=void 0,showLineNumbers:s=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,h]=u.useState("");u.useEffect(()=>{i?i(o,e).then(h):h(e.trim())},[e,o,i]);let[p,m]=u.useState(!1),g=u.useCallback(C=>{C.preventDefault(),x7(f).then(()=>{m(!0),b7.setTimeout(()=>m(!1),1500)}).catch(kj.error)},[f]),v=F7(d.renderer,s);return w.createElement(C7,{bordered:n,padded:a,showLineNumbers:s,className:l},w.createElement(S7,null,w.createElement(v0,{padded:a||n,language:t,showLineNumbers:s,showInlineLineNumbers:s,useInlineStyles:!1,PreTag:k7,CodeTag:_7,lineNumberContainerStyle:{},...d,renderer:v},f)),r?w.createElement(ey,{actionItems:[{title:p?"Copied":"Copy",onClick:g}]}):null)},"SyntaxHighlighter"),Ls.registerLanguage=(...e)=>v0.registerLanguage(...e),i_=Ls});function $7(e){if(typeof e=="string")return j1;if(Array.isArray(e))return H1;if(!e)return;let{type:t}=e;if(_y.has(t))return t}function T7(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(V1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=hA([..._y].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function Dr(e){return ma(e),{type:cu,contents:e}}function iy(e,t){return ma(t),{type:du,contents:t,n:e}}function $e(e,t={}){return ma(e),U1(t.expandedStates,!0),{type:Zi,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function l_(e){return iy(Number.NEGATIVE_INFINITY,e)}function s_(e){return iy({type:"root"},e)}function ly(e){return U1(e),{type:pu,parts:e}}function su(e,t="",r={}){return ma(e),t!==""&&ma(t),{type:fu,breakContents:e,flatContents:t,groupId:r.groupId}}function u_(e,t){return ma(e),{type:hu,contents:e,groupId:t.groupId,negate:t.negate}}function Eo(e,t){ma(e),U1(t);let r=[];for(let n=0;nt===""))return"";break;case Zi:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Zi&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case du:case cu:case hu:case Sd:if(!e.contents)return"";break;case fu:if(!e.flatContents&&!e.breakContents)return"";break;case H1:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Xi(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case j1:case Cd:case Dd:case kd:case qn:case _d:case Ps:break;default:throw new Ay(e)}return e}function d_(e){return z1(e,t=>c_(t))}function Ut(e,t=mA){return z1(e,r=>typeof r=="string"?Eo(t,r.split(` +`)):r)}function I7(e,t){let r=t===!0||t===gs?gs:Zg,n=r===gs?Zg:gs,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function R7(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function z7(e){return(e==null?void 0:e.type)==="front-matter"}function Af(e,t){var r;if(e.type==="text"||e.type==="comment"||ju(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=e.parameters)!=null&&r.children)for(let n of t.parameters.children)yA.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function B7(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return s_([e.startDelimiter,e.explicitLanguage,me,n,n?me:"",e.endDelimiter])}}function zu(e,t=!0){return[Dr([We,e]),t?We:""]}function xo(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Zt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,l)=>{a=n(i,l)});let o=await t(e,r,t);return a?$e(o):zu(o)}function L7(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":Zt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},xo)}function Vg(e,t){if(!t)return;let r=EA(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function p_(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 O7(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=p_(r,t.language)??Vg(r,t.physicalFile)??Vg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function M7(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function sy(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||fo(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||L1(e,t)&&!Jr(e)&&e.type!=="interpolation")}function Bu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:f_(e.prev)}function f_(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function $t(e){return e.type==="text"||e.type==="comment"}function Jr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Ji(e)&&(e.name==="script"||e.name==="style"))}function h_(e){return e.children&&!Jr(e)}function m_(e){return Jr(e)||e.type==="interpolation"||uy(e)}function uy(e){return gy(e).startsWith("pre")}function g_(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return ju(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:fo(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||fo(e)&&e.parent||Jr(e.parent)||Lu(e.parent,t)||!S_(e.parent.cssDisplay))||e.prev&&!A_(e.prev.cssDisplay))}}function v_(e,t){return ju(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:fo(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||fo(e)&&e.parent||Jr(e.parent)||Lu(e.parent,t)||!k_(e.parent.cssDisplay))||e.next&&!__(e.next.cssDisplay))}function y_(e){return F_(e.cssDisplay)&&!Jr(e)}function ps(e){return ju(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>E_(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&py(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||fy(e.lastChild))}function cy(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 y0(e){return hy(e)||e.prev&&b_(e.prev)||dy(e)}function b_(e){return hy(e)||e.type==="element"&&e.fullName==="br"||dy(e)}function dy(e){return py(e)&&fy(e)}function py(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 hy(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function B1(e){return e.lastChild?B1(e.lastChild):e}function E_(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function my(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 x_(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":Hu(t,{language:o})??my(a)}function C_(e,t){if(!L1(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return Hu(t,{language:a})??my(n)}function D_(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Hu(t,{language:r}):"css"}function Ug(e,t){return x_(e,t)??D_(e,t)??C_(e,t)}function hl(e){return e==="block"||e==="list-item"||e.startsWith("table")}function S_(e){return!hl(e)&&e!=="inline-block"}function k_(e){return!hl(e)&&e!=="inline-block"}function __(e){return!hl(e)}function A_(e){return!hl(e)}function F_(e){return!hl(e)&&e!=="inline-block"}function fo(e){return gy(e).startsWith("pre")}function $_(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function T_(e,t){var r;if(Co(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if($_(e,a=>a.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||Ji(e))&&CA[e.name]||xA}}function gy(e){return e.type==="element"&&(!e.namespace||Ji(e))&&SA[e.name]||DA}function I_(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=fr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function yy(e){return Et(!1,Et(!1,e,"'","'"),""",'"')}function In(e){return yy(e.value)}function Lu(e,t){return Co(e,t)&&!_A.has(e.fullName)}function Co(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function L1(e,t){return Co(e,t)&&(Lu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function R_(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function z_(e,t){let r=e.parent;if(!Co(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function wy(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Ut(t):Ut(vy(Fy(t)),me):Eo(Oe,fr.split(t))}function by(e,t){return Co(e,t)&&e.name==="script"}async function B_(e,t){let r=[];for(let[n,a]of e.split($y).entries())if(n%2===0)r.push(Ut(a));else try{r.push($e(["{{",Dr([Oe,await Zt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Oe,"}}"]))}catch{r.push("{{",Ut(a),"}}")}return r}function $c({parser:e}){return(t,r,n)=>Zt(In(n.node),t,{parser:e},xo)}function P7(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return AA;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return FA;if(n.startsWith("*"))return $A;let a=In(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>zu(ly(wy(r,a.trim())),!a.includes("@@"));if($y.test(a))return o=>B_(a,o)}function N7(e,t){let{node:r}=e,n=In(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Wg(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function j7(e){let t=e.length,r,n,a,o,i,l=0,s;function d(m){let g,v=m.exec(e.substring(l));if(v)return[g]=v,l+=g.length,g}c(d,"p");let f=[];for(;;){if(d(zA),l>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}s=l,r=d(BA),n=[],r.slice(-1)===","?(r=r.replace(LA,""),p()):h()}function h(){for(d(RA),a="",o="in descriptor";;){if(i=e.charAt(l),o==="in descriptor")if(Wg(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){l+=1,a&&n.push(a),p();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),p();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),p();return}else a+=i;else if(o==="after descriptor"&&!Wg(i))if(i===""){p();return}else o="in descriptor",l-=1;l+=1}}c(h,"f");function p(){let m=!1,g,v,C,b,y={},E,x,D,S,k;for(b=0;bL_(In(e.node))}function L_(e){let t=MA(e),r=PA.filter(f=>t.some(h=>Object.prototype.hasOwnProperty.call(h,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=Jg[n],o=t.map(f=>f.source.value),i=Math.max(...o.map(f=>f.length)),l=t.map(f=>f[n]?String(f[n].value):""),s=l.map(f=>{let h=f.indexOf(".");return h===-1?f.length:h}),d=Math.max(...s);return zu(Eo([",",Oe],o.map((f,h)=>{let p=[f],m=l[h];if(m){let g=i-f.length+1,v=d-s[h],C=" ".repeat(g+v);p.push(su(C," "),m+a)}return p})))}function O_(e,t){let{node:r}=e,n=In(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>zu(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function V7(e,t){let{root:r}=e;return w0.has(r)||w0.set(r,r.children.some(n=>by(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),w0.get(r)}function M_(e,t,r){let{node:n}=r,a=In(n);return Zt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},xo)}function P_(e,t,{parseWithTs:r}){return Zt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function N_(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function j_(e,t,r,n){let a=In(r.node),{left:o,operator:i,right:l}=H_(a),s=W1(r,n);return[$e(await Zt(`function _(${o}) {}`,e,{parser:s?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await Zt(l,e,{parser:s?"__ts_expression":"__js_expression"})]}function H_(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Et(!1,a[1].trim(),n,""),l=i.match(r);l?(o.alias=i.replace(r,""),o.iterator1=l[1].trim(),l[2]&&(o.iterator2=l[2].trim())):o.alias=i;let s=[o.alias,o.iterator1,o.iterator2];if(!s.some((d,f)=>!d&&(f===0||s.slice(f+1).some(Boolean))))return{left:s.filter(Boolean).join(","),operator:a[2],right:o.for}}function U7(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return j_;if(n==="generic"&&by(r.parent,t))return M_;let a=In(r),o=W1(e,t);if(R_(r)||z_(r,t))return i=>P_(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>V_(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>U_(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Ey(a,i,{parseWithTs:o})}function V_(e,t,{parseWithTs:r}){return N_(e)?Ey(e,t,{parseWithTs:r}):Zt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},xo)}function U_(e,t,{parseWithTs:r}){return Zt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},xo)}function Ey(e,t,{parseWithTs:r}){return Zt(e,t,{parser:r?"__ts_expression":"__js_expression"},xo)}function W7(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.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[NA,O_,IA,jA,TA]){let a=n(e,t);if(a)return W_(a)}}}function W_(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=z1(o,i=>typeof i=="string"?Et(!1,i,'"',"""):i),[n.node.rawName,'="',$e(o),'"']}}function q7(e){return Array.isArray(e)&&e.length>0}function Ou(e){return e.sourceSpan.start.offset}function Mu(e){return e.sourceSpan.end.offset}function wd(e,t){return[e.isSelfClosing?"":q_(e,t),Ei(e,t)]}function q_(e,t){return e.lastChild&&Yi(e.lastChild)?"":[G_(e,t),O1(e,t)]}function Ei(e,t){return(e.next?fa(e.next):gl(e.parent))?"":[ml(e,t),pa(e,t)]}function G_(e,t){return gl(e)?ml(e.lastChild,t):""}function pa(e,t){return Yi(e)?O1(e.parent,t):Pu(e)?M1(e.next):""}function O1(e,t){if(Ty(!e.isSelfClosing),xy(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function xy(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Bu(e)||sy(e.parent,t))}function fa(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!$t(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function gl(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!$t(B1(e.lastChild))&&!fo(e)}function Yi(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&$t(B1(e))}function Pu(e){return e.next&&!$t(e.next)&&$t(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function K_(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Nu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Y_(e,t,r){var n;let{node:a}=e;if(!q1(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&K_(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?h=>o.includes(h.rawName):()=>!1,l=e.map(({node:h})=>i(h)?Ut(t.originalText.slice(Ou(h),Mu(h))):r(),"attrs"),s=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Co(a,t)?me:Oe,f=[Dr([s?" ":Oe,Eo(d,l)])];return a.firstChild&&Nu(a.firstChild)||a.isSelfClosing&&gl(a.parent)||s?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?Oe:We),f}function Z_(e){return e.firstChild&&Nu(e.firstChild)?"":P1(e)}function bd(e,t,r){let{node:n}=e;return[xi(n,t),Y_(e,t,r),n.isSelfClosing?"":Z_(n)]}function xi(e,t){return e.prev&&Pu(e.prev)?"":[ha(e,t),M1(e)]}function ha(e,t){return Nu(e)?P1(e.parent):fa(e)?ml(e.prev,t):""}function M1(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function P1(e){switch(Ty(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function G7(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Nu(e.firstChild)&&(r-=P1(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Yi(e.lastChild)?n+=O1(e,t).length:gl(e)&&(n-=ml(e.lastChild,t).length),t.originalText.slice(r,n)}function K7(e,t){let{node:r}=e;switch(r.type){case"element":if(Jr(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&L1(r,t)){let n=Ug(r,t);return n?async(a,o)=>{let i=Iy(r,t),l=/^\s*$/u.test(i),s="";return l||(s=await a(Fy(i),{parser:n,__embeddedInHtml:!0}),l=s===""),[ha(r,t),$e(bd(e,t,o)),l?"":me,s,l?"":me,wd(r,t),pa(r,t)]}:void 0}break;case"text":if(Jr(r.parent)){let n=Ug(r.parent,t);if(n)return async a=>{let o=n==="markdown"?vy(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let l="script",{attrMap:s}=r.parent;s&&(s.type==="module"||s.type==="text/babel"&&s["data-type"]==="module")&&(l="module"),i.__babelSourceType=l}return[Di,ha(r,t),await a(o,i),pa(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=W1(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[Dr([Oe,await n(r.value,a)]),r.parent.next&&fa(r.parent.next)?" ":Oe]};break;case"attribute":return HA(e,t);case"front-matter":return n=>wA(r,n);case"angularControlFlowBlockParameters":return VA.has(e.parent.name)?bA:void 0;case"angularLetDeclarationInitializer":return n=>Zt(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Ci(e){if(Xo!==null&&typeof Xo.property){let t=Xo;return Xo=Ci.prototype=null,t}return Xo=Ci.prototype=e??Object.create(null),new Ci}function X_(e){return Ci(e)}function Y7(e,t="type"){X_(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return c(r,"r"),r}function J_(e){return/^\s*/u.test(e)}function Z7(e){return` + +`+e}function Cy(e){let t=Mu(e);return e.type==="element"&&!e.endSourceSpan&&q1(e.children)?Math.max(t,Cy(Xi(!1,e.children,-1))):t}function Zo(e,t,r){let n=e.node;if(Bu(n)){let a=Cy(n);return[ha(n,t),Ut(fr.trimEnd(t.originalText.slice(Ou(n)+(n.prev&&Pu(n.prev)?M1(n).length:0),a-(n.next&&fa(n.next)?ml(n,t).length:0)))),pa(n,t)]}return r()}function fs(e,t){return $t(e)&&$t(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?y0(t)?me:Oe:"":y0(t)?me:We:Pu(e)&&(Bu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&fa(t)?"":!t.isLeadingSpaceSensitive||y0(t)||fa(t)&&e.lastChild&&Yi(e.lastChild)&&e.lastChild.lastChild&&Yi(e.lastChild.lastChild)?me:t.hasLeadingSpaces?Oe:We}function N1(e,t,r){let{node:n}=e;if(cy(n))return[Di,...e.map(o=>{let i=o.node,l=i.prev?fs(i.prev,i):"";return[l?[l,ps(i.prev)?me:""]:"",Zo(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let l=o.node;if($t(l)){if(l.prev&&$t(l.prev)){let g=fs(l.prev,l);if(g)return ps(l.prev)?[me,me,Zo(o,t,r)]:[g,Zo(o,t,r)]}return Zo(o,t,r)}let s=[],d=[],f=[],h=[],p=l.prev?fs(l.prev,l):"",m=l.next?fs(l,l.next):"";return p&&(ps(l.prev)?s.push(me,me):p===me?s.push(me):$t(l.prev)?d.push(p):d.push(su("",We,{groupId:a[i-1]}))),m&&(ps(l)?$t(l.next)&&h.push(me,me):m===me?$t(l.next)&&h.push(me):f.push(m)),[...s,$e([...d,$e([Zo(o,t,r),...f],{id:a[i]})]),...h]},"children")}function Q_(e,t,r){let{node:n}=e,a=[];eA(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",$e(r("parameters")),")"),a.push(" {");let o=Dy(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(Dr([me,N1(e,t,r)])),o&&a.push(me,"}")):o&&a.push("}"),$e(a,{shouldBreak:!0})}function Dy(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=UA.get(e.name))!=null&&r.has(e.next.name))}function eA(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!Bu(t)&&!Dy(t)}function tA(e,t,r){return[Dr([We,Eo([";",Oe],e.map(r,"children"))]),We]}function rA(e,t,r){let{node:n}=e;return[xi(n,t),$e([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",Dr([Oe,Eo(Oe,e.map(r,"cases"))])]:"",We]),Ei(n,t)]}function nA(e,t,r){let{node:n}=e;return[n.value," {",$e([Dr([We,e.map(({node:a})=>a.type==="text"&&!fr.trim(a.value)?"":r(),"expression")]),We]),"}"]}function aA(e,t,r){let{node:n}=e;if(sy(n,t))return[ha(n,t),$e(bd(e,t,r)),Ut(Iy(n,t)),...wd(n,t),pa(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=c(f=>$e([$e(bd(e,t,r),{id:o}),f,wd(n,t)]),"a"),l=c(f=>a?u_(f,{groupId:o}):(Jr(n)||Lu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:Dr(f),"o"),s=c(()=>a?su(We,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Oe:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?l_(We):We,"u"),d=c(()=>(n.next?fa(n.next):gl(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?su(We,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Oe:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":We,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Oe:""):i([w_(n)?Di:"",l([s(),N1(e,t,r)]),d()])}function Os(e){return e>=9&&e<=32||e==160}function Ed(e){return 48<=e&&e<=57}function Ms(e){return e>=97&&e<=122||e>=65&&e<=90}function oA(e){return e>=97&&e<=102||e>=65&&e<=70||Ed(e)}function Tc(e){return e===10||e===13}function Ff(e){return 48<=e&&e<=55}function Ic(e){return e===39||e===34||e===96}function X7(e){return e.replace(WA,(...t)=>t[1].toUpperCase())}function J7(e,t){for(let r of qA)r(e,t);return e}function Q7(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 eb(e){let t=c(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function rb(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!fr.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"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new te(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function nb(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(h_(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,l=a.value.split(r);for(let s=0;s0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new te(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new te(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new te(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function ab(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&fr.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=m_(t),n=uy(t);if(!r)for(let a=0;a{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 ib(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function lb(e,t){e.walk(r=>{r.cssDisplay=T_(r,t)})}function sb(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=y_(r);return}for(let a of n)a.isLeadingSpaceSensitive=g_(a,t),a.isTrailingSpaceSensitive=v_(a,t);for(let a=0;a{!ql[t]&&hs(t)===null&&(ql[t]=new Q({canSelfClose:!1}))})),ql[e]??d6}function qg(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function db(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];YA.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function pb(e,t,r,n={}){let a=new XA(new Ry(e,t),r,n);return a.tokenize(),new ZA(lA(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function za(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Rf(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function fb(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function Se(e){return!Os(e)||e===0}function zf(e){return Os(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function hb(e){return(e<97||12257)}function mb(e){return e===59||e===0||!oA(e)}function gb(e){return e===59||e===0||!Ms(e)}function vb(e){return e!==125}function yb(e,t){return Gg(e)===Gg(t)}function Gg(e){return e>=97&&e<=122?e-97+65:e}function Bf(e){return Ms(e)||Ed(e)||e===95}function Lf(e){return e!==59&&Se(e)}function lA(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Mf(e,t){return Ns[t]!==void 0?Ns[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}function Kg(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:l=!1}=t;return JA().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:l},a,o)}function wb(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function sA(e){let t=e.slice(0,Jo);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`,Jo);if(r===-1)return;let n=e.slice(Jo,r).trim(),a=e.indexOf(` +${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` +...`,r)),a===-1)return;let i=a+1+Jo,l=e.charAt(i+1);if(!/\s?/u.test(l))return;let s=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:s.slice(-Jo),raw:s}}function bb(e){let t=sA(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Et(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function Eb(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function uA(e,t){if(e.value)for(let{regex:r,parse:n}of rF){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function xb(e,t,r){let[,n,a,o]=r,i=4+n.length,l=e.sourceSpan.start.moveBy(i),s=l.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,l).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new te(l,s)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:Et(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new te(e.sourceSpan.start,l),endSourceSpan:new te(s,e.sourceSpan.end)}}function Cb(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Et(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function Db(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function cA(e){if(e.type==="block"){if(e.name=Et(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!q1(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new te(e.parameters[0].sourceSpan.start,Xi(!1,e.parameters,-1).sourceSpan.end)}}}function dA(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new te(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function pA(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Sy(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:l=!1,isTagNameCaseSensitive:s=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:h}=Kg(e,{canSelfClose:a,allowHtmComponentClosingTags:l,isTagNameCaseSensitive:s,getTagContentType:d?(...y)=>d(...y)?pr.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Sy(e,Qg,r);let y,E=c(()=>y??(y=Kg(e,{canSelfClose:a,allowHtmComponentClosingTags:l,isTagNameCaseSensitive:s})),"y"),x=c(D=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of f.entries()){let{endSourceSpan:k,startSourceSpan:_}=S;if(k===null)h=E().errors,f[D]=x(S);else if(fA(S,r)){let A=E().errors.find($=>$.span.start.offset>_.start.offset&&$.span.start.offset0&&Yg(h[0]);let p=c(y=>{let E=y.name.startsWith(":")?y.name.slice(1).split(":")[0]:null,x=y.nameSpan.toString(),D=E!==null&&x.startsWith(`${E}:`),S=D?x.slice(E.length+1):x;y.name=S,y.namespace=E,y.hasExplicitNamespace=D},"d"),m=c(y=>{switch(y.type){case"element":p(y);for(let E of y.attrs)p(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":y.value=y.sourceSpan.toString().slice(4,-3);break;case"text":y.value=y.sourceSpan.toString();break}},"C"),g=c((y,E)=>{let x=y.toLowerCase();return E(x)?x:y},"A"),v=c(y=>{if(y.type==="element"&&(o&&(!y.namespace||y.namespace===y.tagDefinition.implicitNamespacePrefix||Ji(y))&&(y.name=g(y.name,E=>nF.has(E))),i))for(let E of y.attrs)E.namespace||(E.name=g(E.name,x=>E0.has(y.name)&&(E0.get("*").has(x)||E0.get(y.name).has(x))))},"D"),C=c(y=>{y.sourceSpan&&y.endSourceSpan&&(y.sourceSpan=new te(y.sourceSpan.start,y.endSourceSpan.end))},"R"),b=c(y=>{if(y.type==="element"){let E=xd(s?y.name:y.name.toLowerCase());!y.namespace||y.namespace===E.implicitNamespacePrefix||Ji(y)?y.tagDefinition=E:y.tagDefinition=xd("")}},"F");return qg(new class extends KA{visitExpansionCase(y,E){n==="angular"&&this.visitChildren(E,x=>{x(y.expression)})}visit(y){m(y),b(y),v(y),C(y)}},f),f}function fA(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||Hu(t,{language:n})==="html"}function Yg(e){let{msg:t,span:{start:r,end:n}}=e;throw QA(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ky(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?eF(e):{frontMatter:null,content:e},i=new Ry(e,r.filepath),l=new Ad(i,0,0,0),s=l.moveBy(e.length),d={type:"root",sourceSpan:new te(l,s),children:Sy(o,t,r)};if(a){let p=new Ad(i,0,0,0),m=p.moveBy(a.raw.length);a.sourceSpan=new te(p,m),d.children.unshift(a)}let f=new tF(d),h=c((p,m)=>{let{offset:g}=m,v=Et(!1,e.slice(0,g),/[^\n\r]/gu," "),C=ky(v+p,t,r,!1);C.sourceSpan=new te(m,Xi(!1,C.children,-1).sourceSpan.end);let b=C.children[0];return b.length===g?C.children.shift():(b.sourceSpan=new te(b.sourceSpan.start.moveBy(g),b.sourceSpan.end),b.value=b.value.slice(g)),C},"f");return f.walk(p=>{if(p.type==="comment"){let m=uA(p,h);m&&p.parent.replaceChild(p,m)}cA(p),dA(p),pA(p)}),f}function Wl(e){return{parse:c((t,r)=>ky(t,e,r),"parse"),hasPragma:J_,astFormat:"html",locStart:Ou,locEnd:Mu}}var Sb,Pf,Nf,jf,cn,kb,_b,Hf,Ab,Et,j1,H1,Cd,cu,du,Dd,Zi,pu,fu,hu,Sd,kd,qn,_d,Ps,_y,V1,hA,Vf,Fb,Ay,Uf,ma,U1,Di,$b,Tb,Oe,We,me,mA,Ib,Xi,gs,Zg,gA,or,Wf,Rb,zb,Bb,Lb,fr,qf,Ob,vA,ju,Mb,yA,Pb,wA,bA,EA,Hu,xA,CA,DA,SA,Ji,Nb,Fy,kA,_A,$y,AA,FA,$A,TA,IA,RA,zA,BA,LA,Xg,OA,MA,Jg,PA,NA,w0,W1,jA,HA,Gf,Ty,q1,Iy,VA,jb,Xo,Hb,Vb,Ub,Wb,qb,Gb,UA,WA,Rc,Ad,Kf,Ry,Yf,te,zc,Zf,Xf,qA,Kb,Yb,Zb,Xb,Jf,Qf,Jb,Qb,eh,e6,t6,r6,th,rh,Za,n6,pr,b0,nh,a6,o6,i6,l6,s6,u6,ah,c6,oh,GA,ih,Q,d6,ql,lh,Ba,sh,p6,uh,f6,ch,h6,dh,m6,ph,g6,fh,dn,hh,v6,mh,y6,gh,La,vh,yh,wh,bh,Eh,KA,Ns,w6,YA,Bc,b6,xh,Ch,Lc,Dh,ZA,E6,Oc,Sh,Mc,kh,XA,Gl,_h,Kl,x6,Ah,Pc,Nc,Qe,Fh,C6,$h,D6,jc,S6,Th,k6,Hc,JA,QA,Jo,eF,Yl,Ih,Oa,tF,rF,E0,nF,Qg,_6,A6,F6,$6,T6,aF,_j=R(()=>{Sb=Object.defineProperty,Pf=c(e=>{throw TypeError(e)},"Xr"),Nf=c((e,t)=>{for(var r in t)Sb(e,r,{get:t[r],enumerable:!0})},"Jr"),jf=c((e,t,r)=>t.has(e)||Pf("Cannot "+r),"Zr"),cn=c((e,t,r)=>(jf(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),kb=c((e,t,r)=>t.has(e)?Pf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),_b=c((e,t,r,n)=>(jf(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Hf={},Nf(Hf,{languages:c(()=>Xb,"languages"),options:c(()=>Qb,"options"),parsers:c(()=>eh,"parsers"),printers:c(()=>T6,"printers")}),Ab=c((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)},"si"),Et=Ab,j1="string",H1="array",Cd="cursor",cu="indent",du="align",Dd="trim",Zi="group",pu="fill",fu="if-break",hu="indent-if-break",Sd="line-suffix",kd="line-suffix-boundary",qn="line",_d="label",Ps="break-parent",_y=new Set([Cd,cu,du,Dd,Zi,pu,fu,hu,Sd,kd,qn,_d,Ps]),c($7,"ii"),V1=$7,hA=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(T7,"oi"),Fb=(Vf=class extends Error{constructor(t){super(T7(t));Mo(this,"name","InvalidDocError");this.doc=t}},c(Vf,"lr"),Vf),Ay=Fb,Uf=c(()=>{},"rn"),ma=Uf,U1=Uf,c(Dr,"k"),c(iy,"nn"),c($e,"_"),c(l_,"sn"),c(s_,"an"),c(ly,"At"),c(su,"ge"),c(u_,"on"),Di={type:Ps},$b={type:qn,hard:!0},Tb={type:qn,hard:!0,literal:!0},Oe={type:qn},We={type:qn,soft:!0},me=[$b,Di],mA=[Tb,Di],c(Eo,"q"),Ib=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Xi=Ib,c(z1,"Dt"),c(c_,"pi"),c(d_,"ln"),c(Ut,"B"),gs="'",Zg='"',c(I7,"hi"),gA=I7,c(R7,"cr"),Rb=(Wf=class{constructor(e){kb(this,or),_b(this,or,new Set(e))}getLeadingWhitespaceCount(e){let t=cn(this,or),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 cn(this,or).has(e.charAt(0))}hasTrailingWhitespace(e){return cn(this,or).has(Xi(!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=`[${R7([...cn(this,or)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=cn(this,or);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=cn(this,or);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=cn(this,or);return Array.prototype.every.call(e,r=>t.has(r))}},c(Wf,"pr"),Wf),or=new WeakMap,zb=Rb,Bb=[" ",` +`,"\f","\r"," "],Lb=new zb(Bb),fr=Lb,Ob=(qf=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);Mo(this,"name","UnexpectedNodeError");this.node=t}},c(qf,"hr"),qf),vA=Ob,c(z7,"di"),ju=z7,Mb=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),yA=new Set(["if","else if","for","switch","case"]),c(Af,"fn"),Af.ignoredProperties=Mb,Pb=Af,c(B7,"Si"),wA=B7,c(zu,"Ce"),c(xo,"j"),c(Zt,"T"),c(L7,"_i"),bA=L7,EA=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(Vg,"Sn"),c(p_,"Ai"),c(O7,"Di"),Hu=O7,xA="inline",CA={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"},DA="normal",SA={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(M7,"vi"),Ji=M7,Nb=c(e=>Et(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Fy=c(e=>Nb(fr.trimEnd(e)),"mr"),kA=c(e=>{let t=e,r=fr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=fr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(sy,"yt"),c(Bu,"Ee"),c(f_,"wi"),c($t,"$"),c(Jr,"U"),c(h_,"yn"),c(m_,"wn"),c(uy,"fr"),c(g_,"bn"),c(v_,"Tn"),c(y_,"xn"),c(ps,"Qe"),c(w_,"kn"),c(cy,"dr"),c(y0,"wt"),c(b_,"bi"),c(dy,"Bn"),c(py,"Ln"),c(fy,"Fn"),c(hy,"Nn"),c(B1,"bt"),c(E_,"Ti"),c(my,"Pn"),c(x_,"xi"),c(C_,"ki"),c(D_,"Bi"),c(Ug,"gr"),c(hl,"Xe"),c(S_,"Li"),c(k_,"Fi"),c(__,"Ni"),c(A_,"Pi"),c(F_,"Ii"),c(fo,"_e"),c($_,"Ri"),c(T_,"In"),c(gy,"Rn"),c(I_,"$i"),c(vy,"Cr"),c(yy,"Sr"),c(In,"P"),_A=new Set(["template","style","script"]),c(Lu,"Je"),c(Co,"Ae"),c(L1,"Tt"),c(R_,"$n"),c(z_,"On"),c(wy,"xt"),c(by,"kt"),$y=/\{\{(.+?)\}\}/su,c(B_,"Mn"),c($c,"Er"),AA=$c({parser:"__ng_action"}),FA=$c({parser:"__ng_binding"}),$A=$c({parser:"__ng_directive"}),c(P7,"Vi"),TA=P7,c(N7,"Ui"),IA=N7,c(Wg,"Vn"),RA=/^[ \t\n\r\u000c]+/,zA=/^[, \t\n\r\u000c]+/,BA=/^[^ \t\n\r\u000c]+/,LA=/[,]+$/,Xg=/^\d+$/,OA=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(j7,"Ki"),MA=j7,c(H7,"Qi"),Jg={width:"w",height:"h",density:"x"},PA=Object.keys(Jg),c(L_,"Ji"),NA=H7,c(O_,"Yn"),w0=new WeakMap,c(V7,"Zi"),W1=V7,c(M_,"jn"),c(P_,"Kn"),c(N_,"Qn"),c(j_,"Xn"),c(H_,"ea"),c(U7,"ta"),c(V_,"ra"),c(U_,"na"),c(Ey,"Jn"),jA=U7,c(W7,"sa"),c(W_,"ia"),HA=W7,Gf=new Proxy(()=>{},{get:c(()=>Gf,"get")}),Ty=Gf,c(q7,"aa"),q1=q7,c(Ou,"se"),c(Mu,"ie"),c(wd,"Ze"),c(q_,"oa"),c(Ei,"De"),c(G_,"ua"),c(pa,"W"),c(O1,"Bt"),c(ml,"ve"),c(xy,"rs"),c(fa,"K"),c(gl,"ye"),c(Yi,"we"),c(Pu,"et"),c(K_,"la"),c(Nu,"tt"),c(Y_,"ca"),c(Z_,"pa"),c(bd,"rt"),c(xi,"be"),c(ha,"z"),c(M1,"Lt"),c(P1,"Ft"),c(G7,"ha"),Iy=G7,VA=new Set(["if","else if","for","switch","case"]),c(K7,"fa"),jb=K7,Xo=null,c(Ci,"st"),Hb=10;for(let e=0;e<=Hb;e++)Ci();c(X_,"vr"),c(Y7,"ga"),Vb=Y7,Ub={"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:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Wb=Ub,qb=Vb(Wb),Gb=qb,c(J_,"os"),c(Z7,"us"),UA=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"])]]),c(Cy,"cs"),c(Zo,"it"),c(fs,"Pt"),c(N1,"He"),c(Q_,"ps"),c(Dy,"hs"),c(eA,"_a"),c(tA,"ms"),c(rA,"fs"),c(nA,"ds"),c(aA,"gs"),c(Os,"at"),c(Ed,"It"),c(Ms,"ot"),c(oA,"Cs"),c(Tc,"Rt"),c(Ff,"yr"),c(Ic,"$t"),WA=/-+([a-z0-9])/g,c(X7,"_s"),Ad=(Rc=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Rc(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(Zf,"Ue"),Zf),qA=[Q7,eb,tb,nb,ab,lb,ob,ib,sb,rb],c(J7,"Da"),c(Q7,"va"),c(eb,"ya"),c(iA,"wa"),c(tb,"ba"),c(rb,"Ta"),c(nb,"xa"),c(ab,"ka"),c(ob,"Ba"),c(ib,"La"),c(lb,"Fa"),c(sb,"Na"),Kb=J7,c(ub,"Pa"),Yb={preprocess:Kb,print:ub,insertPragma:Z7,massageAstNode:Pb,embed:jb,getVisitorKeys:Gb},Zb=Yb,Xb=[{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"]}],Jf={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."}},Qf="HTML",Jb={bracketSameLine:Jf.bracketSameLine,htmlWhitespaceSensitivity:{category:Qf,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:Jf.singleAttributePerLine,vueIndentScriptAndStyle:{category:Qf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Qb=Jb,eh={},Nf(eh,{angular:c(()=>A6,"angular"),html:c(()=>_6,"html"),lwc:c(()=>$6,"lwc"),vue:c(()=>F6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(e6||(e6={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(t6||(t6={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(r6||(r6={})),th={name:"custom-elements"},rh={name:"no-errors-schema"},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"}(Za||(Za={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(n6||(n6={})),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"}(pr||(pr={})),c(uu,"ut"),c($f,"xr"),c(Tf,"kr"),c(hs,"We"),c(Ul,"ze"),c(If,"Br"),c(ms,"Mt"),a6=(nh=class{},c(nh,"Ht"),nh),o6="boolean",i6="number",l6="string",s6="object",u6=["[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,!inert,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:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*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,*scrollend,*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",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],ah=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),c6=Array.from(ah).reduce((e,[t,r])=>(e.set(t,r),e),new Map),GA=(oh=class extends a6{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,u6.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,l]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let s=l&&this._schema.get(l.toLowerCase());if(s){for(let[d,f]of s)t.set(d,f);for(let d of this._eventSchema.get(l.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),o6);break;case"#":t.set(d.substring(1),i6);break;case"%":t.set(d.substring(1),s6);break;default:t.set(d,l6)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===rh.name))return!0;if(e.indexOf("-")>-1){if($f(e)||Tf(e))return!1;if(r.some(n=>n.name===th.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===rh.name)||e.indexOf("-")>-1&&($f(e)||Tf(e)||t.some(r=>r.name===th.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=If()[e+"|"+t];return n||(n=If()["*|"+t],n||Za.NONE)}getMappedPropName(e){return ah.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=>c6.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return X7(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(cb(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},c(oh,"Vt"),oh),c(cb,"Ua"),Q=(ih=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=pr.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:l=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(s=>this.closedByChildren[s]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=l??a}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}},c(ih,"m"),ih),c(xd,"Ge"),Ba=(lh=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(lh,"oe"),lh),p6=(sh=class extends Ba{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)}},c(sh,"Ut"),sh),f6=(uh=class extends Ba{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)}},c(uh,"Wt"),uh),h6=(ch=class extends Ba{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},c(ch,"zt"),ch),m6=(dh=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(dh,"Gt"),dh),g6=(ph=class extends Ba{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(ph,"Yt"),ph),dn=(fh=class extends Ba{constructor(e,t,r,n,a,o=null,i=null,l){super(n,l),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(fh,"G"),fh),v6=(hh=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(hh,"jt"),hh),y6=(mh=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(mh,"Kt"),mh),La=(gh=class extends Ba{constructor(e,t,r,n,a,o,i=null,l){super(n,l),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(gh,"Z"),gh),yh=(vh=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)}},c(vh,"ct"),vh),bh=(wh=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(wh,"pt"),wh),c(qg,"Qt"),KA=(Eh=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){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(qg(n,o,e))}return c(a,"i"),t(a),Array.prototype.concat.apply([],r)}},c(Eh,"ht"),Eh),Ns={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:"‌"},w6="",Ns.ngsp=w6,YA=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(db,"Ls"),b6=(Bc=class{static fromArray(e){return e?(db("interpolation",e),new Bc(e[0],e[1])):xh}constructor(e,t){this.start=e,this.end=t}},c(Bc,"t"),Bc),xh=new b6("{{","}}"),Lc=(Ch=class extends Xf{constructor(e,t,r){super(r,e),this.tokenType=t}},c(Ch,"ft"),Ch),ZA=(Dh=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Dh,"$r"),Dh),c(pb,"Ws"),E6=/\r\n?/g,c(za,"je"),c(Rf,"Rs"),c(fb,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Oc||(Oc={})),Mc=(Sh=class{constructor(e){this.error=e}},c(Sh,"dt"),Sh),XA=(kh=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||xh,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.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 x6(e,n):new _h(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(E6,` +`)}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._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):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(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Os(r)?!e:Bf(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(Se),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Se);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(Lf);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&&Ic(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(Lf)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),Os(this._cursor.peek()))this._attemptCharCodeUntilFn(Se);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Se),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>Se(r)&&!Tc(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Ms(r)||r==36||r===95||t&&Ed(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Ic(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(vb(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 Lc("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 Lc("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 Lc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Mc(r)}handleError(e){if(e instanceof Pc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Mc)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return yb(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(za(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&&!hb(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(zf,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Ms(this._cursor.peek()))throw this._createError(za(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(Se);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,l]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Se),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(Se);let s=this._consumeAttributeValue();a.push({prefix:i,name:l,value:s})}else a.push({prefix:i,name:l});this._attemptCharCodeUntilFn(Se)}this._consumeTagOpenEnd()}catch(i){if(i instanceof Mc){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===pr.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===pr.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Se),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(Se),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(za(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=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>zf(this._cursor.peek()),"r");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(Se),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Se),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Se),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(Se),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Se)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(Se),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Se),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Se),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let l=this._cursor.clone();if(this._isTagStart()){this._cursor=l,n.push(this._getProcessedChars(a,l)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,l)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let s=this._cursor.peek();this._cursor.advance(),s===92?this._cursor.advance():s===o?o=null:!i&&o===null&&Ic(s)&&(o=s)}n.push(this._getProcessedChars(a,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()===64||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(),Bf(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=Ul(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ul(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(kh,"Or"),kh),c(Se,"b"),c(zf,"$s"),c(hb,"mo"),c(mb,"fo"),c(gb,"go"),c(vb,"Co"),c(yb,"So"),c(Gg,"Os"),c(Bf,"Ms"),c(Lf,"qs"),c(lA,"_o"),_h=(Gl=class{constructor(e,t){if(e instanceof Gl){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Gl(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new te(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Pc('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Tc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Ad(e.file,e.state.offset,e.state.line,e.state.column)}},c(Gl,"t"),Gl),x6=(Kl=class extends _h{constructor(e,t){e instanceof Kl?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Kl(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Ff(e())){let t="",r=0,n=this.clone();for(;Ff(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Tc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Pc("Invalid hexadecimal escape sequence",e);return n}},c(Kl,"t"),Kl),Pc=(Ah=class{constructor(e,t){this.msg=e,this.cursor=t}},c(Ah,"gt"),Ah),Qe=(Nc=class extends Xf{static create(e,t,r){return new Nc(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(Nc,"t"),Nc),C6=(Fh=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(Fh,"Vr"),Fh),D6=($h=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=c(m=>(g,...v)=>m(g.toLowerCase(),...v),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),l=c(m=>i(m).getContentType(),"u"),s=n?a:o(a),d=pb(e,t,a?(m,g,v,C)=>{let b=s(m,g,v,C);return b!==void 0?b:l(m)}:l,r),f=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,p=new S6(d.tokens,i,f,h,n);return p.build(),new C6(p.rootNodes,d.errors.concat(p.errors))}},c($h,"nr"),$h),S6=(jc=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)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===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof La&&this.errors.push(Qe.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new te(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new te(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new m6(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(Of(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Of(r,20))r.pop();else return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Qe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Mf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new p6(n,new te(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof dn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||hs(a)!==null||p.isVoid||this.errors.push(Qe.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,l=new te(e.sourceSpan.start,i,e.sourceSpan.fullStart),s=new te(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new te(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new dn(a,n,[],l,s,void 0,d),h=this._getContainer();this._pushContainer(f,h instanceof dn&&this.getTagDefinition(h.name).isClosedByChild(f.name)),o?this._popContainer(a,dn,l):e.type===4&&(this._popContainer(a,dn,null),this.errors.push(Qe.create(a,l,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Qe.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,dn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". 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(Qe.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(hs(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof La||o instanceof dn&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Ul(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,l;if(this._peek.type===16)for(i=this._peek.sourceSpan,l=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Mf):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),l=r=d.sourceSpan.end}this._peek.type===15&&(l=r=this._advance().sourceSpan.end);let s=i&&l&&new te((n==null?void 0:n.sourceSpan.start)??i.start,l,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new g6(t,a,new te(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,s,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new yh(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new te(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new te(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new La(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,La,e.sourceSpan)||this.errors.push(Qe.create(null,e.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(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new yh(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new te(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new te(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new La(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,La,null),this.errors.push(Qe.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new te(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),l=e.sourceSpan.start.moveBy(i),s=new te(l,e.sourceSpan.end),d=new bh(t,r.parts[0],o,s,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new te(a,e.sourceSpan.end),i=new te(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),l=new bh(t,"",e.sourceSpan,o,i);this._addToParent(l)}this.errors.push(Qe.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof dn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=uu(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=hs(r.name))}return Ul(e,t)}},c(jc,"t"),jc),c(Of,"zs"),c(Mf,"Gs"),k6=(Th=class extends D6{constructor(){super(xd)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},c(Th,"sr"),Th),Hc=null,JA=c(()=>(Hc||(Hc=new k6),Hc),"Eo"),c(Kg,"zr"),c(wb,"Ao"),QA=wb,Jo=3,c(sA,"Do"),c(bb,"vo"),eF=bb,Yl={attrs:!0,children:!0,cases:!0,expression:!0},Ih=new Set(["parent"]),tF=(Oa=class{constructor(e={}){for(let t of new Set([...Ih,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Yl&&(t=t.map(r=>this.createChild(r))),!Ih.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Yl){let n=this[r];if(n){let a=Eb(n,o=>o.map(e));t!==n&&(t||(t=new Oa({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Yl||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Yl){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(Oa,"t"),Oa),c(Eb,"yo"),rF=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),$6=Wl({name:"lwc",canSelfClose:!1}),T6={html:Zb},aF=Hf});function pn(){}function I6(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var l=0,s=o.length,d=0,f=0;lv.length?b:v}),h.value=e.join(m)}else h.value=e.join(r.slice(d,d+h.count));d+=h.count,h.added||(f+=h.count)}}var g=o[s-1];return s>1&&typeof g.value=="string"&&(g.added||g.removed)&&e.equals("",g.value)&&(o[s-2].value+=g.value,o.pop()),o}function js(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?js=c(function(t){return typeof t},"$e"):js=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),js(e)}function Fd(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function G1(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function zy(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function lF(e){return Uu(!1,e,/\r\n?/gu,` +`)}function R6(e){if(typeof e=="string")return xa;if(Array.isArray(e))return Qr;if(!e)return;let{type:t}=e;if(qy.has(t))return t}function z6(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(Ca(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=YF([...qy].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function B6(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===E2){r(a.pop());continue}r&&a.push(o,E2);let i=Ca(o);if(!i)throw new mo(o);if((t==null?void 0:t(o))!==!1)switch(i){case Qr:case wr:{let l=i===Qr?o:o.parts;for(let s=l.length,d=s-1;d>=0;--d)a.push(l[d]);break}case xt:a.push(o.flatContents,o.breakContents);break;case pt:if(n&&o.expandedStates)for(let l=o.expandedStates.length,s=l-1;s>=0;--s)a.push(o.expandedStates[s]);else a.push(o.contents);break;case tn:case en:case rn:case br:case nn:a.push(o.contents);break;case xa:case la:case Yr:case Zr:case He:case Rt:break;default:throw new mo(o)}}}function mu(e){return Er(e),{type:en,contents:e}}function ho(e,t){return Er(t),{type:tn,contents:t,n:e}}function e2(e,t={}){return Er(e),Z1(t.expandedStates,!0),{type:pt,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function L6(e){return ho(Number.NEGATIVE_INFINITY,e)}function O6(e){return ho({type:"root"},e)}function M6(e){return ho(-1,e)}function P6(e,t){return e2(e[0],{...t,expandedStates:e})}function t2(e){return Z1(e),{type:wr,parts:e}}function N6(e,t="",r={}){return Er(e),t!==""&&Er(t),{type:xt,breakContents:e,flatContents:t,groupId:r.groupId}}function j6(e,t){return Er(e),{type:rn,contents:e,groupId:t.groupId,negate:t.negate}}function $d(e){return Er(e),{type:nn,contents:e}}function r2(e,t){Er(e),Z1(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${h})`}if(o.type===pt){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let h=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${h})`:`group(${n(o.contents)}${h})`}if(o.type===wr)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===nn)return"lineSuffix("+n(o.contents)+")";if(o.type===Zr)return"lineSuffixBoundary";if(o.type===br)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let l=0;;l++){let s=i+(l>0?` #${l}`:"");if(!r.has(s))return r.add(s),t[o]=`Symbol.for(${JSON.stringify(s)})`}}}function V6(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function U6(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}function W6(e){if(!e)return 0;if(!JF.test(e))return e.length;e=e.replace(ZF()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=XF(n)?1:2)}return t}function gu(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(Ca(o)){case Qr:return t(o.map(n));case wr:return t({...o,parts:o.parts.map(n)});case xt:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case pt:{let{expandedStates:i,contents:l}=o;return i?(i=i.map(n),l=i[0]):l=n(l),t({...o,contents:l,expandedStates:i})}case tn:case en:case rn:case br:case nn:return t({...o,contents:n(o.contents)});case xa:case la:case Yr:case Zr:case He:case Rt:return t(o);default:throw new mo(o)}}}function Td(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let l=t(i);l!==void 0&&(a=!0,n=l)}return c(o,"u"),Bd(e,o),n}function uF(e){if(e.type===pt&&e.break||e.type===He&&e.hard||e.type===Rt)return!0}function q6(e){return Td(e,uF,!1)}function a2(e){if(e.length>0){let t=ze(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function cF(e){let t=new Set,r=[];function n(o){if(o.type===Rt&&a2(r),o.type===pt){if(r.push(o),t.has(o))return!1;t.add(o)}}c(n,"n");function a(o){o.type===pt&&r.pop().break&&a2(r)}c(a,"o"),Bd(e,n,a,!0)}function dF(e){return e.type===He&&!e.hard?e.soft?"":" ":e.type===xt?e.flatContents:e}function G6(e){return gu(e,dF)}function o2(e){for(e=[...e];e.length>=2&&ze(!1,e,-2).type===He&&ze(!1,e,-1).type===Rt;)e.length-=2;if(e.length>0){let t=Si(ze(!1,e,-1));e[e.length-1]=t}return e}function Si(e){switch(Ca(e)){case en:case rn:case pt:case nn:case br:{let t=Si(e.contents);return{...e,contents:t}}case xt:return{...e,breakContents:Si(e.breakContents),flatContents:Si(e.flatContents)};case wr:return{...e,parts:o2(e.parts)};case Qr:return o2(e);case xa:return e.replace(/[\n\r]*$/u,"");case tn:case la:case Yr:case Zr:case He:case Rt:break;default:throw new mo(e)}return e}function i2(e){return Si(fF(e))}function pF(e){switch(Ca(e)){case wr:if(e.parts.every(t=>t===""))return"";break;case pt:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===pt&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case tn:case en:case rn:case nn:if(!e.contents)return"";break;case xt:if(!e.flatContents&&!e.breakContents)return"";break;case Qr:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ze(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case xa:case la:case Yr:case Zr:case He:case br:case Rt:break;default:throw new mo(e)}return e}function fF(e){return gu(e,t=>pF(t))}function K6(e,t=C2){return gu(e,r=>typeof r=="string"?r2(t,r.split(` +`)):r)}function hF(e){if(e.type===He)return!0}function Y6(e){return Td(e,hF,!1)}function By(e,t){return e.type===br?{...e,contents:t(e.contents)}:t(e)}function Ly(){return{value:"",length:0,queue:[]}}function mF(e,t){return Id(e,{type:"indent"},t)}function gF(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Ly():t<0?Id(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Id(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Id(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,l=0;for(let g of n)switch(g.type){case"indent":f(),r.useTabs?s(1):d(r.tabWidth);break;case"stringAlign":f(),a+=g.n,o+=g.n.length;break;case"numberAlign":i+=1,l+=g.n;break;default:throw new Error(`Unexpected type '${g.type}'`)}return p(),{...e,value:a,length:o,queue:n};function s(g){a+=" ".repeat(g),o+=r.tabWidth*g}function d(g){a+=" ".repeat(g),o+=g}function f(){r.useTabs?h():p()}function h(){i>0&&s(i),m()}function p(){l>0&&d(l),m()}function m(){i=0,l=0}}function Rd(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===ki){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ki);return t}function vs(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,l=[e],s=[];for(;r>=0;){if(l.length===0){if(i===0)return!0;l.push(t[--i]);continue}let{mode:d,doc:f}=l.pop(),h=Ca(f);switch(h){case xa:s.push(f),r-=Od(f);break;case Qr:case wr:{let p=h===Qr?f:f.parts;for(let m=p.length-1;m>=0;m--)l.push({mode:d,doc:p[m]});break}case en:case tn:case rn:case br:l.push({mode:d,doc:f.contents});break;case Yr:r+=Rd(s);break;case pt:{if(o&&f.break)return!1;let p=f.break?lt:d,m=f.expandedStates&&p===lt?ze(!1,f.expandedStates,-1):f.contents;l.push({mode:p,doc:m});break}case xt:{let p=(f.groupId?a[f.groupId]||ir:d)===lt?f.breakContents:f.flatContents;p&&l.push({mode:d,doc:p});break}case He:if(d===lt||f.hard)return!0;f.soft||(s.push(" "),r--);break;case nn:n=!0;break;case Zr:if(n)return!1;break}}return!1}function vu(e,t){let r={},n=t.printWidth,a=G1(t.endOfLine),o=0,i=[{ind:Ly(),mode:lt,doc:e}],l=[],s=!1,d=[],f=0;for(cF(e);i.length>0;){let{ind:p,mode:m,doc:g}=i.pop();switch(Ca(g)){case xa:{let v=a!==` +`?Uu(!1,g,` +`,a):g;l.push(v),i.length>0&&(o+=Od(v));break}case Qr:for(let v=g.length-1;v>=0;v--)i.push({ind:p,mode:m,doc:g[v]});break;case la:if(f>=2)throw new Error("There are too many 'cursor' in doc.");l.push(ki),f++;break;case en:i.push({ind:mF(p,t),mode:m,doc:g.contents});break;case tn:i.push({ind:gF(p,g.n,t),mode:m,doc:g.contents});break;case Yr:o-=Rd(l);break;case pt:switch(m){case ir:if(!s){i.push({ind:p,mode:g.break?lt:ir,doc:g.contents});break}case lt:{s=!1;let v={ind:p,mode:ir,doc:g.contents},C=n-o,b=d.length>0;if(!g.break&&vs(v,i,C,b,r))i.push(v);else if(g.expandedStates){let y=ze(!1,g.expandedStates,-1);if(g.break){i.push({ind:p,mode:lt,doc:y});break}else for(let E=1;E=g.expandedStates.length){i.push({ind:p,mode:lt,doc:y});break}else{let x=g.expandedStates[E],D={ind:p,mode:ir,doc:x};if(vs(D,i,C,b,r)){i.push(D);break}}}else i.push({ind:p,mode:lt,doc:g.contents});break}}g.id&&(r[g.id]=ze(!1,i,-1).mode);break;case wr:{let v=n-o,{parts:C}=g;if(C.length===0)break;let[b,y]=C,E={ind:p,mode:ir,doc:b},x={ind:p,mode:lt,doc:b},D=vs(E,[],v,d.length>0,r,!0);if(C.length===1){D?i.push(E):i.push(x);break}let S={ind:p,mode:ir,doc:y},k={ind:p,mode:lt,doc:y};if(C.length===2){D?i.push(S,E):i.push(k,x);break}C.splice(0,2);let _={ind:p,mode:m,doc:t2(C)},A=C[0];vs({ind:p,mode:ir,doc:[b,y,A]},[],v,d.length>0,r,!0)?i.push(_,S,E):D?i.push(_,k,E):i.push(_,k,x);break}case xt:case rn:{let v=g.groupId?r[g.groupId]:m;if(v===lt){let C=g.type===xt?g.breakContents:g.negate?g.contents:mu(g.contents);C&&i.push({ind:p,mode:m,doc:C})}if(v===ir){let C=g.type===xt?g.flatContents:g.negate?mu(g.contents):g.contents;C&&i.push({ind:p,mode:m,doc:C})}break}case nn:d.push({ind:p,mode:m,doc:g.contents});break;case Zr:d.length>0&&i.push({ind:p,mode:m,doc:S0});break;case He:switch(m){case ir:if(g.hard)s=!0;else{g.soft||(l.push(" "),o+=1);break}case lt:if(d.length>0){i.push({ind:p,mode:m,doc:g},...d.reverse()),d.length=0;break}g.literal?p.root?(l.push(a,p.root.value),o=p.root.length):(l.push(a),o=0):(o-=Rd(l),l.push(a+p.value),o=p.length);break}break;case br:i.push({ind:p,mode:m,doc:g.contents});break;case Rt:break;default:throw new mo(g)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=l.indexOf(ki);if(h!==-1){let p=l.indexOf(ki,h+1),m=l.slice(0,h).join(""),g=l.slice(h+1,p).join(""),v=l.slice(p+1).join("");return{formatted:m+g+v,cursorNodeStart:m.length,cursorNodeText:g}}return{formatted:l.join("")}}function Z6(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=c(o=>e$(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let l of i)a(l)&&(yield l);else a(i)&&(yield i)}}function*vF(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function t8(e){return e?t=>e(t,k2):r$}function yF(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function K1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=yF(e)}function Xa(e,t){t.leading=!0,t.trailing=!1,K1(e,t)}function Hs(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),K1(e,t)}function Ja(e,t){t.leading=!1,t.trailing=!0,K1(e,t)}function Y1(e,t){if(k0.has(e))return k0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let l=((r==null?void 0:r(e,t))??[...Oy(e,{getVisitorKeys:Wu(a)})]).flatMap(s=>n(s)?[s]:Y1(s,t));return l.sort((s,d)=>o(s)-o(d)||i(s)-i(d)),k0.set(e,l),l}function My(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),l=o(t),s=Y1(e,r),d,f,h=0,p=s.length;for(;h>1,g=s[m],v=a(g),C=o(g);if(v<=i&&l<=C)return My(g,t,r,g);if(C<=i){d=g,h=m+1;continue}if(l<=v){f=g,p=m;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:m}=n,g=x0(m,t,r);d&&x0(m,d,r)!==g&&(d=null),f&&x0(m,f,r)!==g&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function wF(e,t){let{comments:r}=e;if(delete e.comments,!t$(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:l={}},originalText:s}=t,{ownLine:d=_0,endOfLine:f=_0,remaining:h=_0}=l,p=r.map((m,g)=>({...My(e,m,t),comment:m,text:s,options:t,ast:e,isLastComment:r.length-1===g}));for(let[m,g]of p.entries()){let{comment:v,precedingNode:C,enclosingNode:b,followingNode:y,text:E,options:x,ast:D,isLastComment:S}=g;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(a(v)-a(D)<=0){Xa(D,v);continue}if(o(v)-o(D)>=0){Ja(D,v);continue}}let k;if(i?k=[g]:(v.enclosingNode=b,v.precedingNode=C,v.followingNode=y,k=[v,E,x,D,S]),bF(E,x,p,m))v.placement="ownLine",d(...k)||(y?Xa(y,v):C?Ja(C,v):Hs(b||D,v));else if(EF(E,x,p,m))v.placement="endOfLine",f(...k)||(C?Ja(C,v):y?Xa(y,v):Hs(b||D,v));else if(v.placement="remaining",!h(...k))if(C&&y){let _=n.length;_>0&&n[_-1].followingNode!==y&&l2(n,x),n.push(g)}else C?Ja(C,v):y?Xa(y,v):Hs(b||D,v)}if(l2(n,t),!i)for(let m of r)delete m.precedingNode,delete m.enclosingNode,delete m.followingNode}function bF(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:l}=t,s=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:h}=r[d];if(h!==o||!Gy(e.slice(l(f),s)))break;s=i(f)}return xn(e,s,{backwards:!0})}function EF(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:l}=t,s=l(a);if(o)for(let d=n+1;d0;--s){let{comment:d,precedingNode:f,followingNode:h}=e[s-1];Pd.strictEqual(f,o),Pd.strictEqual(h,i);let p=t.originalText.slice(t.locEnd(d),l);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))l=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,h)=>t.locStart(f)-t.locStart(h));e.length=0}function x0(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(l)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let l=e.node;if(n!=null&&n.has(l))return;let{leading:s,trailing:d}=l;s?a.push(xF(e,t)):d&&(i=CF(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function SF(e,t,r){let{leading:n,trailing:a}=DF(e,r);return!n&&!a?t:By(t,o=>[n,o,a])}function kF(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}}function n8(e){return()=>{}}function s2({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of AF(Object.assign({},...e.map(({options:o})=>o),a$)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,..._F(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*_F(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(s=>s.parsers&&Object.prototype.hasOwnProperty.call(s.parsers,o)),l=a.name;i!=null&&i.name&&(l+=` (plugin: ${i.name})`),yield{value:o,description:l}}}}function AF(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ze(!1,a.default,-1).value),t.push(a)}return t}function u2(e,t){if(!t)return;let r=o$(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function FF(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 a8(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=FF(r,t.language)??u2(r,t.physicalFile)??u2(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Rh(e,t,r,n){return[`Invalid ${Qa.default.red(n.key(e))} value.`,`Expected ${Qa.default.blue(r)},`,`but received ${t===A2?Qa.default.gray("nothing"):Qa.default.red(n.value(t))}.`].join(" ")}function c2({text:e,list:t},r){let n=[];return e&&n.push(`- ${Qa.default.blue(e)}`),t&&n.push([`- ${Qa.default.blue(t.title)}:`].concat(t.values.map(a=>c2(a,r-F2.length).replace(/^|\n/g,`$&${F2}`))).join(` +`)),d2(n,r)}function d2(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function o8(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;ol?d>l?l+1:d:d>s?s+1:d;return l}function i8(e,t){let r=new e(t),n=Object.create(r);for(let a of l$)a in t&&(n[a]=$F(t[a],r,mn.prototype[a].length));return n}function $F(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function zh({from:e,to:t}){return{from:[e],to:t}}function l8(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function s8(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function u8(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function c8(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function d8(e){return e===Math.floor(e)}function p8(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function f8(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Bh(e){return e===void 0?{}:e}function p2(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return TF((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(p2)}}:{text:t}}function Lh(e,t){return e===!0?!0:e===!1?{value:t}:e}function Oh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function f2(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 C0(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>f2(r,t)):[f2(e,t)]}function Mh(e,t){let r=C0(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 TF(e,t){if(!e)throw new Error(t)}function h8(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=ja;let l=a?Array.isArray(a)?(p,m)=>a.includes(p)?{[p]:m}:void 0:(p,m)=>({[p]:m}):(p,m,g)=>{let{_:v,...C}=g.schemas;return T2(p,m,{...g,schemas:C})},s=IF(t,{isCLI:n,FlagSchema:o}),d=new h$(s,{logger:r,unknown:l,descriptor:i}),f=r!==!1;f&&fm&&(d._hasDeprecationWarned=fm);let h=d.normalize(e);return f&&(fm=d._hasDeprecationWarned),h}function IF(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(u$.create({name:"_"}));for(let a of e)n.push(RF(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(s$.create({name:a.alias,sourceName:a.name}));return n}function RF(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,l={};switch(e.type){case"int":i=f$,t&&(o.preprocess=Number);break;case"string":i=I2;break;case"choice":i=p$,o.choices=e.choices.map(s=>s!=null&&s.redirect?{...s,redirect:{to:{key:e.name,value:s.redirect}}}:s);break;case"boolean":i=d$;break;case"flag":i=n,o.flags=r.flatMap(s=>[s.alias,s.description&&s.name,s.oppositeDescription&&`no-${s.name}`].filter(Boolean));break;case"path":i=I2;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(s,d,f)=>e.exception(s)||d.validate(s,f):o.validate=(s,d,f)=>s===void 0||d.validate(s,f),e.redirect&&(l.redirect=s=>s?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(l.deprecated=!0),t&&!e.array){let s=o.preprocess||(d=>d);o.preprocess=(d,f,h)=>f.preprocess(s(Array.isArray(d)?ze(!1,d,-1):d),h)}return e.array?c$.create({...t?{preprocess:c(s=>Array.isArray(s)?s:[s],"preprocess")}:{},...l,valueSchema:i.create(o)}):i.create({...o,...l})}function Ny(e,t){if(!t)throw new Error("parserName is required.");let r=Yy(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Ky(n)}function zF(e,t){if(!t)throw new Error("astFormat is required.");let r=Yy(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Ky(n)}function jy({plugins:e,parser:t}){let r=Ny(e,t);return Hy(r,t)}function Hy(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function BF(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function m8(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=i$(n,{physicalFile:n.filepath}),!n.parser)throw new _2(`No parser could be inferred for file "${n.filepath}".`)}else throw new _2("No parser and no file path given, couldn't infer a parser.");let a=s2({plugins:e.plugins,showDeprecated:!0}).options,o={...R2,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},i=Ny(n.plugins,n.parser),l=await Hy(i,n.parser);n.astFormat=l.astFormat,n.locEnd=l.locEnd,n.locStart=l.locStart;let s=(r=i.printers)!=null&&r[l.astFormat]?i:zF(n.plugins,l.astFormat),d=await BF(s,l.astFormat);n.printer=d;let f=s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter(([,p])=>p!==void 0)):{},h={...o,...f};for(let[p,m]of Object.entries(h))(n[p]===null||n[p]===void 0)&&(n[p]=m);return n.parser==="json"&&(n.trailingComma="none"),m$(n,a,{passThrough:Object.keys(R2),...t})}async function g8(e,t){let r=await jy(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){LF(o,e)}return{text:n,ast:a}}function LF(e,t){let{loc:r}=e;if(r){let n=(0,g$.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function OF(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:l=c(()=>!1,"s"),getVisitorKeys:s}}=r;if(!i||o!=="auto")return;if(i.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 d=Wu(i.getVisitorKeys??s),f=[];m();let h=e.stack;for(let{print:g,node:v,pathStack:C}of f)try{e.stack=C;let b=await g(p,t,e,r);b&&a.set(v,b)}catch(b){if(globalThis.PRETTIER_DEBUG)throw b}e.stack=h;function p(g,v){return MF(g,v,r,n)}c(p,"f");function m(){let{node:g}=e;if(g===null||typeof g!="object"||l(e))return;for(let C of d(g))Array.isArray(g[C])?e.each(m,C):e.call(m,C);let v=i(e,r);if(v){if(typeof v=="function"){f.push({print:v,node:g,pathStack:[...e.stack]});return}a.set(g,v)}}c(m,"p")}async function MF(e,t,r,n){let a=await Do({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await vl(e,a),i=await n(o,a);return i2(i)}function v8(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:l}=e,s=a(l),d=o(l);for(let f of n)a(f)>=s&&o(f)<=d&&i.add(f);return r.slice(s,d)}async function Vu(e,t){({ast:e}=await Vy(e,t));let r=new Map,n=new QF(e),a=n$(t),o=new Map;await OF(n,l,t,Vu,o);let i=await h2(n,t,l,void 0,o);return kF(t),i;function l(d,f){return d===void 0||d===n?s(f):Array.isArray(d)?n.call(()=>s(f),...d):n.call(()=>s(f),d)}function s(d){a(n);let f=n.node;if(f==null)return"";let h=f&&typeof f=="object"&&d===void 0;if(h&&r.has(f))return r.get(f);let p=h2(n,t,l,d,o);return h&&r.set(f,p),p}}function h2(e,t,r,n,a){var o;let{node:i}=e,{printer:l}=t,s;return(o=l.hasPrettierIgnore)!=null&&o.call(l,e)?s=v$(e,t):a.has(i)?s=a.get(i):s=l.print(e,t,r,n),i===t.cursorNode&&(s=By(s,d=>[Ld,d,Ld])),l.printComment&&(!l.willPrintOwnComments||!l.willPrintOwnComments(e,t))&&(s=SF(e,s,t)),s}async function Vy(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,wF(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function y8(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Wu(t.printer.getVisitorKeys),i=c(s=>n(s)<=r&&a(s)>=r,"i"),l=e;for(let s of vF(e,{getVisitorKeys:o,filter:i}))l=s;return l}function w8(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Wu(n),o=r.ignoredProperties??new Set;return i(e);function i(l,s){if(!(l!==null&&typeof l=="object"))return l;if(Array.isArray(l))return l.map(p=>i(p,s)).filter(Boolean);let d={},f=new Set(a(l));for(let p in l)!Object.prototype.hasOwnProperty.call(l,p)||o.has(p)||(f.has(p)?d[p]=i(l[p],l):d[p]=l[p]);let h=r(l,d,s);if(h!==null)return h??d}}function PF(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>Zy.has(a.type)&&n.has(a))}function m2(e){let t=b$(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function NF(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let s of m2(t.parentNodes))if(r(s)>=i)o=s;else break;let l=n(t.node);for(let s of m2(e.parentNodes)){if(n(s)<=l)a=s;else break;if(a===o)break}return{startNode:a,endNode:o}}function zd(e,t,r,n,a=[],o){let{locStart:i,locEnd:l}=r,s=i(e),d=l(e);if(!(t>d||tn);let l=e.slice(n,a).search(/\S/u),s=l===-1;if(!s)for(n+=l;a>n&&!/\S/u.test(e[a-1]);--a);let d=zd(r,n,t,(m,g)=>g2(t,m,g),[],"rangeStart"),f=s?d:zd(r,a,t,m=>g2(t,m),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let h,p;if(E$(t)){let m=PF(d,f);h=m,p=m}else({startNode:h,endNode:p}=NF(d,f,t));return{rangeStart:Math.min(o(h),o(p)),rangeEnd:Math.max(i(h),i(p))}}async function Uy(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await vl(e,t);t.cursorOffset>=0&&(t.cursorNode=y$(n,t));let o=await Vu(n,t);r>0&&(o=n2([sa,o],r,t.tabWidth));let i=vu(o,t);if(r>0){let s=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(s)),i.formatted=s+G1(t.endOfLine)}let l=t[Symbol.for("comments")];if(t.cursorOffset>=0){let s,d,f,h,p;if(t.cursorNode&&i.cursorNodeText?(s=t.locStart(t.cursorNode),d=a.slice(s,t.locEnd(t.cursorNode)),f=t.cursorOffset-s,h=i.cursorNodeStart,p=i.cursorNodeText):(s=0,d=a,f=t.cursorOffset,h=0,p=i.formatted),d===p)return{formatted:i.formatted,cursorOffset:h+f,comments:l};let m=d.split("");m.splice(f,0,z2);let g=p.split(""),v=oF(m,g),C=h;for(let b of v)if(b.removed){if(b.value.includes(z2))break}else C+=b.count;return{formatted:i.formatted,cursorOffset:C,comments:l}}return{formatted:i.formatted,cursorOffset:-1,comments:l}}async function VF(e,t){let{ast:r,text:n}=await vl(e,t),{rangeStart:a,rangeEnd:o}=HF(n,t,r),i=n.slice(a,o),l=Math.min(a,n.lastIndexOf(` +`,a)+1),s=n.slice(l,a).match(/^\s*/u)[0],d=Md(s,t.tabWidth),f=await Uy(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=h.length-i.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let m=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let g=G1(t.endOfLine);p>=0&&g===`\r +`&&(p+=zy(m.slice(0,p),` +`)),m=Uu(!1,m,` +`,g)}return{formatted:m,cursorOffset:p,comments:f.comments}}function D0(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function v2(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=D0(e,r,-1),n=D0(e,n,0),a=D0(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function Wy(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=v2(e,t),i=e.charAt(0)===Xy;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=iF(e)),e.includes("\r")){let l=c(s=>zy(e.slice(0,Math.max(s,0)),`\r +`),"s");r-=l(r),n-=l(n),a-=l(a),e=lF(e)}return{hasBOM:i,text:e,options:v2(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function y2(e,t){let r=await jy(t);return!r.hasPragma||r.hasPragma(e)}async function w2(e,t){let{hasBOM:r,text:n,options:a}=Wy(e,await Do(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await y2(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function b8(e,t,r){let{text:n,options:a}=Wy(e,await Do(t)),o=await vl(n,a);return r&&(r.preprocessForPrint&&(o.ast=await Vy(o.ast,a)),r.massage&&(o.ast=w$(o.ast,a))),o}async function E8(e,t){t=await Do(t);let r=await Vu(e,t);return vu(r,t)}async function x8(e,t){let r=sF(e),{formatted:n}=await w2(r,{...t,parser:"__js_expression"});return n}async function C8(e,t){t=await Do(t);let{ast:r}=await vl(e,t);return Vu(r,t)}async function D8(e,t){return vu(e,await Do(t))}function S8(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function T8(e,t){let r=J1(e,t);return r===!1?"":e.charAt(r)}function I8(e,t,r){for(let n=t;ni===n?i:l===t?"\\"+l:l||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function WF(e,t,r){return J1(e,r(t))}function B8(e,t){return arguments.length===2||typeof t=="number"?J1(e,t):WF(...arguments)}function qF(e,t,r){return X1(e,r(t))}function L8(e,t){return arguments.length===2||typeof t=="number"?X1(e,t):qF(...arguments)}function GF(e,t,r){return Hd(e,r(t))}function O8(e,t){return arguments.length===2||typeof t=="number"?Hd(e,t):GF(...arguments)}function Ln(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function b2(e,t){let{formatted:r}=await B2(e,{...t,cursorOffset:-1});return r}async function M8(e,t){return await b2(e,t)===e}var P8,Zl,N8,j8,H8,V8,Ph,U8,Vc,Xl,Nh,Jl,W8,q8,G8,jo,Uc,jh,K8,Y8,Z8,X8,J8,Hh,Q8,Uu,Vh,Uh,Wh,qh,eE,tE,KF,Ho,ys,xa,Qr,la,en,tn,Yr,pt,wr,xt,rn,nn,Zr,He,br,Rt,qy,Ca,YF,Gh,rE,mo,E2,Bd,Kh,Er,Z1,nE,ws,aE,S0,Yh,x2,oE,sa,C2,Ld,iE,ze,ZF,XF,JF,Od,lt,ir,ki,Md,Ma,Zh,Wc,Xh,lE,QF,Jh,Pd,e$,sE,Fn,D2,S2,ga,xn,t$,k2,r$,Wu,k0,_0,Gy,X1,n$,Qh,Ky,em,_2,a$,o$,i$,ja,tm,uE,Qa,A2,Ql,F2,cE,rm,A0,$2,T2,l$,nm,mn,am,s$,om,u$,im,c$,lm,d$,sm,p$,um,dE,cm,f$,dm,I2,pE,fE,hE,mE,pm,h$,fm,m$,gE,Yy,R2,Do,g$,vl,v$,y$,w$,vE,b$,E$,Zy,x$,Xy,z2,hm,yE,wE,bE,EE,mm,Nd,jd,J1,Hd,xE,CE,DE,SE,kE,_E,B2,AE,FE,C$,Aj=R(()=>{P8=Object.create,Zl=Object.defineProperty,N8=Object.getOwnPropertyDescriptor,j8=Object.getOwnPropertyNames,H8=Object.getPrototypeOf,V8=Object.prototype.hasOwnProperty,Ph=c(e=>{throw TypeError(e)},"sr"),U8=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Vc=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Xl=c((e,t)=>{for(var r in t)Zl(e,r,{get:t[r],enumerable:!0})},"We"),Nh=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of j8(t))!V8.call(e,a)&&a!==r&&Zl(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=N8(t,a))||n.enumerable});return e},"ar"),Jl=c((e,t,r)=>(r=e!=null?P8(H8(e)):{},Nh(t||!e||!e.__esModule?Zl(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),W8=c(e=>Nh(Zl({},"__esModule",{value:!0}),e),"vu"),q8=c((e,t,r)=>t.has(e)||Ph("Cannot "+r),"bu"),G8=c((e,t,r)=>t.has(e)?Ph("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),jo=c((e,t,r)=>(q8(e,t,"access private method"),r),"pe"),Uc=Vc((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),jh={},Xl(jh,{default:c(()=>Y8,"default"),shouldHighlight:c(()=>K8,"shouldHighlight")}),Z8=U8(()=>{K8=c(()=>!1,"xo"),Y8=String}),X8=Vc((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),J8=Vc(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=m,e.default=g;var t=(Z8(),W8(jh)),r=a(X8(),!0);function n(v){if(typeof WeakMap!="function")return null;var C=new WeakMap,b=new WeakMap;return(n=c(function(y){return y?b:C},"Wn"))(v)}c(n,"Wn");function a(v,C){if(!C&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=n(C);if(b&&b.has(v))return b.get(v);var y={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in v)if(x!=="default"&&{}.hasOwnProperty.call(v,x)){var D=E?Object.getOwnPropertyDescriptor(v,x):null;D&&(D.get||D.set)?Object.defineProperty(y,x,D):y[x]=v[x]}return y.default=v,b&&b.set(v,y),y}c(a,"vo");var o=r.default,i=c((v,C)=>b=>v(C(b)),"Rn"),l;function s(v){return v?(l!=null||(l=(0,r.createColors)(!0)),l):o}c(s,"Oo");var d=!1;function f(v){return{gutter:v.gray,marker:i(v.red,v.bold),message:i(v.red,v.bold)}}c(f,"So");var h=/\r\n|[\n\r\u2028\u2029]/;function p(v,C,b){let y=Object.assign({column:0,line:-1},v.start),E=Object.assign({},y,v.end),{linesAbove:x=2,linesBelow:D=3}=b||{},S=y.line,k=y.column,_=E.line,A=E.column,$=Math.max(S-(x+1),0),I=Math.min(C.length,_+D);S===-1&&($=0),_===-1&&(I=C.length);let O=_-S,z={};if(O)for(let j=0;j<=O;j++){let M=j+S;if(!k)z[M]=!0;else if(j===0){let H=C[M-1].length;z[M]=[k,H-k+1]}else if(j===O)z[M]=[0,A];else{let H=C[M-j].length;z[M]=[0,H]}}else k===A?k?z[S]=[k,0]:z[S]=!0:z[S]=[k,A-k];return{start:$,end:I,markerLines:z}}c(p,"No");function m(v,C,b={}){let y=(b.highlightCode||b.forceColor)&&(0,t.shouldHighlight)(b),E=s(b.forceColor),x=f(E),D=c((z,j)=>y?z(j):j,"i"),S=v.split(h),{start:k,end:_,markerLines:A}=p(C,S,b),$=C.start&&typeof C.start.column=="number",I=String(_).length,O=(y?(0,t.default)(v,b):v).split(h,_).slice(k,_).map((z,j)=>{let M=k+1+j,H=` ${` ${M}`.slice(-I)} |`,W=A[M],B=!A[M+1];if(W){let L="";if(Array.isArray(W)){let N=z.slice(0,Math.max(W[0]-1,0)).replace(/[^\t]/g," "),G=W[1]||1;L=[` + `,D(x.gutter,H.replace(/\d/g," "))," ",N,D(x.marker,"^").repeat(G)].join(""),B&&b.message&&(L+=" "+D(x.message,b.message))}return[D(x.marker,">"),D(x.gutter,H),z.length>0?` ${z}`:"",L].join("")}else return` ${D(x.gutter,H)}${z.length>0?` ${z}`:""}`}).join(` +`);return b.message&&!$&&(O=`${" ".repeat(I+1)}${b.message} +${O}`),y?E.reset(O):O}c(m,"Mn");function g(v,C,b,y={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let x=new Error(E);x.name="DeprecationWarning",console.warn(new Error(E))}}return b=Math.max(b,0),m(v,{start:{column:b,line:C}},y)}c(g,"To")}),Hh={},Xl(Hh,{__debug:c(()=>FE,"__debug"),check:c(()=>M8,"check"),doc:c(()=>hm,"doc"),format:c(()=>b2,"format"),formatWithCursor:c(()=>B2,"formatWithCursor"),getSupportInfo:c(()=>AE,"getSupportInfo"),util:c(()=>mm,"util"),version:c(()=>EE,"version")}),Q8=c((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)},"Ou"),Uu=Q8,c(pn,"Z"),pn.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}c(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var l=t.length,s=e.length,d=1,f=l+s;n.maxEditLength&&(f=Math.min(f,n.maxEditLength));var h=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+h,m=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(m[0],t,e,0);if(m[0].oldPos+1>=s&&g+1>=l)return i([{value:this.join(t),count:t.length}]);var v=-1/0,C=1/0;function b(){for(var E=Math.max(v,-d);E<=Math.min(C,d);E+=2){var x=void 0,D=m[E-1],S=m[E+1];D&&(m[E-1]=void 0);var k=!1;if(S){var _=S.oldPos-E;k=S&&0<=_&&_=s&&g+1>=l)return i(I6(o,x.lastComponent,t,e,o.useLongestToken));m[E]=x,x.oldPos+1>=s&&(C=Math.min(C,E-1)),g+1>=l&&(v=Math.max(v,E+1))}d++}if(c(b,"A"),a)c(function E(){setTimeout(function(){if(d>f||Date.now()>p)return a();b()||E()},0)},"h")();else for(;d<=f&&Date.now()<=p;){var y=b();if(y)return y}},"diff"),addToPath:c(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,l=i-n,s=0;l+1"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(Fd(e,null,null,a),a," ")},Ho.equals=function(e,t){return pn.prototype.equals.call(Ho,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(Fd,"Bt"),ys=new pn,ys.tokenize=function(e){return e.slice()},ys.join=ys.removeEmpty=function(e){return e},c(oF,"dr"),c(iF,"Fr"),c(G1,"Be"),c(zy,"wt"),c(lF,"mr"),xa="string",Qr="array",la="cursor",en="indent",tn="align",Yr="trim",pt="group",wr="fill",xt="if-break",rn="indent-if-break",nn="line-suffix",Zr="line-suffix-boundary",He="line",br="label",Rt="break-parent",qy=new Set([la,en,tn,Yr,pt,wr,xt,rn,nn,Zr,He,br,Rt]),c(R6,"Lu"),Ca=R6,YF=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(z6,"Iu"),rE=(Gh=class extends Error{constructor(t){super(z6(t));Mo(this,"name","InvalidDocError");this.doc=t}},c(Gh,"xt"),Gh),mo=rE,E2={},c(B6,"Ru"),Bd=B6,Kh=c(()=>{},"hr"),Er=Kh,Z1=Kh,c(mu,"De"),c(ho,"ae"),c(e2,"_t"),c(L6,"Cr"),c(O6,"gr"),c(M6,"yr"),c(P6,"Ar"),c(t2,"Ge"),c(N6,"Br"),c(j6,"wr"),c($d,"xe"),nE={type:Zr},ws={type:Rt},aE={type:Yr},S0={type:He,hard:!0},Yh={type:He,hard:!0,literal:!0},x2={type:He},oE={type:He,soft:!0},sa=[S0,ws],C2=[Yh,ws],Ld={type:la},c(r2,"be"),c(n2,"Je"),c(H6,"br"),c(Or,"ee"),c(sF,"Or"),iE=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ze=iE,ZF=c(()=>/[#*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,"Sr"),c(V6,"Nr"),c(U6,"Tr"),XF=c(e=>!(V6(e)||U6(e)),"kr"),JF=/[^\x20-\x7F]/u,c(W6,"Hu"),Od=W6,c(gu,"Ne"),c(Td,"Xe"),c(uF,"Wu"),c(q6,"Ir"),c(a2,"Lr"),c(cF,"Rr"),c(dF,"Mu"),c(G6,"Yr"),c(o2,"Pr"),c(Si,"Se"),c(i2,"Ze"),c(pF,"$u"),c(fF,"Vu"),c(K6,"jr"),c(hF,"Uu"),c(Y6,"Hr"),c(By,"Qe"),lt=Symbol("MODE_BREAK"),ir=Symbol("MODE_FLAT"),ki=Symbol("cursor"),c(Ly,"Wr"),c(mF,"zu"),c(gF,"Gu"),c(Id,"bt"),c(Rd,"Ot"),c(vs,"et"),c(vu,"Fe"),c(Z6,"Ku"),Md=Z6,lE=(Xh=class{constructor(e){G8(this,Ma),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ze(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ze(!1,this.stack,-2)}get node(){return ze(!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=ze(!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[...jo(this,Ma,Wc).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ze(!1,e,-2):null}getValue(){return ze(!1,this.stack,-1)}getNode(e=0){let t=jo(this,Ma,Zh).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,a=ze(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=jo(this,Ma,Zh).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,a=ze(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of jo(this,Ma,Wc).call(this))if(e(t))return t}hasAncestor(e){for(let t of jo(this,Ma,Wc).call(this))if(e(t))return!0;return!1}},c(Xh,"St"),Xh),Ma=new WeakSet,Zh=c(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},"Nt"),Wc=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),QF=lE,Jh=new Proxy(()=>{},{get:c(()=>Jh,"get")}),Pd=Jh,c(X6,"qu"),e$=X6,c(Oy,"Tt"),c(vF,"Ur"),c(No,"Ee"),sE=No(/\s/u),Fn=No(" "),D2=No(",; "),S2=No(/[^\n\r]/u),c(J6,"Ju"),ga=J6,c(Q6,"Xu"),xn=Q6,c(e8,"Zu"),t$=e8,k2=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),r$=c(e=>Object.keys(e).filter(t=>!k2.has(t)),"Qu"),c(t8,"eo"),Wu=t8,c(yF,"to"),c(K1,"Lt"),c(Xa,"ue"),c(Hs,"re"),c(Ja,"oe"),k0=new WeakMap,c(Y1,"ut"),c(My,"qr"),_0=c(()=>!1,"It"),c(wF,"Jr"),Gy=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(bF,"ro"),c(EF,"no"),c(l2,"Kr"),c(x0,"Rt"),c(r8,"uo"),X1=r8,c(Py,"Zr"),c(xF,"oo"),c(CF,"io"),c(DF,"so"),c(SF,"Qr"),c(kF,"en"),c(n8,"ao"),n$=n8,Ky=(Qh=class extends Error{constructor(){super(...arguments);Mo(this,"name","ConfigError")}},c(Qh,"Pe"),Qh),_2=(em=class extends Error{constructor(){super(...arguments);Mo(this,"name","UndefinedParserError")}},c(em,"Ie"),em),a$={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),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:"jsonc",description:"JSON with Comments"},{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:c(e=>typeof e=="string"||typeof e=="object","exception"),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."}]}},c(s2,"ot"),c(_F,"Do"),c(AF,"lo"),o$=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(u2,"nn"),c(FF,"fo"),c(a8,"po"),i$=a8,ja={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>ja.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${ja.key(r)}: ${ja.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>ja.value({[e]:t}),"pair")},tm=Jl(Uc(),1),uE=c((e,t,{descriptor:r})=>{let n=[`${tm.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${tm.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Qa=Jl(Uc(),1),A2=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ql=Symbol.for("vnopts.VALUE_UNCHANGED"),F2=" ".repeat(2),cE=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Rh(e,t,n,r.descriptor)),a&&o.push([Rh(e,t,a.title,r.descriptor)].concat(a.values.map(i=>c2(i,r.loggerPrintWidth))).join(` +`)),d2(o,r.loggerPrintWidth)},"cn"),c(Rh,"ln"),c(c2,"fn"),c(d2,"pn"),rm=Jl(Uc(),1),A0=[],$2=[],c(o8,"Ht"),T2=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${rm.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(l=>o8(e,l)<3);i&&o.push(`Did you mean ${rm.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),l$=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(i8,"mo"),mn=(nm=class{static create(e){return i8(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 Ql}},c(nm,"O"),nm),c($F,"Eo"),s$=(am=class extends mn{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}},c(am,"Dt"),am),u$=(om=class extends mn{expected(){return"anything"}validate(){return!0}},c(om,"lt"),om),c$=(im=class extends mn{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 a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(zh))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(zh))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(im,"ct"),im),c(zh,"Fn"),d$=(lm=class extends mn{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(lm,"ft"),lm),c(l8,"En"),c(s8,"hn"),c(u8,"Cn"),c(c8,"gn"),c(d8,"yn"),c(p8,"An"),c(f8,"Bn"),c(Bh,"Mt"),c(p2,"$t"),c(Lh,"Vt"),c(Oh,"Ut"),c(f2,"mn"),c(C0,"pt"),c(Mh,"zt"),c(TF,"ho"),p$=(sm=class extends mn{constructor(e){super(e),this._choices=s8(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(p8).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}},c(sm,"dt"),sm),dE=(um=class extends mn{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(um,"Ft"),um),f$=(cm=class extends dE{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&d8(e)}},c(cm,"mt"),cm),I2=(dm=class extends mn{expected(){return"a string"}validate(e){return typeof e=="string"}},c(dm,"Re"),dm),pE=ja,fE=T2,hE=cE,mE=uE,h$=(pm=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=pE,unknown:o=fE,invalid:i=hE,deprecated:l=mE,missing:s=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:f=c(p=>p,"d"),postprocess:h=c(()=>Ql,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:l8(e,"name"),normalizeDefaultResult:Bh,normalizeExpectedResult:p2,normalizeDeprecatedResult:Oh,normalizeForwardResult:C0,normalizeRedirectResult:Mh,normalizeValidateResult:Lh},this._unknownHandler=o,this._invalidHandler=f8(i),this._deprecatedHandler=l,this._identifyMissing=(p,m)=>!(p in m)||s(p,m),this._identifyRequired=d,this._preprocess=f,this._postprocess=h,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=u8()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=Bh(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],l=o.postprocess(i,this._utils);l!==Ql&&(this._applyValidation(l,a,o),t[a]=l)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],l=i.preprocess(e[o],this._utils);this._applyValidation(l,o,i);let s=c(({from:h,to:p})=>{r.push(typeof p=="string"?{[p]:h}:{[p.key]:p.value})},"D"),d=c(({value:h,redirectTo:p})=>{let m=Oh(i.deprecated(h,this._utils),l,!0);if(m!==!1)if(m===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:g}of m){let v={key:o,value:g};if(!this._hasDeprecationWarned(v)){let C=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(v,C,this._utils))}}},"l");C0(i.forward(l,this._utils),l).forEach(s);let f=Mh(i.redirect(l,this._utils),l);if(f.redirect.forEach(s),"remain"in f){let h=f.remain;t[o]=o in t?i.overlap(t[o],h,this._utils):h,d({value:h})}for(let{from:h,to:p}of f.redirect)d({value:h,redirectTo:p})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(l,s)=>{r.push({[l]:s})})}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,A2,this._utils)}_partitionOptionKeys(e){let[t,r]=c8(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=Lh(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ql){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 a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,l)=>{let s=this._utils.schemas[i];this._applyValidation(l,i,s),e[i]=l})}}}}},c(pm,"Et"),pm),c(h8,"go"),c(IF,"yo"),c(RF,"Ao"),m$=h8,gE=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),Yy=gE,c(Ny,"qt"),c(zF,"On"),c(jy,"ht"),c(Hy,"Jt"),c(BF,"Sn"),R2={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(m8,"wo"),Do=m8,g$=Jl(J8(),1),c(g8,"ko"),c(LF,"Lo"),vl=g8,c(OF,"Un"),c(MF,"Po"),c(v8,"Io"),v$=v8,c(Vu,"Ye"),c(h2,"Gn"),c(Vy,"Qt"),c(y8,"Ro"),y$=y8,c(w8,"Yo"),w$=w8,vE=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),b$=vE,E$=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(PF,"Wo"),c(m2,"Xn"),c(NF,"Mo"),c(zd,"er"),c(jF,"$o"),Zy=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),x$=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(g2,"Zn"),c(HF,"eu"),Xy="\uFEFF",z2=Symbol("cursor"),c(Uy,"ou"),c(VF,"Uo"),c(D0,"tr"),c(v2,"ru"),c(Wy,"iu"),c(y2,"nu"),c(w2,"rr"),c(b8,"su"),c(E8,"au"),c(x8,"Du"),c(C8,"lu"),c(D8,"cu"),hm={},Xl(hm,{builders:c(()=>yE,"builders"),printer:c(()=>wE,"printer"),utils:c(()=>bE,"utils")}),yE={join:r2,line:x2,softline:oE,hardline:sa,literalline:C2,group:e2,conditionalGroup:P6,fill:t2,lineSuffix:$d,lineSuffixBoundary:nE,cursor:Ld,breakParent:ws,ifBreak:N6,trim:aE,indent:mu,indentIfBreak:j6,align:ho,addAlignmentToDoc:n2,markAsRoot:O6,dedentToRoot:L6,dedent:M6,hardlineWithoutBreakParent:S0,literallineWithoutBreakParent:Yh,label:H6,concat:c(e=>e,"concat")},wE={printDocToString:vu},bE={willBreak:q6,traverseDoc:Bd,findInDoc:Td,mapDoc:gu,removeLines:G6,stripTrailingHardline:i2,replaceEndOfLine:K6,canBreak:Y6},EE="3.3.3",mm={},Xl(mm,{addDanglingComment:c(()=>Hs,"addDanglingComment"),addLeadingComment:c(()=>Xa,"addLeadingComment"),addTrailingComment:c(()=>Ja,"addTrailingComment"),getAlignmentSize:c(()=>Md,"getAlignmentSize"),getIndentSize:c(()=>xE,"getIndentSize"),getMaxContinuousCount:c(()=>CE,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>DE,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>B8,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>Od,"getStringWidth"),hasNewline:c(()=>xn,"hasNewline"),hasNewlineInRange:c(()=>SE,"hasNewlineInRange"),hasSpaces:c(()=>kE,"hasSpaces"),isNextLineEmpty:c(()=>O8,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>Hd,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>L8,"isPreviousLineEmpty"),makeString:c(()=>_E,"makeString"),skip:c(()=>No,"skip"),skipEverythingButNewLine:c(()=>S2,"skipEverythingButNewLine"),skipInlineComment:c(()=>Nd,"skipInlineComment"),skipNewline:c(()=>ga,"skipNewline"),skipSpaces:c(()=>Fn,"skipSpaces"),skipToLineEnd:c(()=>D2,"skipToLineEnd"),skipTrailingComment:c(()=>jd,"skipTrailingComment"),skipWhitespace:c(()=>sE,"skipWhitespace")}),c(S8,"Jo"),Nd=S8,c(k8,"Xo"),jd=k8,c(_8,"Zo"),J1=_8,c(A8,"Qo"),Hd=A8,c(F8,"ei"),xE=F8,c(UF,"ur"),c($8,"ti"),CE=$8,c(T8,"ri"),DE=T8,c(I8,"ni"),SE=I8,c(R8,"ui"),kE=R8,c(z8,"oi"),_E=z8,c(WF,"ii"),c(B8,"si"),c(qF,"ai"),c(L8,"Di"),c(GF,"li"),c(O8,"ci"),c(Ln,"fe"),B2=Ln(w2),c(b2,"gu"),c(M8,"fi"),AE=Ln(s2,0),FE={parse:Ln(b8),formatAST:Ln(E8),formatDoc:Ln(x8),printToDoc:Ln(C8),printDocToString:Ln(D8)},C$=Hh});function D$(e){for(var t=[],r=1;r{c(D$,"dedent")}),S$={};fl(S$,{formatter:()=>k$});var $E,k$,$j=R(()=>{$E=Ke($1(),1),_j(),Aj(),Fj(),k$=(0,$E.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?D$(t):(await C$.format(t,{parser:e,plugins:[aF],htmlWhitespaceSensitivity:"ignore"})).trim())}),L2,O2,Tj=R(()=>{L2=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),O2=typeof window<"u"&&window.document&&window.document.createElement?u.useLayoutEffect:u.useEffect}),ct,Lt,Ot,dt,Vd,_i,ao,Ai,_$,Jy,Qo,A$,M2,Qy,TE,IE,RE,zE,BE,LE,OE,ME,PE,F$,Xt=R(()=>{ct="top",Lt="bottom",Ot="right",dt="left",Vd="auto",_i=[ct,Lt,Ot,dt],ao="start",Ai="end",_$="clippingParents",Jy="viewport",Qo="popper",A$="reference",M2=_i.reduce(function(e,t){return e.concat([t+"-"+ao,t+"-"+Ai])},[]),Qy=[].concat(_i,[Vd]).reduce(function(e,t){return e.concat([t,t+"-"+ao,t+"-"+Ai])},[]),TE="beforeRead",IE="read",RE="afterRead",zE="beforeMain",BE="main",LE="afterMain",OE="beforeWrite",ME="write",PE="afterWrite",F$=[TE,IE,RE,zE,BE,LE,OE,ME,PE]});function xr(e){return e?(e.nodeName||"").toLowerCase():null}var So=R(()=>{c(xr,"getNodeName")});function Dt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var ln=R(()=>{c(Dt,"getWindow")});function va(e){var t=Dt(e).Element;return e instanceof t||e instanceof Element}function zt(e){var t=Dt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Q1(e){if(typeof ShadowRoot>"u")return!1;var t=Dt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Jt=R(()=>{ln(),c(va,"isElement"),c(zt,"isHTMLElement"),c(Q1,"isShadowRoot")});function NE(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!zt(o)||!xr(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var l=a[i];l===!1?o.removeAttribute(i):o.setAttribute(i,l===!0?"":l)}))})}function jE(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=i.reduce(function(s,d){return s[d]="",s},{});!zt(a)||!xr(a)||(Object.assign(a.style,l),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}var $$,Ij=R(()=>{So(),Jt(),c(NE,"applyStyles"),c(jE,"effect"),$$={name:"applyStyles",enabled:!0,phase:"write",fn:NE,effect:jE,requires:["computeStyles"]}});function vr(e){return e.split("-")[0]}var ko=R(()=>{c(vr,"getBasePlacement")}),ua,yu,go,_o=R(()=>{ua=Math.max,yu=Math.min,go=Math.round});function Ud(){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}var T$=R(()=>{c(Ud,"getUAString")});function e4(){return!/^((?!chrome|android).)*safari/i.test(Ud())}var I$=R(()=>{T$(),c(e4,"isLayoutViewport")});function vo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&zt(e)&&(a=e.offsetWidth>0&&go(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&go(n.height)/e.offsetHeight||1);var i=va(e)?Dt(e):window,l=i.visualViewport,s=!e4()&&r,d=(n.left+(s&&l?l.offsetLeft:0))/a,f=(n.top+(s&&l?l.offsetTop:0))/o,h=n.width/a,p=n.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}var qu=R(()=>{Jt(),_o(),ln(),I$(),c(vo,"getBoundingClientRect")});function ep(e){var t=vo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var t4=R(()=>{qu(),c(ep,"getLayoutRect")});function r4(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Q1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var R$=R(()=>{Jt(),c(r4,"contains")});function an(e){return Dt(e).getComputedStyle(e)}var Gu=R(()=>{ln(),c(an,"getComputedStyle")});function z$(e){return["table","td","th"].indexOf(xr(e))>=0}var Rj=R(()=>{So(),c(z$,"isTableElement")});function Rn(e){return((va(e)?e.ownerDocument:e.document)||window.document).documentElement}var Da=R(()=>{Jt(),c(Rn,"getDocumentElement")});function Ku(e){return xr(e)==="html"?e:e.assignedSlot||e.parentNode||(Q1(e)?e.host:null)||Rn(e)}var tp=R(()=>{So(),Da(),Jt(),c(Ku,"getParentNode")});function P2(e){return!zt(e)||an(e).position==="fixed"?null:e.offsetParent}function B$(e){var t=/firefox/i.test(Ud()),r=/Trident/i.test(Ud());if(r&&zt(e)){var n=an(e);if(n.position==="fixed")return null}var a=Ku(e);for(Q1(a)&&(a=a.host);zt(a)&&["html","body"].indexOf(xr(a))<0;){var o=an(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function yl(e){for(var t=Dt(e),r=P2(e);r&&z$(r)&&an(r).position==="static";)r=P2(r);return r&&(xr(r)==="html"||xr(r)==="body"&&an(r).position==="static")?t:r||B$(e)||t}var Yu=R(()=>{ln(),So(),Gu(),Jt(),Rj(),tp(),T$(),c(P2,"getTrueOffsetParent"),c(B$,"getContainingBlock"),c(yl,"getOffsetParent")});function rp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var n4=R(()=>{c(rp,"getMainAxisFromPlacement")});function Fi(e,t,r){return ua(e,yu(t,r))}function L$(e,t,r){var n=Fi(e,t,r);return n>r?r:n}var O$=R(()=>{_o(),c(Fi,"within"),c(L$,"withinMaxClamp")});function a4(){return{top:0,right:0,bottom:0,left:0}}var M$=R(()=>{c(a4,"getFreshSideObject")});function o4(e){return Object.assign({},a4(),e)}var P$=R(()=>{M$(),c(o4,"mergePaddingObject")});function i4(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var N$=R(()=>{c(i4,"expandToHashMap")});function HE(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,l=vr(r.placement),s=rp(l),d=[dt,Ot].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!i)){var h=j$(a.padding,r),p=ep(o),m=s==="y"?ct:dt,g=s==="y"?Lt:Ot,v=r.rects.reference[f]+r.rects.reference[s]-i[s]-r.rects.popper[f],C=i[s]-r.rects.reference[s],b=yl(o),y=b?s==="y"?b.clientHeight||0:b.clientWidth||0:0,E=v/2-C/2,x=h[m],D=y-p[f]-h[g],S=y/2-p[f]/2+E,k=Fi(x,S,D),_=s;r.modifiersData[n]=(t={},t[_]=k,t.centerOffset=k-S,t)}}function VE(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||r4(t.elements.popper,a)&&(t.elements.arrow=a))}var j$,H$,zj=R(()=>{ko(),t4(),R$(),Yu(),n4(),O$(),P$(),N$(),Xt(),j$=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,o4(typeof e!="number"?e:i4(e,_i))},"toPaddingObject"),c(HE,"arrow"),c(VE,"effect"),H$={name:"arrow",enabled:!0,phase:"main",fn:HE,effect:VE,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function yo(e){return e.split("-")[1]}var Zu=R(()=>{c(yo,"getVariation")});function V$(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:go(r*a)/a||0,y:go(n*a)/a||0}}function N2(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=i.x,m=p===void 0?0:p,g=i.y,v=g===void 0?0:g,C=typeof f=="function"?f({x:m,y:v}):{x:m,y:v};m=C.x,v=C.y;var b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),E=dt,x=ct,D=window;if(d){var S=yl(r),k="clientHeight",_="clientWidth";if(S===Dt(r)&&(S=Rn(r),an(S).position!=="static"&&l==="absolute"&&(k="scrollHeight",_="scrollWidth")),S=S,a===ct||(a===dt||a===Ot)&&o===Ai){x=Lt;var A=h&&S===D&&D.visualViewport?D.visualViewport.height:S[k];v-=A-n.height,v*=s?1:-1}if(a===dt||(a===ct||a===Lt)&&o===Ai){E=Ot;var $=h&&S===D&&D.visualViewport?D.visualViewport.width:S[_];m-=$-n.width,m*=s?1:-1}}var I=Object.assign({position:l},d&&U$),O=f===!0?V$({x:m,y:v},Dt(r)):{x:m,y:v};if(m=O.x,v=O.y,s){var z;return Object.assign({},I,(z={},z[x]=y?"0":"",z[E]=b?"0":"",z.transform=(D.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",z))}return Object.assign({},I,(t={},t[x]=y?v+"px":"",t[E]=b?m+"px":"",t.transform="",t))}function UE(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,d={placement:vr(t.placement),variation:yo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,N2(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,N2(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var U$,W$,Bj=R(()=>{Xt(),Yu(),ln(),Da(),Gu(),ko(),Zu(),_o(),U$={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(V$,"roundOffsetsByDPR"),c(N2,"mapToStyles"),c(UE,"computeStyles"),W$={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UE,data:{}}});function WE(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,l=i===void 0?!0:i,s=Dt(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,bs)}),l&&s.addEventListener("resize",r.update,bs),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,bs)}),l&&s.removeEventListener("resize",r.update,bs)}}var bs,q$,Lj=R(()=>{ln(),bs={passive:!0},c(WE,"effect"),q$={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:WE,data:{}}});function Vs(e){return e.replace(/left|right|bottom|top/g,function(t){return G$[t]})}var G$,Oj=R(()=>{G$={left:"right",right:"left",bottom:"top",top:"bottom"},c(Vs,"getOppositePlacement")});function j2(e){return e.replace(/start|end/g,function(t){return K$[t]})}var K$,Mj=R(()=>{K$={start:"end",end:"start"},c(j2,"getOppositeVariationPlacement")});function np(e){var t=Dt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var l4=R(()=>{ln(),c(np,"getWindowScroll")});function ap(e){return vo(Rn(e)).left+np(e).scrollLeft}var s4=R(()=>{qu(),Da(),l4(),c(ap,"getWindowScrollBarX")});function Y$(e,t){var r=Dt(e),n=Rn(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,l=0,s=0;if(a){o=a.width,i=a.height;var d=e4();(d||!d&&t==="fixed")&&(l=a.offsetLeft,s=a.offsetTop)}return{width:o,height:i,x:l+ap(e),y:s}}var Pj=R(()=>{ln(),Da(),s4(),I$(),c(Y$,"getViewportRect")});function Z$(e){var t,r=Rn(e),n=np(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=ua(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=ua(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-n.scrollLeft+ap(e),s=-n.scrollTop;return an(a||r).direction==="rtl"&&(l+=ua(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:l,y:s}}var Nj=R(()=>{Da(),Gu(),s4(),l4(),_o(),c(Z$,"getDocumentRect")});function op(e){var t=an(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var u4=R(()=>{Gu(),c(op,"isScrollParent")});function c4(e){return["html","body","#document"].indexOf(xr(e))>=0?e.ownerDocument.body:zt(e)&&op(e)?e:c4(Ku(e))}var jj=R(()=>{tp(),u4(),So(),Jt(),c(c4,"getScrollParent")});function $i(e,t){var r;t===void 0&&(t=[]);var n=c4(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Dt(n),i=a?[o].concat(o.visualViewport||[],op(n)?n:[]):n,l=t.concat(i);return a?l:l.concat($i(Ku(i)))}var X$=R(()=>{jj(),tp(),ln(),u4(),c($i,"listScrollParents")});function Wd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var J$=R(()=>{c(Wd,"rectToClientRect")});function Q$(e,t){var r=vo(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function H2(e,t,r){return t===Jy?Wd(Y$(e,r)):va(t)?Q$(t,r):Wd(Z$(Rn(e)))}function eT(e){var t=$i(Ku(e)),r=["absolute","fixed"].indexOf(an(e).position)>=0,n=r&&zt(e)?yl(e):e;return va(n)?t.filter(function(a){return va(a)&&r4(a,n)&&xr(a)!=="body"}):[]}function tT(e,t,r,n){var a=t==="clippingParents"?eT(e):[].concat(t),o=[].concat(a,[r]),i=o[0],l=o.reduce(function(s,d){var f=H2(e,d,n);return s.top=ua(f.top,s.top),s.right=yu(f.right,s.right),s.bottom=yu(f.bottom,s.bottom),s.left=ua(f.left,s.left),s},H2(e,i,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}var Hj=R(()=>{Xt(),Pj(),Nj(),X$(),Yu(),Da(),Gu(),Jt(),qu(),tp(),R$(),So(),J$(),_o(),c(Q$,"getInnerBoundingClientRect"),c(H2,"getClientRectFromMixedType"),c(eT,"getClippingParents"),c(tT,"getClippingRect")});function d4(e){var t=e.reference,r=e.element,n=e.placement,a=n?vr(n):null,o=n?yo(n):null,i=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(a){case ct:s={x:i,y:t.y-r.height};break;case Lt:s={x:i,y:t.y+t.height};break;case Ot:s={x:t.x+t.width,y:l};break;case dt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var d=a?rp(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case ao:s[d]=s[d]-(t[f]/2-r[f]/2);break;case Ai:s[d]=s[d]+(t[f]/2-r[f]/2);break}}return s}var rT=R(()=>{ko(),Zu(),n4(),Xt(),c(d4,"computeOffsets")});function Qi(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?_$:l,d=r.rootBoundary,f=d===void 0?Jy:d,h=r.elementContext,p=h===void 0?Qo:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,C=v===void 0?0:v,b=o4(typeof C!="number"?C:i4(C,_i)),y=p===Qo?A$:Qo,E=e.rects.popper,x=e.elements[g?y:p],D=tT(va(x)?x:x.contextElement||Rn(e.elements.popper),s,f,i),S=vo(e.elements.reference),k=d4({reference:S,element:E,strategy:"absolute",placement:a}),_=Wd(Object.assign({},E,k)),A=p===Qo?_:S,$={top:D.top-A.top+b.top,bottom:A.bottom-D.bottom+b.bottom,left:D.left-A.left+b.left,right:A.right-D.right+b.right},I=e.modifiersData.offset;if(p===Qo&&I){var O=I[a];Object.keys($).forEach(function(z){var j=[Ot,Lt].indexOf(z)>=0?1:-1,M=[ct,Lt].indexOf(z)>=0?"y":"x";$[z]+=O[M]*j})}return $}var ip=R(()=>{Hj(),Da(),qu(),rT(),J$(),Xt(),Jt(),P$(),N$(),c(Qi,"detectOverflow")});function nT(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,d=s===void 0?Qy:s,f=yo(n),h=f?l?M2:M2.filter(function(g){return yo(g)===f}):_i,p=h.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=h);var m=p.reduce(function(g,v){return g[v]=Qi(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[vr(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}var Vj=R(()=>{Zu(),Xt(),ip(),ko(),c(nT,"computeAutoPlacement")});function aT(e){if(vr(e)===Vd)return[];var t=Vs(e);return[j2(e),t,j2(t)]}function qE(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!0:i,s=r.fallbackPlacements,d=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,C=t.options.placement,b=vr(C),y=b===C,E=s||(y||!g?[Vs(C)]:aT(C)),x=[C].concat(E).reduce(function(ae,U){return ae.concat(vr(U)===Vd?nT(t,{placement:U,boundary:f,rootBoundary:h,padding:d,flipVariations:g,allowedAutoPlacements:v}):U)},[]),D=t.rects.reference,S=t.rects.popper,k=new Map,_=!0,A=x[0],$=0;$=0,M=j?"width":"height",H=Qi(t,{placement:I,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),W=j?z?Ot:dt:z?Lt:ct;D[M]>S[M]&&(W=Vs(W));var B=Vs(W),L=[];if(o&&L.push(H[O]<=0),l&&L.push(H[W]<=0,H[B]<=0),L.every(function(ae){return ae})){A=I,_=!1;break}k.set(I,L)}if(_)for(var N=g?3:1,G=c(function(ae){var U=x.find(function(X){var ee=k.get(X);if(ee)return ee.slice(0,ae).every(function(Te){return Te})});if(U)return A=U,"break"},"_loop"),J=N;J>0;J--){var ne=G(J);if(ne==="break")break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}var oT,Uj=R(()=>{Oj(),ko(),Mj(),ip(),Vj(),Xt(),Zu(),c(aT,"getExpandedFallbackPlacements"),c(qE,"flip"),oT={name:"flip",enabled:!0,phase:"main",fn:qE,requiresIfExists:["offset"],data:{_skip:!1}}});function V2(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function U2(e){return[ct,Ot,Lt,dt].some(function(t){return e[t]>=0})}function GE(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Qi(t,{elementContext:"reference"}),l=Qi(t,{altBoundary:!0}),s=V2(i,n),d=V2(l,a,o),f=U2(s),h=U2(d);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var iT,Wj=R(()=>{Xt(),ip(),c(V2,"getSideOffsets"),c(U2,"isAnySideFullyClipped"),c(GE,"hide"),iT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:GE}});function lT(e,t,r){var n=vr(e),a=[dt,ct].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],l=o[1];return i=i||0,l=(l||0)*a,[dt,Ot].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}function KE(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Qy.reduce(function(f,h){return f[h]=lT(h,t.rects,o),f},{}),l=i[t.placement],s=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var sT,qj=R(()=>{ko(),Xt(),c(lT,"distanceAndSkiddingToXY"),c(KE,"offset"),sT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:KE}});function YE(e){var t=e.state,r=e.name;t.modifiersData[r]=d4({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var uT,Gj=R(()=>{rT(),c(YE,"popperOffsets"),uT={name:"popperOffsets",enabled:!0,phase:"read",fn:YE,data:{}}});function cT(e){return e==="x"?"y":"x"}var Kj=R(()=>{c(cT,"getAltAxis")});function ZE(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,l=i===void 0?!1:i,s=r.boundary,d=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,m=p===void 0?!0:p,g=r.tetherOffset,v=g===void 0?0:g,C=Qi(t,{boundary:s,rootBoundary:d,padding:h,altBoundary:f}),b=vr(t.placement),y=yo(t.placement),E=!y,x=rp(b),D=cT(x),S=t.modifiersData.popperOffsets,k=t.rects.reference,_=t.rects.popper,A=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,$=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(o){var z,j=x==="y"?ct:dt,M=x==="y"?Lt:Ot,H=x==="y"?"height":"width",W=S[x],B=W+C[j],L=W-C[M],N=m?-_[H]/2:0,G=y===ao?k[H]:_[H],J=y===ao?-_[H]:-k[H],ne=t.elements.arrow,ae=m&&ne?ep(ne):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:a4(),X=U[j],ee=U[M],Te=Fi(0,k[H],ae[H]),Ye=E?k[H]/2-N-Te-X-$.mainAxis:G-Te-X-$.mainAxis,_r=E?-k[H]/2+N+Te+ee+$.mainAxis:J+Te+ee+$.mainAxis,kt=t.elements.arrow&&yl(t.elements.arrow),er=kt?x==="y"?kt.clientTop||0:kt.clientLeft||0:0,q=(z=I==null?void 0:I[x])!=null?z:0,tr=W+Ye-q-er,Ar=W+_r-q,Fa=Fi(m?yu(B,tr):B,W,m?ua(L,Ar):L);S[x]=Fa,O[x]=Fa-W}if(l){var Bo,Fr=x==="x"?ct:dt,tc=x==="x"?Lt:Ot,ot=S[D],$a=D==="y"?"height":"width",$r=ot+C[Fr],Lo=ot-C[tc],Tr=[ct,dt].indexOf(b)!==-1,Oo=(Bo=I==null?void 0:I[D])!=null?Bo:0,Ir=Tr?$r:ot-k[$a]-_[$a]-Oo+$.altAxis,Ze=Tr?ot+k[$a]+_[$a]-Oo-$.altAxis:Lo,rr=m&&Tr?L$(Ir,ot,Ze):Fi(m?Ir:$r,ot,m?Ze:Lo);S[D]=rr,O[D]=rr-ot}t.modifiersData[n]=O}}var dT,Yj=R(()=>{Xt(),ko(),n4(),Kj(),O$(),t4(),Yu(),ip(),Zu(),M$(),_o(),c(ZE,"preventOverflow"),dT={name:"preventOverflow",enabled:!0,phase:"main",fn:ZE,requiresIfExists:["offset"]}}),pT=R(()=>{});function fT(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Zj=R(()=>{c(fT,"getHTMLElementScroll")});function hT(e){return e===Dt(e)||!zt(e)?np(e):fT(e)}var Xj=R(()=>{l4(),ln(),Jt(),Zj(),c(hT,"getNodeScroll")});function mT(e){var t=e.getBoundingClientRect(),r=go(t.width)/e.offsetWidth||1,n=go(t.height)/e.offsetHeight||1;return r!==1||n!==1}function gT(e,t,r){r===void 0&&(r=!1);var n=zt(t),a=zt(t)&&mT(t),o=Rn(t),i=vo(e,a,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((xr(t)!=="body"||op(o))&&(l=hT(t)),zt(t)?(s=vo(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=ap(o))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}var Jj=R(()=>{qu(),Xj(),So(),Jt(),s4(),Da(),u4(),_o(),c(mT,"isElementScaled"),c(gT,"getCompositeRect")});function vT(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&a(s)}}),n.push(o)}return c(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function yT(e){var t=vT(e);return F$.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var Qj=R(()=>{Xt(),c(vT,"order"),c(yT,"orderModifiers")});function wT(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var eH=R(()=>{c(wT,"debounce")});function bT(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var tH=R(()=>{c(bT,"mergeByName")});function W2(){for(var e=arguments.length,t=new Array(e),r=0;r{Jj(),t4(),X$(),Yu(),Qj(),eH(),tH(),Jt(),q2={placement:"bottom",modifiers:[],strategy:"absolute"},c(W2,"areValidElements"),c(ET,"popperGenerator")}),XE,xT,nH=R(()=>{rH(),Lj(),Gj(),Bj(),Ij(),qj(),Uj(),Yj(),zj(),Wj(),pT(),XE=[q$,uT,W$,$$,sT,oT,dT,H$,iT],xT=ET({defaultModifiers:XE})}),aH=R(()=>{Xt(),pT(),nH()}),oH=Z((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(l,s){if(l===s)return!0;if(l&&s&&typeof l=="object"&&typeof s=="object"){if(l.constructor!==s.constructor)return!1;var d,f,h;if(Array.isArray(l)){if(d=l.length,d!=s.length)return!1;for(f=d;f--!==0;)if(!i(l[f],s[f]))return!1;return!0}var p;if(n&&l instanceof Map&&s instanceof Map){if(l.size!==s.size)return!1;for(p=l.entries();!(f=p.next()).done;)if(!s.has(f.value[0]))return!1;for(p=l.entries();!(f=p.next()).done;)if(!i(f.value[1],s.get(f.value[0])))return!1;return!0}if(a&&l instanceof Set&&s instanceof Set){if(l.size!==s.size)return!1;for(p=l.entries();!(f=p.next()).done;)if(!s.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(s)){if(d=l.length,d!=s.length)return!1;for(f=d;f--!==0;)if(l[f]!==s[f])return!1;return!0}if(l.constructor===RegExp)return l.source===s.source&&l.flags===s.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof s.valueOf=="function")return l.valueOf()===s.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof s.toString=="function")return l.toString()===s.toString();if(h=Object.keys(l),d=h.length,d!==Object.keys(s).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(s,h[f]))return!1;if(r&&l instanceof Element)return!1;for(f=d;f--!==0;)if(!((h[f]==="_owner"||h[f]==="__v"||h[f]==="__o")&&l.$$typeof)&&!i(l[h[f]],s[h[f]]))return!1;return!0}return l!==l&&s!==s}c(i,"equal"),t.exports=c(function(l,s){try{return i(l,s)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),JE,QE,CT,iH=R(()=>{aH(),JE=Ke(oH()),Tj(),QE=[],CT=c(function(e,t,r){r===void 0&&(r={});var n=u.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||QE},o=u.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],l=o[1],s=u.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(h){var p=h.state,m=Object.keys(p.elements);pl.flushSync(function(){l({styles:L2(m.map(function(g){return[g,p.styles[g]||{}]})),attributes:L2(m.map(function(g){return[g,p.attributes[g]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=u.useMemo(function(){var h={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[s,{name:"applyStyles",enabled:!1}])};return(0,JE.default)(n.current,h)?n.current||h:(n.current=h,h)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,s]),f=u.useRef();return O2(function(){f.current&&f.current.setOptions(d)},[d]),O2(function(){if(!(e==null||t==null)){var h=r.createPopper||xT,p=h(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:i.styles,attributes:i.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),lH=R(()=>{iH()});function p4(e){var t=u.useRef(e);return t.current=e,u.useCallback(function(){return t.current},[])}function DT(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?kT:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=u.useState(t),i=o[0],l=o[1],s=p4(i),d=u.useCallback(function(h){var p=s(),m=typeof h=="function"?h(p):h;typeof m.persist=="function"&&m.persist(),l(m),typeof a=="function"&&a(m)},[s,a]),f=r!==void 0;return[f?r:i,f?a:d]}function G2(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function ST(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(Y2).reduce(function(M,H){var W;return se({},M,(W={},W[H]=M[H]!==void 0?M[H]:Y2[H],W))},e),i=u.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),l=se({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),s=u.useState(null),d=s[0],f=s[1],h=u.useState(null),p=h[0],m=h[1],g=DT({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),v=g[0],C=g[1],b=u.useRef();u.useEffect(function(){return function(){return clearTimeout(b.current)}},[]);var y=CT(o.followCursor?K2:d,p,l),E=y.styles,x=y.attributes,D=T1(y,_T),S=D.update,k=p4({visible:v,triggerRef:d,tooltipRef:p,finalConfig:o}),_=u.useCallback(function(M){return Array.isArray(o.trigger)?o.trigger.includes(M):o.trigger===M},Array.isArray(o.trigger)?o.trigger:[o.trigger]),A=u.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!1)},o.delayHide)},[o.delayHide,C]),$=u.useCallback(function(){clearTimeout(b.current),b.current=window.setTimeout(function(){return C(!0)},o.delayShow)},[o.delayShow,C]),I=u.useCallback(function(){k().visible?A():$()},[k,A,$]);u.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var M=c(function(H){var W,B=k(),L=B.tooltipRef,N=B.triggerRef,G=(H.composedPath==null||(W=H.composedPath())==null?void 0:W[0])||H.target;G instanceof Node&&L!=null&&N!=null&&!L.contains(G)&&!N.contains(G)&&A()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[k,A]),u.useEffect(function(){if(!(d==null||!_("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,_,I]),u.useEffect(function(){if(!(d==null||!_("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,_,I]),u.useEffect(function(){if(!(d==null||!_("right-click"))){var M=c(function(H){H.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,_,I]),u.useEffect(function(){if(!(d==null||!_("focus")))return d.addEventListener("focus",$),d.addEventListener("blur",A),function(){d.removeEventListener("focus",$),d.removeEventListener("blur",A)}},[d,_,$,A]),u.useEffect(function(){if(!(d==null||!_("hover")))return d.addEventListener("mouseenter",$),d.addEventListener("mouseleave",A),function(){d.removeEventListener("mouseenter",$),d.removeEventListener("mouseleave",A)}},[d,_,$,A]),u.useEffect(function(){if(!(p==null||!_("hover")||!k().finalConfig.interactive))return p.addEventListener("mouseenter",$),p.addEventListener("mouseleave",A),function(){p.removeEventListener("mouseenter",$),p.removeEventListener("mouseleave",A)}},[p,_,$,A,k]);var O=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;u.useEffect(function(){o.closeOnTriggerHidden&&O&&A()},[o.closeOnTriggerHidden,A,O]),u.useEffect(function(){if(!o.followCursor||d==null)return;function M(H){var W=H.clientX,B=H.clientY;K2.getBoundingClientRect=G2(W,B),S==null||S()}return c(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[o.followCursor,d,S]),u.useEffect(function(){if(!(p==null||S==null||o.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(p,o.mutationObserverOptions),function(){return M.disconnect()}}},[o.mutationObserverOptions,p,S]);var z=c(function(M){return M===void 0&&(M={}),se({},M,{style:se({},M.style,E.popper)},x.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),j=c(function(M){return M===void 0&&(M={}),se({},M,x.arrow,{style:se({},M.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return se({getArrowProps:j,getTooltipProps:z,setTooltipRef:m,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:v},D)}var kT,_T,K2,Y2,sH=R(()=>{qv(),on(),lH(),c(p4,"useGetLatest"),kT=c(function(){},"noop"),c(DT,"useControlledState"),c(G2,"generateBoundingClientRect"),_T=["styles","attributes"],K2={getBoundingClientRect:G2()},Y2={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(ST,"usePopperTooltip")}),ex,At,fn,tx,rx,Z2,uH=R(()=>{ex=Ke($1(),1),At=(0,ex.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),fn=8,tx=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${At("top",r,`${fn*-1}px`,"auto")}`,top:`${At("bottom",r,`${fn*-1}px`,"auto")}`,right:`${At("left",r,`${fn*-1}px`,"auto")}`,left:`${At("right",r,`${fn*-1}px`,"auto")}`,borderBottomWidth:`${At("top",r,"0",fn)}px`,borderTopWidth:`${At("bottom",r,"0",fn)}px`,borderRightWidth:`${At("left",r,"0",fn)}px`,borderLeftWidth:`${At("right",r,"0",fn)}px`,borderTopColor:At("top",r,e.color[t]||t||e.base==="light"?Il(e.background.app):e.background.app,"transparent"),borderBottomColor:At("bottom",r,e.color[t]||t||e.base==="light"?Il(e.background.app):e.background.app,"transparent"),borderLeftColor:At("left",r,e.color[t]||t||e.base==="light"?Il(e.background.app):e.background.app,"transparent"),borderRightColor:At("right",r,e.color[t]||t||e.base==="light"?Il(e.background.app):e.background.app,"transparent")})),rx=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Il(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}:{}),Z2=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...l},s)=>w.createElement(rx,{"data-testid":"tooltip",hasChrome:t,ref:s,...l,color:o},t&&i&&w.createElement(tx,{placement:e,...n,color:o}),r)),Z2.displayName="Tooltip"}),f4={};fl(f4,{WithToolTipState:()=>qd,WithTooltip:()=>qd,WithTooltipPure:()=>X2});var es,nx,ax,X2,qd,h4=R(()=>{Wv(),sH(),uH(),{document:es}=F1,nx=F.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,ax=F.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,X2=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:l,offset:s,tooltip:d,children:f,closeOnTriggerHidden:h,mutationObserverOptions:p,delayHide:m,visible:g,interactive:v,delayShow:C,strategy:b,followCursor:y,onVisibleChange:E,...x})=>{let D=e?ax:nx,{getArrowProps:S,getTooltipProps:k,setTooltipRef:_,setTriggerRef:A,visible:$,state:I}=ST({trigger:t,placement:n,defaultVisible:i,delayHide:m,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:E,delayShow:C,followCursor:y,mutationObserverOptions:p,visible:g,offset:s},{modifiers:a,strategy:b}),O=w.createElement(Z2,{placement:I==null?void 0:I.placement,ref:_,hasChrome:o,arrowProps:S(),withArrows:l,...k()},typeof d=="function"?d({onHide:c(()=>E(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:A,...x},f),$&&GS.createPortal(O,es.body))},"WithTooltipPure"),qd=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=u.useState(e),o=u.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return u.useEffect(()=>{let i=c(()=>o(!1),"hide");es.addEventListener("keydown",i,!1);let l=Array.from(es.getElementsByTagName("iframe")),s=[];return l.forEach(d=>{let f=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),s.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),s.push(()=>{d.removeEventListener("load",f)})}),()=>{es.removeEventListener("keydown",i),s.forEach(d=>{d()})}}),w.createElement(X2,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),we=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");on();dN();Uv();function AT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gi(e,t)}c(AT,"_inheritsLoose");pN();Uv();function FT(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(FT,"_isNativeFunction");function m4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(m4=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(m4,"_isNativeReflectConstruct");Uv();function $T(e,t,r){if(m4())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Gi(a,r.prototype),a}c($T,"_construct");function Gd(e){var t=typeof Map=="function"?new Map:void 0;return Gd=c(function(r){if(r===null||!FT(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return $T(r,arguments,md(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Gi(n,r)},"_wrapNativeSuper"),Gd(e)}c(Gd,"_wrapNativeSuper");var cH={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 TT(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var f=r-o/2,h=l+f,p=s+f,m=d+f;return n(h,p,m)}c(el,"hslToRgb");var ox={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 RT(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ox[t]?"#"+ox[t]:e}c(RT,"nameToHex");var dH=/^#[a-fA-F0-9]{6}$/,pH=/^#[a-fA-F0-9]{8}$/,fH=/^#[a-fA-F0-9]{3}$/,hH=/^#[a-fA-F0-9]{4}$/,gm=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,mH=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,gH=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,vH=/^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 lp(e){if(typeof e!="string")throw new Wr(3);var t=RT(e);if(t.match(dH))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(pH)){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(fH))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(hH)){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=gm.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=mH.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=gH.exec(t);if(i){var l=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+el(l,s,d)+")",h=gm.exec(f);if(!h)throw new Wr(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=vH.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,C="rgb("+el(m,g,v)+")",b=gm.exec(C);if(!b)throw new Wr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Wr(5)}c(lp,"parseToRgb");function zT(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var l,s=a-o,d=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:l=(r-n)/s+(r=1?wu(e,t,r):"rgba("+el(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?wu(e.hue,e.saturation,e.lightness):"rgba("+el(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Wr(2)}c(OT,"hsla");function Kd(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return J2("#"+Gn(e)+Gn(t)+Gn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return J2("#"+Gn(e.red)+Gn(e.green)+Gn(e.blue));throw new Wr(6)}c(Kd,"rgb");function bu(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=lp(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?Kd(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?Kd(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Wr(7)}c(bu,"rgba");var wH=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),bH=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),EH=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),xH=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function v4(e){if(typeof e!="object")throw new Wr(8);if(bH(e))return bu(e);if(wH(e))return Kd(e);if(xH(e))return OT(e);if(EH(e))return LT(e);throw new Wr(8)}c(v4,"toColorString");function y4(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):y4(e,t,n)},"fn")}c(y4,"curried");function sp(e){return y4(e,e.length,[])}c(sp,"curry");function up(e,t,r){return Math.max(e,Math.min(t,r))}c(up,"guard");function MT(e,t){if(t==="transparent")return t;var r=g4(t);return v4(se({},r,{lightness:up(0,1,r.lightness-parseFloat(e))}))}c(MT,"darken");var CH=sp(MT),fi=CH;function PT(e,t){if(t==="transparent")return t;var r=g4(t);return v4(se({},r,{lightness:up(0,1,r.lightness+parseFloat(e))}))}c(PT,"lighten");var DH=sp(PT),ix=DH;function NT(e,t){if(t==="transparent")return t;var r=lp(t),n=typeof r.alpha=="number"?r.alpha:1,a=se({},r,{alpha:up(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return bu(a)}c(NT,"transparentize");var SH=sp(NT),Wt=SH,wl=c(({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"}}),"headerCommon"),Sa=c(({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"?Wt(.1,e.color.defaultText):Wt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),De=c(({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"}),"withReset"),Ao={margin:"16px 0"},jT=F.div(De),kH=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return w.createElement("a",{href:r,target:n,...t})},"Link"),_H=F(kH)(De,({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}})),AH=F.blockquote(De,Ao,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));R1();var FH=c(e=>typeof e=="string","isReactChildString"),$H=/[\n\r]/g,TH=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Sa),IH=F(Ls)(({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"}})),HT=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=u.Children.toArray(t);return a.filter(FH).some(o=>o.match($H))?w.createElement(IH,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):w.createElement(TH,{...r,className:e},a)},"Code"),RH=F.dl(De,Ao,{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}}),zH=F.div(De),BH=F.h1(De,wl,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),VT=F.h2(De,wl,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),UT=F.h3(De,wl,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),LH=F.h4(De,wl,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),OH=F.h5(De,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),MH=F.h6(De,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),PH=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),NH=F.img({maxWidth:"100%"}),jH=F.li(De,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Sa({theme:e})})),HH={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},VH=F.ol(De,Ao,HH,{listStyle:"decimal"}),UH=F.p(De,Ao,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Sa({theme:e})})),WH=F.pre(De,Ao,({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"}})),qH=F.span(De,({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"}}})),GH=F.title(Sa),KH=F.table(De,Ao,({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}})),YH={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},ZH=F.ul(De,Ao,YH,{listStyle:"disc"}),WT={h1:c(e=>w.createElement(BH,{...we(e,"h1")}),"h1"),h2:c(e=>w.createElement(VT,{...we(e,"h2")}),"h2"),h3:c(e=>w.createElement(UT,{...we(e,"h3")}),"h3"),h4:c(e=>w.createElement(LH,{...we(e,"h4")}),"h4"),h5:c(e=>w.createElement(OH,{...we(e,"h5")}),"h5"),h6:c(e=>w.createElement(MH,{...we(e,"h6")}),"h6"),pre:c(e=>w.createElement(WH,{...we(e,"pre")}),"pre"),a:c(e=>w.createElement(_H,{...we(e,"a")}),"a"),hr:c(e=>w.createElement(PH,{...we(e,"hr")}),"hr"),dl:c(e=>w.createElement(RH,{...we(e,"dl")}),"dl"),blockquote:c(e=>w.createElement(AH,{...we(e,"blockquote")}),"blockquote"),table:c(e=>w.createElement(KH,{...we(e,"table")}),"table"),img:c(e=>w.createElement(NH,{...we(e,"img")}),"img"),div:c(e=>w.createElement(zH,{...we(e,"div")}),"div"),span:c(e=>w.createElement(qH,{...we(e,"span")}),"span"),li:c(e=>w.createElement(jH,{...we(e,"li")}),"li"),ul:c(e=>w.createElement(ZH,{...we(e,"ul")}),"ul"),ol:c(e=>w.createElement(VH,{...we(e,"ol")}),"ol"),p:c(e=>w.createElement(UH,{...we(e,"p")}),"p"),code:c(e=>w.createElement(HT,{...we(e,"code")}),"code"),tt:c(e=>w.createElement(GH,{...we(e,"tt")}),"tt"),resetwrapper:c(e=>w.createElement(jT,{...we(e,"resetwrapper")}),"resetwrapper")},XH=F.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 ${Wt(.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 ${Wt(.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 ${Wt(.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 ${Wt(.9,e.color.positiveText)}`:"none"};default:return{}}}),Ohe=c(({...e})=>w.createElement(XH,{...e}),"Badge"),qT={};fl(qT,{AccessibilityAltIcon:()=>hG,AccessibilityIcon:()=>fG,AddIcon:()=>cW,AdminIcon:()=>nG,AlertAltIcon:()=>OW,AlertIcon:()=>LW,AlignLeftIcon:()=>jV,AlignRightIcon:()=>HV,AppleIcon:()=>lU,ArrowBottomLeftIcon:()=>Fq,ArrowBottomRightIcon:()=>$q,ArrowDownIcon:()=>Dq,ArrowLeftIcon:()=>Sq,ArrowRightIcon:()=>kq,ArrowSolidDownIcon:()=>Iq,ArrowSolidLeftIcon:()=>Rq,ArrowSolidRightIcon:()=>zq,ArrowSolidUpIcon:()=>Tq,ArrowTopLeftIcon:()=>_q,ArrowTopRightIcon:()=>Aq,ArrowUpIcon:()=>Cq,AzureDevOpsIcon:()=>fU,BackIcon:()=>qq,BasketIcon:()=>iq,BatchAcceptIcon:()=>nW,BatchDenyIcon:()=>rW,BeakerIcon:()=>lq,BellIcon:()=>HW,BitbucketIcon:()=>hU,BoldIcon:()=>YV,BookIcon:()=>IV,BookmarkHollowIcon:()=>YW,BookmarkIcon:()=>ZW,BottomBarIcon:()=>NU,BottomBarToggleIcon:()=>jU,BoxIcon:()=>qU,BranchIcon:()=>aU,BrowserIcon:()=>IU,ButtonIcon:()=>AW,CPUIcon:()=>HU,CalendarIcon:()=>PV,CameraIcon:()=>wV,CategoryIcon:()=>BV,CertificateIcon:()=>rq,ChangedIcon:()=>mW,ChatIcon:()=>xW,CheckIcon:()=>eW,ChevronDownIcon:()=>vq,ChevronLeftIcon:()=>yq,ChevronRightIcon:()=>YT,ChevronSmallDownIcon:()=>bq,ChevronSmallLeftIcon:()=>Eq,ChevronSmallRightIcon:()=>xq,ChevronSmallUpIcon:()=>wq,ChevronUpIcon:()=>gq,ChromaticIcon:()=>mU,ChromeIcon:()=>dU,CircleHollowIcon:()=>GW,CircleIcon:()=>KW,ClearIcon:()=>vW,CloseAltIcon:()=>iW,CloseIcon:()=>pW,CloudHollowIcon:()=>cq,CloudIcon:()=>dq,CogIcon:()=>YU,CollapseIcon:()=>Lq,CommandIcon:()=>IW,CommentAddIcon:()=>wW,CommentIcon:()=>yW,CommentsIcon:()=>EW,CommitIcon:()=>nU,CompassIcon:()=>Zq,ComponentDrivenIcon:()=>gU,ComponentIcon:()=>eV,ContrastIcon:()=>pV,ControlsIcon:()=>aW,CopyIcon:()=>zV,CreditIcon:()=>_W,CrossIcon:()=>KT,DashboardIcon:()=>eG,DatabaseIcon:()=>VU,DeleteIcon:()=>fW,DiamondIcon:()=>XW,DirectionIcon:()=>aG,DiscordIcon:()=>vU,DocChartIcon:()=>UV,DocListIcon:()=>WV,DocumentIcon:()=>RV,DownloadIcon:()=>Wq,DragIcon:()=>qV,EditIcon:()=>KU,EllipsisIcon:()=>JU,EmailIcon:()=>MW,ExpandAltIcon:()=>Bq,ExpandIcon:()=>Oq,EyeCloseIcon:()=>cV,EyeIcon:()=>uV,FaceHappyIcon:()=>cG,FaceNeutralIcon:()=>dG,FaceSadIcon:()=>pG,FacebookIcon:()=>yU,FailedIcon:()=>gW,FastForwardIcon:()=>kV,FigmaIcon:()=>wU,FilterIcon:()=>VV,FlagIcon:()=>uq,FolderIcon:()=>LV,FormIcon:()=>tW,GDriveIcon:()=>bU,GithubIcon:()=>EU,GitlabIcon:()=>xU,GlobeIcon:()=>Yq,GoogleIcon:()=>CU,GraphBarIcon:()=>NV,GraphLineIcon:()=>MV,GraphqlIcon:()=>DU,GridAltIcon:()=>aV,GridIcon:()=>tV,GrowIcon:()=>mV,HeartHollowIcon:()=>JW,HeartIcon:()=>QW,HomeIcon:()=>rG,HourglassIcon:()=>sq,InfoIcon:()=>RW,ItalicIcon:()=>ZV,JumpToIcon:()=>qW,KeyIcon:()=>SW,LightningIcon:()=>dV,LightningOffIcon:()=>GT,LinkBrokenIcon:()=>jW,LinkIcon:()=>NW,LinkedinIcon:()=>$U,LinuxIcon:()=>sU,ListOrderedIcon:()=>JV,ListUnorderedIcon:()=>QV,LocationIcon:()=>Xq,LockIcon:()=>CW,MarkdownIcon:()=>tU,MarkupIcon:()=>KV,MediumIcon:()=>SU,MemoryIcon:()=>UU,MenuIcon:()=>GV,MergeIcon:()=>iU,MirrorIcon:()=>hV,MobileIcon:()=>zU,MoonIcon:()=>TV,NutIcon:()=>ZU,OutboxIcon:()=>kW,OutlineIcon:()=>rV,PaintBrushIcon:()=>gV,PaperClipIcon:()=>XV,ParagraphIcon:()=>eU,PassedIcon:()=>hW,PhoneIcon:()=>PW,PhotoDragIcon:()=>nV,PhotoIcon:()=>QH,PinAltIcon:()=>sW,PinIcon:()=>Jq,PlayBackIcon:()=>CV,PlayIcon:()=>xV,PlayNextIcon:()=>DV,PlusIcon:()=>oW,PointerDefaultIcon:()=>$W,PointerHandIcon:()=>TW,PowerIcon:()=>GU,PrintIcon:()=>OV,ProceedIcon:()=>Gq,ProfileIcon:()=>uG,PullRequestIcon:()=>oU,QuestionIcon:()=>zW,RSSIcon:()=>VW,RedirectIcon:()=>Nq,ReduxIcon:()=>kU,RefreshIcon:()=>Kq,ReplyIcon:()=>Hq,RepoIcon:()=>rU,RequestChangeIcon:()=>bW,RewindIcon:()=>SV,RulerIcon:()=>vV,SearchIcon:()=>oV,ShareAltIcon:()=>UW,ShareIcon:()=>WW,ShieldIcon:()=>oq,SideBySideIcon:()=>AV,SidebarAltIcon:()=>OU,SidebarAltToggleIcon:()=>MU,SidebarIcon:()=>LU,SidebarToggleIcon:()=>PU,SpeakerIcon:()=>EV,StackedIcon:()=>FV,StarHollowIcon:()=>eq,StarIcon:()=>tq,StatusFailIcon:()=>fq,StatusPassIcon:()=>mq,StatusWarnIcon:()=>hq,StickerIcon:()=>pq,StopAltIcon:()=>_V,StopIcon:()=>yV,StorybookIcon:()=>pU,StructureIcon:()=>WU,SubtractIcon:()=>dW,SunIcon:()=>$V,SupportIcon:()=>BW,SwitchAltIcon:()=>fV,SyncIcon:()=>Vq,TabletIcon:()=>RU,ThumbsUpIcon:()=>aq,TimeIcon:()=>Qq,TimerIcon:()=>tG,TransferIcon:()=>Pq,TrashIcon:()=>lW,TwitterIcon:()=>_U,TypeIcon:()=>FW,UbuntuIcon:()=>uU,UndoIcon:()=>jq,UnfoldIcon:()=>Mq,UnlockIcon:()=>DW,UnpinIcon:()=>uW,UploadIcon:()=>Uq,UserAddIcon:()=>lG,UserAltIcon:()=>iG,UserIcon:()=>oG,UsersIcon:()=>sG,VSCodeIcon:()=>FU,VerifiedIcon:()=>nq,VideoIcon:()=>bV,WandIcon:()=>QU,WatchIcon:()=>BU,WindowsIcon:()=>cU,WrenchIcon:()=>XU,XIcon:()=>TU,YoutubeIcon:()=>AU,ZoomIcon:()=>iV,ZoomOutIcon:()=>lV,ZoomResetIcon:()=>sV,iconList:()=>JH});var JH=[{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","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{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"]}],QH=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),eV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),tV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),oV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),uV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),cV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),dV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),GT=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),pV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),hV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),mV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),gV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),vV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),yV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),wV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),bV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),EV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),xV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),CV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),DV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),SV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),kV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),_V=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),AV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),FV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),$V=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),TV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),IV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),RV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),zV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),BV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),LV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),OV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),MV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),PV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),NV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),jV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),HV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),VV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),UV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),WV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),qV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),GV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),KV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),YV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),ZV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),XV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),JV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),QV=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),eU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),tU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),oU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),uU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),cU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),dU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),pU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),hU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),mU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),gU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),vU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),yU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),wU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),bU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),EU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),xU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),CU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),DU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),SU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),kU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),_U=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),AU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),FU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),$U=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),TU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),IU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),RU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),zU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),BU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),LU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),OU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),MU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),PU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),NU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),jU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),HU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),VU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),UU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),WU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),qU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),GU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),KU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),YU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),ZU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),XU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),JU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),QU=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),eW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),tW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),oW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),KT=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),uW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),cW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),dW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),pW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),hW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),mW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),gW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),vW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),yW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),wW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),bW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),EW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),xW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),CW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),DW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),SW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),kW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),_W=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),AW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),FW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),$W=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),TW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),IW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),RW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),zW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),BW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),LW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),OW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),MW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),PW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),NW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),jW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),HW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),VW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),UW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),WW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),qW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),GW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),KW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),YW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),ZW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),XW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),JW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),QW=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),eq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),tq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),oq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),uq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),cq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),dq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),pq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),hq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),mq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),gq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),vq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),yq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),YT=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),wq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),bq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Eq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),xq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Cq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Dq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Sq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),kq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),_q=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Aq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Fq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),$q=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Tq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Iq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Rq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),zq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Bq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Lq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Oq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Mq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Pq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Nq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),jq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Hq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Vq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Uq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Wq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),qq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Gq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Kq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Yq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Zq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Xq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Jq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),Qq=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),eG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),tG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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"}))))),oG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),uG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),cG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),dG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),pG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),hG=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),mG=0,gG=c(e=>e.button===mG&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),vG=c((e,t)=>{gG(e)&&(e.preventDefault(),t(e))},"cancelled"),yG=F.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}}:{}),wG=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:fi(.07,e.color.secondary),"svg path:not([fill])":{fill:fi(.07,e.color.secondary)}},"&:active":{color:fi(.1,e.color.secondary),"svg path:not([fill])":{fill:fi(.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:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[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"}:{}),Ti=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...l})=>w.createElement(wG,{...l,onClick:r&&e?s=>vG(s,r):r,className:o},w.createElement(yG,{withArrow:n,containsIcon:a},t,n&&w.createElement(YT,null))),"Link"),Mhe=F.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:e.color.dark}})),oo=[],tl=null,bG=u.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(R1(),oy));return oo.length>0&&(oo.forEach(t=>{e.registerLanguage(...t)}),oo=[]),tl===null&&(tl=e),{default:c(t=>w.createElement(e,{...t}),"default")}}),EG=u.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(R1(),oy)),Promise.resolve().then(()=>($j(),S$))]);return oo.length>0&&(oo.forEach(r=>{e.registerLanguage(...r)}),oo=[]),tl===null&&(tl=e),{default:c(r=>w.createElement(e,{...r,formatter:t}),"default")}}),w4=c(e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},e.format!==!1?w.createElement(EG,{...e}):w.createElement(bG,{...e})),"SyntaxHighlighter");w4.registerLanguage=(...e)=>{if(tl!==null){tl.registerLanguage(...e);return}oo.push(e)};R1();Wk();var ZT={};fl(ZT,{Close:()=>nR,Content:()=>eR,Description:()=>rR,Dialog:()=>PI,DialogClose:()=>ZI,DialogContent:()=>WI,DialogDescription:()=>YI,DialogOverlay:()=>UI,DialogPortal:()=>VI,DialogTitle:()=>KI,DialogTrigger:()=>NI,Overlay:()=>QI,Portal:()=>JI,Root:()=>XI,Title:()=>tR,Trigger:()=>gK,WarningProvider:()=>mK,createDialogScope:()=>oK});on();function Cn(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(Cn,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function XT(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(XT,"$6ed0406888f73fc4$var$setRef");function b4(...e){return t=>e.forEach(r=>XT(r,t))}c(b4,"$6ed0406888f73fc4$export$43e446d32b3d21af");function Fo(...e){return u.useCallback(b4(...e),e)}c(Fo,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function JT(e,t){let r=u.createContext(t);function n(o){let{children:i,...l}=o,s=u.useMemo(()=>l,Object.values(l));return u.createElement(r.Provider,{value:s},i)}c(n,"Provider");function a(o){let i=u.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return c(a,"useContext"),n.displayName=e+"Provider",[n,a]}c(JT,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function QT(e,t=[]){let r=[];function n(o,i){let l=u.createContext(i),s=r.length;r=[...r,i];function d(h){let{scope:p,children:m,...g}=h,v=(p==null?void 0:p[e][s])||l,C=u.useMemo(()=>g,Object.values(g));return u.createElement(v.Provider,{value:C},m)}c(d,"Provider");function f(h,p){let m=(p==null?void 0:p[e][s])||l,g=u.useContext(m);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(f,"useContext"),d.displayName=o+"Provider",[d,f]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=c(()=>{let o=r.map(i=>u.createContext(i));return c(function(i){let l=(i==null?void 0:i[e])||o;return u.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])},"useScope")},"createScope");return a.scopeName=e,[n,eI(a,...t)]}c(QT,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function eI(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:l,scopeName:s})=>{let d=l(a)[`__scope${s}`];return{...i,...d}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(eI,"$c512c27ab02ef895$var$composeContextScopes");var Q2=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{},xG=u.useId||(()=>{}),CG=0;function T0(e){let[t,r]=u.useState(xG());return Q2(()=>{e||r(n=>n??String(CG++))},[e]),e||(t?`radix-${t}`:"")}c(T0,"$1746a345f3d73bb7$export$f680877a34711e37");function ya(e){let t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(ya,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function tI({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,a]=rI({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,l=ya(r),s=u.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&l(f)}else a(d)},[o,e,a,l]);return[i,s]}c(tI,"$71cd76cc60e0454e$export$6f32135080cb4c3");function rI({defaultProp:e,onChange:t}){let r=u.useState(e),[n]=r,a=u.useRef(n),o=ya(t);return u.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}c(rI,"$71cd76cc60e0454e$var$useUncontrolledState");on();on();on();var cp=u.forwardRef((e,t)=>{let{children:r,...n}=e,a=u.Children.toArray(r),o=a.find(nI);if(o){let i=o.props.children,l=a.map(s=>s===o?u.Children.count(i)>1?u.Children.only(null):u.isValidElement(i)?i.props.children:null:s);return u.createElement(e5,se({},n,{ref:t}),u.isValidElement(i)?u.cloneElement(i,void 0,l):null)}return u.createElement(e5,se({},n,{ref:t}),r)});cp.displayName="Slot";var e5=u.forwardRef((e,t)=>{let{children:r,...n}=e;return u.isValidElement(r)?u.cloneElement(r,{...aI(n,r.props),ref:t?b4(t,r.ref):r.ref}):u.Children.count(r)>1?u.Children.only(null):null});e5.displayName="SlotClone";var DG=c(({children:e})=>u.createElement(u.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function nI(e){return u.isValidElement(e)&&e.type===DG}c(nI,"$5e63c961fc1ce211$var$isSlottable");function aI(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}c(aI,"$5e63c961fc1ce211$var$mergeProps");var SG=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ka=SG.reduce((e,t)=>{let r=u.forwardRef((n,a)=>{let{asChild:o,...i}=n,l=o?cp:t;return u.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),u.createElement(l,se({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function oI(e,t){e&&pl.flushSync(()=>e.dispatchEvent(t))}c(oI,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function iI(e,t=globalThis==null?void 0:globalThis.document){let r=ya(e);u.useEffect(()=>{let n=c(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(iI,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var t5="dismissableLayer.update",kG="dismissableLayer.pointerDownOutside",_G="dismissableLayer.focusOutside",lx,AG=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),FG=u.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...d}=e,f=u.useContext(AG),[h,p]=u.useState(null),m=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=u.useState({}),v=Fo(t,_=>p(_)),C=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),y=C.indexOf(b),E=h?C.indexOf(h):-1,x=f.layersWithOutsidePointerEventsDisabled.size>0,D=E>=y,S=lI(_=>{let A=_.target,$=[...f.branches].some(I=>I.contains(A));!D||$||(o==null||o(_),l==null||l(_),_.defaultPrevented||(s==null||s()))},m),k=sI(_=>{let A=_.target;[...f.branches].some($=>$.contains(A))||(i==null||i(_),l==null||l(_),_.defaultPrevented||(s==null||s()))},m);return iI(_=>{E===f.layers.size-1&&(a==null||a(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},m),u.useEffect(()=>{if(h)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(lx=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),r5(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=lx)}},[h,m,n,f]),u.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),r5())},[h,f]),u.useEffect(()=>{let _=c(()=>g({}),"handleUpdate");return document.addEventListener(t5,_),()=>document.removeEventListener(t5,_)},[]),u.createElement(ka.div,se({},d,{ref:v,style:{pointerEvents:x?D?"auto":"none":void 0,...e.style},onFocusCapture:Cn(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Cn(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Cn(e.onPointerDownCapture,S.onPointerDownCapture)}))});function lI(e,t=globalThis==null?void 0:globalThis.document){let r=ya(e),n=u.useRef(!1),a=u.useRef(()=>{});return u.useEffect(()=>{let o=c(l=>{if(l.target&&!n.current){let s=function(){E4(kG,r,d,{discrete:!0})};c(s,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=s,t.addEventListener("click",a.current,{once:!0})):s()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(lI,"$5cb92bef7577960e$var$usePointerDownOutside");function sI(e,t=globalThis==null?void 0:globalThis.document){let r=ya(e),n=u.useRef(!1);return u.useEffect(()=>{let a=c(o=>{o.target&&!n.current&&E4(_G,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(sI,"$5cb92bef7577960e$var$useFocusOutside");function r5(){let e=new CustomEvent(t5);document.dispatchEvent(e)}c(r5,"$5cb92bef7577960e$var$dispatchUpdate");function E4(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?oI(a,o):a.dispatchEvent(o)}c(E4,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");on();var vm="focusScope.autoFocusOnMount",ym="focusScope.autoFocusOnUnmount",sx={bubbles:!1,cancelable:!0},$G=u.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[l,s]=u.useState(null),d=ya(a),f=ya(o),h=u.useRef(null),p=Fo(t,v=>s(v)),m=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let v=function(E){if(m.paused||!l)return;let x=E.target;l.contains(x)?h.current=x:vn(h.current,{select:!0})},C=function(E){if(m.paused||!l)return;let x=E.relatedTarget;x!==null&&(l.contains(x)||vn(h.current,{select:!0}))},b=function(E){if(document.activeElement===document.body)for(let x of E)x.removedNodes.length>0&&vn(l)};c(v,"handleFocusIn"),c(C,"handleFocusOut"),c(b,"handleMutations"),document.addEventListener("focusin",v),document.addEventListener("focusout",C);let y=new MutationObserver(b);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",C),y.disconnect()}}},[n,l,m.paused]),u.useEffect(()=>{if(l){ux.add(m);let v=document.activeElement;if(!l.contains(v)){let C=new CustomEvent(vm,sx);l.addEventListener(vm,d),l.dispatchEvent(C),C.defaultPrevented||(uI(hI(x4(l)),{select:!0}),document.activeElement===v&&vn(l))}return()=>{l.removeEventListener(vm,d),setTimeout(()=>{let C=new CustomEvent(ym,sx);l.addEventListener(ym,f),l.dispatchEvent(C),C.defaultPrevented||vn(v??document.body,{select:!0}),l.removeEventListener(ym,f),ux.remove(m)},0)}}},[l,d,f,m]);let g=u.useCallback(v=>{if(!r&&!n||m.paused)return;let C=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,b=document.activeElement;if(C&&b){let y=v.currentTarget,[E,x]=cI(y);E&&x?!v.shiftKey&&b===x?(v.preventDefault(),r&&vn(E,{select:!0})):v.shiftKey&&b===E&&(v.preventDefault(),r&&vn(x,{select:!0})):b===y&&v.preventDefault()}},[r,n,m.paused]);return u.createElement(ka.div,se({tabIndex:-1},i,{ref:p,onKeyDown:g}))});function uI(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(vn(n,{select:t}),document.activeElement!==r)return}c(uI,"$d3863c46a17e8a28$var$focusFirst");function cI(e){let t=x4(e),r=n5(t,e),n=n5(t.reverse(),e);return[r,n]}c(cI,"$d3863c46a17e8a28$var$getTabbableEdges");function x4(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(x4,"$d3863c46a17e8a28$var$getTabbableCandidates");function n5(e,t){for(let r of e)if(!dI(r,{upTo:t}))return r}c(n5,"$d3863c46a17e8a28$var$findVisible");function dI(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(dI,"$d3863c46a17e8a28$var$isHidden");function pI(e){return e instanceof HTMLInputElement&&"select"in e}c(pI,"$d3863c46a17e8a28$var$isSelectableInput");function vn(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&pI(e)&&t&&e.select()}}c(vn,"$d3863c46a17e8a28$var$focus");var ux=fI();function fI(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=a5(e,t),e.unshift(t)},remove(t){var r;e=a5(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(fI,"$d3863c46a17e8a28$var$createFocusScopesStack");function a5(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(a5,"$d3863c46a17e8a28$var$arrayRemove");function hI(e){return e.filter(t=>t.tagName!=="A")}c(hI,"$d3863c46a17e8a28$var$removeLinks");on();var TG=u.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?GS.createPortal(u.createElement(ka.div,se({},a,{ref:t})),n):null});function mI(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}c(mI,"$fe963b355347cc68$export$3e6543de14f8614f");var dp=c(e=>{let{present:t,children:r}=e,n=gI(t),a=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),o=Fo(n.ref,a.ref);return typeof r=="function"||n.isPresent?u.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");dp.displayName="Presence";function gI(e){let[t,r]=u.useState(),n=u.useRef({}),a=u.useRef(e),o=u.useRef("none"),i=e?"mounted":"unmounted",[l,s]=mI(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{let d=Es(n.current);o.current=l==="mounted"?d:"none"},[l]),Q2(()=>{let d=n.current,f=a.current;if(f!==e){let h=o.current,p=Es(d);e?s("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),Q2(()=>{if(t){let d=c(h=>{let p=Es(n.current).includes(h.animationName);h.target===t&&p&&pl.flushSync(()=>s("ANIMATION_END"))},"handleAnimationEnd"),f=c(h=>{h.target===t&&(o.current=Es(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:u.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(gI,"$921a889cee6df7e8$var$usePresence");function Es(e){return(e==null?void 0:e.animationName)||"none"}c(Es,"$921a889cee6df7e8$var$getAnimationName");var wm=0;function vI(){u.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:o5()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:o5()),wm++,()=>{wm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),wm--}},[])}c(vI,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function o5(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(o5,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Hr=c(function(){return Hr=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return OG;var t=MG(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),NG=$I(),Yd="data-scroll-locked",jG=c(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,l=e.gap;return r===void 0&&(r="margin"),` + .`.concat(IG,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(l,"px ").concat(n,`; + } + body[`).concat(Yd,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(l,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(I0,` { + right: `).concat(l,"px ").concat(n,`; + } + + .`).concat(R0,` { + margin-right: `).concat(l,"px ").concat(n,`; + } + + .`).concat(I0," .").concat(I0,` { + right: 0 `).concat(n,`; + } + + .`).concat(R0," .").concat(R0,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(Yd,`] { + `).concat(RG,": ").concat(l,`px; + } +`)},"getStyles"),HG=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=u.useMemo(function(){return PG(a)},[a]);return u.useEffect(function(){return document.body.setAttribute(Yd,""),function(){document.body.removeAttribute(Yd)}},[]),u.createElement(NG,{styles:jG(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),i5=!1;if(typeof window<"u")try{ts=Object.defineProperty({},"passive",{get:c(function(){return i5=!0,!0},"get")}),window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,ts)}catch{i5=!1}var ts,Vo=i5?{passive:!1}:!1,VG=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),TI=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!VG(e)&&r[t]==="visible")},"elementCanBeScrolled"),UG=c(function(e){return TI(e,"overflowY")},"elementCouldBeVScrolled"),WG=c(function(e){return TI(e,"overflowX")},"elementCouldBeHScrolled"),dx=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=II(e,r);if(n){var a=RI(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),qG=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),GG=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),II=c(function(e,t){return e==="v"?UG(t):WG(t)},"elementCouldBeScrolled"),RI=c(function(e,t){return e==="v"?qG(t):GG(t)},"getScrollVariables"),KG=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),YG=c(function(e,t,r,n,a){var o=KG(e,window.getComputedStyle(t).direction),i=o*n,l=r.target,s=t.contains(l),d=!1,f=i>0,h=0,p=0;do{var m=RI(e,l),g=m[0],v=m[1],C=m[2],b=v-C-o*g;(g||b)&&II(e,l)&&(h+=b,p+=g),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(f&&(a&&h===0||!a&&i>h)||!f&&(a&&p===0||!a&&-i>p))&&(d=!0),d},"handleScroll"),qc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),px=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),fx=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),ZG=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),XG=c(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),JG=0,Uo=[];function zI(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),a=u.useState(JG++)[0],o=u.useState(function(){return $I()})[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var v=yI([e.lockRef.current],(e.shards||[]).map(fx),!0).filter(Boolean);return v.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(v,C){if("touches"in v&&v.touches.length===2)return!i.current.allowPinchZoom;var b=qc(v),y=r.current,E="deltaX"in v?v.deltaX:y[0]-b[0],x="deltaY"in v?v.deltaY:y[1]-b[1],D,S=v.target,k=Math.abs(E)>Math.abs(x)?"h":"v";if("touches"in v&&k==="h"&&S.type==="range")return!1;var _=dx(k,S);if(!_)return!0;if(_?D=k:(D=k==="v"?"h":"v",_=dx(k,S)),!_)return!1;if(!n.current&&"changedTouches"in v&&(E||x)&&(n.current=D),!D)return!0;var A=n.current||D;return YG(A,C,v,A==="h"?E:x,!0)},[]),s=u.useCallback(function(v){var C=v;if(!(!Uo.length||Uo[Uo.length-1]!==o)){var b="deltaY"in C?px(C):qc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&ZG(D.delta,b)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var E=(i.current.shards||[]).map(fx).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=E.length>0?l(C,E[0]):!i.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=u.useCallback(function(v,C,b,y){var E={name:v,delta:C,target:b,should:y};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(x){return x!==E})},1)},[]),f=u.useCallback(function(v){r.current=qc(v),n.current=void 0},[]),h=u.useCallback(function(v){d(v.type,px(v),v.target,l(v,e.lockRef.current))},[]),p=u.useCallback(function(v){d(v.type,qc(v),v.target,l(v,e.lockRef.current))},[]);u.useEffect(function(){return Uo.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",s,Vo),document.addEventListener("touchmove",s,Vo),document.addEventListener("touchstart",f,Vo),function(){Uo=Uo.filter(function(v){return v!==o}),document.removeEventListener("wheel",s,Vo),document.removeEventListener("touchmove",s,Vo),document.removeEventListener("touchstart",f,Vo)}},[]);var m=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(o,{styles:XG(a)}):null,m?u.createElement(HG,{gapMode:"margin"}):null)}c(zI,"RemoveScrollSideCar");var QG=SI(kI,zI),BI=u.forwardRef(function(e,t){return u.createElement(pp,Hr({},e,{ref:t,sideCar:QG}))});BI.classNames=pp.classNames;var eK=BI,tK=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Wo=new WeakMap,Gc=new WeakMap,Kc={},xm=0,LI=c(function(e){return e&&(e.host||LI(e.parentNode))},"unwrapHost"),rK=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=LI(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),nK=c(function(e,t,r,n){var a=rK(t,Array.isArray(e)?e:[e]);Kc[r]||(Kc[r]=new WeakMap);var o=Kc[r],i=[],l=new Set,s=new Set(a),d=c(function(h){!h||l.has(h)||(l.add(h),d(h.parentNode))},"keep");a.forEach(d);var f=c(function(h){!h||s.has(h)||Array.prototype.forEach.call(h.children,function(p){if(l.has(p))f(p);else{var m=p.getAttribute(n),g=m!==null&&m!=="false",v=(Wo.get(p)||0)+1,C=(o.get(p)||0)+1;Wo.set(p,v),o.set(p,C),i.push(p),v===1&&g&&Gc.set(p,!0),C===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})},"deep");return f(t),l.clear(),xm++,function(){i.forEach(function(h){var p=Wo.get(h)-1,m=o.get(h)-1;Wo.set(h,p),o.set(h,m),p||(Gc.has(h)||h.removeAttribute(n),Gc.delete(h)),m||h.removeAttribute(r)}),xm--,xm||(Wo=new WeakMap,Wo=new WeakMap,Gc=new WeakMap,Kc={})}},"applyAttributeToOthers"),aK=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||tK(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),nK(n,a,r,"aria-hidden")):function(){return null}},"hideOthers"),OI="Dialog",[MI,oK]=QT(OI),[iK,Sr]=MI(OI),PI=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,l=u.useRef(null),s=u.useRef(null),[d=!1,f]=tI({prop:n,defaultProp:a,onChange:o});return u.createElement(iK,{scope:t,triggerRef:l,contentRef:s,contentId:T0(),titleId:T0(),descriptionId:T0(),open:d,onOpenChange:f,onOpenToggle:u.useCallback(()=>f(h=>!h),[f]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),lK="DialogTrigger",NI=u.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Sr(lK,r),o=Fo(t,a.triggerRef);return u.createElement(ka.button,se({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":fp(a.open)},n,{ref:o,onClick:Cn(e.onClick,a.onOpenToggle)}))}),jI="DialogPortal",[sK,HI]=MI(jI,{forceMount:void 0}),VI=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Sr(jI,t);return u.createElement(sK,{scope:t,forceMount:r},u.Children.map(n,i=>u.createElement(dp,{present:r||o.open},u.createElement(TG,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),l5="DialogOverlay",UI=u.forwardRef((e,t)=>{let r=HI(l5,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Sr(l5,e.__scopeDialog);return o.modal?u.createElement(dp,{present:n||o.open},u.createElement(uK,se({},a,{ref:t}))):null}),uK=u.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Sr(l5,r);return u.createElement(eK,{as:cp,allowPinchZoom:!0,shards:[a.contentRef]},u.createElement(ka.div,se({"data-state":fp(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),rl="DialogContent",WI=u.forwardRef((e,t)=>{let r=HI(rl,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Sr(rl,e.__scopeDialog);return u.createElement(dp,{present:n||o.open},o.modal?u.createElement(cK,se({},a,{ref:t})):u.createElement(dK,se({},a,{ref:t})))}),cK=u.forwardRef((e,t)=>{let r=Sr(rl,e.__scopeDialog),n=u.useRef(null),a=Fo(t,r.contentRef,n);return u.useEffect(()=>{let o=n.current;if(o)return aK(o)},[]),u.createElement(qI,se({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Cn(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Cn(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&o.preventDefault()}),onFocusOutside:Cn(e.onFocusOutside,o=>o.preventDefault())}))}),dK=u.forwardRef((e,t)=>{let r=Sr(rl,e.__scopeDialog),n=u.useRef(!1),a=u.useRef(!1);return u.createElement(qI,se({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var l;n.current||(l=r.triggerRef.current)===null||l===void 0||l.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:c(o=>{var i,l;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let s=o.target;!((l=r.triggerRef.current)===null||l===void 0)&&l.contains(s)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),qI=u.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,l=Sr(rl,r),s=u.useRef(null),d=Fo(t,s);return vI(),u.createElement(u.Fragment,null,u.createElement($G,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},u.createElement(FG,se({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":fp(l.open)},i,{ref:d,onDismiss:c(()=>l.onOpenChange(!1),"onDismiss")}))),!1)}),GI="DialogTitle",KI=u.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Sr(GI,r);return u.createElement(ka.h2,se({id:a.titleId},n,{ref:t}))}),pK="DialogDescription",YI=u.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Sr(pK,r);return u.createElement(ka.p,se({id:a.descriptionId},n,{ref:t}))}),fK="DialogClose",ZI=u.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Sr(fK,r);return u.createElement(ka.button,se({type:"button"},n,{ref:t,onClick:Cn(e.onClick,()=>a.onOpenChange(!1))}))});function fp(e){return e?"open":"closed"}c(fp,"$5d3850c4d0b4e6c7$var$getState");var hK="DialogTitleWarning",[mK,Phe]=JT(hK,{contentName:rl,titleName:GI,docsSlug:"dialog"}),XI=PI,gK=NI,JI=VI,QI=UI,eR=WI,tR=KI,rR=YI,nR=ZI,aR={};fl(aR,{Actions:()=>SK,CloseButton:()=>sR,Col:()=>cR,Container:()=>lR,Content:()=>EK,Description:()=>DK,Error:()=>kK,ErrorWrapper:()=>dR,Header:()=>xK,Overlay:()=>iR,Row:()=>uR,Title:()=>CK});const{deprecate:vK}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var $o=u.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:l,...s},d)=>{let f="button";s.isLink&&(f="a"),e&&(f=cp);let h=n,p=r,[m,g]=u.useState(!1),v=c(C=>{l&&l(C),t!=="none"&&g(!0)},"handleClick");if(u.useEffect(()=>{let C=setTimeout(()=>{m&&g(!1)},1e3);return()=>clearTimeout(C)},[m]),s.primary&&(h="solid",p="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(h="outline",p="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let C=w.Children.toArray(s.children).filter(b=>typeof b=="string"&&b!=="");vK(`Use of deprecated props in the button ${C.length>0?`"${C.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(yK,{as:f,ref:d,variant:h,size:p,padding:a,disabled:o,active:i,animating:m,animation:t,onClick:v,...s})});$o.displayName="Button";var yK=F("button",{shouldForwardProp:c(e=>P5(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:l})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:l==="small"&&r==="small"?"0 7px":l==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="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:n?.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"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Wt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Wt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Wt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${bu(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?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:void 0,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?Wt(.86,e.color.secondary):e.base==="light"?fi(.02,s):ix(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?fi(.02,s):ix(.03,s)})()},"&:focus":{boxShadow:`${bu(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),io=u.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>w.createElement($o,{padding:e,variant:t,ref:n,...r}));io.displayName="IconButton";var oR=$n({from:{opacity:0},to:{opacity:1}}),wK=$n({from:{maxHeight:0},to:{}}),bK=$n({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),iR=F.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${oR} 200ms`}),lR=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${bK} 200ms`,"&:focus-visible":{outline:"none"}})),sR=c(e=>w.createElement(nR,{asChild:!0},w.createElement(io,{...e},w.createElement(KT,null))),"CloseButton"),EK=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),uR=F.div({display:"flex",justifyContent:"space-between",gap:16}),cR=F.div({display:"flex",flexDirection:"column",gap:4}),xK=c(e=>w.createElement(uR,null,w.createElement(cR,{...e}),w.createElement(sR,null)),"Header"),CK=F(tR)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),DK=F(rR)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),SK=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),dR=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${wK} 300ms, ${oR} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),kK=c(({children:e,...t})=>w.createElement(dR,{...t},w.createElement("div",null,e)),"Error");function pR({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=c(s=>s.preventDefault(),"onInteractOutside"),className:o,container:i,...l}){return w.createElement(XI,{...l},w.createElement(JI,{container:i},w.createElement(QI,{asChild:!0},w.createElement(iR,null)),w.createElement(eR,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},w.createElement(lR,{className:o,width:t,height:r},e))))}c(pR,"BaseModal");var Nhe=Object.assign(pR,aR,{Dialog:ZT}),_K=c(e=>typeof e=="number"?e:Number(e),"toNumber"),AK=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Vm}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Vm}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),jhe=c(({col:e,row:t,outer:r,children:n,...a})=>{let o=_K(typeof r=="number"||!r?r:e||t);return w.createElement(AK,{col:e,row:t,outer:o,...a},n)},"Spaced"),FK=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),$K=F.div(),TK=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Hhe=c(({children:e,...t})=>{let[r,n]=u.Children.toArray(e);return w.createElement(TK,{...t},w.createElement(FK,null,r),n&&w.createElement($K,null,n))},"Placeholder");ay();function fR(e,t){var r=u.useRef(null),n=u.useRef(null);n.current=t;var a=u.useRef(null);u.useEffect(function(){o()});var o=u.useCallback(function(){var i=a.current,l=n.current,s=i||(l?l instanceof Element?l:l.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return u.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),u.useCallback(function(i){a.current=i,o()},[o])}c(fR,"useResolvedElement");function s5(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}c(s5,"extractSize");function D4(e){e===void 0&&(e={});var t=e.onResize,r=u.useRef(void 0);r.current=t;var n=e.round||Math.round,a=u.useRef(),o=u.useState({width:void 0,height:void 0}),i=o[0],l=o[1],s=u.useRef(!1);u.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=u.useRef({width:void 0,height:void 0}),f=fR(u.useCallback(function(h){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(p){var m=p[0],g=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",v=s5(m,g,"inlineSize"),C=s5(m,g,"blockSize"),b=v?n(v):void 0,y=C?n(C):void 0;if(d.current.width!==b||d.current.height!==y){var E={width:b,height:y};d.current.width=b,d.current.height=y,r.current?r.current(E):s.current||l(E)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return u.useMemo(function(){return{ref:f,width:i.width,height:i.height}},[f,i.width,i.height])}c(D4,"useResizeObserver");var IK=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function hR({scale:e,children:t}){let r=u.useRef(null),[n,a]=u.useState(0),o=u.useCallback(({height:i})=>{i&&a(i/e)},[e]);return u.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),D4({ref:r,onResize:o}),w.createElement(IK,{scale:e,elementHeight:n},w.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(hR,"ZoomElement");var mR=class extends u.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return w.createElement(w.Fragment,null,t)}};c(mR,"ZoomIFrame");var RK=mR,zK={Element:hR,IFrame:RK};Wv();var{document:BK}=F1,LK=F.strong(({theme:e})=>({color:e.color.orange})),OK=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),hx=F.em(({theme:e})=>({color:e.textMutedColor})),MK=/(Error): (.*)\n/,PK=/at (?:(.*) )?\(?(.+)\)?/,NK=/([^@]+)?(?:\/<)?@(.+)?/,jK=/([^@]+)?@(.+)?/,HK=c(({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 r=t.match(MK);if(!r)return w.createElement(u.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(l=>{let s=l.match(PK)||l.match(NK)||l.match(jK);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(BK.location.origin,"")}:null}).filter(Boolean);return w.createElement(u.Fragment,null,w.createElement("span",null,n),": ",w.createElement(LK,null,a),w.createElement("br",null),i.map((l,s)=>l!=null&&l.name?w.createElement(u.Fragment,{key:s}," ","at ",w.createElement(OK,null,l.name)," (",w.createElement(hx,null,l.location),")",w.createElement("br",null)):w.createElement(u.Fragment,{key:s}," ","at ",w.createElement(hx,null,l==null?void 0:l.location),w.createElement("br",null))))},"ErrorFormatter"),VK=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),UK=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),WK=c(({label:e,children:t,...r})=>w.createElement(VK,{...r},e?w.createElement(UK,null,w.createElement("span",null,e)):null,t),"Field");on();qv();var qK=u.useLayoutEffect,GK=qK,KK=c(function(e){var t=u.useRef(e);return GK(function(){t.current=e}),t},"useLatest"),mx=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),YK=c(function(e,t){var r=u.useRef();return u.useCallback(function(n){e.current=n,r.current&&mx(r.current,null),r.current=t,t&&mx(t,n)},[t])},"useComposedRef"),ZK=YK,gx={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},XK=c(function(e){Object.keys(gx).forEach(function(t){e.style.setProperty(t,gx[t],"important")})},"forceHiddenStyles"),vx=XK,it=null,yx=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function gR(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),it||(it=document.createElement("textarea"),it.setAttribute("tabindex","-1"),it.setAttribute("aria-hidden","true"),vx(it)),it.parentNode===null&&document.body.appendChild(it);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,l=i.boxSizing;Object.keys(i).forEach(function(p){var m=p;it.style[m]=i[m]}),vx(it),it.value=t;var s=yx(it,e);it.value=t,s=yx(it,e),it.value="x";var d=it.scrollHeight-a,f=d*r;l==="border-box"&&(f=f+a+o),s=Math.max(f,s);var h=d*n;return l==="border-box"&&(h=h+a+o),s=Math.min(h,s),[s,d]}c(gR,"calculateNodeHeight");var wx=c(function(){},"noop"),JK=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),QK=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],eY=!!document.documentElement.currentStyle,tY=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=JK(QK,t),n=r.boxSizing;if(n==="")return null;eY&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),rY=tY;function S4(e,t,r){var n=KK(r);u.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(S4,"useListener");var nY=c(function(e){S4(window,"resize",e)},"useWindowResizeListener"),aY=c(function(e){S4(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),oY=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],iY=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?wx:o,l=e.onHeightChange,s=l===void 0?wx:l,d=T1(e,oY),f=d.value!==void 0,h=u.useRef(null),p=ZK(h,t),m=u.useRef(0),g=u.useRef(),v=c(function(){var b=h.current,y=r&&g.current?g.current:rY(b);if(y){g.current=y;var E=gR(y,b.value||b.placeholder||"x",a,n),x=E[0],D=E[1];m.current!==x&&(m.current=x,b.style.setProperty("height",x+"px","important"),s(x,{rowHeight:D}))}},"resizeTextarea"),C=c(function(b){f||v(),i(b)},"handleChange");return u.useLayoutEffect(v),nY(v),aY(v),u.createElement("textarea",se({},d,{onChange:C,ref:p}))},"TextareaAutosize"),lY=u.forwardRef(iY),sY={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},k4=c(({theme:e})=>({...sY,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}}),"styles"),_4=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),vR=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),A4=c(({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{}}},"validation"),uY=Object.assign(F(u.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return w.createElement("input",{...n,ref:a})},"Input")))(k4,_4,vR,A4,{minHeight:32}),{displayName:"Input"}),cY=Object.assign(F(u.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return w.createElement("select",{...n,ref:a})},"Select")))(k4,_4,A4,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),dY=Object.assign(F(u.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return w.createElement(lY,{...n,ref:a})},"Textarea")))(k4,_4,vR,A4,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Xu=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:WK,Input:uY,Select:cY,Textarea:dY,Button:$o}),pY=u.lazy(()=>Promise.resolve().then(()=>(h4(),f4)).then(e=>({default:e.WithTooltip}))),Uhe=c(e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(pY,{...e})),"WithTooltip"),fY=u.lazy(()=>Promise.resolve().then(()=>(h4(),f4)).then(e=>({default:e.WithTooltipPure}))),hY=c(e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(fY,{...e})),"WithTooltipPure"),mY=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),gY=F.span(),vY=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),yY=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),wY=F.div({padding:15,width:280,boxSizing:"border-box"}),Whe=c(({title:e,desc:t,links:r})=>w.createElement(wY,null,w.createElement(yY,null,e&&w.createElement(mY,null,e),t&&w.createElement(gY,null,t)),r&&w.createElement(vY,null,r.map(({title:n,...a})=>w.createElement(Ti,{...a,key:n},n)))),"TooltipMessage"),bY=F.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})),qhe=c(({note:e,...t})=>w.createElement(bY,{...t},e),"TooltipNote"),EY=Ke($1(),1),xY=F(({active:e,loading:t,disabled:r,...n})=>w.createElement("span",{...n}))(({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:Wt(.7,t.color.defaultText)}:{}),CY=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),DY=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),SY=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),kY=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),_Y=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),AY=(0,EY.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),FY=c(({loading:e=!1,title:t=w.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:l=void 0,onClick:s=void 0,icon:d,LinkWrapper:f=void 0,...h})=>{let p={active:a,disabled:o},m=AY(s,l,f);return w.createElement(_Y,{...h,...p,...m},w.createElement(w.Fragment,null,d&&w.createElement(kY,{...p},d),t||r?w.createElement(DY,{isIndented:!!(!d&&i)},t&&w.createElement(xY,{...p,loading:e},t),r&&w.createElement(SY,{...p},r)):null,n&&w.createElement(CY,{...p},n)))},"ListItem"),$Y=FY,TY=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),IY=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,l=u.useCallback(s=>t==null?void 0:t(s,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return w.createElement($Y,{id:`list-item-${e}`,...r,...t&&{onClick:l}})},"Item"),RY=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(a=>a.icon);return w.createElement(TY,{...r},e.map(a=>w.createElement(IY,{key:a.id,isIndented:n,LinkWrapper:t,...a})))},"TooltipLinkList");ay();var u5=F.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}}:{});u5.displayName="Side";var zY=c(({children:e,className:t,scrollable:r})=>r?w.createElement(yd,{vertical:!1,className:t},e):w.createElement("div",{className:t},e),"UnstyledBar"),yR=F(zY)(({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}:{});yR.displayName="Bar";var BY=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),F4=c(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=u.Children.toArray(e);return w.createElement(yR,{className:`sb-bar ${r}`,...n},w.createElement(BY,{bgColor:t},w.createElement(u5,{scrollable:n.scrollable,left:!0},a),o?w.createElement(u5,{right:!0},o):null))},"FlexBar");F4.displayName="FlexBar";var LY=c(e=>typeof e.props.href=="string","isLink"),OY=c(e=>typeof e.props.href!="string","isButton");function wR({children:e,...t},r){let n={props:t,ref:r};if(LY(n))return w.createElement("a",{ref:n.ref,...n.props},e);if(OY(n))return w.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(wR,"ForwardRefFunction");var bR=u.forwardRef(wR);bR.displayName="ButtonOrLink";var hp=F(bR,{shouldForwardProp:P5})({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.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});hp.displayName="TabButton";var MY=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),PY=F.div(()=>({marginTop:6,padding:7,height:28})),Ghe=c(()=>w.createElement(PY,null,w.createElement(MY,null)),"IconButtonSkeleton"),NY=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),jY=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),HY=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),VY=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),ER=c(({title:e,description:t,footer:r})=>w.createElement(NY,null,w.createElement(jY,null,w.createElement(HY,null,e),t&&w.createElement(VY,null,t)),r),"EmptyTabContent"),xR=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),UY=c(e=>u.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>w.createElement(xR,{active:i,role:"tabpanel"},o)}}),"childrenToList");h4();var WY=F.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"})),qY=F(hp)(({active:e,theme:t,preActive:r})=>` + color: ${r||e?t.barSelectedColor:t.barTextColor}; + .addon-collapsible-icon { + color: ${r||e?t.barSelectedColor:t.barTextColor}; + } + &:hover { + color: ${t.barHoverColor}; + .addon-collapsible-icon { + color: ${t.barHoverColor}; + } + } + `);function CR(e){let t=u.useRef(),r=u.useRef(),n=u.useRef(new Map),{width:a=1}=D4({ref:t}),[o,i]=u.useState(e),[l,s]=u.useState([]),d=u.useRef(e),f=u.useCallback(({menuName:p,actions:m})=>{let g=l.some(({active:b})=>b),[v,C]=u.useState(!1);return w.createElement(w.Fragment,null,w.createElement(qd,{interactive:!0,visible:v,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(RY,{links:l.map(({title:b,id:y,color:E,active:x})=>({id:y,title:b,color:E,active:x,onClick:c(D=>{D.preventDefault(),m.onSelect(y)},"onClick")}))})},w.createElement(qY,{ref:r,active:g,preActive:v,style:{visibility:l.length?"visible":"hidden"},"aria-hidden":!l.length,className:"tabbutton",type:"button",role:"tab"},p,w.createElement(WY,{className:"addon-collapsible-icon",isActive:g||v}))),l.map(({title:b,id:y,color:E},x)=>{let D=`index-${x}`;return w.createElement(hp,{id:`tabbutton-${ZS(y)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:E,role:"tab"},b)}))},[l]),h=u.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:m}=t.current.getBoundingClientRect(),{width:g}=r.current.getBoundingClientRect(),v=l.length?p+m-g:p+m,C=[],b=0,y=e.filter(E=>{let{id:x}=E,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=p+b+S>v;return(!k||!D)&&C.push(E),b+=S,k});(C.length!==o.length||d.current!==e)&&(i(C),s(y),d.current=e)},[l.length,e,o]);return u.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:l,AddonTab:f}}c(CR,"useList");var GY="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",KY=F.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"}),DR=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});DR.displayName="TabBar";var YY=F.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${GY}`]:{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"}}:{}),Khe=c(({active:e,render:t,children:r})=>w.createElement(xR,{active:e},t?t():r),"TabWrapper"),SR=u.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:l=null,menuName:s="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let h=u.useMemo(()=>UY(e).map((b,y)=>({...b,active:t?b.id===t:y===0})),[e,t]),{visibleList:p,tabBarRef:m,tabRefs:g,AddonTab:v}=CR(h),C=d??w.createElement(ER,{title:"Nothing found"});return!f&&h.length===0?C:w.createElement(KY,{absolute:n,bordered:a,id:l},w.createElement(F4,{scrollable:!1,border:!0,backgroundColor:i},w.createElement(DR,{style:{whiteSpace:"normal"},ref:m,role:"tablist"},p.map(({title:b,id:y,active:E,color:x},D)=>{let S=`index-${D}`;return w.createElement(hp,{id:`tabbutton-${ZS(y)??S}`,ref:k=>{g.current.set(y,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:y,active:E,textColor:x,onClick:k=>{k.preventDefault(),r.onSelect(y)},role:"tab"},typeof b=="function"?w.createElement("title",null):b)}),w.createElement(v,{menuName:s,actions:r})),o),w.createElement(YY,{id:"panel-tab-content",bordered:a,absolute:n},h.length?h.map(({id:b,active:y,render:E})=>w.createElement(E,{key:b,active:y},null)):C))});SR.displayName="Tabs";var c5=class extends u.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return w.createElement(SR,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};c(c5,"TabsState"),c5.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var ZY=c5,kR=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});kR.displayName="Separator";var Zhe=c(e=>e.reduce((t,r,n)=>r?w.createElement(u.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?w.createElement(kR,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),XY=c(e=>{let t=u.useRef();return u.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),JY=c((e,t)=>{let r=XY(t);return e?t:r},"useUpdate"),Xhe=c(({active:e,children:t})=>w.createElement("div",{hidden:!e},JY(e,t)),"AddonPanel");const{deprecate:QY,logger:eZ}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var tZ=qT,rZ=F.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,Jhe=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||QY(`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 a=d5[e]||null;if(!a)return eZ.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 o=tZ[a];return w.createElement(o,{...n})},"Icons"),Qhe=u.memo(c(function({icons:e=Object.keys(d5)}){return w.createElement(rZ,{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},d5[t])))},"Symbols")),d5={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"},eme=c(({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)"}))),"StorybookLogo"),tme=c(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"}))),"StorybookIcon"),nZ=$n` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,aZ=F.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:`${nZ} 0.7s linear infinite`,mixBlendMode:"difference"})),bx=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),oZ=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Wt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),iZ=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Ex=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),lZ=F(GT)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),sZ=$n` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,uZ=F.span({"&::after":{content:"'...'",animation:`${sZ} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),cZ=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(bx,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(lZ,null),w.createElement(Ex,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),w.createElement(bx,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},w.createElement(oZ,null,w.createElement(iZ,{style:{width:`${a*100}%`}})),w.createElement(Ex,null,i,a<1&&w.createElement(uZ,{key:i})))}return w.createElement(aZ,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function _R(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{..._R(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),pZ=F.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${K.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Ur.fonts.mono}; + font-size: ${Ur.size.s2-1}px; +`,rme=c(({code:e,...t})=>w.createElement(pZ,{id:"clipboard-code",...t},e),"ClipboardCode"),fZ=WT,hZ={};Object.keys(WT).forEach(e=>{hZ[e]=u.forwardRef((t,r)=>u.createElement(e,{...t,ref:r}))});function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var f=r-o/2,h=l+f,p=s+f,m=d+f;return n(h,p,m)}var xx={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 bZ(e){if(typeof e!="string")return e;var t=e.toLowerCase();return xx[t]?"#"+xx[t]:e}var EZ=/^#[a-fA-F0-9]{6}$/,xZ=/^#[a-fA-F0-9]{8}$/,CZ=/^#[a-fA-F0-9]{3}$/,DZ=/^#[a-fA-F0-9]{4}$/,Dm=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,SZ=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,kZ=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,_Z=/^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 nl(e){if(typeof e!="string")throw new qr(3);var t=bZ(e);if(t.match(EZ))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(xZ)){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(CZ))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(DZ)){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=Dm.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=SZ.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=kZ.exec(t);if(i){var l=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+xu(l,s,d)+")",h=Dm.exec(f);if(!h)throw new qr(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=_Z.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,C="rgb("+xu(m,g,v)+")",b=Dm.exec(C);if(!b)throw new qr(4,t,C);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new qr(5)}function AZ(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var l,s=a-o,d=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:l=(r-n)/s+(r=1?Zd(e,t,r):"rgba("+xu(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Zd(e.hue,e.saturation,e.lightness):"rgba("+xu(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new qr(2)}function m5(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return h5("#"+Ha(e)+Ha(t)+Ha(r));if(typeof e=="object"&&t===void 0&&r===void 0)return h5("#"+Ha(e.red)+Ha(e.green)+Ha(e.blue));throw new qr(6)}function Nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=nl(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?m5(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?m5(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new qr(7)}var RZ=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},zZ=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},BZ=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},LZ=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Aa(e){if(typeof e!="object")throw new qr(8);if(zZ(e))return Nr(e);if(RZ(e))return m5(e);if(LZ(e))return IZ(e);if(BZ(e))return TZ(e);throw new qr(8)}function FR(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):FR(e,t,a)}}function Nt(e){return FR(e,e.length,[])}function OZ(e,t){if(t==="transparent")return t;var r=_a(t);return Aa(St({},r,{hue:r.hue+parseFloat(e)}))}Nt(OZ);function bl(e,t,r){return Math.max(e,Math.min(t,r))}function MZ(e,t){if(t==="transparent")return t;var r=_a(t);return Aa(St({},r,{lightness:bl(0,1,r.lightness-parseFloat(e))}))}var PZ=Nt(MZ),Mr=PZ;function NZ(e,t){if(t==="transparent")return t;var r=_a(t);return Aa(St({},r,{saturation:bl(0,1,r.saturation-parseFloat(e))}))}Nt(NZ);function jZ(e,t){if(t==="transparent")return t;var r=_a(t);return Aa(St({},r,{lightness:bl(0,1,r.lightness+parseFloat(e))}))}var HZ=Nt(jZ),Va=HZ;function VZ(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=nl(t),a=St({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=nl(r),i=St({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),l=a.alpha-i.alpha,s=parseFloat(e)*2-1,d=s*l===-1?s:s+l,f=1+s*l,h=(d/f+1)/2,p=1-h,m={red:Math.floor(a.red*h+i.red*p),green:Math.floor(a.green*h+i.green*p),blue:Math.floor(a.blue*h+i.blue*p),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return Nr(m)}var UZ=Nt(VZ),$R=UZ;function WZ(e,t){if(t==="transparent")return t;var r=nl(t),n=typeof r.alpha=="number"?r.alpha:1,a=St({},r,{alpha:bl(0,1,(n*100+parseFloat(e)*100)/100)});return Nr(a)}var qZ=Nt(WZ),Yc=qZ;function GZ(e,t){if(t==="transparent")return t;var r=_a(t);return Aa(St({},r,{saturation:bl(0,1,r.saturation+parseFloat(e))}))}Nt(GZ);function KZ(e,t){return t==="transparent"?t:Aa(St({},_a(t),{hue:parseFloat(e)}))}Nt(KZ);function YZ(e,t){return t==="transparent"?t:Aa(St({},_a(t),{lightness:parseFloat(e)}))}Nt(YZ);function ZZ(e,t){return t==="transparent"?t:Aa(St({},_a(t),{saturation:parseFloat(e)}))}Nt(ZZ);function XZ(e,t){return t==="transparent"?t:$R(parseFloat(e),"rgb(0, 0, 0)",t)}Nt(XZ);function JZ(e,t){return t==="transparent"?t:$R(parseFloat(e),"rgb(255, 255, 255)",t)}Nt(JZ);function QZ(e,t){if(t==="transparent")return t;var r=nl(t),n=typeof r.alpha=="number"?r.alpha:1,a=St({},r,{alpha:bl(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Nr(a)}var eX=Nt(QZ),ve=eX,tX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),rX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),aX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),oX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),iX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),g5=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),nme=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),lX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),sX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),uX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),cX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),dX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),pX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),TR=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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}))),fX=u.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>u.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},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})));function hX(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var $X=FX,TX=mp;function IX(e,t){var r=this.__data__,n=TX(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var RX=IX,zX=gX,BX=DX,LX=_X,OX=$X,MX=RX;function El(e){var t=-1,r=e==null?0:e.length;for(this.clear();++tl))return!1;var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var h=-1,p=!0,m=r&Eee?new vee:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e-1&&e%1==0&&e<=Cte}var M4=Dte,Ste=Qu,kte=M4,_te=Ro,Ate="[object Arguments]",Fte="[object Array]",$te="[object Boolean]",Tte="[object Date]",Ite="[object Error]",Rte="[object Function]",zte="[object Map]",Bte="[object Number]",Lte="[object Object]",Ote="[object RegExp]",Mte="[object Set]",Pte="[object String]",Nte="[object WeakMap]",jte="[object ArrayBuffer]",Hte="[object DataView]",Vte="[object Float32Array]",Ute="[object Float64Array]",Wte="[object Int8Array]",qte="[object Int16Array]",Gte="[object Int32Array]",Kte="[object Uint8Array]",Yte="[object Uint8ClampedArray]",Zte="[object Uint16Array]",Xte="[object Uint32Array]",he={};he[Vte]=he[Ute]=he[Wte]=he[qte]=he[Gte]=he[Kte]=he[Yte]=he[Zte]=he[Xte]=!0;he[Ate]=he[Fte]=he[jte]=he[$te]=he[Hte]=he[Tte]=he[Ite]=he[Rte]=he[zte]=he[Bte]=he[Lte]=he[Ote]=he[Mte]=he[Pte]=he[Nte]=!1;function Jte(e){return _te(e)&&kte(e.length)&&!!he[Ste(e)]}var Qte=Jte;function ere(e){return function(t){return e(t)}}var P4=ere,Qd={exports:{}};Qd.exports;(function(e,t){var r=RR,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,l=function(){try{var s=a&&a.require&&a.require("util").types;return s||i&&i.binding&&i.binding("util")}catch{}}();e.exports=l})(Qd,Qd.exports);var N4=Qd.exports,tre=Qte,rre=P4,zx=N4,Bx=zx&&zx.isTypedArray,nre=Bx?rre(Bx):tre,qR=nre,are=lte,ore=WR,ire=zn,lre=L4,sre=O4,ure=qR,cre=Object.prototype,dre=cre.hasOwnProperty;function pre(e,t){var r=ire(e),n=!r&&ore(e),a=!r&&!n&&lre(e),o=!r&&!n&&!a&&ure(e),i=r||n||a||o,l=i?are(e.length,String):[],s=l.length;for(var d in e)(t||dre.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||sre(d,s)))&&l.push(d);return l}var GR=pre,fre=Object.prototype;function hre(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||fre;return e===r}var j4=hre;function mre(e,t){return function(r){return e(t(r))}}var KR=mre,gre=KR,vre=gre(Object.keys,Object),yre=vre,wre=j4,bre=yre,Ere=Object.prototype,xre=Ere.hasOwnProperty;function Cre(e){if(!wre(e))return bre(e);var t=[];for(var r in Object(e))xre.call(e,r)&&r!="constructor"&&t.push(r);return t}var Dre=Cre,Sre=BR,kre=M4;function _re(e){return e!=null&&kre(e.length)&&!Sre(e)}var YR=_re,Are=GR,Fre=Dre,$re=YR;function Tre(e){return $re(e)?Are(e):Fre(e)}var wp=Tre,Ire=HR,Rre=B4,zre=wp;function Bre(e){return Ire(e,zre,Rre)}var ZR=Bre,Lx=ZR,Lre=1,Ore=Object.prototype,Mre=Ore.hasOwnProperty;function Pre(e,t,r,n,a,o){var i=r&Lre,l=Lx(e),s=l.length,d=Lx(t),f=d.length;if(s!=f&&!i)return!1;for(var h=s;h--;){var p=l[h];if(!(i?p in t:Mre.call(t,p)))return!1}var m=o.get(e),g=o.get(t);if(m&&g)return m==t&&g==e;var v=!0;o.set(e,t),o.set(t,e);for(var C=i;++h(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),rC={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},fie=["style","script"],hie=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,mie=/mailto:/i,gie=/\n{2,}$/,uz=/^(\s*>[\s\S]*?)(?=\n{2,})/,vie=/^ *> ?/gm,yie=/^ {2,}\n/,wie=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,cz=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,dz=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,bie=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Eie=/^(?:\n *)*\n/,xie=/\r\n?/g,Cie=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,Die=/^\[\^([^\]]+)]/,Sie=/\f/g,kie=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,_ie=/^\s*?\[(x|\s)\]/,pz=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,fz=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,hz=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,x5=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,Aie=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,mz=/^)/,Fie=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,C5=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,$ie=/^\{.*\}$/,Tie=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Iie=/^<([^ >]+@[^ >]+)>/,Rie=/^<([^ >]+:\/[^ >]+)>/,zie=/-([a-z])?/gi,gz=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Bie=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Lie=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Oie=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Mie=/(\[|\])/g,Pie=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Nie=/\t/g,jie=/(^ *\||\| *$)/g,Hie=/^ *:-+: *$/,Vie=/^ *:-+ *$/,Uie=/^ *-+: *$/,xp="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Wie=new RegExp(`^([*_])\\1${xp}\\1\\1(?!\\1)`),qie=new RegExp(`^([*_])${xp}\\1(?!\\1|\\w)`),Gie=new RegExp(`^==${xp}==`),Kie=new RegExp(`^~~${xp}~~`),Yie=/^\\([^0-9A-Za-z\s])/,Zie=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Xie=/^\n+/,Jie=/^([ \t]*)/,Qie=/\\([^\\])/g,nC=/ *\n+$/,ele=/(?:^|\n)( *)$/,K4="(?:\\d+\\.)",Y4="(?:[*+-])";function vz(e){return"( *)("+(e===1?K4:Y4)+") +"}const yz=vz(1),wz=vz(2);function bz(e){return new RegExp("^"+(e===1?yz:wz))}const tle=bz(1),rle=bz(2);function Ez(e){return new RegExp("^"+(e===1?yz:wz)+"[^\\n]*(?:\\n(?!\\1"+(e===1?K4:Y4)+" )[^\\n]*)*(\\n|$)","gm")}const xz=Ez(1),Cz=Ez(2);function Dz(e){const t=e===1?K4:Y4;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const Sz=Dz(1),kz=Dz(2);function aC(e,t){const r=t===1,n=r?Sz:kz,a=r?xz:Cz,o=r?tle:rle;return{match(i,l,s){const d=ele.exec(s);return d&&(l.list||!l.inline&&!l.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,l,s){const d=r?+i[2]:void 0,f=i[0].replace(gie,` +`).match(a);let h=!1;return{items:f.map(function(p,m){const g=o.exec(p)[0].length,v=new RegExp("^ {1,"+g+"}","gm"),C=p.replace(v,"").replace(o,""),b=m===f.length-1,y=C.indexOf(` + +`)!==-1||b&&h;h=y;const E=s.inline,x=s.list;let D;s.list=!0,y?(s.inline=!1,D=C.replace(nC,` + +`)):(s.inline=!0,D=C.replace(nC,""));const S=l(D,s);return s.inline=E,s.list=x,S}),ordered:r,start:d}},render:(i,l,s)=>e(i.ordered?"ol":"ul",{key:s.key,start:i.type===Y.orderedList?i.start:void 0},i.items.map(function(d,f){return e("li",{key:f},l(d,s))}))}}const nle=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),ale=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,_z=[uz,cz,dz,pz,hz,fz,mz,gz,xz,Sz,Cz,kz],ole=[..._z,/^[^\n]+(?: \n|\n{2,})/,x5,C5];function Xc(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 ile(e){return Uie.test(e)?"right":Hie.test(e)?"center":Vie.test(e)?"left":null}function oC(e,t,r,n){const a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((l,s)=>(s.trim()==="|"?l.push(n?{type:Y.tableSeparator}:{type:Y.text,text:s}):s!==""&&l.push.apply(l,t(s,r)),l),[]);r.inTable=a;let i=[[]];return o.forEach(function(l,s){l.type===Y.tableSeparator?s!==0&&s!==o.length-1&&i.push([]):(l.type!==Y.text||o[s+1]!=null&&o[s+1].type!==Y.tableSeparator||(l.text=l.text.trimEnd()),i[i.length-1].push(l))}),i}function lle(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(jie,"").split("|").map(ile):[],a=e[3]?function(i,l,s){return i.trim().split(` +`).map(function(d){return oC(d,l,s,!0)})}(e[3],t,r):[],o=oC(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:Y.table}:{children:o,type:Y.paragraph}}function iC(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function On(e){return function(t,r){return r.inline?e.exec(t):null}}function Mn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function hn(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function ns(e){return function(t){return e.exec(t)}}function sle(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!_z.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function ule(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function lC(e){return e.replace(Qie,"$1")}function B0(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function cle(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function dle(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const Fm=(e,t,r)=>({children:B0(t,e[1],r)});function $m(){return{}}function Tm(){return null}function ple(...e){return e.filter(Boolean).join(" ")}function Im(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function fle(e="",t={}){function r(p,m,...g){const v=Im(t.overrides,`${p}.props`,{});return t.createElement(function(C,b){const y=Im(b,C);return y?typeof y=="function"||typeof y=="object"&&"render"in y?y:Im(b,`${C}.component`,C):C}(p,t.overrides),Wa({},m,v,{className:ple(m==null?void 0:m.className,v.className)||void 0}),...g)}function n(p){p=p.replace(kie,"");let m=!1;t.forceInline?m=!0:t.forceBlock||(m=Pie.test(p)===!1);const g=d(s(m?p:`${p.trimEnd().replace(Xie,"")} + +`,{inline:m}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const v=t.wrapper||(m?"span":"div");let C;if(g.length>1||t.forceWrapper)C=g;else{if(g.length===1)return C=g[0],typeof C=="string"?r("span",{key:"outer"},C):C;C=null}return u.createElement(v,{key:"outer"},C)}function a(p,m){const g=m.match(hie);return g?g.reduce(function(v,C,b){const y=C.indexOf("=");if(y!==-1){const E=function(k){return k.indexOf("-")!==-1&&k.match(Fie)===null&&(k=k.replace(zie,function(_,A){return A.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){const _=k[0];return(_==='"'||_==="'")&&k.length>=2&&k[k.length-1]===_?k.slice(1,-1):k}(C.slice(y+1).trim()),D=tC[E]||E,S=v[D]=function(k,_,A,$){return _==="style"?A.split(/;\s?/).reduce(function(I,O){const z=O.slice(0,O.indexOf(":"));return I[z.trim().replace(/(-[a-z])/g,j=>j[1].toUpperCase())]=O.slice(z.length+1).trim(),I},{}):_==="href"||_==="src"?$(A,k,_):(A.match($ie)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(p,E,x,t.sanitizer);typeof S=="string"&&(x5.test(S)||C5.test(S))&&(v[D]=u.cloneElement(n(S.trim()),{key:b}))}else C!=="style"&&(v[tC[C]||C]=!0);return v},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||ule,t.slugify=t.slugify||Xc,t.namedCodesToUnicode=t.namedCodesToUnicode?Wa({},rC,t.namedCodesToUnicode):rC,t.createElement=t.createElement||u.createElement;const o=[],i={},l={[Y.blockQuote]:{match:hn(uz),order:1,parse:(p,m,g)=>({children:m(p[0].replace(vie,""),g)}),render:(p,m,g)=>r("blockquote",{key:g.key},m(p.children,g))},[Y.breakLine]:{match:ns(yie),order:1,parse:$m,render:(p,m,g)=>r("br",{key:g.key})},[Y.breakThematic]:{match:hn(wie),order:1,parse:$m,render:(p,m,g)=>r("hr",{key:g.key})},[Y.codeBlock]:{match:hn(dz),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,m,g)=>r("pre",{key:g.key},r("code",Wa({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[Y.codeFenced]:{match:hn(cz),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:Y.codeBlock})},[Y.codeInline]:{match:Mn(bie),order:3,parse:p=>({text:p[2]}),render:(p,m,g)=>r("code",{key:g.key},p.text)},[Y.footnote]:{match:hn(Cie),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:Tm},[Y.footnoteReference]:{match:On(Die),order:1,parse:p=>({target:`#${t.slugify(p[1],Xc)}`,text:p[1]}),render:(p,m,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:g.key},p.text))},[Y.gfmTask]:{match:On(_ie),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,m,g)=>r("input",{checked:p.completed,key:g.key,readOnly:!0,type:"checkbox"})},[Y.heading]:{match:hn(t.enforceAtxHeadings?fz:pz),order:1,parse:(p,m,g)=>({children:B0(m,p[2],g),id:t.slugify(p[2],Xc),level:p[1].length}),render:(p,m,g)=>r(`h${p.level}`,{id:p.id,key:g.key},m(p.children,g))},[Y.headingSetext]:{match:hn(hz),order:0,parse:(p,m,g)=>({children:B0(m,p[1],g),level:p[2]==="="?1:2,type:Y.heading})},[Y.htmlBlock]:{match:ns(x5),order:1,parse(p,m,g){const[,v]=p[3].match(Jie),C=new RegExp(`^${v}`,"gm"),b=p[3].replace(C,""),y=(E=b,ole.some(_=>_.test(E))?dle:B0);var E;const x=p[1].toLowerCase(),D=fie.indexOf(x)!==-1,S=(D?x:p[1]).trim(),k={attrs:a(S,p[2]),noInnerParse:D,tag:S};return g.inAnchor=g.inAnchor||x==="a",D?k.text=p[3]:k.children=y(m,b,g),g.inAnchor=!1,k},render:(p,m,g)=>r(p.tag,Wa({key:g.key},p.attrs),p.text||m(p.children,g))},[Y.htmlSelfClosing]:{match:ns(C5),order:1,parse(p){const m=p[1].trim();return{attrs:a(m,p[2]||""),tag:m}},render:(p,m,g)=>r(p.tag,Wa({},p.attrs,{key:g.key}))},[Y.htmlComment]:{match:ns(mz),order:1,parse:()=>({}),render:Tm},[Y.image]:{match:Mn(ale),order:1,parse:p=>({alt:p[1],target:lC(p[2]),title:p[3]}),render:(p,m,g)=>r("img",{key:g.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[Y.link]:{match:On(nle),order:3,parse:(p,m,g)=>({children:cle(m,p[1],g),target:lC(p[2]),title:p[3]}),render:(p,m,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href"),title:p.title},m(p.children,g))},[Y.linkAngleBraceStyleDetector]:{match:On(Rie),order:0,parse:p=>({children:[{text:p[1],type:Y.text}],target:p[1],type:Y.link})},[Y.linkBareUrlDetector]:{match:(p,m)=>m.inAnchor?null:On(Tie)(p,m),order:0,parse:p=>({children:[{text:p[1],type:Y.text}],target:p[1],title:void 0,type:Y.link})},[Y.linkMailtoDetector]:{match:On(Iie),order:0,parse(p){let m=p[1],g=p[1];return mie.test(g)||(g="mailto:"+g),{children:[{text:m.replace("mailto:",""),type:Y.text}],target:g,type:Y.link}}},[Y.orderedList]:aC(r,1),[Y.unorderedList]:aC(r,2),[Y.newlineCoalescer]:{match:hn(Eie),order:3,parse:$m,render:()=>` +`},[Y.paragraph]:{match:sle,order:3,parse:Fm,render:(p,m,g)=>r("p",{key:g.key},m(p.children,g))},[Y.ref]:{match:On(Bie),order:0,parse:p=>(i[p[1]]={target:p[2],title:p[4]},{}),render:Tm},[Y.refImage]:{match:Mn(Lie),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,m,g)=>i[p.ref]?r("img",{key:g.key,alt:p.alt,src:t.sanitizer(i[p.ref].target,"img","src"),title:i[p.ref].title}):null},[Y.refLink]:{match:On(Oie),order:0,parse:(p,m,g)=>({children:m(p[1],g),fallbackChildren:m(p[0].replace(Mie,"\\$1"),g),ref:p[2]}),render:(p,m,g)=>i[p.ref]?r("a",{key:g.key,href:t.sanitizer(i[p.ref].target,"a","href"),title:i[p.ref].title},m(p.children,g)):r("span",{key:g.key},m(p.fallbackChildren,g))},[Y.table]:{match:hn(gz),order:1,parse:lle,render(p,m,g){const v=p;return r("table",{key:g.key},r("thead",null,r("tr",null,v.header.map(function(C,b){return r("th",{key:b,style:iC(v,b)},m(C,g))}))),r("tbody",null,v.cells.map(function(C,b){return r("tr",{key:b},C.map(function(y,E){return r("td",{key:E,style:iC(v,E)},m(y,g))}))})))}},[Y.text]:{match:ns(Zie),order:4,parse:p=>({text:p[0].replace(Aie,(m,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:m)}),render:p=>p.text},[Y.textBolded]:{match:Mn(Wie),order:2,parse:(p,m,g)=>({children:m(p[2],g)}),render:(p,m,g)=>r("strong",{key:g.key},m(p.children,g))},[Y.textEmphasized]:{match:Mn(qie),order:3,parse:(p,m,g)=>({children:m(p[2],g)}),render:(p,m,g)=>r("em",{key:g.key},m(p.children,g))},[Y.textEscaped]:{match:Mn(Yie),order:1,parse:p=>({text:p[1],type:Y.text})},[Y.textMarked]:{match:Mn(Gie),order:3,parse:Fm,render:(p,m,g)=>r("mark",{key:g.key},m(p.children,g))},[Y.textStrikethroughed]:{match:Mn(Kie),order:3,parse:Fm,render:(p,m,g)=>r("del",{key:g.key},m(p.children,g))}};t.disableParsingRawHTML===!0&&(delete l[Y.htmlBlock],delete l[Y.htmlSelfClosing]);const s=function(p){let m=Object.keys(p);function g(v,C){let b=[],y="";for(;v;){let E=0;for(;Eb(g,v,C),g,v,C):b(g,v,C)}}(l,t.renderRule),function p(m,g={}){if(Array.isArray(m)){const v=g.key,C=[];let b=!1;for(let y=0;y{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,l,s={},d=Object.keys(a);for(l=0;l=0||(s[i]=a[i]);return s}(e,pie);return u.cloneElement(fle(t,r),n)};function hle(e,t){for(var r=-1,n=e==null?0:e.length;++r-1}var pce=dce;function fce(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=Ace){var d=t?null:kce(e);if(d)return _ce(d);i=!1,a=Sce,s=new xce}else s=t?[]:l;e:for(;++n=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var s;for(s=0;s0&&(y[b]={cacheItem:g,arg:arguments[b]},E?i(h,y):h.push(y),h.length>d&&l(h.shift())),m.wasMemoized=E,m.numArgs=b+1,C};return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}function s(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})})(Iz);var Bce=Iz.exports;const Rz=ol(Bce);var Lce=Object.create,zz=Object.defineProperty,Oce=Object.getOwnPropertyDescriptor,Bz=Object.getOwnPropertyNames,Mce=Object.getPrototypeOf,Pce=Object.prototype.hasOwnProperty,Qt=(e,t)=>function(){return t||(0,e[Bz(e)[0]])((t={exports:{}}).exports,t),t.exports},Nce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Bz(t))!Pce.call(e,a)&&a!==r&&zz(e,a,{get:()=>t[a],enumerable:!(n=Oce(t,a))||n.enumerable});return e},X4=(e,t,r)=>(r=e!=null?Lce(Mce(e)):{},Nce(!e||!e.__esModule?zz(r,"default",{value:e,enumerable:!0}):r,e)),jce=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Hce=["detail"];function Vce(e){const t=jce.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&Hce.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Lz=Qt({"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 n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var l=Object.getOwnPropertySymbols(n);if(l.length!==1||l[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),Oz=Qt({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Lz();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Uce=Qt({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(l){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var d=n.call(arguments,1),f,h=function(){if(this instanceof f){var C=s.apply(this,d.concat(n.call(arguments)));return Object(C)===C?C:this}else return s.apply(l,d.concat(n.call(arguments)))},p=Math.max(0,s.length-d.length),m=[],g=0;g"u"?r:h(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?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%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":m,"%TypeError%":o,"%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%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},v=function O(z){var j;if(z==="%AsyncFunction%")j=i("async function () {}");else if(z==="%GeneratorFunction%")j=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")j=i("async function* () {}");else if(z==="%AsyncGenerator%"){var M=O("%AsyncGeneratorFunction%");M&&(j=M.prototype)}else if(z==="%AsyncIteratorPrototype%"){var H=O("%AsyncGenerator%");H&&(j=h(H.prototype))}return g[z]=j,j},C={"%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"]},b=J4(),y=Wce(),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,$=function(z){var j=S(z,0,1),M=S(z,-1);if(j==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&j!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var H=[];return D(z,_,function(W,B,L,N){H[H.length]=L?D(N,A,"$1"):B||W}),H},I=function(z,j){var M=z,H;if(y(C,M)&&(H=C[M],M="%"+H[0]+"%"),y(g,M)){var W=g[M];if(W===p&&(W=v(M)),typeof W>"u"&&!j)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:H,name:M,value:W}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,j){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=$(z),H=M.length>0?M[0]:"",W=I("%"+H+"%",j),B=W.name,L=W.value,N=!1,G=W.alias;G&&(H=G[0],x(M,E([0,1],G)));for(var J=1,ne=!0;J=M.length){var ee=l(L,ae);ne=!!ee,ne&&"get"in ee&&!("originalValue"in ee.get)?L=ee.get:L=L[ae]}else ne=y(L,ae),L=L[ae];ne&&!N&&(g[B]=L)}}return L}}}),qce=Qt({"node_modules/call-bind/index.js"(e,t){var r=J4(),n=Mz(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),l=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(p){var m=i(r,o,arguments);if(l&&s){var g=l(m,"length");g.configurable&&s(m,"length",{value:1+d(0,p.length-(arguments.length-1))})}return m};var f=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:f}):t.exports.apply=f}}),Gce=Qt({"node_modules/call-bind/callBound.js"(e,t){var r=Mz(),n=qce(),a=n(r("String.prototype.indexOf"));t.exports=function(i,l){var s=r(i,!!l);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),Kce=Qt({"node_modules/has-tostringtag/shams.js"(e,t){var r=Lz();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Yce=Qt({"node_modules/is-regex/index.js"(e,t){var r=Gce(),n=Kce()(),a,o,i,l;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},s=function(){throw i},l={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=s));var s,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(m){if(!m||typeof m!="object")return!1;var g=f(m,"lastIndex"),v=g&&a(g,"value");if(!v)return!1;try{o(m,l)}catch(C){return C===i}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:d(m)===h}}}),Zce=Qt({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),Xce=Qt({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Oz()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),Jce=X4(Yce()),Qce=X4(Zce()),e0e=X4(Xce());function t0e(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var r0e=typeof global=="object"&&global&&global.Object===Object&&global,n0e=r0e,a0e=typeof self=="object"&&self&&self.Object===Object&&self,o0e=n0e||a0e||Function("return this")(),Q4=o0e,i0e=Q4.Symbol,al=i0e,Pz=Object.prototype,l0e=Pz.hasOwnProperty,s0e=Pz.toString,as=al?al.toStringTag:void 0;function u0e(e){var t=l0e.call(e,as),r=e[as];try{e[as]=void 0;var n=!0}catch{}var a=s0e.call(e);return n&&(t?e[as]=r:delete e[as]),a}var c0e=u0e,d0e=Object.prototype,p0e=d0e.toString;function f0e(e){return p0e.call(e)}var h0e=f0e,m0e="[object Null]",g0e="[object Undefined]",vC=al?al.toStringTag:void 0;function v0e(e){return e==null?e===void 0?g0e:m0e:vC&&vC in Object(e)?c0e(e):h0e(e)}var y0e=v0e,yC=al?al.prototype:void 0;yC&&yC.toString;function w0e(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nz=w0e,b0e="[object AsyncFunction]",E0e="[object Function]",x0e="[object GeneratorFunction]",C0e="[object Proxy]";function D0e(e){if(!Nz(e))return!1;var t=y0e(e);return t==E0e||t==x0e||t==b0e||t==C0e}var S0e=D0e,k0e=Q4["__core-js_shared__"],zm=k0e,wC=function(){var e=/[^.]+$/.exec(zm&&zm.keys&&zm.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _0e(e){return!!wC&&wC in e}var A0e=_0e,F0e=Function.prototype,$0e=F0e.toString;function T0e(e){if(e!=null){try{return $0e.call(e)}catch{}try{return e+""}catch{}}return""}var I0e=T0e,R0e=/[\\^$.*+?()[\]{}|]/g,z0e=/^\[object .+?Constructor\]$/,B0e=Function.prototype,L0e=Object.prototype,O0e=B0e.toString,M0e=L0e.hasOwnProperty,P0e=RegExp("^"+O0e.call(M0e).replace(R0e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function N0e(e){if(!Nz(e)||A0e(e))return!1;var t=S0e(e)?P0e:z0e;return t.test(I0e(e))}var j0e=N0e;function H0e(e,t){return e==null?void 0:e[t]}var V0e=H0e;function U0e(e,t){var r=V0e(e,t);return j0e(r)?r:void 0}var jz=U0e;function W0e(e,t){return e===t||e!==e&&t!==t}var q0e=W0e,G0e=jz(Object,"create"),Cu=G0e;function K0e(){this.__data__=Cu?Cu(null):{},this.size=0}var Y0e=K0e;function Z0e(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var X0e=Z0e,J0e="__lodash_hash_undefined__",Q0e=Object.prototype,ede=Q0e.hasOwnProperty;function tde(e){var t=this.__data__;if(Cu){var r=t[e];return r===J0e?void 0:r}return ede.call(t,e)?t[e]:void 0}var rde=tde,nde=Object.prototype,ade=nde.hasOwnProperty;function ode(e){var t=this.__data__;return Cu?t[e]!==void 0:ade.call(t,e)}var ide=ode,lde="__lodash_hash_undefined__";function sde(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Cu&&t===void 0?lde:t,this}var ude=sde;function kl(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var bde=wde;function Ede(e,t){var r=this.__data__,n=Dp(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var xde=Ede;function _l(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iGde(e).replace(/\n\s*/g,"").trim()),Yde=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},Zde=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Vz(e){if(!qde(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Vce(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var Xde=function(t){let r,n,a,o;return function(l,s){try{if(l==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return Zde.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,Jce.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,Qce.default)(s)){if(!t.allowFunction)return;const{name:h}=s,p=s.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${Kde(Yde(l,p))}`}if((0,e0e.default)(s)){if(!t.allowSymbol)return;const h=Symbol.keyFor(s);return h!==void 0?`_gsymbol_${h}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const f=r.get(s);if(!f){const h=Array.isArray(s)?s:Vz(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":s.constructor.name})}catch{}return o.push(l),a.unshift(h),r.set(s,JSON.stringify(o)),s!==h&&n.set(s,h),h}return`_duplicate_${f}`}catch{return}}},Jde={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Qde=(e,t={})=>{const r={...Jde,...t};return JSON.stringify(Vz(e),Xde(r),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 + */const{global:qt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:e1e,once:t1e,logger:t3}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:EC,composeConfigs:ame,Preview:ome,DocsContext:ime}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:xC,UPDATE_STORY_ARGS:r1e,RESET_STORY_ARGS:n1e,GLOBALS_UPDATED:CC,NAVIGATE_URL:a1e}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var o1e=ll({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.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(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),i1e=ll({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,l=!0,s=" ";function d(x,D){var S=D.appendChild(h(x));if(x.children.length){var k=p(x.isCollapsed);x.children.forEach(function(_){d(_,k)}),S.appendChild(k)}}function f(x,D){var S=!1,k=p(S);if(D.forEach(function(_){d(_,k)}),i=x||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(k)}function h(x){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute("href",r.basePath+"#"+x.id),S.setAttribute("class",r.linkClass+s+"node-name--"+x.nodeName+s+r.extraLinkClasses),D.appendChild(S),D}function p(x){var D=r.orderedList?"ol":"ul",S=document.createElement(D),k=r.listClass+s+r.extraListClasses;return x&&(k=k+s+r.collapsibleClass,k=k+s+r.isCollapsedClass),S.setAttribute("class",k),S}function m(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=s+r.positionFixedClass):D.className=D.className.replace(s+r.positionFixedClass,"")}function g(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=g(x.offsetParent))),D}function v(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&m();var S=x,k;if(l&&i!==null&&S.length>0){a.call(S,function(j,M){if(g(j)>D+r.headingsOffset+10){var H=M===0?M:M-1;return k=S[H],!0}else if(M===S.length-1)return k=S[S.length-1],!0});var _=i.querySelector("."+r.activeLinkClass),A=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(_===A)return;var $=i.querySelectorAll("."+r.linkClass);n.call($,function(j){v(j,j.className.replace(s+r.activeLinkClass,""))});var I=i.querySelectorAll("."+r.listItemClass);n.call(I,function(j){v(j,j.className.replace(s+r.activeListItemClass,""))}),A&&A.className.indexOf(r.activeLinkClass)===-1&&(A.className+=s+r.activeLinkClass);var O=A&&A.parentNode;O&&O.className.indexOf(r.activeListItemClass)===-1&&(O.className+=s+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(j){j.className.indexOf(r.isCollapsedClass)===-1&&(j.className+=s+r.isCollapsedClass)}),A&&A.nextSibling&&A.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(A.nextSibling,A.nextSibling.className.replace(s+r.isCollapsedClass,"")),b(A&&A.parentNode.parentNode)}}function b(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(v(x,x.className.replace(s+r.isCollapsedClass,"")),b(x.parentNode.parentNode)):x}function y(x){var D=x.target||x.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(l=!1)}function E(){l=!0}return{enableTocAnimation:E,disableTocAnimation:y,render:f,updateToc:C}}}}),l1e=ll({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function l(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let p=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var m={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:p};return r.includeHtml&&(m.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(m,h):m}function s(h,p){for(var m=l(h),g=m.headingLevel,v=p,C=a(v),b=C?C.headingLevel:0,y=g-b;y>0&&(C=a(v),!(C&&g===C.headingLevel));)C&&C.children!==void 0&&(v=C.children),y--;return g>=r.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function d(h,p){var m=p;r.ignoreSelector&&(m=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function f(h){return n.call(h,function(p,m){var g=l(m);return g&&s(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),s1e=ll({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),u1e=ll({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;l();function l(){document.body.addEventListener("click",h,!1);function h(p){!s(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function s(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function f(h){var p=document.getElementById(h.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},l=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),s=typeof n=="string"?i.offset+(n?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(s):i.duration,f,h;requestAnimationFrame(function(v){f=v,p(v)});function p(v){h=v-f,window.scrollTo(0,i.easing(h,o,s,d)),h"u"&&!h)return;var p,m=Object.prototype.hasOwnProperty;function g(){for(var y={},E=0;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:ve(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Uz=e=>w.createElement(d1e,{...e,className:"docblock-emptyblock sb-unstyled"}),p1e=F(w4)(({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"}})),f1e=F.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"})),Qc=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Vm}`]:{margin:0}})),h1e=()=>w.createElement(f1e,null,w.createElement(Qc,null),w.createElement(Qc,{style:{width:"80%"}}),w.createElement(Qc,{style:{width:"30%"}}),w.createElement(Qc,{style:{width:"80%"}})),Wz=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:l}=x9();if(e)return w.createElement(h1e,null);if(t)return w.createElement(Uz,null,t);let s=w.createElement(p1e,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return s;let d=a?jm.dark:jm.light;return w.createElement(C9,{theme:Hm({...d,fontCode:l.fonts.mono,fontBase:l.fonts.base})},s)},Ie=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,r3=600,m1e=F.h1(De,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${r3}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),g1e=F.h2(De,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${r3}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ve(.25,e.color.defaultText)})),v1e=F.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"},r={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"}},n={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%",[Ie("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}},[Ie("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}},[Ie("div")]:t,[Ie("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}},[Ie("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Ie("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Ie("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Ie("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Ie("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Ie("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Ie("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Ie("img")]:{maxWidth:"100%"},[Ie("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Ie("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Ie("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Ie("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"}},[Ie("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"}}},[Ie("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}},[Ie("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),y1e=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${r3}px)`]:{}})),w1e=({children:e,toc:t})=>w.createElement(y1e,{className:"sbdocs sbdocs-wrapper"},w.createElement(v1e,{className:"sbdocs sbdocs-content"},e),t),kp=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}`}),{window:b1e}=qt,E1e=class extends u.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=b1e.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:r,allowFullScreen:n,scale:a,...o}=this.props;return w.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},qz=u.createContext({scale:1}),{PREVIEW_URL:x1e}=qt,C1e=x1e||"iframe.html",D5=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,D1e=e=>{let t=u.useRef(),[r,n]=u.useState(!0),[a,o]=u.useState(),{story:i,height:l,autoplay:s,forceInitialArgs:d,renderStoryToElement:f}=e;return u.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,p=f(i,h,{showMain:()=>{},showError:({title:m,description:g})=>o(new Error(`${m} - ${g}`)),showException:m=>o(m)},{autoplay:s,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[s,f,i]),a?w.createElement("pre",null,w.createElement(HK,{error:a})):w.createElement(w.Fragment,null,l?w.createElement("style",null,`#${D5(e)} { min-height: ${l}; transform: translateZ(0); overflow: auto }`):null,r&&w.createElement(Gz,null),w.createElement("div",{ref:t,id:`${D5(e)}-inner`,"data-name":i.name}))},S1e=({story:e,height:t="500px"})=>w.createElement("div",{style:{width:"100%",height:t}},w.createElement(qz.Consumer,null,({scale:r})=>w.createElement(E1e,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:dZ(C1e,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),k1e=F.strong(({theme:e})=>({color:e.color.orange})),_1e=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?w.createElement(k1e,null,"This story mounts inside of play. Set"," ",w.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):w.createElement("div",{id:D5(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?w.createElement(D1e,{...e}):w.createElement(S1e,{...e}))},Gz=()=>w.createElement(cZ,null),A1e=F(F4)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),F1e=F.div({display:"flex",alignItems:"center",gap:4}),$1e=F.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`})),T1e=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>w.createElement(A1e,{...o},w.createElement(F1e,{key:"left"},e?[1,2,3].map(i=>w.createElement($1e,{key:i})):w.createElement(w.Fragment,null,w.createElement(io,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},w.createElement(tX,null)),w.createElement(io,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},w.createElement(rX,null)),w.createElement(io,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},w.createElement(nX,null))))),I1e=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="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)`}}:{}),DC=F(Wz)(({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)":Mr(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Mr(.05,e.background.content)}})),R1e=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...kp(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),z1e=(e,t,r)=>{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:()=>r(!1)}};case t:return{source:w.createElement(DC,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:w.createElement(DC,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function B1e(e){if(u.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var L1e=F(T1e)({position:"absolute",top:0,left:0,right:0,height:40}),O1e=F.div({overflow:"hidden",position:"relative"}),Kz=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:l,className:s,layout:d="padded",...f})=>{let[h,p]=u.useState(i),{source:m,actionItem:g}=z1e(a,h,p),[v,C]=u.useState(1),b=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=a?[g]:[],[E,x]=u.useState(l?[...l]:[]),D=[...y,...E],{window:S}=qt,k=u.useCallback(async A=>{let{createCopyToClipboardFunction:$}=await T5(()=>import("./index-DfYGnGl-.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url);$()},[]),_=A=>{let $=S.getSelection();$&&$.type==="Range"||(A.preventDefault(),E.filter(I=>I.title==="Copied").length===0&&k(m.props.code).then(()=>{x([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>x(E.filter(I=>I.title!=="Copied")),1500)}))};return w.createElement(R1e,{withSource:a,withToolbar:o,...f,className:b.join(" ")},o&&w.createElement(L1e,{isLoading:e,border:!0,zoom:A=>C(v*A),resetZoom:()=>C(1),storyId:B1e(n),baseUrl:"./iframe.html"}),w.createElement(qz.Provider,{value:{scale:v}},w.createElement(O1e,{className:"docs-story",onCopyCapture:a&&_},w.createElement(I1e,{isColumn:t||!Array.isArray(n),columns:r,layout:d},w.createElement(zK.Element,{scale:v},Array.isArray(n)?n.map((A,$)=>w.createElement("div",{key:$},A)):w.createElement("div",null,n))),w.createElement(ey,{actionItems:D}))),a&&h&&m)};F(Kz)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var M1e=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},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:`${Yc(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Yc(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Yc(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"?`${Yc(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),P1e=e=>e==="true",N1e=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=u.useCallback(()=>r(!1),[r]),l=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return w.createElement($o,{variant:"outline",size:"medium",id:n1(e),onClick:i,disabled:l},"Set boolean");let s=Cr(e),d=typeof t=="string"?P1e(t):t;return w.createElement(M1e,{"aria-disabled":l,htmlFor:s,"aria-label":e},w.createElement("input",{id:s,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:l,name:e,onBlur:n,onFocus:a}),w.createElement("span",{"aria-hidden":"true"},"False"),w.createElement("span",{"aria-hidden":"true"},"True"))},j1e=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},H1e=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},V1e=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},U1e=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},SC=F(Xu.Input)(({readOnly:e})=>({opacity:e?.5:1})),W1e=F.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}})),q1e=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,l]=u.useState(!0),s=u.useRef(),d=u.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);u.useEffect(()=>{i!==!1&&(s&&s.current&&(s.current.value=t?V1e(t):""),d&&d.current&&(d.current.value=t?U1e(t):""))},[t]);let h=v=>{if(!v.target.value)return r();let C=j1e(v.target.value),b=new Date(t);b.setFullYear(C.getFullYear(),C.getMonth(),C.getDate());let y=b.getTime();y&&r(y),l(!!y)},p=v=>{if(!v.target.value)return r();let C=H1e(v.target.value),b=new Date(t);b.setHours(C.getHours()),b.setMinutes(C.getMinutes());let y=b.getTime();y&&r(y),l(!!y)},m=Cr(e);return w.createElement(W1e,null,w.createElement(SC,{type:"date",max:"9999-12-31",ref:s,id:`${m}-date`,name:`${m}-date`,readOnly:f,onChange:h,onFocus:n,onBlur:a}),w.createElement(SC,{type:"time",id:`${m}-time`,name:`${m}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:w.createElement("div",null,"invalid"))},G1e=F.label({display:"flex"}),K1e=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},Y1e=F(Xu.Input)(({readOnly:e})=>({opacity:e?.5:1})),Z1e=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:l,argType:s})=>{var E;let[d,f]=u.useState(typeof t=="number"?t:""),[h,p]=u.useState(!1),[m,g]=u.useState(null),v=!!((E=s==null?void 0:s.table)!=null&&E.readonly),C=u.useCallback(x=>{f(x.target.value);let D=parseFloat(x.target.value);Number.isNaN(D)?g(new Error(`'${x.target.value}' is not a number`)):(r(D),g(null))},[r,g]),b=u.useCallback(()=>{f("0"),r(0),p(!0)},[p]),y=u.useRef(null);return u.useEffect(()=>{h&&y.current&&y.current.select()},[h]),u.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?w.createElement($o,{variant:"outline",size:"medium",id:n1(e),onClick:b,disabled:v},"Set number"):w.createElement(G1e,null,w.createElement(Y1e,{ref:y,id:Cr(e),type:"number",onChange:C,size:"flex",placeholder:"Edit number...",value:d,valid:m?"error":null,autoFocus:h,readOnly:v,name:e,min:n,max:a,step:o,onFocus:l,onBlur:i}))},Yz=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},S5=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Zz=(e,t)=>e&&t&&e.map(r=>t[r]),X1e=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),J1e=F.span({"[aria-readonly=true] &":{opacity:.5}}),Q1e=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),kC=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return t3.warn(`Checkbox with no options: ${e}`),w.createElement(w.Fragment,null,"-");let i=S5(r,t),[l,s]=u.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=m=>{let g=m.target.value,v=[...l];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(Zz(v,t)),s(v)};u.useEffect(()=>{s(S5(r,t))},[r]);let h=Cr(e);return w.createElement(X1e,{"aria-readonly":d,isInline:a},Object.keys(t).map((m,g)=>{let v=`${h}-${g}`;return w.createElement(Q1e,{key:v,htmlFor:v},w.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:m,onChange:f,checked:l==null?void 0:l.includes(m)}),w.createElement(J1e,null,m))}))},epe=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),tpe=F.span({"[aria-readonly=true] &":{opacity:.5}}),rpe=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_C=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return t3.warn(`Radio with no options: ${e}`),w.createElement(w.Fragment,null,"-");let i=Yz(r,t),l=Cr(e),s=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return w.createElement(epe,{"aria-readonly":s,isInline:a},Object.keys(t).map((f,h)=>{let p=`${l}-${h}`;return w.createElement(rpe,{key:p,htmlFor:p},w.createElement("input",{type:"radio",id:p,name:l,disabled:s,value:f,onChange:m=>n(t[m.currentTarget.value]),checked:f===i}),w.createElement(tpe,null,f))}))},npe={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Xz=F.select(npe,({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}}})),Jz=F.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}}})),AC="Choose option...",ape=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=Yz(t,r)||AC,l=Cr(e),s=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(Jz,null,w.createElement(TR,null),w.createElement(Xz,{disabled:s,id:l,value:i,onChange:o},w.createElement("option",{key:"no-selection",disabled:!0},AC),Object.keys(r).map(f=>w.createElement("option",{key:f,value:f},f))))},ope=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let h=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Zz(h,r))},i=S5(t,r),l=Cr(e),s=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return w.createElement(Jz,null,w.createElement(Xz,{disabled:s,id:l,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>w.createElement("option",{key:f,value:f},f))))},FC=e=>{let{name:t,options:r}=e;return r?e.isMulti?w.createElement(ope,{...e}):w.createElement(ape,{...e}):(t3.warn(`Select with no options: ${t}`),w.createElement(w.Fragment,null,"-"))},ipe=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,lpe={check:kC,"inline-check":kC,radio:_C,"inline-radio":_C,select:FC,"multi-select":FC},qo=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?ipe(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=lpe[t];if(o)return w.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},spe="Error",upe="Object",cpe="Array",dpe="String",ppe="Number",fpe="Boolean",hpe="Date",mpe="Null",gpe="Undefined",vpe="Function",ype="Symbol",Qz="ADD_DELTA_TYPE",eB="REMOVE_DELTA_TYPE",tB="UPDATE_DELTA_TYPE",n3="value",wpe="key";function eo(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 rB(e,t){let r=eo(e),n=eo(t);return(r==="Function"||n==="Function")&&n!==r}var a3=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:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&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:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,l={};if(!t){if(!o.value)return;l.key=o.value}l.newValue=r(!1,n,a,l.key,i.value),e(l)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,l=u.cloneElement(r,{onClick:this.onSubmit}),s=u.cloneElement(n,{onClick:e}),d=a(n3,o,i),f=u.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let p=a(wpe,o,i);h=u.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return w.createElement("span",{className:"rejt-add-value-node"},h,f,s,l)}};a3.defaultProps={onlyValue:!1,addButtonElement:w.createElement("button",null,"+"),cancelButtonElement:w.createElement("button",null,"c")};var nB=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:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let l={keyPath:a,deep:o,key:e,oldValue:i,type:eB};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(l)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:s}=this.props;l(r[r.length-1],i),s({type:Qz,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:l}=this.state,s=o[e];a(e,i,l,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:tB,keyPath:i,deep:l,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:l,minusMenuElement:s}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,l),h=o(e,t,r,n,l),p=u.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:l,onDeltaUpdate:s,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:_,plus:A,delimiter:$,ul:I,addForm:O}=f(e,t,r,n,h),z=d(e,t,r,n,h),j=u.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:A}),M=u.cloneElement(b,{onClick:l,className:"rejt-minus-menu",style:_});return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"["),!a&&j,w.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((H,W)=>w.createElement(_p,{key:W,name:W.toString(),data:H,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(W),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}))),!z&&a&&w.createElement("div",{className:"rejt-add-form",style:O},w.createElement(a3,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"]"),!z&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,o);return w.createElement("div",{className:"rejt-array-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),l)}};nB.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var aB=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:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:l}=this.props,s=i(r,n,a,o,l);e&&!s&&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:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:l}=this.state;if(!o)return;let s=n(!0,a,l,i,o.value);e({value:s,key:i}).then(()=>{rB(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:l,dataType:s,getStyle:d,editButtonElement:f,cancelButtonElement:h,textareaElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,s),C=null,b=null,y=l(e,i,n,a,s);if(r&&!y){let E=p(n3,g,a,e,i,s),x=u.cloneElement(f,{onClick:this.handleEdit}),D=u.cloneElement(h,{onClick:this.handleCancelEdit}),S=u.cloneElement(E,{ref:this.refInput,defaultValue:i});C=w.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",D,x),b=null}else{C=w.createElement("span",{className:"rejt-value",style:v.value,onClick:y?null:this.handleEditMode},t);let E=u.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});b=y?null:E}return w.createElement("li",{className:"rejt-function-value-node",style:v.li},w.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),C,b)}};aB.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};var _p=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:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:l,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S}=this.props,k=()=>!0,_=eo(e);switch(_){case spe:return w.createElement(k5,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:l,onDeltaUpdate:s,readOnly:k,dataType:_,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case upe:return w.createElement(k5,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:l,onDeltaUpdate:s,readOnly:d,dataType:_,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case cpe:return w.createElement(nB,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:l,onDeltaUpdate:s,readOnly:d,dataType:_,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:C,plusMenuElement:b,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:x,logger:D,onSubmitValueParser:S});case dpe:return w.createElement(Nn,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case ppe:return w.createElement(Nn,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case fpe:return w.createElement(Nn,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case hpe:return w.createElement(Nn,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case mpe:return w.createElement(Nn,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case gpe:return w.createElement(Nn,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});case vpe:return w.createElement(aB,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,textareaElementGenerator:v,minusMenuElement:C,logger:D,onSubmitValueParser:S});case ype:return w.createElement(Nn,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:_,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:C,logger:D,onSubmitValueParser:S});default:return null}}};_p.defaultProps={keyPath:[],deep:0};var k5=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:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:s}=this.props;l(n[n.length-1],r),s({type:Qz,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let l={keyPath:a,deep:o,key:e,oldValue:i,type:eB};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(l)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:l}=this.state,s=o[e];a(e,i,l,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:tB,keyPath:i,deep:l,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:l,minusMenuElement:s}=this.props,{minus:d,collapsed:f}=l(e,n,t,r,i),h=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),m=u.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return w.createElement("span",{className:"rejt-collapsed"},w.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!p&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:l,onDeltaUpdate:s,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}=this.props,{minus:_,plus:A,addForm:$,ul:I,delimiter:O}=f(e,t,r,n,h),z=Object.getOwnPropertyNames(t),j=d(e,t,r,n,h),M=u.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:A}),H=u.cloneElement(b,{onClick:l,className:"rejt-minus-menu",style:_}),W=z.map(B=>w.createElement(_p,{key:B,name:B,data:t[B],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(B),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:C,minusMenuElement:b,plusMenuElement:y,beforeRemoveAction:E,beforeAddAction:x,beforeUpdateAction:D,logger:S,onSubmitValueParser:k}));return w.createElement("span",{className:"rejt-not-collapsed"},w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!j&&M,w.createElement("ul",{className:"rejt-not-collapsed-list",style:I},W),!j&&o&&w.createElement("div",{className:"rejt-add-form",style:$},w.createElement(a3,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:k})),w.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!j&&H)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),s=o(e,r,n,a,i);return w.createElement("div",{className:"rejt-object-node"},w.createElement("span",{onClick:this.handleCollapseMode},w.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),l)}};k5.defaultProps={keyPath:[],deep:0,minusMenuElement:w.createElement("span",null," - "),plusMenuElement:w.createElement("span",null," + ")};var Nn=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:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:l}=this.props,s=i(r,n,a,o,l);e&&!s&&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:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:l}=this.state;if(!o)return;let s=n(!0,a,l,i,o.value);e({value:s,key:i}).then(()=>{rB(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:l,dataType:s,getStyle:d,editButtonElement:f,cancelButtonElement:h,inputElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,s),C=l(e,i,n,a,s),b=r&&!C,y=p(n3,g,a,e,i,s),E=u.cloneElement(f,{onClick:this.handleEdit}),x=u.cloneElement(h,{onClick:this.handleCancelEdit}),D=u.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=u.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});return w.createElement("li",{className:"rejt-value-node",style:v.li},w.createElement("span",{className:"rejt-name",style:v.name},e," : "),b?w.createElement("span",{className:"rejt-edit-form",style:v.editForm},D," ",x,E):w.createElement("span",{className:"rejt-value",style:v.value,onClick:C?null:this.handleEditMode},String(t)),!C&&!b&&S)}};Nn.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:w.createElement("button",null,"e"),cancelButtonElement:w.createElement("button",null,"c"),minusMenuElement:w.createElement("span",null," - ")};function bpe(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Epe={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},xpe={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Cpe={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},oB=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:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:l,editButtonElement:s,inputElement:d,textareaElement:f,minusMenuElement:h,plusMenuElement:p,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:C,onSubmitValueParser:b,fallback:y=null}=this.props,E=eo(e),x=a;eo(a)==="Boolean"&&(x=()=>a);let D=d;d&&eo(d)!=="Function"&&(D=()=>d);let S=f;return f&&eo(f)!=="Function"&&(S=()=>f),E==="Object"||E==="Array"?w.createElement("div",{className:"rejt-tree"},w.createElement(_p,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:o,addButtonElement:i,cancelButtonElement:l,editButtonElement:s,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:C,onSubmitValueParser:b})):y}};oB.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Epe;case"Array":return xpe;default:return Cpe}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>bpe(a),inputElement:()=>w.createElement("input",null),textareaElement:()=>w.createElement("textarea",null),fallback:null};var{window:Dpe}=qt,Spe=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".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}})),Bm=F.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})),kpe=F(lX)(({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}})),_pe=F(sX)(({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}})),$C=F.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}`}})),Ape=F(io)(({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}})),Fpe=F(Xu.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"}})),$pe={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Tpe=e=>{e.currentTarget.dispatchEvent(new Dpe.KeyboardEvent("keydown",$pe))},Ipe=e=>{e.currentTarget.select()},Rpe=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),TC=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=x9(),o=u.useMemo(()=>t&&Jue(t),[t]),i=o!=null,[l,s]=u.useState(!i),[d,f]=u.useState(null),h=!!((E=n==null?void 0:n.table)!=null&&E.readonly),p=u.useCallback(x=>{try{x&&r(JSON.parse(x)),f(void 0)}catch(D){f(D)}},[r]),[m,g]=u.useState(!1),v=u.useCallback(()=>{r({}),g(!0)},[g]),C=u.useRef(null);if(u.useEffect(()=>{m&&C.current&&C.current.select()},[m]),!i)return w.createElement($o,{disabled:h,id:n1(e),onClick:v},"Set object");let b=w.createElement(Fpe,{ref:C,id:Cr(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>p(x.target.value),placeholder:"Edit JSON string...",autoFocus:m,valid:d?"error":null,readOnly:h}),y=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return w.createElement(Spe,{"aria-readonly":h},y&&w.createElement(Ape,{onClick:x=>{x.preventDefault(),s(D=>!D)}},l?w.createElement(oX,null):w.createElement(aX,null),w.createElement("span",null,"RAW")),l?b:w.createElement(oB,{readOnly:h||!y,isCollapsed:y?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:Rpe(a),cancelButtonElement:w.createElement(Bm,{type:"button"},"Cancel"),editButtonElement:w.createElement(Bm,{type:"submit"},"Save"),addButtonElement:w.createElement(Bm,{type:"submit",primary:!0},"Save"),plusMenuElement:w.createElement(kpe,null),minusMenuElement:w.createElement(_pe,null),inputElement:(x,D,S,k)=>k?w.createElement($C,{onFocus:Ipe,onBlur:Tpe}):w.createElement($C,null),fallback:b}))},zpe=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{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} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Va(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Va(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"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:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mr(.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:a?"not-allowed":"grab"}},"&: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} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Va(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Va(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"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:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mr(.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} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mr(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Va(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Va(.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"}}})),iB=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Bpe=F(iB)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Lpe=F.div({display:"flex",alignItems:"center",width:"100%"});function Ope(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 Mpe=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:l,argType:s})=>{var m;let d=g=>{r(K1e(g.target.value))},f=t!==void 0,h=u.useMemo(()=>Ope(o),[o]),p=!!((m=s==null?void 0:s.table)!=null&&m.readonly);return w.createElement(Lpe,{"aria-readonly":p},w.createElement(iB,null,n),w.createElement(zpe,{id:Cr(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:l,onBlur:i}),w.createElement(Bpe,{numberOFDecimalsPlaces:h,max:a},f?t.toFixed(h):"--"," / ",a))},Ppe=F.label({display:"flex"}),Npe=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),jpe=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var m;let l=g=>{r(g.target.value)},s=!!((m=i==null?void 0:i.table)!=null&&m.readonly),[d,f]=u.useState(!1),h=u.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return w.createElement($o,{variant:"outline",size:"medium",disabled:s,id:n1(e),onClick:h},"Set string");let p=typeof t=="string";return w.createElement(Ppe,null,w.createElement(Xu.Textarea,{id:Cr(e),maxLength:o,onChange:l,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&w.createElement(Npe,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},Hpe=F(Xu.Input)({padding:10});function Vpe(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Upe=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var s;let o=u.useRef(null),i=(s=a==null?void 0:a.control)==null?void 0:s.readOnly;function l(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(f),Vpe(n)}return u.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),w.createElement(Hpe,{ref:o,id:Cr(t),type:"file",name:t,multiple:!0,disabled:i,onChange:l,accept:r,size:"flex"})},Wpe=u.lazy(()=>T5(()=>import("./Color-ERTF36HU-B-ogFeV6.js"),__vite__mapDeps([5,2,1,3,4]),import.meta.url)),qpe=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(Wpe,{...e})),Gpe={array:TC,object:TC,boolean:N1e,color:qpe,date:q1e,number:Z1e,check:qo,"inline-check":qo,radio:qo,"inline-radio":qo,select:qo,"multi-select":qo,range:Mpe,text:jpe,file:Upe},IC=()=>w.createElement(w.Fragment,null,"-"),Kpe=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;let{key:a,control:o}=e,[i,l]=u.useState(!1),[s,d]=u.useState({value:t});u.useEffect(()=>{i||d({value:t})},[i,t]);let f=u.useCallback(C=>(d({value:C}),r({[a]:C}),C),[r,a]),h=u.useCallback(()=>l(!1),[]),p=u.useCallback(()=>l(!0),[]);if(!o||o.disable){let C=(o==null?void 0:o.disable)!==!0&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&C?w.createElement(Ti,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(IC,null)}let m={name:a,argType:e,value:s.value,onChange:f,onBlur:h,onFocus:p},g=Gpe[o.type]||IC;return w.createElement(g,{...m,...o,controlType:o.type})},Ype=F.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:Sa({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),Zpe=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:w.createElement(w.Fragment,null,w.createElement(Ype,null,w.createElement("tbody",null,n&&w.createElement("tr",{key:"deprecated"},w.createElement("td",{colSpan:2},w.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>w.createElement("tr",{key:o.name},w.createElement("td",null,w.createElement("code",null,o.name)),w.createElement("td",null,o.description))),a&&w.createElement("tr",{key:"returns"},w.createElement("td",null,w.createElement("code",null,"Returns")),w.createElement("td",null,e.returns.description)))))},_5=8,RC=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),Xpe=F.span(Sa,({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}})),Jpe=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),Qpe=F.div(Sa,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),efe=F.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"}})),tfe=F(pX)({marginLeft:4}),rfe=F(TR)({marginLeft:4}),nfe=()=>w.createElement("span",null,"-"),lB=({text:e,simple:t})=>w.createElement(Xpe,{simple:t},e),afe=Rz(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),ofe=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return zce(t)},zC=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,_5)),r.map(n=>w.createElement(lB,{key:n,text:n===""?'""':n}))},ife=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=u.useState(!1),[i,l]=u.useState(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return w.createElement(lB,{text:s});let d=ofe(s),f=d.length;return f>_5?w.createElement(RC,{isExpanded:i},zC(d,i),w.createElement(Jpe,{onClick:()=>l(!i)},i?"Show less...":`Show ${f-_5} more...`)):w.createElement(RC,null,zC(d))}return w.createElement(hY,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:w.createElement(efe,{width:afe(n)},w.createElement(w4,{language:"jsx",format:!1},n))},w.createElement(Qpe,{className:"sbdocs-expandable"},w.createElement("span",null,s),a?w.createElement(tfe,null):w.createElement(rfe,null)))},Lm=({value:e,initialExpandedArgs:t})=>e==null?w.createElement(nfe,null):w.createElement(ife,{value:e,initialExpandedArgs:t}),lfe=F.span({fontWeight:"bold"}),sfe=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),ufe=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Sa({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),cfe=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ve(.1,e.color.defaultText):ve(.2,e.color.defaultText),marginTop:t?4:0})),dfe=F.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})),pfe=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),ffe=e=>e&&{summary:typeof e=="string"?e:e.name},e0=e=>{var v;let[t,r]=u.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:l}=e,{name:s,description:d}=n,f=n.table||{},h=f.type||ffe(n.type),p=f.defaultValue||n.defaultValue,m=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return w.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},w.createElement(pfe,{expandable:i},w.createElement(lfe,null,s),m?w.createElement(sfe,{title:"Required"},"*"):null),o?null:w.createElement("td",null,g&&w.createElement(ufe,null,w.createElement(Az,null,d)),f.jsDocTags!=null?w.createElement(w.Fragment,null,w.createElement(dfe,{hasDescription:g},w.createElement(Lm,{value:h,initialExpandedArgs:l})),w.createElement(Zpe,{tags:f.jsDocTags})):w.createElement(cfe,{hasDescription:g},w.createElement(Lm,{value:h,initialExpandedArgs:l}))),o?null:w.createElement("td",null,w.createElement(Lm,{value:p,initialExpandedArgs:l})),a?w.createElement("td",null,w.createElement(Kpe,{...e,isHovered:t})):null)},hfe=F.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"})),mfe=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),gfe=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),vfe=({inAddonPanel:e})=>{let[t,r]=u.useState(!0);return u.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:w.createElement(hfe,{inAddonPanel:e},w.createElement(ER,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:w.createElement(w.Fragment,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."),footer:w.createElement(mfe,null,e&&w.createElement(w.Fragment,null,w.createElement(Ti,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},w.createElement(iX,null)," Watch 5m video"),w.createElement(gfe,null),w.createElement(Ti,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(g5,null)," Read docs")),!e&&w.createElement(Ti,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},w.createElement(g5,null)," Learn how to set that up"))}))},yfe=F(cX)(({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"})),wfe=F(dX)(({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"})),bfe=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Efe=F.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`}})),xfe=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Cfe=F.td(()=>({position:"relative"})),Dfe=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Va(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),BC=F.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"})),Om=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=u.useState(n),l=e==="subsection"?xfe:Efe,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return w.createElement(w.Fragment,null,w.createElement(Dfe,{title:f},w.createElement(l,{colSpan:1},w.createElement(BC,{onClick:h=>i(!o),tabIndex:0},f),w.createElement(bfe,null,o?w.createElement(yfe,null):w.createElement(wfe,null),t)),w.createElement(Cfe,{colSpan:a-1},w.createElement(BC,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},t0=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),et=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Re=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),tt=[2,4,2,2],Sfe=()=>w.createElement(w.Fragment,null,w.createElement(t0,null,w.createElement(et,{numColumn:tt[0]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[1]},w.createElement(Re,{width:"30%"})),w.createElement(et,{numColumn:tt[2]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[3]},w.createElement(Re,{width:"60%"}))),w.createElement(t0,null,w.createElement(et,{numColumn:tt[0]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(et,{numColumn:tt[2]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[3]},w.createElement(Re,{width:"60%"}))),w.createElement(t0,null,w.createElement(et,{numColumn:tt[0]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(et,{numColumn:tt[2]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[3]},w.createElement(Re,{width:"60%"}))),w.createElement(t0,null,w.createElement(et,{numColumn:tt[0]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[1]},w.createElement(Re,{width:"80%"}),w.createElement(Re,{width:"30%"})),w.createElement(et,{numColumn:tt[2]},w.createElement(Re,{width:"60%"})),w.createElement(et,{numColumn:tt[3]},w.createElement(Re,{width:"60%"})))),kfe=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{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:r?0:25,marginBottom:r?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:r?0:1,marginRight:r?0:1,tbody:{...r?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}`},...r?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}}}}})),_fe=F(io)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Afe=F.span({display:"flex",justifyContent:"space-between"}),Ffe={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},$fe=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:l,subcategory:s}=(i==null?void 0:i.table)||{};if(l){let d=r.sections[l]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push({key:o,...i});else{let f=d.subsections[s]||[];f.push({key:o,...i}),d.subsections[s]=f}r.sections[l]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push({key:o,...i}),r.ungroupedSubsections[s]=d}else r.ungrouped.push({key:o,...i})});let n=Ffe[t],a=o=>n?Object.keys(o).reduce((i,l)=>({...i,[l]:o[l].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Tfe=(e,t,r)=>{try{return aN(e,t,r)}catch(n){return t1e.warn(n.message),!1}},A5=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:l}=e;if("error"in e){let{error:y}=e;return w.createElement(Uz,null,y," ",w.createElement(Ti,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},w.createElement(g5,null)," Read the docs"))}if(l)return w.createElement(Sfe,null);let{rows:s,args:d,globals:f}="rows"in e&&e,h=$fe(die(s,y=>{var E;return!((E=y==null?void 0:y.table)!=null&&E.disable)&&Tfe(y,d||{},f||{})}),i),p=h.ungrouped.length===0,m=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(p&&m&&g)return w.createElement(vfe,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let C=Object.keys(h.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return w.createElement(jT,null,w.createElement(kfe,{compact:n,inAddonPanel:a,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")),n?null:w.createElement("th",null,w.createElement("span",null,"Description")),n?null:w.createElement("th",null,w.createElement("span",null,"Default")),t?w.createElement("th",null,w.createElement(Afe,null,"Control"," ",!l&&r&&w.createElement(_fe,{onClick:()=>r(),title:"Reset controls"},w.createElement(fX,{"aria-hidden":!0})))):null)),w.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(y=>w.createElement(e0,{key:y.key,row:y,arg:d&&d[y.key],...b})),Object.entries(h.ungroupedSubsections).map(([y,E])=>w.createElement(Om,{key:y,label:y,level:"subsection",colSpan:v},E.map(x=>w.createElement(e0,{key:x.key,row:x,arg:d&&d[x.key],expandable:C,...b})))),Object.entries(h.sections).map(([y,E])=>w.createElement(Om,{key:y,label:y,level:"section",colSpan:v},E.ungrouped.map(x=>w.createElement(e0,{key:x.key,row:x,arg:d&&d[x.key],...b})),Object.entries(E.subsections).map(([x,D])=>w.createElement(Om,{key:x,label:x,level:"subsection",colSpan:v},D.map(S=>w.createElement(e0,{key:S.key,row:S,arg:d&&d[S.key],expandable:C,...b})))))))))},Ife=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?w.createElement(A5,{...r[0][1],...t}):w.createElement(ZY,null,r.map((n,a)=>{let[o,i]=n,l=`prop_table_div_${o}`,s="div",d=a===0?t:{sort:t.sort};return w.createElement(s,{key:l,id:l,title:o},({active:f})=>f?w.createElement(A5,{key:`prop_table_${o}`,...i,...d}):null)}))};F.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)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(De,({theme:e})=>({...kp(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?ve(.2,e.color.defaultText):ve(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.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}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...kp(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"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.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)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...kp(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var Rfe=e=>`anchor--${e}`,sB=({storyId:e,children:t})=>w.createElement("div",{id:Rfe(e),className:"sb-anchor"},t);qt&&qt.__DOCS_CONTEXT__===void 0&&(qt.__DOCS_CONTEXT__=u.createContext(null),qt.__DOCS_CONTEXT__.displayName="DocsContext");var kr=qt?qt.__DOCS_CONTEXT__:u.createContext(null),zo=(e,t)=>u.useContext(kr).resolveOf(e,t),zfe=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Bfe=e=>{if(e)return typeof e=="string"?e.includes("-")?zfe(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function Lfe(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function uB(e){return Qde(e,{allowFunction:!1})}var cB=u.createContext({sources:{}}),dB="--unknown--",Ofe=({children:e,channel:t})=>{let[r,n]=u.useState({});return u.useEffect(()=>{let a=(o,i=null,l=!1)=>{let{id:s,args:d=void 0,source:f,format:h}=typeof o=="string"?{id:o,source:i,format:l}:o,p=d?uB(d):dB;n(m=>({...m,[s]:{...m[s],[p]:{code:f,format:h}}}))};return t.on(d3,a),()=>t.off(d3,a)},[]),w.createElement(cB.Provider,{value:{sources:r}},e)},Mfe=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[uB(t)])||(a==null?void 0:a[dB])||{code:""}},Pfe=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:a}=t.parameters,o=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||o.type||$p.AUTO;if(o.code!==void 0)return o.code;let l=i===$p.DYNAMIC||i===$p.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(l,t))||l},Nfe=(e,t,r)=>{var m,g,v,C;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(m=n==null?void 0:n.parameters)==null?void 0:m.docs)==null?void 0:g.source)||{},{code:i}=e,l=e.format??o.format,s=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:l,language:s,dark:d};let f=t.getStoryContext(n),h=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=Mfe(n.id,h,r);return l=p.format??((C=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:C.format)??!1,{code:Pfe({snippet:p.code,storyContext:{...f,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:l,language:s,dark:d}};function jfe(e,t){let r=Hfe([e],t);return r&&r[0]}function Hfe(e,t){let[r,n]=u.useState({});return u.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Vfe=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},Ufe=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let l=e.height??o.height,s=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:l,autoplay:s,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Wfe=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=u.useContext(kr),r=Vfe(e,t),n=jfe(r,t);if(!n)return w.createElement(Gz,null);let a=Ufe(e,n,t);return a?w.createElement(_1e,{...a}):null},qfe=e=>{var p,m,g,v,C,b,y,E,x,D;let t=u.useContext(kr),r=u.useContext(cB),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=zo(n||"story",["story"]),i=Nfe({...a,...n&&{of:n}},t,r),l=e.layout??o.parameters.layout??((m=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:m.layout)??"padded",s=e.withToolbar??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,d=e.additionalActions??((b=(C=o.parameters.docs)==null?void 0:C.canvas)==null?void 0:b.additionalActions),f=e.sourceState??((E=(y=o.parameters.docs)==null?void 0:y.canvas)==null?void 0:E.sourceState)??"hidden",h=e.className??((D=(x=o.parameters.docs)==null?void 0:x.canvas)==null?void 0:D.className);return w.createElement(Kz,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:s,additionalActions:d,className:h,layout:l},w.createElement(Wfe,{of:n||o.moduleExport,meta:e.meta,...e.story}))},Gfe=(e,t)=>{let r=Kfe(e,t);if(!r)throw new Error("No result when story was defined");return r},Kfe=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=u.useState(r.args);u.useEffect(()=>{let s=d=>{d.storyId===n&&o(d.args)};return t.channel.on(xC,s),()=>t.channel.off(xC,s)},[n,t.channel]);let i=u.useCallback(s=>t.channel.emit(r1e,{storyId:n,updatedArgs:s}),[n,t.channel]),l=u.useCallback(s=>t.channel.emit(n1e,{storyId:n,argNames:s}),[n,t.channel]);return e&&[a,i,l]},Yfe=(e,t)=>{let r=t.getStoryContext(e),[n,a]=u.useState(r.globals);return u.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(CC,o),()=>t.channel.off(CC,o)},[t.channel]),[n]};function Zfe(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Xfe=e=>{var x;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 r=u.useContext(kr),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:l}=n,s=((x=a.docs)==null?void 0:x.controls)||{},d=e.include??s.include,f=e.exclude??s.exclude,h=e.sort??s.sort,[p,m,g]=Gfe(n,r),[v]=Yfe(n,r),C=EC(o,d,f);if(!(l&&Object.keys(l).length>0))return Object.keys(C).length>0||Object.keys(p).length>0?w.createElement(A5,{rows:C,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g}):null;let b=Bfe(i),y=Object.fromEntries(Object.entries(l).map(([D,S])=>[D,{rows:EC(Zfe(S,a),d,f),sort:h}])),E={[b]:{rows:C,sort:h},...y};return w.createElement(Ife,{tabs:E,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g})},{document:pB}=qt,fB=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return w.createElement(HT,null,t);let n=e&&e.split("-");return w.createElement(Wz,{language:n&&n[1]||"text",format:!1,code:t,...r})};function o3(e,t){e.channel.emit(a1e,t)}var F5=fZ.a,Jfe=({hash:e,children:t})=>{let r=u.useContext(kr);return w.createElement(F5,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);pB.getElementById(a)&&o3(r,e)}},t)},hB=e=>{let{href:t,target:r,children:n,...a}=e,o=u.useContext(kr);return!t||r==="_blank"||/^https?:\/\//.test(t)?w.createElement(F5,{...e}):t.startsWith("#")?w.createElement(Jfe,{hash:t},n):w.createElement(F5,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),o3(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},mB=["h1","h2","h3","h4","h5","h6"],Qfe=mB.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),ehe=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),the=({as:e,id:t,children:r,...n})=>{let a=u.useContext(kr),o=Qfe[e],i=`#${t}`;return w.createElement(o,{id:t,...n},w.createElement(ehe,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:l=>{pB.getElementById(t)&&o3(a,i)}},w.createElement(uX,null)),r)},i3=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return w.createElement(the,{as:t,id:r,...a},n);let o=t,{as:i,...l}=e;return w.createElement(o,{...we(l,t)})},gB=mB.reduce((e,t)=>({...e,[t]:r=>w.createElement(i3,{as:t,...r})}),{}),rhe=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(xB`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(Az,{...e,options:{forceBlock:!0,overrides:{code:fB,a:hB,...gB,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},nhe=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(nhe||{}),ahe=e=>{var t,r,n,a,o,i,l,s;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((s=(l=f.docs)==null?void 0:l.extractComponentDescription)==null?void 0:s.call(l,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},$5=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 r=zo(t||"meta"),n=ahe(r);return n?w.createElement(rhe,null,n):null},LC=YB(c1e()),ohe=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ihe=F.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"}})),lhe=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),she=({title:e})=>e===null?null:typeof e=="string"?w.createElement(lhe,null,e):e,uhe=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(u.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},l=setTimeout(()=>LC.init(i),100);return()=>{clearTimeout(l),LC.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(ohe,null,t?null:w.createElement(ihe,null,w.createElement(she,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:che,window:dhe}=qt,phe=({context:e,theme:t,children:r})=>{var a,o,i,l,s;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(s=(l=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:l.docs)==null?void 0:s.toc}return u.useEffect(()=>{let d;try{if(d=new URL(dhe.parent.location.toString()),d.hash){let f=che.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{Lfe(f)},200)}}catch{}}),w.createElement(kr.Provider,{value:e},w.createElement(Ofe,{channel:e.channel},w.createElement(C9,{theme:VO(t)},w.createElement(w1e,{toc:n?w.createElement(uhe,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},fhe=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return w.createElement(UT,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return w.createElement(i3,{as:"h3",id:r},e)},vB=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var l,s;let{story:o}=zo(e||"story",["story"]),i=((s=(l=o.parameters.docs)==null?void 0:l.canvas)==null?void 0:s.withToolbar)??r;return w.createElement(sB,{storyId:o.id},t&&w.createElement(w.Fragment,null,w.createElement(fhe,null,o.name),w.createElement($5,{of:e})),w.createElement(qfe,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},hhe=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:r}=zo(t||"meta",["meta"]),n=u.useContext(kr).componentStoriesFromCSFFile(r)[0];return n?w.createElement(vB,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},mhe=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return w.createElement(VT,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return w.createElement(i3,{as:"h2",id:n,...r},e)},ghe=F(mhe)(({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"}})),vhe=({title:e="Stories",includePrimary:t=!0})=>{var l;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=u.useContext(kr),o=r(),{stories:{filter:i}={filter:void 0}}=((l=n.parameters)==null?void 0:l.docs)||{};return i&&(o=o.filter(s=>i(s,a(s)))),o.some(s=>{var d;return(d=s.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(s=>{var d;return((d=s.tags)==null?void 0:d.includes("autodocs"))&&!s.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:w.createElement(w.Fragment,null,w.createElement(ghe,null,e),o.map(s=>s&&w.createElement(vB,{key:s.id,of:s.moduleExport,expanded:!0,__forceInitialArgs:!0})))},yhe="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",whe=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=zo(t||"meta",["meta"]).preparedMeta}catch(l){if(r&&!l.message.includes("did you forget to use ?"))throw l}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&e1e(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${yhe}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?w.createElement(g1e,{className:"sbdocs-subtitle sb-unstyled"},i):null},bhe=/\s*\/\s*/,Ehe=e=>{let t=e.trim().split(bhe);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},xhe=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=zo(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||Ehe(n==null?void 0:n.title);return a?w.createElement(m1e,{className:"sbdocs-title sb-unstyled"},a):null},Che=()=>{let e=zo("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return w.createElement(w.Fragment,null,w.createElement(xhe,null),w.createElement(whe,null),w.createElement($5,{of:"meta"}),r?w.createElement($5,{of:"story"}):null,w.createElement(hhe,null),w.createElement(Xfe,null),r?null:w.createElement(vhe,null))};function Dhe({context:e,docsParameter:t}){let r=t.container||phe,n=t.page||Che;return w.createElement(r,{context:e,theme:t.theme},w.createElement(n,null))}var lme=({of:e})=>{let t=u.useContext(kr);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return w.createElement(sB,{storyId:r.id})}catch{return null}},yB,OC=pl;yB=OC.createRoot,OC.hydrateRoot;var t1=new Map;function She(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var khe=({callback:e,children:t})=>{let r=u.useRef();return u.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}});var _he=async(e,t,r)=>{let n=await Fhe(t,r);if(She()){n.render(e);return}let{promise:a,resolve:o}=Promise.withResolvers();return n.render(u.createElement(khe,{callback:o},e)),a},Ahe=(e,t)=>{let r=t1.get(e);r&&(r.unmount(),t1.delete(e))},Fhe=async(e,t)=>{let r=t1.get(e);return r||(r=yB(e,t),t1.set(e,r)),r},$he={code:fB,a:hB,...gB},The=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)}},sme=class{constructor(){this.render=async(e,t,r)=>{let n={...$he,...t==null?void 0:t.components},a=Dhe;return new Promise((o,i)=>{T5(async()=>{const{MDXProvider:l}=await import("./index-YUwpiFE0.js");return{MDXProvider:l}},__vite__mapDeps([6,7,1,2,3,4]),import.meta.url).then(({MDXProvider:l})=>_he(w.createElement(The,{showException:i,key:Math.random()},w.createElement(l,{components:n},w.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{Ahe(e)}}};export{Ohe as $,VH as A,$o as B,MH as C,sme as D,PH as E,Xhe as F,cZ as G,tme as H,ER as I,eme as J,Qhe as K,yR as L,w4 as M,GH as N,Ti as O,Hhe as P,DR as Q,jH as R,NH as S,io as T,hp as U,Khe as V,KH as W,F4 as X,SR as Y,ZY as Z,Jhe as _,LH as a,RY as a0,Whe as a1,qhe as a2,ZH as a3,Uhe as a4,hY as a5,zK as a6,Sa as a7,fZ as a8,jg as a9,dZ as aa,d5 as ab,Zhe as ac,we as ad,hZ as ae,De as af,oe as ag,lme as ah,w as ai,sn as aj,To as ak,H4 as al,u as am,F as an,nme as ao,Cr as ap,VT as b,OH as c,$he as d,rme as e,_H as f,RH as g,AH as h,Ghe as i,$Y as j,Nhe as k,UH as l,HT as m,ey as n,WH as o,jT as p,yd as q,kR as r,jhe as s,HK as t,Mhe as u,zH as v,BH as w,Xu as x,UT as y,qH as z}; diff --git a/storybook/assets/circular-DneTLSev.js b/storybook/assets/circular-DneTLSev.js new file mode 100644 index 000000000..7f4aef3e3 --- /dev/null +++ b/storybook/assets/circular-DneTLSev.js @@ -0,0 +1 @@ +import{g as E}from"./_commonjsHelpers-BosuxZz1.js";import{d as b}from"./getters-Dzi6BvTr.js";import{i as p}from"./sigma-B8Osh7W-.js";var w=b,x=p,A={dimensions:["x","y"],center:.5,scale:1};function f(m,i,a){if(!x(i))throw new Error("graphology-layout/random: the given graph is not a valid graphology instance.");a=w(a,A);var e=a.dimensions;if(!Array.isArray(e)||e.length!==2)throw new Error("graphology-layout/random: given dimensions are invalid.");var h=a.center,o=a.scale,t=Math.PI*2,s=(h-.5)*o,l=i.order,y=e[0],g=e[1];function u(n,r){return r[y]=o*Math.cos(n*t/l)+s,r[g]=o*Math.sin(n*t/l)+s,r}var c=0;if(!m){var v={};return i.forEachNode(function(n){v[n]=u(c++,{})}),v}i.updateEachNodeAttributes(function(n,r){return u(c++,r),r},{attributes:e})}var d=f.bind(null,!1);d.assign=f.bind(null,!0);var D=d;const F=E(D);export{F as a,D as c}; diff --git a/storybook/assets/data-ro0eVT-D.js b/storybook/assets/data-ro0eVT-D.js new file mode 100644 index 000000000..d24f40741 --- /dev/null +++ b/storybook/assets/data-ro0eVT-D.js @@ -0,0 +1 @@ +const e=[{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"}}],t=[{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}}],r={nodes:e,edges:t};export{r as d}; diff --git a/storybook/assets/dice-D0MsjWNN.png b/storybook/assets/dice-D0MsjWNN.png new file mode 100644 index 000000000..27f915533 Binary files /dev/null and b/storybook/assets/dice-D0MsjWNN.png differ diff --git a/storybook/assets/entry-preview-docs-FYabPWX0.js b/storybook/assets/entry-preview-docs-FYabPWX0.js new file mode 100644 index 000000000..3bd42b067 --- /dev/null +++ b/storybook/assets/entry-preview-docs-FYabPWX0.js @@ -0,0 +1 @@ +import{D as i,c as l,y as u}from"./index-CKIJeAdQ.js";import"./_commonjsHelpers-BosuxZz1.js";const{useEffect:D,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__;function E(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)===i.DYNAMIC?!1:!a||(r==null?void 0:r.code)||(r==null?void 0:r.type)===i.CODE}var f=(e,r)=>{var o,p;let a=e(),s=(p=(o=r==null?void 0:r.parameters.docs)==null?void 0:o.source)!=null&&p.excludeDecorators?r.originalStoryFn(r.args,r):a,d;return E(r)||(typeof s=="string"?d=s:s instanceof Element&&(d=s.outerHTML)),D(()=>{let{id:g,unmappedArgs:y}=r;d&&_.getChannel().emit(u,{id:g,args:y,source:d})}),a},A=[f],S={docs:{story:{inline:!0},source:{type:i.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}},O=[l];export{O as argTypesEnhancers,A as decorators,S as parameters}; diff --git a/storybook/assets/entry-preview-rExAvgBr.js b/storybook/assets/entry-preview-rExAvgBr.js new file mode 100644 index 000000000..24fe53cee --- /dev/null +++ b/storybook/assets/entry-preview-rExAvgBr.js @@ -0,0 +1,7 @@ +import{d as s}from"./index-DrFu-skq.js";var f=Object.defineProperty,_=(e,n)=>{for(var i in n)f(e,i,{get:n[i],enumerable:!0})};const{simulatePageLoad:u,simulateDOMContentLoaded:l}=__STORYBOOK_MODULE_PREVIEW_API__,{global:a}=__STORYBOOK_MODULE_GLOBAL__;var O={};_(O,{parameters:()=>h,render:()=>y,renderToCanvas:()=>L});var{Node:c}=a,y=(e,n)=>{let{id:i,component:r}=n;if(typeof r=="string"){let o=r;return Object.keys(e).forEach(t=>{o=o.replace(`{{${t}}}`,e[t])}),o}if(r instanceof HTMLElement){let o=r.cloneNode(!0);return Object.keys(e).forEach(t=>{o.setAttribute(t,typeof e[t]=="string"?e[t]:JSON.stringify(e[t]))}),o}if(typeof r=="function")return r(e,n);throw console.warn(s` + Storybook's HTML renderer only supports rendering DOM elements and strings. + Received: ${r} + `),new Error(`Unable to render story ${i}`)};function L({storyFn:e,kind:n,name:i,showMain:r,showError:o,forceRemount:t},p){let d=e();if(r(),typeof d=="string")p.innerHTML=d,u(p);else if(d instanceof c){if(p.firstChild===d&&t===!1)return;p.innerHTML="",p.appendChild(d),l()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${i}" of "${n}".`,description:s` + 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,y as render,L as renderToCanvas}; diff --git a/storybook/assets/factory-Bwm5mj1P.js b/storybook/assets/factory-Bwm5mj1P.js new file mode 100644 index 000000000..5c69c27d2 --- /dev/null +++ b/storybook/assets/factory-Bwm5mj1P.js @@ -0,0 +1,148 @@ +var D=Object.defineProperty;var U=(i,o,t)=>o in i?D(i,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[o]=t;var g=(i,o,t)=>U(i,typeof o!="symbol"?o+"":o,t);import{e as k,N as G,f as V}from"./sigma-B8Osh7W-.js";function F({texturesCount:i}){return` +precision highp float; + +varying vec4 v_color; +varying vec2 v_diffVector; +varying float v_radius; +varying vec4 v_texture; +varying float v_textureIndex; + +uniform sampler2D u_atlas[${i}]; +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); + int index = int(v_textureIndex + 0.5); // +0.5 avoid rounding errors + + bool noTextureFound = false; + vec4 texel; + + ${[...new Array(i)].map((t,a)=>`if (index == ${a}) texel = texture2D(u_atlas[${a}], (v_texture.xy + coordinateInTexture * v_texture.zw), -1.0);`).join(` + else `)+`else { + texel = texture2D(u_atlas[0], (v_texture.xy + coordinateInTexture * v_texture.zw), -1.0); + noTextureFound = true; + }`} + + if (noTextureFound) { + color = v_color; + } else { + // 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; + } + } +} +`}const X=` +attribute vec4 a_id; +attribute vec4 a_color; +attribute vec2 a_position; +attribute float a_size; +attribute float a_angle; +attribute vec4 a_texture; +attribute float a_textureIndex; + +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; +varying float v_textureIndex; + +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_textureIndex = a_textureIndex; + v_texture = a_texture; + #endif + + v_color.a *= bias; +} +`,C={size:{mode:"max",value:512},objectFit:"cover",correctCentering:!1,maxTextureSize:4096,debounceTimeout:500,crossOrigin:"anonymous"},L=1;function A(i,{crossOrigin:o}={}){return new Promise((t,a)=>{const s=new Image;s.addEventListener("load",()=>{t(s)},{once:!0}),s.addEventListener("error",n=>{a(n.error)},{once:!0}),o&&s.setAttribute("crossOrigin",o),s.src=i})}async function O(i,{size:o,crossOrigin:t}={}){let a;t==="use-credentials"?a=await fetch(i,{credentials:"include"}):a=await fetch(i);const s=await a.text(),n=new DOMParser().parseFromString(s,"image/svg+xml"),c=n.documentElement,f=c.getAttribute("width"),h=c.getAttribute("height");if(!f||!h)throw new Error("loadSVGImage: cannot use `size` if target SVG has no definite dimensions.");typeof o=="number"&&(c.setAttribute("width",""+o),c.setAttribute("height",""+o));const x=new XMLSerializer().serializeToString(n),T=new Blob([x],{type:"image/svg+xml"}),_=URL.createObjectURL(T),d=A(_);return d.finally(()=>URL.revokeObjectURL(_)),d}async function W(i,{size:o,crossOrigin:t}={}){var n;const a=((n=i.split(/[#?]/)[0].split(".").pop())==null?void 0:n.trim().toLowerCase())==="svg";let s;if(a&&o)try{s=await O(i,{size:o,crossOrigin:t})}catch{s=await A(i,{crossOrigin:t})}else s=await A(i,{crossOrigin:t});return s}function H(i,o,{objectFit:t,size:a,correctCentering:s}){const n=t==="contain"?Math.max(i.width,i.height):Math.min(i.width,i.height),c=a.mode==="auto"?n:a.mode==="force"?a.value:Math.min(a.value,n);let f=(i.width-n)/2,h=(i.height-n)/2;if(s){const x=o.getCorrectionOffset(i,n);f=x.x,h=x.y}return{sourceX:f,sourceY:h,sourceSize:n,destinationSize:c}}function Y(i,o,t){const{width:a,height:s}=o.canvas,n=[];let{x:c,y:f,rowHeight:h,maxRowWidth:x}=t;const T={};for(let p=0,S=i.length;ps||c+m>a&&f+m+h>s||(c+m>a&&(x=Math.max(x,c),c=0,f+=h,h=m),n.push({key:r,image:e,sourceX:u,sourceY:E,sourceSize:l,destinationX:c,destinationY:f,destinationSize:v}),T[r]={x:c,y:f,size:v},c+=m,h=Math.max(h,m))}x=Math.max(x,c);const _=x,d=f+h;for(let p=0,S=n.length;p{h[d.key]?n.atlas[d.key]={...h[d.key],textureIndex:n.textures.length}:_.push(d)}),n.textures.push(x),c=_,c.length&&(n.cursor={x:0,y:0,rowHeight:0,maxRowWidth:0},s.clearRect(0,0,s.canvas.width,s.canvas.height))}return n}class q{constructor(){g(this,"canvas");g(this,"context");this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",{willReadFrequently:!0})}getCorrectionOffset(o,t){this.canvas.width=t,this.canvas.height=t,this.context.clearRect(0,0,t,t),this.context.drawImage(o,0,0,t,t);const a=this.context.getImageData(0,0,t,t).data,s=new Uint8ClampedArray(a.length/4);for(let T=0;T{this.generateTextures(),this.frameId=void 0},this.options.debounceTimeout):this.generateTextures())}generateTextures(){const{atlas:t,textures:a,cursor:s}=B({atlas:this.atlas,textures:this.textures,cursor:this.lastTextureCursor},this.imageStates,this.ctx);this.atlas=t,this.textures=a,this.lastTextureCursor=s,this.emit(I.NEW_TEXTURE_EVENT,{atlas:t,textures:a})}async registerImage(t){if(!this.imageStates[t]){this.imageStates[t]={status:"loading"};try{const{size:a}=this.options,s=await W(t,{size:a.mode==="force"?a.value:void 0,crossOrigin:this.options.crossOrigin||void 0});this.imageStates[t]={status:"ready",image:s,...H(s,this.corrector,this.options)},this.scheduleGenerateTexture()}catch{this.imageStates[t]={status:"error"}}}}getAtlas(){return this.atlas}getTextures(){return this.textures}};g(I,"NEW_TEXTURE_EVENT","newTexture");let b=I;const{UNSIGNED_BYTE:N,FLOAT:R}=WebGLRenderingContext,$={...C,drawingMode:"background",keepWithinCircle:!0,drawLabel:void 0,drawHover:void 0,padding:0,colorAttribute:"color",imageAttribute:"image"},j=["u_sizeRatio","u_correctionRatio","u_cameraAngle","u_percentagePadding","u_matrix","u_colorizeImages","u_keepWithinCircle","u_atlas"];function J(i){var d;const o=document.createElement("canvas").getContext("webgl"),t=Math.min(o.getParameter(o.MAX_TEXTURE_SIZE),C.maxTextureSize);o.canvas.remove();const{drawHover:a,drawLabel:s,drawingMode:n,keepWithinCircle:c,padding:f,colorAttribute:h,imageAttribute:x,...T}={...$,maxTextureSize:t,...i||{}},_=new b(T);return d=class extends G{constructor(r,e,l){super(r,e,l);g(this,"drawLabel",s);g(this,"drawHover",a);g(this,"atlas");g(this,"textures");g(this,"textureImages");g(this,"latestRenderParams");g(this,"textureManagerCallback",null);this.textureManagerCallback=({atlas:u,textures:E})=>{const v=E.length!==this.textures.length;this.atlas=u,this.textureImages=E,v&&this.upgradeShaders(),this.bindTextures(),this.latestRenderParams&&this.render(this.latestRenderParams),this.renderer&&this.renderer.refresh&&this.renderer.refresh()},_.on(b.NEW_TEXTURE_EVENT,this.textureManagerCallback),this.atlas=_.getAtlas(),this.textureImages=_.getTextures(),this.textures=this.textureImages.map(()=>r.createTexture()),this.bindTextures()}getDefinition(){return{VERTICES:3,VERTEX_SHADER_SOURCE:X,FRAGMENT_SHADER_SOURCE:F({texturesCount:_.getTextures().length}),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:j,ATTRIBUTES:[{name:"a_position",size:2,type:R},{name:"a_size",size:1,type:R},{name:"a_color",size:4,type:N,normalized:!0},{name:"a_id",size:4,type:N,normalized:!0},{name:"a_texture",size:4,type:R},{name:"a_textureIndex",size:1,type:R}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:R}],CONSTANT_DATA:[[d.ANGLE_1],[d.ANGLE_2],[d.ANGLE_3]]}}upgradeShaders(){const r=this.getDefinition(),{program:e,buffer:l,vertexShader:u,fragmentShader:E,gl:v}=this.normalProgram;v.deleteProgram(e),v.deleteBuffer(l),v.deleteShader(u),v.deleteShader(E),this.normalProgram=this.getProgramInfo("normal",v,r.VERTEX_SHADER_SOURCE,r.FRAGMENT_SHADER_SOURCE,null)}kill(){var e;const r=(e=this.normalProgram)==null?void 0:e.gl;if(r)for(let l=0;l=this.textures.length){const l=r.createTexture();l&&this.textures.push(l)}r.activeTexture(r.TEXTURE0+e),r.bindTexture(r.TEXTURE_2D,this.textures[e]),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,this.textureImages[e]),r.generateMipmap(r.TEXTURE_2D)}}renderProgram(r,e){if(!e.isPicking){const l=e.gl;for(let u=0;uP)),e.uniform1i(y,n==="color"?1:0),e.uniform1i(w,c?1:0)}},g(d,"ANGLE_1",0),g(d,"ANGLE_2",2*Math.PI/3),g(d,"ANGLE_3",4*Math.PI/3),g(d,"textureManager",_),d}export{J as c}; diff --git a/storybook/assets/flower-C92N8yPj.jpg b/storybook/assets/flower-C92N8yPj.jpg new file mode 100644 index 000000000..b0f2052e0 Binary files /dev/null and b/storybook/assets/flower-C92N8yPj.jpg differ diff --git a/storybook/assets/getters-Dzi6BvTr.js b/storybook/assets/getters-Dzi6BvTr.js new file mode 100644 index 000000000..1488e4060 --- /dev/null +++ b/storybook/assets/getters-Dzi6BvTr.js @@ -0,0 +1 @@ +function d(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 y(r,u){r=r||{};var t={};for(var f in u){var i=r[f],o=u[f];if(!d(o)){t[f]=y(i,o);continue}i===void 0?t[f]=o:t[f]=i}return t}var v=y,s={};function l(r){return typeof r!="number"||isNaN(r)?1:r}function b(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.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 E(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=b;s.createEdgeValueGetter=E;s.createEdgeWeightGetter=function(r){return E(r,l)};export{v as d,s as g}; diff --git a/storybook/assets/iframe-NuZR3tEK.js b/storybook/assets/iframe-NuZR3tEK.js new file mode 100644 index 000000000..c94f30e10 --- /dev/null +++ b/storybook/assets/iframe-NuZR3tEK.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./introduction-4phnI8X-.js","./chunk-NUUEMKO5-BVg1OFz5.js","./_commonjsHelpers-BosuxZz1.js","./index-CKIJeAdQ.js","./index-DrFu-skq.js","./index-BkT4VJNm.js","./stories-MT3lQnVd.js","./sigma-B8Osh7W-.js","./index-CvkDsaGQ.js","./is-graph-constructor-C6mKuIz0.js","./add-edge-CCsz5v3R.js","./stories-rdekENPl.js","./data-ro0eVT-D.js","./stories-BIOOXeix.js","./worker-IwsQj_pD.js","./getters-Dzi6BvTr.js","./index-COyCIEIZ.js","./circular-DneTLSev.js","./stories-CCjULhyl.js","./stories-C0d8TK6u.js","./worker-D3SoqdYM.js","./factory-Bwm5mj1P.js","./stories-CVPNL6K7.js","./stories-BffpxUDi.js","./stories-BJMR3YlI.js","./index-BT1YDs3_.js","./stories-ClLBTAKj.js","./stories-Dwlccq_p.js","./chroma-CrraTPB2.js","./program-Ch9-RleQ.js","./stories-BxDMz641.js","./stories-CBVyCyFd.js","./stories-yNYBIPb7.js","./stories-C99ztWHA.js","./index-DP3JZVR3.js","./index-CADSXYpW.js","./stories-CP82EkSL.js","./stories-CkF8N7Fv.js","./stories-QlKSHU2N.js","./index-ONHIGp3d.js","./stories-Wj0v182x.js","./stories-C26fyqf3.js","./stories-CP3-y7JL.js","./stories-BDLpNj_N.js","./stories-CLONlu_B.js","./entry-preview-rExAvgBr.js","./entry-preview-docs-FYabPWX0.js","./preview-D77C14du.js","./preview-BWzBA1C2.js"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))u(e);new MutationObserver(e=>{for(const o of e)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function c(e){const o={};return e.integrity&&(o.integrity=e.integrity),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?o.credentials="include":e.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function u(e){if(e.ep)return;e.ep=!0;const o=c(e);fetch(e.href,o)}})();const R="modulepreload",T=function(r,_){return new URL(r,_).href},O={},t=function(_,c,u){let e=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),E=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));e=Promise.allSettled(c.map(a=>{if(a=T(a,u),a in O)return;O[a]=!0;const m=a.endsWith(".css"),f=m?'[rel="stylesheet"]':"";if(!!u)for(let l=i.length-1;l>=0;l--){const d=i[l];if(d.href===a&&(!m||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${f}`))return;const n=document.createElement("link");if(n.rel=m?"stylesheet":R,m||(n.as="script"),n.crossOrigin="",n.href=a,E&&n.setAttribute("nonce",E),document.head.appendChild(n),m)return new Promise((l,d)=>{n.addEventListener("load",l),n.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return e.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return _().catch(o)})},{createBrowserChannel:y}=__STORYBOOK_MODULE_CHANNELS__,{addons:L}=__STORYBOOK_MODULE_PREVIEW_API__,p=y({page:"preview"});L.setChannel(p);window.__STORYBOOK_ADDONS_CHANNEL__=p;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=p);const v={"./stories/0-docs/introduction.mdx":async()=>t(()=>import("./introduction-4phnI8X-.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"./stories/1-core-features/1-load-gexf-file/stories.ts":async()=>t(()=>import("./stories-MT3lQnVd.js"),__vite__mapDeps([6,7,2,8,9,10]),import.meta.url),"./stories/1-core-features/2-events/stories.ts":async()=>t(()=>import("./stories-rdekENPl.js"),__vite__mapDeps([11,7,2,12]),import.meta.url),"./stories/1-core-features/3-layouts/stories.ts":async()=>t(()=>import("./stories-BIOOXeix.js"),__vite__mapDeps([13,7,2,14,15,16,17,12]),import.meta.url),"./stories/1-core-features/4-use-reducers/stories.ts":async()=>t(()=>import("./stories-CCjULhyl.js"),__vite__mapDeps([18,7,2,12]),import.meta.url),"./stories/1-core-features/5-custom-rendering/stories.ts":async()=>t(()=>import("./stories-C0d8TK6u.js"),__vite__mapDeps([19,7,2,20,15,21]),import.meta.url),"./stories/1-core-features/6-csv-to-network-map/stories.ts":async()=>t(()=>import("./stories-CVPNL6K7.js"),__vite__mapDeps([22,7,2,10,16,15,17]),import.meta.url),"./stories/1-core-features/7-camera-control/stories.ts":async()=>t(()=>import("./stories-BffpxUDi.js"),__vite__mapDeps([23,7,2,8,9,10]),import.meta.url),"./stories/2-advanced-usecases/cluster-label/stories.ts":async()=>t(()=>import("./stories-BJMR3YlI.js"),__vite__mapDeps([24,7,2,25]),import.meta.url),"./stories/2-advanced-usecases/events-shadowdom/stories.ts":async()=>t(()=>import("./stories-ClLBTAKj.js"),__vite__mapDeps([26,7,2,12]),import.meta.url),"./stories/2-advanced-usecases/fit-sizes-to-positions/stories.ts":async()=>t(()=>import("./stories-Dwlccq_p.js"),__vite__mapDeps([27,7,2,28,29]),import.meta.url),"./stories/2-advanced-usecases/large-graphs/stories.ts":async()=>t(()=>import("./stories-BxDMz641.js"),__vite__mapDeps([30,7,2,9,16,15,14]),import.meta.url),"./stories/2-advanced-usecases/mouse-manipulations/stories.ts":async()=>t(()=>import("./stories-CBVyCyFd.js"),__vite__mapDeps([31,7,2,28,20,15]),import.meta.url),"./stories/3-additional-packages/edge-curve/stories.ts":async()=>t(()=>import("./stories-yNYBIPb7.js"),__vite__mapDeps([32,7,2]),import.meta.url),"./stories/3-additional-packages/export-image/stories.ts":async()=>t(()=>import("./stories-C99ztWHA.js"),__vite__mapDeps([33,7,2,20,15,34,21,35]),import.meta.url),"./stories/3-additional-packages/layer-leaflet/stories.ts":async()=>t(()=>import("./stories-CP82EkSL.js"),__vite__mapDeps([36,7,2]),import.meta.url),"./stories/3-additional-packages/layer-maplibre/stories.ts":async()=>t(()=>import("./stories-CkF8N7Fv.js"),__vite__mapDeps([37,7,2]),import.meta.url),"./stories/3-additional-packages/layer-webgl/stories.ts":async()=>t(()=>import("./stories-QlKSHU2N.js"),__vite__mapDeps([38,7,2,39,15,25,12,35,8,9,10]),import.meta.url),"./stories/3-additional-packages/node-border/stories.ts":async()=>t(()=>import("./stories-Wj0v182x.js"),__vite__mapDeps([40,7,2,21]),import.meta.url),"./stories/3-additional-packages/node-image/stories.ts":async()=>t(()=>import("./stories-C26fyqf3.js"),__vite__mapDeps([41,7,2,34,21,28]),import.meta.url),"./stories/3-additional-packages/node-piechart/stories.ts":async()=>t(()=>import("./stories-CP3-y7JL.js"),__vite__mapDeps([42,7,2]),import.meta.url),"./stories/3-additional-packages/node-square/stories.ts":async()=>t(()=>import("./stories-BDLpNj_N.js"),__vite__mapDeps([43,7,2,29]),import.meta.url),"./stories/3-additional-packages/utils/stories.ts":async()=>t(()=>import("./stories-CLONlu_B.js"),__vite__mapDeps([44,7,2,39,15,25,12]),import.meta.url)};async function P(r){return v[r]()}const{composeConfigs:I,PreviewWeb:V,ClientApi:S}=__STORYBOOK_MODULE_PREVIEW_API__,D=async(r=[])=>{const _=await Promise.all([r.at(0)??t(()=>import("./entry-preview-rExAvgBr.js"),__vite__mapDeps([45,4]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-FYabPWX0.js"),__vite__mapDeps([46,3,2]),import.meta.url),r.at(2)??t(()=>import("./preview-Bj-NiJ_X.js"),[],import.meta.url),r.at(3)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([47,4]),import.meta.url),r.at(4)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r.at(5)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r.at(6)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([48,4]),import.meta.url),r.at(7)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r.at(8)??t(()=>import("./preview-BeB4Cboa.js"),[],import.meta.url)]);return I(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(P,D);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/storybook/assets/index-BT1YDs3_.js b/storybook/assets/index-BT1YDs3_.js new file mode 100644 index 000000000..fa954823c --- /dev/null +++ b/storybook/assets/index-BT1YDs3_.js @@ -0,0 +1 @@ +import{g as or}from"./_commonjsHelpers-BosuxZz1.js";function cr(t,r){return t+Math.floor(Math.random()*(r-t+1))}function B(t){t||(t=cr(0,Math.pow(2,31)-1)),this.seed=t%2147483647,this.seed<=0&&(this.seed+=2147483646)}B.prototype.next=function(){return this.seed=this.seed*16807%2147483647,this.seed};B.prototype.nextFloat=function(){return(this.next()-1)/2147483646};var lr=B,I={},T={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};function $(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function j(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function k(t){return t>T.t3?Math.pow(t,1/3):t/T.t2+T.t0}function fr(t){var r=t[0],a=t[1],e=t[2];r=j(r),a=j(a),e=j(e);var i=k((.4124564*r+.3575761*a+.1804375*e)/T.Xn),n=k((.2126729*r+.7151522*a+.072175*e)/T.Yn),f=k((.0193339*r+.119192*a+.9503041*e)/T.Zn);return[i,n,f]}function z(t){return t>T.t1?t*t*t:T.t2*(t-T.t0)}function ar(t){var r=t[0],a=t[1],e=t[2],i=(r+16)/116,n=isNaN(a)?i:i+a/500,f=isNaN(e)?i:i-e/200;i=T.Yn*z(i),n=T.Xn*z(n),f=T.Zn*z(f);var o=$(3.2404542*n-1.5371385*i-.4985314*f),c=$(-.969266*n+1.8760108*i+.041556*f);return e=$(.0556434*n-.2040259*i+1.0572252*f),[o,c,e]}function vr(t){var r=fr(t),a=r[0],e=r[1],i=r[2],n=116*e-16;return[n<0?0:n,500*(a-e),200*(e-i)]}function ur(t){var r=t[0],a=t[1],e=t[2];return r>=0&&r<=255&&a>=0&&a<=255&&e>=0&&e<=255}function Y(t){return("0"+t.toString(16)).slice(-2)}function hr(t){var r=ar(t);return"#"+Y(r[0])+Y(r[1])+Y(r[2])}var sr=180/Math.PI;function dr(t){var r=t[0],a=t[1],e=t[2],i=Math.sqrt(a*a+e*e),n=(Math.atan2(e,a)*sr+360)%360;return Math.round(i*1e4)===0&&(n=NaN),[n,i,r]}function pr(t,r){r=r.slice();for(var a=[r.shift()],e,i,n,f,o,c,h;r.length>0;){for(e=-1,i=-1/0,n=0;ni&&(i=c,e=n);a.push(r[e]),r.splice(e,1)}return a}function wr(t,r){var a,e,i,n=1/0,f,o=0,c=0;for(a=0,i=r.length;a=164&&b<=345?.56+Math.abs(.2*Math.cos(b+168)):.36+Math.abs(.4*Math.cos(b+35)),m=a[0]<16?.511:.040975*i/(1+.01765*i),s=.0638*u/(1+.0131*u)+.638,x=s*(S*g+1-S),E=Math.sqrt(Math.pow(p/(t*m),2)+Math.pow(d/(r*s),2)+Math.pow(v/x,2));return E}function C(){this.cache={}}C.prototype.simulate=function(t,r,a){a=a||1;var e=t.join("-")+"-"+r+"-"+a,i=this.cache[e];if(i)return i;var n=A[r].x,f=A[r].y,o=A[r].m,c=A[r].yint,h=Q.labToRgb(t),u=h[0],M=h[1],d=h[2],p=u,w=M,l=d,v=Math.pow(u,2.2),b=Math.pow(M,2.2),S=Math.pow(d,2.2),g=v*.412424+b*.357579+S*.180464,m=v*.212656+b*.715158+S*.0721856,s=v*.0193324+b*.119193+S*.950444,x=g/(g+m+s),E=m/(g+m+s),N=(E-f)/(x-n),y=E-x*N,R=(c-y)/(N-o),L=N*R+y;g=R*m/L,s=(1-(R+L))*m/L;var er=.312713*m/.329016,nr=.358271*m/.329016,D=er-g,_=nr-s,G=D*3.24071+_*-.498571,Z=D*-.969258+_*.0415557,U=D*.0556352+_*1.05707;p=g*3.24071+m*-1.53726+s*-.498571,w=g*-.969258+m*1.87599+s*.0415557,l=g*.0556352+m*-.203996+s*1.05707;var H=((p<0?0:1)-p)/G,P=((w<0?0:1)-w)/Z,X=((l<0?0:1)-l)/U,O=Math.max(H>1||H<0?0:H,P>1||P<0?0:P,X>1||X<0?0:X);p=p+O*G,w=w+O*Z,l=l+O*U,p=Math.pow(p,1/2.2),w=Math.pow(w,1/2.2),l=Math.pow(l,1/2.2),p=u*(1-a)+p*a,w=M*(1-a)+w*a,l=d*(1-a)+l*a;var ir=[p,w,l],V=Q.rgbToLab(ir);return this.cache[e]=V,V};C.prototype.euclidean=mr;C.prototype.cmc=br.bind(null,2,1);C.prototype.colorblind=function(t,r,a){return r=this.simulate(r,t),a=this.simulate(a,t),this.cmc(r,a)};Object.keys(A).forEach(function(t){C.prototype[t]=function(r,a){return this.colorblind(t,r,a)}});var gr=1601;C.prototype.compromise=function(t,r){var a=0,e=this.cmc(t,r);return a+=e*1e3,e=this.colorblind("protanope",t,r),isNaN(e)||(a+=e*100),e=this.colorblind("deuteranope",t,r),isNaN(e)||(a+=e*500),e=this.colorblind("tritanope",t,r),isNaN(e)||(a+=e*1),a/gr};C.prototype.get=function(t){return t in A?this.colorblind.bind(this,t):this[t].bind(this)};var Mr=C,yr={all:[0,360,0,100,0,100],default:[0,360,30,80,35,80],sensible:[0,360,25.59,55.59,60.94,90.94],colorblind:[0,360,40,70,15,85],"fancy-light":[0,360,15,40,70,100],"fancy-dark":[0,360,8,40,7,40],shades:[0,240,0,15,0,100],tarnish:[0,360,0,15,30,70],pastel:[0,360,0,30,70,100],pimp:[0,360,30,100,25,70],intense:[0,360,20,100,15,80],fluo:[0,300,35,100,75,100],"red-roses":[330,20,10,100,35,100],"ochre-sand":[20,60,20,50,35,100],"yellow-lime":[60,90,10,100,35,100],"green-mint":[90,150,10,100,35,100],"ice-cube":[150,200,0,100,35,100],"blue-ocean":[220,260,8,80,0,50],"indigo-night":[260,290,40,100,35,100],"purple-wine":[290,330,0,100,0,40]},Sr=yr,xr=lr,Tr=Mr,q=I,tr=Sr,Er=q.validateRgb,F=q.labToRgb,K=q.labToRgbHex,J=q.labToHcl,Nr=q.diffSort,Rr={attempts:1,colorFilter:null,colorSpace:"default",clustering:"k-means",quality:50,ultraPrecision:!1,distance:"euclidean",seed:null},Ir=new Set(["force-vector","k-means"]),Cr=new Set(["euclidean","cmc","compromise","protanope","deuteranope","tritanope"]),Lr=new Set(Object.keys(tr));function Ar(t){for(var r=0,a=0,e=t.length;a 0.");if(typeof r.ultraPrecision!="boolean")throw new Error("iwanthue: invalid `ultraPrecision`. Expecting a boolean.");if(!Cr.has(r.distance))throw new Error('iwanthue: unknown `distance` "'+r.distance+'".');if(typeof r.seed=="string"&&(r.seed=Ar(r.seed)),r.seed!==null&&typeof r.seed!="number")throw new Error("iwanthue: invalid `seed`. Expecting an integer or a string.");if(!r.colorFilter&&r.colorSpace&&r.colorSpace!=="all"){var a;if(typeof r.colorSpace=="string"){if(!Lr.has(r.colorSpace))throw new Error('iwanthue: unknown `colorSpace` "'+r.colorSpace+'".');a=tr[r.colorSpace]}else if(Array.isArray(r.colorSpace)){if(r.colorSpace.length!==6)throw new Error("iwanthue: expecting a `colorSpace` array of length 6 ([hmin, hmax, cmin, cmax, lmin, lmax]).");a=r.colorSpace}else a=[r.colorSpace.hmin||0,r.colorSpace.hmax||360,r.colorSpace.cmin||0,r.colorSpace.cmax||100,r.colorSpace.lmin||0,r.colorSpace.lmax||100];a[0]=a[0]&&n[0]<=a[1]&&n[1]>=a[2]&&n[1]<=a[3]&&n[2]>=a[4]&&n[2]<=a[5]}:r.colorFilter=function(e,i){var n=J(i);return(n[0]>=a[0]||n[0]<=a[1])&&n[1]>=a[2]&&n[1]<=a[3]&&n[2]>=a[4]&&n[2]<=a[5]}}return r}function W(t,r,a){for(var e=new Array(r),i,n,f=0;f0;){for(o=0;o0?(p=u[0]-M[0],w=u[1]-M[1],l=u[2]-M[2],v=Fr/Math.pow(d,2),n[o].dl+=p*v/d,n[o].da+=w*v/d,n[o].db+=l*v/d,n[c].dl-=p*v/d,n[c].da-=w*v/d,n[c].db-=l*v/d):(n[c].dl+=2-4*t(),n[c].da+=2-4*t(),n[c].db+=2-4*t());for(o=0;o0&&(g=rr*Math.min(.1,m)/m,b=[S[0]+n[o].dl*g,S[1]+n[o].da*g,S[2]+n[o].db*g],s=F(b),a(s,b)&&(e[o]=b))}}function _r(t,r,a,e){var i=[],n=[],f,o,c,h,u,M=5,d=10,p=10;for(e.ultraPrecision&&(M=1,d=5,p=5),f=0;f<=100;f+=M)for(o=-100;o<=100;o+=d)for(c=-100;c<=100;c+=p)h=[f,o,c],u=F(h),r(u,h)&&(i.push(h),n.push(null));for(var w=e.quality,l,v,b,S,g=i.length,m=a.length,s,x,E,N,y,R;w-- >0;){for(l=0;l0){for(x=1/0,R=-1,l=0;l 1.");a=qr(a);var e=new xr(a.seed),i=function(){return e.nextFloat()},n=new Tr,f=n.get(a.distance),o=function(p,w){return Er(p)?a.colorFilter?!!a.colorFilter(p,w):!0:!1},c;if(r===1)return c=W(i,r,o),[K(c[0])];for(var h=a.attempts,u,M=-1/0,d;h>0;)c=W(i,r,o),a.clustering==="force-vector"?Dr(i,f,o,c,a):_r(f,o,c,a),u=q.computeQualityMetrics(f,c),u.min>M&&(M=u.min,d=c),h--;return c=d,c=Nr(f,c),c.map(K)};const Xr=or(Hr);export{Xr as i}; diff --git a/storybook/assets/index-BkT4VJNm.js b/storybook/assets/index-BkT4VJNm.js new file mode 100644 index 000000000..ee9c7a7b4 --- /dev/null +++ b/storybook/assets/index-BkT4VJNm.js @@ -0,0 +1 @@ +import{ai as e}from"./chunk-NUUEMKO5-BVg1OFz5.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function s(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{s as M,u}; diff --git a/storybook/assets/index-CADSXYpW.js b/storybook/assets/index-CADSXYpW.js new file mode 100644 index 000000000..6cc5c2255 --- /dev/null +++ b/storybook/assets/index-CADSXYpW.js @@ -0,0 +1,111 @@ +var A=Object.defineProperty;var S=(a,t,o)=>t in a?A(a,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[t]=o;var v=(a,t,o)=>S(a,typeof t!="symbol"?t+"":t,o);import{P as U,n as d,c as C}from"./sigma-B8Osh7W-.js";function D(){return`#version 300 es +in vec2 a_position; + +void main() { + gl_Position = vec4(a_position, 0.0, 1.0); +} + `}const x=[-1,1,1,1,-1,-1,1,-1];class P extends U{constructor(t,o,n){super(t,o,n),this.verticesCount=x.length/2}getDefinition(){const{FRAGMENT_SHADER_SOURCE:t,CAMERA_UNIFORMS:o,DATA_UNIFORMS:n}=this.getCustomLayerDefinition();return{UNIFORMS:[...o,...n],FRAGMENT_SHADER_SOURCE:t,VERTEX_SHADER_SOURCE:D(),VERTICES:6,METHOD:WebGLRenderingContext.TRIANGLE_STRIP,ATTRIBUTES:[{name:"a_position",size:2,type:WebGLRenderingContext.FLOAT}]}}hasNothingToRender(){return!1}setUniforms(t,o){this.setCameraUniforms(t,o)}bindProgram(t){const{gl:o,buffer:n}=t;o.bindBuffer(o.ARRAY_BUFFER,n);let l=0;this.ATTRIBUTES.forEach(s=>l+=this.bindAttribute(s,t,l)),o.bufferData(o.ARRAY_BUFFER,new Float32Array(x),o.STATIC_DRAW)}}function F(a,t,o){let n=!1;const l=t.createCanvas(a,{beforeLayer:"edges"}),s=t.createWebGLContext(a,{canvas:l}),f=new o(s,null,t),T=()=>{n||(s.useProgram(f.normalProgram.program),f.cacheDataUniforms(f.normalProgram))},i=()=>{n||f.render(t.getRenderParams())},e=()=>{n||s.clear(s.COLOR_BUFFER_BIT)};t.addListener("afterProcess",T),t.addListener("afterRender",i),t.addListener("afterClear",e);const r=()=>{n||(t.removeListener("afterProcess",T),t.removeListener("afterRender",i),t.removeListener("afterClear",e),t.removeListener("kill",r),f.kill(),t.killLayer(a),n=!0)};return t.addListener("kill",r),t.resize(!0),t.refresh(),r}function g({nodesCount:a,feather:t,border:o,levels:n}){const l=n.map(i=>i.threshold).sort((i,e)=>e-i),s=l.slice(0).reverse(),f=s.map((i,e,r)=>ed(i)).join(",")}); +const float incLimits[LEVELS_COUNT] = float[](${f.map(i=>d(i)).join(",")}); + +// Data: +uniform sampler2D u_nodesTexture; +uniform float u_radius; + +// Camera: +uniform mat3 u_invMatrix; +uniform float u_width; +uniform float u_height; +uniform float u_correctionRatio; +uniform float u_zoomModifier; + +// Levels uniforms: +${l.map((i,e)=>`uniform vec4 u_levelColor_${e+1};`).join(` +`)} + +// Border color: +${o?"uniform vec4 u_borderColor;":""} + +// Output +out vec4 fragColor; + +// Library: +float linearstep(float edge0, float edge1, float x) { + return clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0); +} + +float hypot(vec2 v) { + float x = abs(v.x); + float y = abs(v.y); + float t = min(x, y); + x = max(x, y); + t = t / x; + return x * sqrt(1.0 + t * t); +} + +// The explanations on how to get fixed width contour lines in a GLSL fragment shader come +// from @rreuser: +// https://observablehq.com/@rreusser/locally-scaled-domain-coloring-part-1-contour-plots +float contour(float score, float thickness, float feather) { + float level = incLevels[0]; + for (int i = 0; i < LEVELS_COUNT - 1; i++) { + if (score >= incLimits[i]) { + level = incLevels[i + 1]; + } else { + break; + } + } + float gradient = (atan(score)) * 2.0 / PI; + // This function is basically the same function as gradient, but drops to negative when it + // reaches the middle of two consecutive levels, such that it is 0 for each level. This + // allows having nice anti-aliased fixed width contour lines: + float normalizedGradient = (atan(score) - atan(level)) * 2.0 / PI; + + float screenSpaceGradient = hypot(vec2(dFdx(gradient), dFdy(gradient))); + return linearstep( + 0.5 * (thickness + feather), + 0.5 * (thickness - feather), + (0.5 - abs(fract(normalizedGradient) - 0.5)) / screenSpaceGradient + ); +} + +// Actual shader code: +void main() { + vec2 position = (u_invMatrix * vec3(gl_FragCoord.xy * 2.0 / vec2(u_width, u_height) - vec2(1.0, 1.0), 1)).xy; + float score = 0.0; + + float factor = 0.5 / u_correctionRatio; + float radius = u_radius * u_zoomModifier; + float correctedRadius = radius / factor; + float correctedRadiusSquare = correctedRadius * correctedRadius; + + for (int i = 0; i < NODES_COUNT; i++) { + vec2 nodePos = texelFetch(u_nodesTexture, ivec2(i, 0), 0).xy; + vec2 diff = position - nodePos; + // Early exit check with Manhattan distance: + if (diff.x >= correctedRadius || diff.y >= correctedRadius) continue; + float dSquare = dot(diff, diff); + // Early exit check with squared distance: + if (dSquare >= correctedRadiusSquare) continue; + float d = sqrt(dSquare) * factor; + score += smoothstep(radius, 0.0, d); + } + + vec4 levelColor = u_levelColor_${l.length+1}; + vec4 nextColor = u_levelColor_${l.length+1}; + ${l.map((i,e)=>`if (score > ${d(i)}) { + levelColor = u_levelColor_${e+1}; + ${o?"":`nextColor = score > ${d(f[e])} ? u_levelColor_${e+1} : u_levelColor_${e+2};`} + }`).join(" else ")} + + float t = contour(score, ${d(o?o.thickness:0)}, ${d(t)}); + fragColor = mix(levelColor, ${o?"u_borderColor":"nextColor"}, t); +} +`}const p={radius:100,feather:1.5,zoomToRadiusRatioFunction:a=>Math.sqrt(a),levels:[{color:"#cccccc",threshold:.5}]};function N(a,t){const{levels:o,radius:n,zoomToRadiusRatioFunction:l,border:s,feather:f}={...p,...t||{}};return class extends P{constructor(e,r,u){if(!(e instanceof WebGL2RenderingContext))throw new Error("createContoursProgram only works with WebGL2");super(e,r,u);v(this,"nodesTexture");this.nodesTexture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.nodesTexture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST)}getNodesPositionArray(){const e=new Float32Array(a.length*2);return a.forEach((r,u)=>{const c=this.renderer.getNodeDisplayData(r);if(!c)throw new Error(`createContoursProgram: Node ${r} not found`);e[2*u]=c.x,e[2*u+1]=c.y}),e}renderProgram(e,r){const u=r.gl;u.activeTexture(u.TEXTURE0),u.bindTexture(u.TEXTURE_2D,this.nodesTexture),super.renderProgram(e,r)}getCustomLayerDefinition(){return{FRAGMENT_SHADER_SOURCE:g({levels:o,border:s,feather:f,nodesCount:a.length}),DATA_UNIFORMS:["u_nodesPosition","u_radius",...o.map((e,r)=>`u_levelColor_${r+1}`),...s?["u_borderColor"]:[]],CAMERA_UNIFORMS:["u_invMatrix","u_width","u_height","u_correctionRatio","u_zoomModifier"]}}setCameraUniforms({invMatrix:e,correctionRatio:r,zoomRatio:u},{gl:c,uniformLocations:{u_invMatrix:_,u_width:m,u_height:h,u_correctionRatio:E,u_zoomModifier:R}}){c.uniform1f(m,c.canvas.width),c.uniform1f(h,c.canvas.height),c.uniform1f(E,r),c.uniform1f(R,1/l(u)),c.uniformMatrix3fv(_,!1,e)}cacheDataUniforms({gl:e,uniformLocations:r}){const{u_radius:u}=r;if(e.uniform1f(u,n),e.bindTexture(e.TEXTURE_2D,this.nodesTexture),e.texImage2D(e.TEXTURE_2D,0,WebGL2RenderingContext.RG32F,a.length,1,0,WebGL2RenderingContext.RG,e.FLOAT,this.getNodesPositionArray()),o.forEach(({color:c},_)=>{const m=r[`u_levelColor_${_+1}`],[h,E,R,L]=C(c||"#0000");e.uniform4f(m,h/255,E/255,R/255,L/255)}),s){const[c,_,m,h]=C(s.color);e.uniform4f(r.u_borderColor,c/255,_/255,m/255,h/255)}}}}export{F as b,N as c}; diff --git a/storybook/assets/index-CKIJeAdQ.js b/storybook/assets/index-CKIJeAdQ.js new file mode 100644 index 000000000..fe584e66c --- /dev/null +++ b/storybook/assets/index-CKIJeAdQ.js @@ -0,0 +1,8 @@ +import{c as Dn}from"./_commonjsHelpers-BosuxZz1.js";var Ie={exports:{}};(function(o,t){(function(n,a){a(t)})(Dn,function(n){function a(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class s extends Error{constructor(r){super(`No parslet found for token: ${a(r)}`),this.token=r,Object.setPrototypeOf(this,s.prototype)}getToken(){return this.token}}class i extends Error{constructor(r){super(`The parsing ended early. The next token was: ${a(r)}`),this.token=r,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class p extends Error{constructor(r,c){let d=`Unexpected type: '${r.type}'.`;c!==void 0&&(d+=` Message: ${c}`),super(d),Object.setPrototypeOf(this,p.prototype)}}function l(e){return r=>r.startsWith(e)?{type:e,text:e}:null}function u(e){let r=0,c;const d=e[0];let T=!1;if(d!=="'"&&d!=='"')return null;for(;r{const r=v(e);return r==null?null:{type:"Identifier",text:r}};function x(e){return r=>{if(!r.startsWith(e))return null;const c=r[e.length];return c!==void 0&&h.test(c)?null:{type:e,text:e}}}const U=e=>{const r=u(e);return r==null?null:{type:"StringValue",text:r}},R=e=>e.length>0?null:{type:"EOF",text:""},A=e=>{const r=b(e);return r===null?null:{type:"Number",text:r}},j=[R,l("=>"),l("("),l(")"),l("{"),l("}"),l("["),l("]"),l("|"),l("&"),l("<"),l(">"),l(","),l(";"),l("*"),l("?"),l("!"),l("="),l(":"),l("..."),l("."),l("#"),l("~"),l("/"),l("@"),x("undefined"),x("null"),x("function"),x("this"),x("new"),x("module"),x("event"),x("external"),x("typeof"),x("keyof"),x("readonly"),x("import"),x("is"),x("in"),x("asserts"),A,P,U],S=/^\s*\n\s*/;class F{static create(r){const c=this.read(r);r=c.text;const d=this.read(r);return r=d.text,new F(r,void 0,c.token,d.token)}constructor(r,c,d,T){this.text="",this.text=r,this.previous=c,this.current=d,this.next=T}static read(r,c=!1){c=c||S.test(r),r=r.trim();for(const d of j){const T=d(r);if(T!==null){const w=Object.assign(Object.assign({},T),{startOfLine:c});return r=r.slice(w.text.length),{text:r,token:w}}}throw new Error("Unexpected Token "+r)}advance(){const r=F.read(this.text);return new F(r.text,this.current,this.next,r.token)}}function J(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new p(e);return e}function V(e){return e.type==="JsdocTypeKeyValue"?O(e):J(e)}function k(e){return e.type==="JsdocTypeName"?e:O(e)}function O(e){if(e.type!=="JsdocTypeKeyValue")throw new p(e);return e}function K(e){var r;if(e.type==="JsdocTypeVariadic"){if(((r=e.element)===null||r===void 0?void 0:r.type)==="JsdocTypeName")return e;throw new p(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new p(e);return e}function $(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var g;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(g||(g={}));class N{constructor(r,c,d){this.grammar=r,typeof c=="string"?this._lexer=F.create(c):this._lexer=c,this.baseParser=d}get lexer(){return this._lexer}parse(){const r=this.parseType(g.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return r}parseType(r){return J(this.parseIntermediateType(r))}parseIntermediateType(r){const c=this.tryParslets(null,r);if(c===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(c,r)}parseInfixIntermediateType(r,c){let d=this.tryParslets(r,c);for(;d!==null;)r=d,d=this.tryParslets(r,c);return r}tryParslets(r,c){for(const d of this.grammar){const T=d(this,c,r);if(T!==null)return T}return null}consume(r){return Array.isArray(r)||(r=[r]),r.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(r){this._lexer=r.lexer}}function Y(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const B=(e,r,c)=>{const d=e.lexer.current.type,T=e.lexer.next.type;return c==null&&d==="?"&&!Y(T)||c!=null&&d==="?"?(e.consume("?"),c==null?{type:"JsdocTypeNullable",element:e.parseType(g.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:J(c),meta:{position:"suffix"}}):null};function I(e){const r=(c,d,T)=>{const w=c.lexer.current.type,E=c.lexer.next.type;if(T===null){if("parsePrefix"in e&&e.accept(w,E))return e.parsePrefix(c)}else if("parseInfix"in e&&e.precedence>d&&e.accept(w,E))return e.parseInfix(c,T);return null};return Object.defineProperty(r,"name",{value:e.name}),r}const z=I({name:"optionalParslet",accept:e=>e==="=",precedence:g.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(g.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,r)=>(e.consume("="),{type:"JsdocTypeOptional",element:J(r),meta:{position:"suffix"}})}),se=I({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const r=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:r}}}),sn=I({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const r=e.parseIntermediateType(g.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return r.type==="JsdocTypeParameterList"?r:r.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[r]}:{type:"JsdocTypeParenthesis",element:J(r)}}}),cn=I({name:"specialTypesParslet",accept:(e,r)=>e==="?"&&Y(r)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),pn=I({name:"notNullableParslet",accept:e=>e==="!",precedence:g.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(g.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,r)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:J(r),meta:{position:"suffix"}})});function ln({allowTrailingComma:e}){return I({name:"parameterListParslet",accept:r=>r===",",precedence:g.PARAMETER_LIST,parseInfix:(r,c)=>{const d=[V(c)];r.consume(",");do try{const T=r.parseIntermediateType(g.PARAMETER_LIST);d.push(V(T))}catch(T){if(e&&T instanceof s)break;throw T}while(r.consume(","));if(d.length>0&&d.slice(0,-1).some(T=>T.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:d}}})}const un=I({name:"genericParslet",accept:(e,r)=>e==="<"||e==="."&&r==="<",precedence:g.GENERIC,parseInfix:(e,r)=>{const c=e.consume(".");e.consume("<");const d=[];do d.push(e.parseType(g.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:J(r),elements:d,meta:{brackets:"angle",dot:c}}}}),yn=I({name:"unionParslet",accept:e=>e==="|",precedence:g.UNION,parseInfix:(e,r)=>{e.consume("|");const c=[];do c.push(e.parseType(g.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[J(r),...c]}}}),_e=[B,z,se,sn,cn,pn,ln({allowTrailingComma:!0}),un,yn,z];function de({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:r,pathGrammar:c}){return function(T,w,E){if(E==null||w>=g.NAME_PATH)return null;const L=T.lexer.current.type,q=T.lexer.next.type;if(!(L==="."&&q!=="<"||L==="["&&(e||E.type==="JsdocTypeName")||r&&(L==="~"||L==="#")))return null;let G,Te=!1;T.consume(".")?G="property":T.consume("[")?(G="property-brackets",Te=!0):T.consume("~")?G="inner":(T.consume("#"),G="instance");const st=c!==null?new N(c,T.lexer,T):T,W=st.parseIntermediateType(g.NAME_PATH);T.acceptLexerState(st);let le;switch(W.type){case"JsdocTypeName":le={type:"JsdocTypeProperty",value:W.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":le={type:"JsdocTypeProperty",value:W.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":le={type:"JsdocTypeProperty",value:W.value,meta:{quote:W.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(W.specialType==="event")le=W;else throw new p(W,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new p(W,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Te&&!T.consume("]")){const it=T.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${it.type}' with text '${it.text}'`)}return{type:"JsdocTypeNamePath",left:J(E),right:le,pathType:G}}}function X({allowedAdditionalTokens:e}){return I({name:"nameParslet",accept:r=>r==="Identifier"||r==="this"||r==="new"||e.includes(r),parsePrefix:r=>{const{type:c,text:d}=r.lexer.current;return r.consume(c),{type:"JsdocTypeName",value:d}}})}const ce=I({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const r=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:r.slice(1,-1),meta:{quote:r[0]==="'"?"single":"double"}}}});function fe({pathGrammar:e,allowedTypes:r}){return I({name:"specialNamePathParslet",accept:c=>r.includes(c),parsePrefix:c=>{const d=c.lexer.current.type;if(c.consume(d),!c.consume(":"))return{type:"JsdocTypeName",value:d};let T,w=c.lexer.current;if(c.consume("StringValue"))T={type:"JsdocTypeSpecialNamePath",value:w.text.slice(1,-1),specialType:d,meta:{quote:w.text[0]==="'"?"single":"double"}};else{let q="";const C=["Identifier","@","/"];for(;C.some(G=>c.consume(G));)q+=w.text,w=c.lexer.current;T={type:"JsdocTypeSpecialNamePath",value:q,specialType:d,meta:{quote:void 0}}}const E=new N(e,c.lexer,c),L=E.parseInfixIntermediateType(T,g.ALL);return c.acceptLexerState(E),J(L)}})}const Xe=[X({allowedAdditionalTokens:["external","module"]}),ce,se,de({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ie=[...Xe,fe({allowedTypes:["event"],pathGrammar:Xe})];function Pe(e){let r;if(e.type==="JsdocTypeParameterList")r=e.elements;else if(e.type==="JsdocTypeParenthesis")r=[e.element];else throw new p(e);return r.map(c=>V(c))}function dn(e){const r=Pe(e);if(r.some(c=>c.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return r}function Ee({allowNamedParameters:e,allowNoReturnType:r,allowWithoutParenthesis:c,allowNewAsFunctionKeyword:d}){return I({name:"functionParslet",accept:(T,w)=>T==="function"||d&&T==="new"&&w==="(",parsePrefix:T=>{const w=T.consume("new");T.consume("function");const E=T.lexer.current.type==="(";if(!E){if(!c)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let L={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:w,parenthesis:E};const q=T.parseIntermediateType(g.FUNCTION);if(e===void 0)L.parameters=dn(q);else{if(w&&q.type==="JsdocTypeFunction"&&q.arrow)return L=q,L.constructor=!0,L;L.parameters=Pe(q);for(const C of L.parameters)if(C.type==="JsdocTypeKeyValue"&&!e.includes(C.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${C.type}`)}if(T.consume(":"))L.returnType=T.parseType(g.PREFIX);else if(!r)throw new Error("function is missing return type");return L}})}function Ne({allowPostfix:e,allowEnclosingBrackets:r}){return I({name:"variadicParslet",accept:c=>c==="...",precedence:g.PREFIX,parsePrefix:c=>{c.consume("...");const d=r&&c.consume("[");try{const T=c.parseType(g.PREFIX);if(d&&!c.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:J(T),meta:{position:"prefix",squareBrackets:d}}}catch(T){if(T instanceof s){if(d)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw T}},parseInfix:e?(c,d)=>(c.consume("..."),{type:"JsdocTypeVariadic",element:J(d),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const Qe=I({name:"symbolParslet",accept:e=>e==="(",precedence:g.SYMBOL,parseInfix:(e,r)=>{if(r.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const c={type:"JsdocTypeSymbol",value:r.value};if(!e.consume(")")){const d=e.parseIntermediateType(g.SYMBOL);if(c.element=K(d),!e.consume(")"))throw new Error("Symbol does not end after value")}return c}}),Ze=I({name:"arrayBracketsParslet",precedence:g.ARRAY_BRACKETS,accept:(e,r)=>e==="["&&r==="]",parseInfix:(e,r)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[J(r)],meta:{brackets:"square",dot:!1}})});function Oe({objectFieldGrammar:e,allowKeyTypes:r}){return I({name:"objectParslet",accept:c=>c==="{",parsePrefix:c=>{c.consume("{");const d={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!c.consume("}")){let T;const w=new N(e,c.lexer,c);for(;;){w.acceptLexerState(c);let E=w.parseIntermediateType(g.OBJECT);c.acceptLexerState(w),E===void 0&&r&&(E=c.parseIntermediateType(g.OBJECT));let L=!1;if(E.type==="JsdocTypeNullable"&&(L=!0,E=E.element),E.type==="JsdocTypeNumber"||E.type==="JsdocTypeName"||E.type==="JsdocTypeStringValue"){let C;E.type==="JsdocTypeStringValue"&&(C=E.meta.quote),d.elements.push({type:"JsdocTypeObjectField",key:E.value.toString(),right:void 0,optional:L,readonly:!1,meta:{quote:C}})}else if(E.type==="JsdocTypeObjectField"||E.type==="JsdocTypeJsdocObjectField")d.elements.push(E);else throw new p(E);if(c.lexer.current.startOfLine)T="linebreak";else if(c.consume(","))T="comma";else if(c.consume(";"))T="semicolon";else break;if(c.lexer.current.type==="}")break}if(d.meta.separator=T??"comma",!c.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return d}})}function Se({allowSquaredProperties:e,allowKeyTypes:r,allowReadonly:c,allowOptional:d}){return I({name:"objectFieldParslet",precedence:g.KEY_VALUE,accept:T=>T===":",parseInfix:(T,w)=>{var E;let L=!1,q=!1;d&&w.type==="JsdocTypeNullable"&&(L=!0,w=w.element),c&&w.type==="JsdocTypeReadonlyProperty"&&(q=!0,w=w.element);const C=(E=T.baseParser)!==null&&E!==void 0?E:T;if(C.acceptLexerState(T),w.type==="JsdocTypeNumber"||w.type==="JsdocTypeName"||w.type==="JsdocTypeStringValue"||$(w)){if($(w)&&!e)throw new p(w);C.consume(":");let G;w.type==="JsdocTypeStringValue"&&(G=w.meta.quote);const Te=C.parseType(g.KEY_VALUE);return T.acceptLexerState(C),{type:"JsdocTypeObjectField",key:$(w)?w:w.value.toString(),right:Te,optional:L,readonly:q,meta:{quote:G}}}else{if(!r)throw new p(w);C.consume(":");const G=C.parseType(g.KEY_VALUE);return T.acceptLexerState(C),{type:"JsdocTypeJsdocObjectField",left:J(w),right:G}}}})}function je({allowOptional:e,allowVariadic:r}){return I({name:"keyValueParslet",precedence:g.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{let T=!1,w=!1;if(e&&d.type==="JsdocTypeNullable"&&(T=!0,d=d.element),r&&d.type==="JsdocTypeVariadic"&&d.element!==void 0&&(w=!0,d=d.element),d.type!=="JsdocTypeName")throw new p(d);c.consume(":");const E=c.parseType(g.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:d.value,right:E,optional:T,variadic:w}}})}const et=[..._e,Ee({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ce,fe({allowedTypes:["module","external","event"],pathGrammar:ie}),Ne({allowEnclosingBrackets:!0,allowPostfix:!0}),X({allowedAdditionalTokens:["keyof"]}),Qe,Ze,de({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ie})],fn=[...et,Oe({objectFieldGrammar:[X({allowedAdditionalTokens:["module","in"]}),Se({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...et],allowKeyTypes:!0}),je({allowOptional:!0,allowVariadic:!0})],tt=I({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:J(e.parseType(g.KEY_OF_TYPE_OF))})}),mn=[X({allowedAdditionalTokens:["module","keyof","event","external","in"]}),B,z,ce,se,Se({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Tn=[..._e,Oe({allowKeyTypes:!1,objectFieldGrammar:mn}),X({allowedAdditionalTokens:["event","external","in"]}),tt,Ee({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),X({allowedAdditionalTokens:["keyof"]}),fe({allowedTypes:["module"],pathGrammar:ie}),de({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ie}),je({allowOptional:!1,allowVariadic:!1}),Qe],hn=I({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const r=e.parseIntermediateType(g.SYMBOL);if(r.type!=="JsdocTypeName")throw new p(r,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:r,right:J(e.parseIntermediateType(g.INFIX))}}});function vn({allowQuestionMark:e}){return I({name:"tupleParslet",accept:r=>r==="[",parsePrefix:r=>{r.consume("[");const c={type:"JsdocTypeTuple",elements:[]};if(r.consume("]"))return c;const d=r.parseIntermediateType(g.ALL);if(d.type==="JsdocTypeParameterList"?d.elements[0].type==="JsdocTypeKeyValue"?c.elements=d.elements.map(O):c.elements=d.elements.map(J):d.type==="JsdocTypeKeyValue"?c.elements=[O(d)]:c.elements=[J(d)],!r.consume("]"))throw new Error("Unterminated '['");if(!e&&c.elements.some(T=>T.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return c}})}const gn=I({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:J(e.parseType(g.KEY_OF_TYPE_OF))})}),bn=I({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const r=e.parseType(g.PREFIX);if(r.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:r}}}),Jn=I({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(g.KEY_VALUE)})}),wn=I({name:"arrowFunctionParslet",precedence:g.ARROW,accept:e=>e==="=>",parseInfix:(e,r)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:Pe(r).map(k),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(g.OBJECT)})}),xn=I({name:"intersectionParslet",accept:e=>e==="&",precedence:g.INTERSECTION,parseInfix:(e,r)=>{e.consume("&");const c=[];do c.push(e.parseType(g.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[J(r),...c]}}}),_n=I({name:"predicateParslet",precedence:g.INFIX,accept:e=>e==="is",parseInfix:(e,r)=>{if(r.type!=="JsdocTypeName")throw new p(r,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:r,right:J(e.parseIntermediateType(g.INFIX))}}}),Pn=I({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const r=e.lexer.current.text;e.consume("Identifier");let c;if(e.consume(":")){const d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeIndexSignature",key:r,right:d.parseType(g.INDEX_BRACKETS)},e.acceptLexerState(d)}else if(e.consume("in")){const d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeMappedType",key:r,right:d.parseType(g.ARRAY_BRACKETS)},e.acceptLexerState(d)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return c}}),En=[Jn,X({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),B,z,ce,se,Se({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Pn],Nn=[..._e,Oe({allowKeyTypes:!1,objectFieldGrammar:En}),tt,gn,bn,ce,Ee({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),vn({allowQuestionMark:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),hn,X({allowedAdditionalTokens:["event","external","in"]}),fe({allowedTypes:["module"],pathGrammar:ie}),Ze,wn,de({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ie}),xn,_n,je({allowVariadic:!0,allowOptional:!0})];function nt(e,r){switch(r){case"closure":return new N(Tn,e).parse();case"jsdoc":return new N(fn,e).parse();case"typescript":return new N(Nn,e).parse()}}function On(e,r=["typescript","closure","jsdoc"]){let c;for(const d of r)try{return nt(e,d)}catch(T){c=T}throw c}function pe(e,r){const c=e[r.type];if(c===void 0)throw new Error(`In this set of transform rules exists no rule for type ${r.type}.`);return c(r,d=>pe(e,d))}function M(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function rt(e){const r={params:[]};for(const c of e.parameters)c.type==="JsdocTypeKeyValue"?c.key==="this"?r.this=c.right:c.key==="new"?r.new=c.right:r.params.push(c):r.params.push(c);return r}function me(e,r,c){return e==="prefix"?c+r:r+c}function Q(e,r){switch(r){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function ot(){return{JsdocTypeParenthesis:(e,r)=>`(${e.element!==void 0?r(e.element):""})`,JsdocTypeKeyof:(e,r)=>`keyof ${r(e.element)}`,JsdocTypeFunction:(e,r)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let c=`(${e.parameters.map(r).join(", ")}) => ${r(e.returnType)}`;return e.constructor&&(c="new "+c),c}else{let c=e.constructor?"new":"function";return e.parenthesis&&(c+=`(${e.parameters.map(r).join(", ")})`,e.returnType!==void 0&&(c+=`: ${r(e.returnType)}`)),c}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,r)=>`[${e.elements.map(r).join(", ")}]`,JsdocTypeVariadic:(e,r)=>e.meta.position===void 0?"...":me(e.meta.position,r(e.element),"..."),JsdocTypeNamePath:(e,r)=>{const c=r(e.left),d=r(e.right);switch(e.pathType){case"inner":return`${c}~${d}`;case"instance":return`${c}#${d}`;case"property":return`${c}.${d}`;case"property-brackets":return`${c}[${d}]`}},JsdocTypeStringValue:e=>Q(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,r)=>{if(e.meta.brackets==="square"){const c=e.elements[0],d=r(c);return c.type==="JsdocTypeUnion"||c.type==="JsdocTypeIntersection"?`(${d})[]`:`${d}[]`}else return`${r(e.left)}${e.meta.dot?".":""}<${e.elements.map(r).join(", ")}>`},JsdocTypeImport:(e,r)=>`import(${r(e.element)})`,JsdocTypeObjectField:(e,r)=>{let c="";return e.readonly&&(c+="readonly "),typeof e.key=="string"?c+=Q(e.key,e.meta.quote):c+=r(e.key),e.optional&&(c+="?"),e.right===void 0?c:c+`: ${r(e.right)}`},JsdocTypeJsdocObjectField:(e,r)=>`${r(e.left)}: ${r(e.right)}`,JsdocTypeKeyValue:(e,r)=>{let c=e.key;return e.optional&&(c+="?"),e.variadic&&(c="..."+c),e.right===void 0?c:c+`: ${r(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${Q(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,r)=>me(e.meta.position,r(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,r)=>me(e.meta.position,r(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,r)=>`{${e.elements.map(r).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,r)=>me(e.meta.position,r(e.element),"="),JsdocTypeSymbol:(e,r)=>`${e.value}(${e.element!==void 0?r(e.element):""})`,JsdocTypeTypeof:(e,r)=>`typeof ${r(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,r)=>e.elements.map(r).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,r)=>e.elements.map(r).join(" & "),JsdocTypeProperty:e=>Q(e.value,e.meta.quote),JsdocTypePredicate:(e,r)=>`${r(e.left)} is ${r(e.right)}`,JsdocTypeIndexSignature:(e,r)=>`[${e.key}: ${r(e.right)}]`,JsdocTypeMappedType:(e,r)=>`[${e.key} in ${r(e.right)}]`,JsdocTypeAsserts:(e,r)=>`asserts ${r(e.left)} is ${r(e.right)}`}}const Sn=ot();function jn(e){return pe(Sn,e)}const kn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Z(e){const r={type:"NameExpression",name:e};return kn.includes(e)&&(r.reservedWord=!0),r}const An={JsdocTypeOptional:(e,r)=>{const c=r(e.element);return c.optional=!0,c},JsdocTypeNullable:(e,r)=>{const c=r(e.element);return c.nullable=!0,c},JsdocTypeNotNullable:(e,r)=>{const c=r(e.element);return c.nullable=!1,c},JsdocTypeVariadic:(e,r)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const c=r(e.element);return c.repeatable=!0,c},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>Z(Q(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,r)=>{const c=rt(e),d={type:"FunctionType",params:c.params.map(r)};return c.this!==void 0&&(d.this=r(c.this)),c.new!==void 0&&(d.new=r(c.new)),e.returnType!==void 0&&(d.result=r(e.returnType)),d},JsdocTypeGeneric:(e,r)=>({type:"TypeApplication",applications:e.elements.map(c=>r(c)),expression:r(e.left)}),JsdocTypeSpecialNamePath:e=>Z(e.specialType+":"+Q(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?Z(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>Z(e.value.toString()),JsdocTypeObject:(e,r)=>{const c={type:"RecordType",fields:[]};for(const d of e.elements)d.type!=="JsdocTypeObjectField"&&d.type!=="JsdocTypeJsdocObjectField"?c.fields.push({type:"FieldType",key:r(d),value:void 0}):c.fields.push(r(d));return c},JsdocTypeObjectField:(e,r)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Z(Q(e.key,e.meta.quote)),value:e.right===void 0?void 0:r(e.right)}},JsdocTypeJsdocObjectField:(e,r)=>({type:"FieldType",key:r(e.left),value:r(e.right)}),JsdocTypeUnion:(e,r)=>({type:"TypeUnion",elements:e.elements.map(c=>r(c))}),JsdocTypeKeyValue:(e,r)=>({type:"FieldType",key:Z(e.key),value:e.right===void 0?void 0:r(e.right)}),JsdocTypeNamePath:(e,r)=>{const c=r(e.left);let d;e.right.type==="JsdocTypeSpecialNamePath"?d=r(e.right).name:d=Q(e.right.value,e.right.meta.quote);const T=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return Z(`${c.name}${T}${d}`)},JsdocTypeSymbol:e=>{let r="",c=e.element,d=!1;return(c==null?void 0:c.type)==="JsdocTypeVariadic"&&(c.meta.position==="prefix"?r="...":d=!0,c=c.element),(c==null?void 0:c.type)==="JsdocTypeName"?r+=c.value:(c==null?void 0:c.type)==="JsdocTypeNumber"&&(r+=c.value.toString()),d&&(r+="..."),Z(`${e.value}(${r})`)},JsdocTypeParenthesis:(e,r)=>r(J(e.element)),JsdocTypeMappedType:M,JsdocTypeIndexSignature:M,JsdocTypeImport:M,JsdocTypeKeyof:M,JsdocTypeTuple:M,JsdocTypeTypeof:M,JsdocTypeIntersection:M,JsdocTypeProperty:M,JsdocTypePredicate:M,JsdocTypeAsserts:M};function In(e){return pe(An,e)}function re(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Rn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function ke(e,r){return r.length===2?{type:e,left:r[0],right:r[1]}:{type:e,left:r[0],right:ke(e,r.slice(1))}}const Ln={JsdocTypeOptional:(e,r)=>({type:"OPTIONAL",value:r(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,r)=>({type:"NULLABLE",value:r(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,r)=>({type:"NOT_NULLABLE",value:r(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,r)=>{const c={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(c.value=r(e.element)),c},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,r)=>({type:"TYPE_QUERY",name:r(e.element)}),JsdocTypeTuple:(e,r)=>({type:"TUPLE",entries:e.elements.map(r)}),JsdocTypeKeyof:(e,r)=>({type:"KEY_QUERY",value:r(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:re(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,r)=>{const c=rt(e),d={type:e.arrow?"ARROW":"FUNCTION",params:c.params.map(T=>{if(T.type==="JsdocTypeKeyValue"){if(T.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:T.key,typeName:r(T.right)}}else return r(T)}),new:null,returns:null};return c.this!==void 0?d.this=r(c.this):e.arrow||(d.this=null),c.new!==void 0&&(d.new=r(c.new)),e.returnType!==void 0&&(d.returns=r(e.returnType)),d},JsdocTypeGeneric:(e,r)=>{const c={type:"GENERIC",subject:r(e.left),objects:e.elements.map(r),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(c.objects[0]={type:"NAME",name:"function"}),c},JsdocTypeObjectField:(e,r)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:re(e.meta.quote),value:null,readonly:!1};let c=r(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:re(e.meta.quote),value:c,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,r)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let c=r(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:c,readonly:!1}},JsdocTypeObject:(e,r)=>{const c=[];for(const d of e.elements)(d.type==="JsdocTypeObjectField"||d.type==="JsdocTypeJsdocObjectField")&&c.push(r(d));return{type:"RECORD",entries:c}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:re(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,r)=>{let c=!1,d,T;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(c=!0,d=e.right.value,T=re(e.right.meta.quote)):(d=e.right.value,T=re(e.right.meta.quote));const w={type:Rn(e.pathType),owner:r(e.left),name:d,quoteStyle:T,hasEventPrefix:c};if(w.owner.type==="MODULE"){const E=w.owner;return w.owner=w.owner.value,E.value=w,E}else return w},JsdocTypeUnion:(e,r)=>ke("UNION",e.elements.map(r)),JsdocTypeParenthesis:(e,r)=>({type:"PARENTHESIS",value:r(J(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:re(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,r)=>ke("INTERSECTION",e.elements.map(r)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:M,JsdocTypeProperty:M,JsdocTypePredicate:M,JsdocTypeMappedType:M,JsdocTypeIndexSignature:M,JsdocTypeAsserts:M};function Fn(e){return pe(Ln,e)}function Un(){return{JsdocTypeIntersection:(e,r)=>({type:"JsdocTypeIntersection",elements:e.elements.map(r)}),JsdocTypeGeneric:(e,r)=>({type:"JsdocTypeGeneric",left:r(e.left),elements:e.elements.map(r),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,r)=>({type:"JsdocTypeUnion",elements:e.elements.map(r)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,r)=>({type:"JsdocTypeTypeof",element:r(e.element)}),JsdocTypeSymbol:(e,r)=>{const c={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(c.element=r(e.element)),c},JsdocTypeOptional:(e,r)=>({type:"JsdocTypeOptional",element:r(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,r)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(r)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,r)=>({type:"JsdocTypeNotNullable",element:r(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,r)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:r(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,r)=>({type:"JsdocTypeJsdocObjectField",left:r(e.left),right:r(e.right)}),JsdocTypeKeyValue:(e,r)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:r(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,r)=>({type:"JsdocTypeImport",element:r(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,r)=>{const c={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(c.element=r(e.element)),c},JsdocTypeTuple:(e,r)=>({type:"JsdocTypeTuple",elements:e.elements.map(r)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,r)=>{const c={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(r),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(c.returnType=r(e.returnType)),c},JsdocTypeKeyof:(e,r)=>({type:"JsdocTypeKeyof",element:r(e.element)}),JsdocTypeParenthesis:(e,r)=>({type:"JsdocTypeParenthesis",element:r(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,r)=>({type:"JsdocTypePredicate",left:r(e.left),right:r(e.right)}),JsdocTypeIndexSignature:(e,r)=>({type:"JsdocTypeIndexSignature",key:e.key,right:r(e.right)}),JsdocTypeMappedType:(e,r)=>({type:"JsdocTypeMappedType",key:e.key,right:r(e.right)}),JsdocTypeAsserts:(e,r)=>({type:"JsdocTypeAsserts",left:r(e.left),right:r(e.right)})}}const at={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Ae(e,r,c,d,T){d==null||d(e,r,c);const w=at[e.type];for(const E of w){const L=e[E];if(L!==void 0)if(Array.isArray(L))for(const q of L)Ae(q,e,E,d,T);else Ae(L,e,E,d,T)}T==null||T(e,r,c)}function Vn(e,r,c){Ae(e,void 0,void 0,r,c)}n.catharsisTransform=In,n.identityTransformRules=Un,n.jtpTransform=Fn,n.parse=nt,n.stringify=jn,n.stringifyRules=ot,n.transform=pe,n.traverse=Vn,n.tryParse=On,n.visitorKeys=at})})(Ie,Ie.exports);var Re=Ie.exports,$n=Object.create,Le=Object.defineProperty,Kn=Object.getOwnPropertyDescriptor,Cn=Object.getOwnPropertyNames,Mn=Object.getPrototypeOf,qn=Object.prototype.hasOwnProperty,y=(o,t)=>Le(o,"name",{value:t,configurable:!0}),m=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports),Bn=(o,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Cn(t))!qn.call(o,s)&&s!==n&&Le(o,s,{get:()=>t[s],enumerable:!(a=Kn(t,s))||a.enumerable});return o},Yn=(o,t,n)=>(n=o!=null?$n(Mn(o)):{},Bn(Le(n,"default",{value:o,enumerable:!0}),o)),ct=m((o,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),H=m((o,t)=>{var n=ct(),a=typeof self=="object"&&self&&self.Object===Object&&self,s=n||a||Function("return this")();t.exports=s}),he=m((o,t)=>{var n=H(),a=n.Symbol;t.exports=a}),Gn=m((o,t)=>{var n=he(),a=Object.prototype,s=a.hasOwnProperty,i=a.toString,p=n?n.toStringTag:void 0;function l(u){var f=s.call(u,p),h=u[p];try{u[p]=void 0;var v=!0}catch{}var _=i.call(u);return v&&(f?u[p]=h:delete u[p]),_}y(l,"getRawTag"),t.exports=l}),zn=m((o,t)=>{var n=Object.prototype,a=n.toString;function s(i){return a.call(i)}y(s,"objectToString"),t.exports=s}),ue=m((o,t)=>{var n=he(),a=Gn(),s=zn(),i="[object Null]",p="[object Undefined]",l=n?n.toStringTag:void 0;function u(f){return f==null?f===void 0?p:i:l&&l in Object(f)?a(f):s(f)}y(u,"baseGetTag"),t.exports=u}),Fe=m((o,t)=>{function n(a){var s=typeof a;return a!=null&&(s=="object"||s=="function")}y(n,"isObject"),t.exports=n}),pt=m((o,t)=>{var n=ue(),a=Fe(),s="[object AsyncFunction]",i="[object Function]",p="[object GeneratorFunction]",l="[object Proxy]";function u(f){if(!a(f))return!1;var h=n(f);return h==i||h==p||h==s||h==l}y(u,"isFunction"),t.exports=u}),Wn=m((o,t)=>{var n=H(),a=n["__core-js_shared__"];t.exports=a}),Hn=m((o,t)=>{var n=Wn(),a=function(){var i=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function s(i){return!!a&&a in i}y(s,"isMasked"),t.exports=s}),lt=m((o,t)=>{var n=Function.prototype,a=n.toString;function s(i){if(i!=null){try{return a.call(i)}catch{}try{return i+""}catch{}}return""}y(s,"toSource"),t.exports=s}),Xn=m((o,t)=>{var n=pt(),a=Hn(),s=Fe(),i=lt(),p=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,h=u.toString,v=f.hasOwnProperty,_=RegExp("^"+h.call(v).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(P){if(!s(P)||a(P))return!1;var x=n(P)?_:l;return x.test(i(P))}y(b,"baseIsNative"),t.exports=b}),Qn=m((o,t)=>{function n(a,s){return a==null?void 0:a[s]}y(n,"getValue"),t.exports=n}),ae=m((o,t)=>{var n=Xn(),a=Qn();function s(i,p){var l=a(i,p);return n(l)?l:void 0}y(s,"getNative"),t.exports=s}),Zn=m((o,t)=>{var n=ae(),a=function(){try{var s=n(Object,"defineProperty");return s({},"",{}),s}catch{}}();t.exports=a}),er=m((o,t)=>{var n=Zn();function a(s,i,p){i=="__proto__"&&n?n(s,i,{configurable:!0,enumerable:!0,value:p,writable:!0}):s[i]=p}y(a,"baseAssignValue"),t.exports=a}),tr=m((o,t)=>{function n(a){return function(s,i,p){for(var l=-1,u=Object(s),f=p(s),h=f.length;h--;){var v=f[a?h:++l];if(i(u[v],v,u)===!1)break}return s}}y(n,"createBaseFor"),t.exports=n}),nr=m((o,t)=>{var n=tr(),a=n();t.exports=a}),rr=m((o,t)=>{function n(a,s){for(var i=-1,p=Array(a);++i{function n(a){return a!=null&&typeof a=="object"}y(n,"isObjectLike"),t.exports=n}),or=m((o,t)=>{var n=ue(),a=ye(),s="[object Arguments]";function i(p){return a(p)&&n(p)==s}y(i,"baseIsArguments"),t.exports=i}),ut=m((o,t)=>{var n=or(),a=ye(),s=Object.prototype,i=s.hasOwnProperty,p=s.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(u){return a(u)&&i.call(u,"callee")&&!p.call(u,"callee")};t.exports=l}),te=m((o,t)=>{var n=Array.isArray;t.exports=n}),ar=m((o,t)=>{function n(){return!1}y(n,"stubFalse"),t.exports=n}),yt=m((o,t)=>{var n=H(),a=ar(),s=typeof o=="object"&&o&&!o.nodeType&&o,i=s&&typeof t=="object"&&t&&!t.nodeType&&t,p=i&&i.exports===s,l=p?n.Buffer:void 0,u=l?l.isBuffer:void 0,f=u||a;t.exports=f}),dt=m((o,t)=>{var n=9007199254740991,a=/^(?:0|[1-9]\d*)$/;function s(i,p){var l=typeof i;return p=p??n,!!p&&(l=="number"||l!="symbol"&&a.test(i))&&i>-1&&i%1==0&&i{var n=9007199254740991;function a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=n}y(a,"isLength"),t.exports=a}),sr=m((o,t)=>{var n=ue(),a=Ue(),s=ye(),i="[object Arguments]",p="[object Array]",l="[object Boolean]",u="[object Date]",f="[object Error]",h="[object Function]",v="[object Map]",_="[object Number]",b="[object Object]",P="[object RegExp]",x="[object Set]",U="[object String]",R="[object WeakMap]",A="[object ArrayBuffer]",j="[object DataView]",S="[object Float32Array]",F="[object Float64Array]",J="[object Int8Array]",V="[object Int16Array]",k="[object Int32Array]",O="[object Uint8Array]",K="[object Uint8ClampedArray]",$="[object Uint16Array]",g="[object Uint32Array]",N={};N[S]=N[F]=N[J]=N[V]=N[k]=N[O]=N[K]=N[$]=N[g]=!0,N[i]=N[p]=N[A]=N[l]=N[j]=N[u]=N[f]=N[h]=N[v]=N[_]=N[b]=N[P]=N[x]=N[U]=N[R]=!1;function Y(B){return s(B)&&a(B.length)&&!!N[n(B)]}y(Y,"baseIsTypedArray"),t.exports=Y}),ir=m((o,t)=>{function n(a){return function(s){return a(s)}}y(n,"baseUnary"),t.exports=n}),cr=m((o,t)=>{var n=ct(),a=typeof o=="object"&&o&&!o.nodeType&&o,s=a&&typeof t=="object"&&t&&!t.nodeType&&t,i=s&&s.exports===a,p=i&&n.process,l=function(){try{var u=s&&s.require&&s.require("util").types;return u||p&&p.binding&&p.binding("util")}catch{}}();t.exports=l}),ft=m((o,t)=>{var n=sr(),a=ir(),s=cr(),i=s&&s.isTypedArray,p=i?a(i):n;t.exports=p}),pr=m((o,t)=>{var n=rr(),a=ut(),s=te(),i=yt(),p=dt(),l=ft(),u=Object.prototype,f=u.hasOwnProperty;function h(v,_){var b=s(v),P=!b&&a(v),x=!b&&!P&&i(v),U=!b&&!P&&!x&&l(v),R=b||P||x||U,A=R?n(v.length,String):[],j=A.length;for(var S in v)(_||f.call(v,S))&&!(R&&(S=="length"||x&&(S=="offset"||S=="parent")||U&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||p(S,j)))&&A.push(S);return A}y(h,"arrayLikeKeys"),t.exports=h}),lr=m((o,t)=>{var n=Object.prototype;function a(s){var i=s&&s.constructor,p=typeof i=="function"&&i.prototype||n;return s===p}y(a,"isPrototype"),t.exports=a}),ur=m((o,t)=>{function n(a,s){return function(i){return a(s(i))}}y(n,"overArg"),t.exports=n}),yr=m((o,t)=>{var n=ur(),a=n(Object.keys,Object);t.exports=a}),dr=m((o,t)=>{var n=lr(),a=yr(),s=Object.prototype,i=s.hasOwnProperty;function p(l){if(!n(l))return a(l);var u=[];for(var f in Object(l))i.call(l,f)&&f!="constructor"&&u.push(f);return u}y(p,"baseKeys"),t.exports=p}),fr=m((o,t)=>{var n=pt(),a=Ue();function s(i){return i!=null&&a(i.length)&&!n(i)}y(s,"isArrayLike"),t.exports=s}),Ve=m((o,t)=>{var n=pr(),a=dr(),s=fr();function i(p){return s(p)?n(p):a(p)}y(i,"keys"),t.exports=i}),mr=m((o,t)=>{var n=nr(),a=Ve();function s(i,p){return i&&n(i,p,a)}y(s,"baseForOwn"),t.exports=s}),Tr=m((o,t)=>{function n(){this.__data__=[],this.size=0}y(n,"listCacheClear"),t.exports=n}),mt=m((o,t)=>{function n(a,s){return a===s||a!==a&&s!==s}y(n,"eq"),t.exports=n}),ve=m((o,t)=>{var n=mt();function a(s,i){for(var p=s.length;p--;)if(n(s[p][0],i))return p;return-1}y(a,"assocIndexOf"),t.exports=a}),hr=m((o,t)=>{var n=ve(),a=Array.prototype,s=a.splice;function i(p){var l=this.__data__,u=n(l,p);if(u<0)return!1;var f=l.length-1;return u==f?l.pop():s.call(l,u,1),--this.size,!0}y(i,"listCacheDelete"),t.exports=i}),vr=m((o,t)=>{var n=ve();function a(s){var i=this.__data__,p=n(i,s);return p<0?void 0:i[p][1]}y(a,"listCacheGet"),t.exports=a}),gr=m((o,t)=>{var n=ve();function a(s){return n(this.__data__,s)>-1}y(a,"listCacheHas"),t.exports=a}),br=m((o,t)=>{var n=ve();function a(s,i){var p=this.__data__,l=n(p,s);return l<0?(++this.size,p.push([s,i])):p[l][1]=i,this}y(a,"listCacheSet"),t.exports=a}),ge=m((o,t)=>{var n=Tr(),a=hr(),s=vr(),i=gr(),p=br();function l(u){var f=-1,h=u==null?0:u.length;for(this.clear();++f{var n=ge();function a(){this.__data__=new n,this.size=0}y(a,"stackClear"),t.exports=a}),wr=m((o,t)=>{function n(a){var s=this.__data__,i=s.delete(a);return this.size=s.size,i}y(n,"stackDelete"),t.exports=n}),xr=m((o,t)=>{function n(a){return this.__data__.get(a)}y(n,"stackGet"),t.exports=n}),_r=m((o,t)=>{function n(a){return this.__data__.has(a)}y(n,"stackHas"),t.exports=n}),De=m((o,t)=>{var n=ae(),a=H(),s=n(a,"Map");t.exports=s}),be=m((o,t)=>{var n=ae(),a=n(Object,"create");t.exports=a}),Pr=m((o,t)=>{var n=be();function a(){this.__data__=n?n(null):{},this.size=0}y(a,"hashClear"),t.exports=a}),Er=m((o,t)=>{function n(a){var s=this.has(a)&&delete this.__data__[a];return this.size-=s?1:0,s}y(n,"hashDelete"),t.exports=n}),Nr=m((o,t)=>{var n=be(),a="__lodash_hash_undefined__",s=Object.prototype,i=s.hasOwnProperty;function p(l){var u=this.__data__;if(n){var f=u[l];return f===a?void 0:f}return i.call(u,l)?u[l]:void 0}y(p,"hashGet"),t.exports=p}),Or=m((o,t)=>{var n=be(),a=Object.prototype,s=a.hasOwnProperty;function i(p){var l=this.__data__;return n?l[p]!==void 0:s.call(l,p)}y(i,"hashHas"),t.exports=i}),Sr=m((o,t)=>{var n=be(),a="__lodash_hash_undefined__";function s(i,p){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=n&&p===void 0?a:p,this}y(s,"hashSet"),t.exports=s}),jr=m((o,t)=>{var n=Pr(),a=Er(),s=Nr(),i=Or(),p=Sr();function l(u){var f=-1,h=u==null?0:u.length;for(this.clear();++f{var n=jr(),a=ge(),s=De();function i(){this.size=0,this.__data__={hash:new n,map:new(s||a),string:new n}}y(i,"mapCacheClear"),t.exports=i}),Ar=m((o,t)=>{function n(a){var s=typeof a;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?a!=="__proto__":a===null}y(n,"isKeyable"),t.exports=n}),Je=m((o,t)=>{var n=Ar();function a(s,i){var p=s.__data__;return n(i)?p[typeof i=="string"?"string":"hash"]:p.map}y(a,"getMapData"),t.exports=a}),Ir=m((o,t)=>{var n=Je();function a(s){var i=n(this,s).delete(s);return this.size-=i?1:0,i}y(a,"mapCacheDelete"),t.exports=a}),Rr=m((o,t)=>{var n=Je();function a(s){return n(this,s).get(s)}y(a,"mapCacheGet"),t.exports=a}),Lr=m((o,t)=>{var n=Je();function a(s){return n(this,s).has(s)}y(a,"mapCacheHas"),t.exports=a}),Fr=m((o,t)=>{var n=Je();function a(s,i){var p=n(this,s),l=p.size;return p.set(s,i),this.size+=p.size==l?0:1,this}y(a,"mapCacheSet"),t.exports=a}),$e=m((o,t)=>{var n=kr(),a=Ir(),s=Rr(),i=Lr(),p=Fr();function l(u){var f=-1,h=u==null?0:u.length;for(this.clear();++f{var n=ge(),a=De(),s=$e(),i=200;function p(l,u){var f=this.__data__;if(f instanceof n){var h=f.__data__;if(!a||h.length{var n=ge(),a=Jr(),s=wr(),i=xr(),p=_r(),l=Ur();function u(f){var h=this.__data__=new n(f);this.size=h.size}y(u,"Stack"),u.prototype.clear=a,u.prototype.delete=s,u.prototype.get=i,u.prototype.has=p,u.prototype.set=l,t.exports=u}),Vr=m((o,t)=>{var n="__lodash_hash_undefined__";function a(s){return this.__data__.set(s,n),this}y(a,"setCacheAdd"),t.exports=a}),Dr=m((o,t)=>{function n(a){return this.__data__.has(a)}y(n,"setCacheHas"),t.exports=n}),$r=m((o,t)=>{var n=$e(),a=Vr(),s=Dr();function i(p){var l=-1,u=p==null?0:p.length;for(this.__data__=new n;++l{function n(a,s){for(var i=-1,p=a==null?0:a.length;++i{function n(a,s){return a.has(s)}y(n,"cacheHas"),t.exports=n}),ht=m((o,t)=>{var n=$r(),a=Kr(),s=Cr(),i=1,p=2;function l(u,f,h,v,_,b){var P=h&i,x=u.length,U=f.length;if(x!=U&&!(P&&U>x))return!1;var R=b.get(u),A=b.get(f);if(R&&A)return R==f&&A==u;var j=-1,S=!0,F=h&p?new n:void 0;for(b.set(u,f),b.set(f,u);++j{var n=H(),a=n.Uint8Array;t.exports=a}),qr=m((o,t)=>{function n(a){var s=-1,i=Array(a.size);return a.forEach(function(p,l){i[++s]=[l,p]}),i}y(n,"mapToArray"),t.exports=n}),Br=m((o,t)=>{function n(a){var s=-1,i=Array(a.size);return a.forEach(function(p){i[++s]=p}),i}y(n,"setToArray"),t.exports=n}),Yr=m((o,t)=>{var n=he(),a=Mr(),s=mt(),i=ht(),p=qr(),l=Br(),u=1,f=2,h="[object Boolean]",v="[object Date]",_="[object Error]",b="[object Map]",P="[object Number]",x="[object RegExp]",U="[object Set]",R="[object String]",A="[object Symbol]",j="[object ArrayBuffer]",S="[object DataView]",F=n?n.prototype:void 0,J=F?F.valueOf:void 0;function V(k,O,K,$,g,N,Y){switch(K){case S:if(k.byteLength!=O.byteLength||k.byteOffset!=O.byteOffset)return!1;k=k.buffer,O=O.buffer;case j:return!(k.byteLength!=O.byteLength||!N(new a(k),new a(O)));case h:case v:case P:return s(+k,+O);case _:return k.name==O.name&&k.message==O.message;case x:case R:return k==O+"";case b:var B=p;case U:var I=$&u;if(B||(B=l),k.size!=O.size&&!I)return!1;var z=Y.get(k);if(z)return z==O;$|=f,Y.set(k,O);var se=i(B(k),B(O),$,g,N,Y);return Y.delete(k),se;case A:if(J)return J.call(k)==J.call(O)}return!1}y(V,"equalByTag"),t.exports=V}),Gr=m((o,t)=>{function n(a,s){for(var i=-1,p=s.length,l=a.length;++i{var n=Gr(),a=te();function s(i,p,l){var u=p(i);return a(i)?u:n(u,l(i))}y(s,"baseGetAllKeys"),t.exports=s}),Wr=m((o,t)=>{function n(a,s){for(var i=-1,p=a==null?0:a.length,l=0,u=[];++i{function n(){return[]}y(n,"stubArray"),t.exports=n}),Xr=m((o,t)=>{var n=Wr(),a=Hr(),s=Object.prototype,i=s.propertyIsEnumerable,p=Object.getOwnPropertySymbols,l=p?function(u){return u==null?[]:(u=Object(u),n(p(u),function(f){return i.call(u,f)}))}:a;t.exports=l}),Qr=m((o,t)=>{var n=zr(),a=Xr(),s=Ve();function i(p){return n(p,s,a)}y(i,"getAllKeys"),t.exports=i}),Zr=m((o,t)=>{var n=Qr(),a=1,s=Object.prototype,i=s.hasOwnProperty;function p(l,u,f,h,v,_){var b=f&a,P=n(l),x=P.length,U=n(u),R=U.length;if(x!=R&&!b)return!1;for(var A=x;A--;){var j=P[A];if(!(b?j in u:i.call(u,j)))return!1}var S=_.get(l),F=_.get(u);if(S&&F)return S==u&&F==l;var J=!0;_.set(l,u),_.set(u,l);for(var V=b;++A{var n=ae(),a=H(),s=n(a,"DataView");t.exports=s}),to=m((o,t)=>{var n=ae(),a=H(),s=n(a,"Promise");t.exports=s}),no=m((o,t)=>{var n=ae(),a=H(),s=n(a,"Set");t.exports=s}),ro=m((o,t)=>{var n=ae(),a=H(),s=n(a,"WeakMap");t.exports=s}),oo=m((o,t)=>{var n=eo(),a=De(),s=to(),i=no(),p=ro(),l=ue(),u=lt(),f="[object Map]",h="[object Object]",v="[object Promise]",_="[object Set]",b="[object WeakMap]",P="[object DataView]",x=u(n),U=u(a),R=u(s),A=u(i),j=u(p),S=l;(n&&S(new n(new ArrayBuffer(1)))!=P||a&&S(new a)!=f||s&&S(s.resolve())!=v||i&&S(new i)!=_||p&&S(new p)!=b)&&(S=y(function(F){var J=l(F),V=J==h?F.constructor:void 0,k=V?u(V):"";if(k)switch(k){case x:return P;case U:return f;case R:return v;case A:return _;case j:return b}return J},"getTag")),t.exports=S}),ao=m((o,t)=>{var n=Tt(),a=ht(),s=Yr(),i=Zr(),p=oo(),l=te(),u=yt(),f=ft(),h=1,v="[object Arguments]",_="[object Array]",b="[object Object]",P=Object.prototype,x=P.hasOwnProperty;function U(R,A,j,S,F,J){var V=l(R),k=l(A),O=V?_:p(R),K=k?_:p(A);O=O==v?b:O,K=K==v?b:K;var $=O==b,g=K==b,N=O==K;if(N&&u(R)){if(!u(A))return!1;V=!0,$=!1}if(N&&!$)return J||(J=new n),V||f(R)?a(R,A,j,S,F,J):s(R,A,O,j,S,F,J);if(!(j&h)){var Y=$&&x.call(R,"__wrapped__"),B=g&&x.call(A,"__wrapped__");if(Y||B){var I=Y?R.value():R,z=B?A.value():A;return J||(J=new n),F(I,z,j,S,J)}}return N?(J||(J=new n),i(R,A,j,S,F,J)):!1}y(U,"baseIsEqualDeep"),t.exports=U}),vt=m((o,t)=>{var n=ao(),a=ye();function s(i,p,l,u,f){return i===p?!0:i==null||p==null||!a(i)&&!a(p)?i!==i&&p!==p:n(i,p,l,u,s,f)}y(s,"baseIsEqual"),t.exports=s}),so=m((o,t)=>{var n=Tt(),a=vt(),s=1,i=2;function p(l,u,f,h){var v=f.length,_=v,b=!h;if(l==null)return!_;for(l=Object(l);v--;){var P=f[v];if(b&&P[2]?P[1]!==l[P[0]]:!(P[0]in l))return!1}for(;++v<_;){P=f[v];var x=P[0],U=l[x],R=P[1];if(b&&P[2]){if(U===void 0&&!(x in l))return!1}else{var A=new n;if(h)var j=h(U,R,x,l,u,A);if(!(j===void 0?a(R,U,s|i,h,A):j))return!1}}return!0}y(p,"baseIsMatch"),t.exports=p}),gt=m((o,t)=>{var n=Fe();function a(s){return s===s&&!n(s)}y(a,"isStrictComparable"),t.exports=a}),io=m((o,t)=>{var n=gt(),a=Ve();function s(i){for(var p=a(i),l=p.length;l--;){var u=p[l],f=i[u];p[l]=[u,f,n(f)]}return p}y(s,"getMatchData"),t.exports=s}),bt=m((o,t)=>{function n(a,s){return function(i){return i==null?!1:i[a]===s&&(s!==void 0||a in Object(i))}}y(n,"matchesStrictComparable"),t.exports=n}),co=m((o,t)=>{var n=so(),a=io(),s=bt();function i(p){var l=a(p);return l.length==1&&l[0][2]?s(l[0][0],l[0][1]):function(u){return u===p||n(u,p,l)}}y(i,"baseMatches"),t.exports=i}),Ke=m((o,t)=>{var n=ue(),a=ye(),s="[object Symbol]";function i(p){return typeof p=="symbol"||a(p)&&n(p)==s}y(i,"isSymbol"),t.exports=i}),Ce=m((o,t)=>{var n=te(),a=Ke(),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function p(l,u){if(n(l))return!1;var f=typeof l;return f=="number"||f=="symbol"||f=="boolean"||l==null||a(l)?!0:i.test(l)||!s.test(l)||u!=null&&l in Object(u)}y(p,"isKey"),t.exports=p}),po=m((o,t)=>{var n=$e(),a="Expected a function";function s(i,p){if(typeof i!="function"||p!=null&&typeof p!="function")throw new TypeError(a);var l=y(function(){var u=arguments,f=p?p.apply(this,u):u[0],h=l.cache;if(h.has(f))return h.get(f);var v=i.apply(this,u);return l.cache=h.set(f,v)||h,v},"memoized");return l.cache=new(s.Cache||n),l}y(s,"memoize"),s.Cache=n,t.exports=s}),lo=m((o,t)=>{var n=po(),a=500;function s(i){var p=n(i,function(u){return l.size===a&&l.clear(),u}),l=p.cache;return p}y(s,"memoizeCapped"),t.exports=s}),uo=m((o,t)=>{var n=lo(),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,i=n(function(p){var l=[];return p.charCodeAt(0)===46&&l.push(""),p.replace(a,function(u,f,h,v){l.push(h?v.replace(s,"$1"):f||u)}),l});t.exports=i}),yo=m((o,t)=>{function n(a,s){for(var i=-1,p=a==null?0:a.length,l=Array(p);++i{var n=he(),a=yo(),s=te(),i=Ke(),p=1/0,l=n?n.prototype:void 0,u=l?l.toString:void 0;function f(h){if(typeof h=="string")return h;if(s(h))return a(h,f)+"";if(i(h))return u?u.call(h):"";var v=h+"";return v=="0"&&1/h==-p?"-0":v}y(f,"baseToString"),t.exports=f}),mo=m((o,t)=>{var n=fo();function a(s){return s==null?"":n(s)}y(a,"toString"),t.exports=a}),Jt=m((o,t)=>{var n=te(),a=Ce(),s=uo(),i=mo();function p(l,u){return n(l)?l:a(l,u)?[l]:s(i(l))}y(p,"castPath"),t.exports=p}),we=m((o,t)=>{var n=Ke(),a=1/0;function s(i){if(typeof i=="string"||n(i))return i;var p=i+"";return p=="0"&&1/i==-a?"-0":p}y(s,"toKey"),t.exports=s}),wt=m((o,t)=>{var n=Jt(),a=we();function s(i,p){p=n(p,i);for(var l=0,u=p.length;i!=null&&l{var n=wt();function a(s,i,p){var l=s==null?void 0:n(s,i);return l===void 0?p:l}y(a,"get"),t.exports=a}),ho=m((o,t)=>{function n(a,s){return a!=null&&s in Object(a)}y(n,"baseHasIn"),t.exports=n}),vo=m((o,t)=>{var n=Jt(),a=ut(),s=te(),i=dt(),p=Ue(),l=we();function u(f,h,v){h=n(h,f);for(var _=-1,b=h.length,P=!1;++_{var n=ho(),a=vo();function s(i,p){return i!=null&&a(i,p,n)}y(s,"hasIn"),t.exports=s}),bo=m((o,t)=>{var n=vt(),a=To(),s=go(),i=Ce(),p=gt(),l=bt(),u=we(),f=1,h=2;function v(_,b){return i(_)&&p(b)?l(u(_),b):function(P){var x=a(P,_);return x===void 0&&x===b?s(P,_):n(b,x,f|h)}}y(v,"baseMatchesProperty"),t.exports=v}),Jo=m((o,t)=>{function n(a){return a}y(n,"identity"),t.exports=n}),wo=m((o,t)=>{function n(a){return function(s){return s==null?void 0:s[a]}}y(n,"baseProperty"),t.exports=n}),xo=m((o,t)=>{var n=wt();function a(s){return function(i){return n(i,s)}}y(a,"basePropertyDeep"),t.exports=a}),_o=m((o,t)=>{var n=wo(),a=xo(),s=Ce(),i=we();function p(l){return s(l)?n(i(l)):a(l)}y(p,"property"),t.exports=p}),Po=m((o,t)=>{var n=co(),a=bo(),s=Jo(),i=te(),p=_o();function l(u){return typeof u=="function"?u:u==null?s:typeof u=="object"?i(u)?a(u[0],u[1]):n(u):p(u)}y(l,"baseIteratee"),t.exports=l}),Eo=m((o,t)=>{var n=er(),a=mr(),s=Po();function i(p,l){var u={};return l=s(l,3),a(p,function(f,h,v){n(u,h,l(f,h,v))}),u}y(i,"mapValues"),t.exports=i});__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;Yn(Eo());__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var No=["null","undefined"];function xe(o){return No.some(t=>t===o)}y(xe,"isDefaultValueBlacklisted");var Oo=y(o=>{if(!o)return"";if(typeof o=="string")return o;throw new Error(`Description: expected string, got: ${JSON.stringify(o)}`)},"str");function Me(o){return!!o.__docgenInfo}y(Me,"hasDocgen");function So(o){return o!=null&&Object.keys(o).length>0}y(So,"isValidDocgenSection");function jo(o,t){return Me(o)?o.__docgenInfo[t]:null}y(jo,"getDocgenSection");function xt(o){return Me(o)?Oo(o.__docgenInfo.description):""}y(xt,"getDocgenDescription");var ee;(function(o){o.start="/**",o.nostart="/***",o.delim="*",o.end="*/"})(ee=ee||(ee={}));function _t(o){return/^\s+$/.test(o)}y(_t,"isSpace");function Pt(o){let t=o.match(/\r+$/);return t==null?["",o]:[o.slice(-t[0].length),o.slice(0,-t[0].length)]}y(Pt,"splitCR");function oe(o){let t=o.match(/^\s+/);return t==null?["",o]:[o.slice(0,t[0].length),o.slice(t[0].length)]}y(oe,"splitSpace");function Et(o){return o.split(/\n/)}y(Et,"splitLines");function Nt(o={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},o)}y(Nt,"seedSpec");function Ot(o={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},o)}y(Ot,"seedTokens");var ko=/^@\S+/;function St({fence:o="```"}={}){let t=jt(o),n=y((a,s)=>t(a)?!s:s,"toggleFence");return y(function(a){let s=[[]],i=!1;for(let p of a)ko.test(p.tokens.description)&&!i?s.push([p]):s[s.length-1].push(p),i=n(p.tokens.description,i);return s},"parseBlock")}y(St,"getParser");function jt(o){return typeof o=="string"?t=>t.split(o).length%2===0:o}y(jt,"getFencer");function kt({startLine:o=0,markers:t=ee}={}){let n=null,a=o;return y(function(s){let i=s,p=Ot();if([p.lineEnd,i]=Pt(i),[p.start,i]=oe(i),n===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(n=[],p.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[p.postDelimiter,i]=oe(i)),n===null)return a++,null;let l=i.trimRight().endsWith(t.end);if(p.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(p.delimiter=t.delim,i=i.slice(t.delim.length),[p.postDelimiter,i]=oe(i)),l){let u=i.trimRight();p.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(p.description=i,n.push({number:a,source:s,tokens:p}),a++,l){let u=n.slice();return n=null,u}return null},"parseSource")}y(kt,"getParser");function At({tokenizers:o}){return y(function(t){var n;let a=Nt({source:t});for(let s of o)if(a=s(a),!((n=a.problems[a.problems.length-1])===null||n===void 0)&&n.critical)break;return a},"parseSpec")}y(At,"getParser");function It(){return o=>{let{tokens:t}=o.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(o.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:o.source[0].number,critical:!0}),o):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),o.tag=n[2],o)}}y(It,"tagTokenizer");function Rt(o="compact"){let t=Lt(o);return n=>{let a=0,s=[];for(let[l,{tokens:u}]of n.source.entries()){let f="";if(l===0&&u.description[0]!=="{")return n;for(let h of u.description)if(h==="{"&&a++,h==="}"&&a--,f+=h,a===0)break;if(s.push([u,f]),a===0)break}if(a!==0)return n.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:n.source[0].number,critical:!0}),n;let i=[],p=s[0][0].postDelimiter.length;for(let[l,[u,f]]of s.entries())u.type=f,l>0&&(u.type=u.postDelimiter.slice(p)+f,u.postDelimiter=u.postDelimiter.slice(0,p)),[u.postType,u.description]=oe(u.description.slice(f.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),n.type=t(i),n}}y(Rt,"typeTokenizer");var Ao=y(o=>o.trim(),"trim");function Lt(o){return o==="compact"?t=>t.map(Ao).join(""):o==="preserve"?t=>t.join(` +`):o}y(Lt,"getJoiner");var Io=y(o=>o&&o.startsWith('"')&&o.endsWith('"'),"isQuoted");function Ft(){let o=y((t,{tokens:n},a)=>n.type===""?t:a,"typeEnd");return t=>{let{tokens:n}=t.source[t.source.reduce(o,0)],a=n.description.trimLeft(),s=a.split('"');if(s.length>1&&s[0]===""&&s.length%2===1)return t.name=s[1],n.name=`"${s[1]}"`,[n.postName,n.description]=oe(a.slice(n.name.length)),t;let i=0,p="",l=!1,u;for(let h of a){if(i===0&&_t(h))break;h==="["&&i++,h==="]"&&i--,p+=h}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let f=p;if(p[0]==="["&&p[p.length-1]==="]"){l=!0,p=p.slice(1,-1);let h=p.split("=");if(p=h[0].trim(),h[1]!==void 0&&(u=h.slice(1).join("=").trim()),p==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Io(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=p,n.name=f,u!==void 0&&(t.default=u),[n.postName,n.description]=oe(a.slice(n.name.length)),t}}y(Ft,"nameTokenizer");function Ut(o="compact",t=ee){let n=qe(o);return a=>(a.description=n(a.source,t),a)}y(Ut,"descriptionTokenizer");function qe(o){return o==="compact"?Vt:o==="preserve"?Dt:o}y(qe,"getJoiner");function Vt(o,t=ee){return o.map(({tokens:{description:n}})=>n.trim()).filter(n=>n!=="").join(" ")}y(Vt,"compactJoiner");var Ro=y((o,{tokens:t},n)=>t.type===""?o:n,"lineNo"),Lo=y(({tokens:o})=>(o.delimiter===""?o.start:o.postDelimiter.slice(1))+o.description,"getDescription");function Dt(o,t=ee){if(o.length===0)return"";o[0].tokens.description===""&&o[0].tokens.delimiter===t.start&&(o=o.slice(1));let n=o[o.length-1];return n!==void 0&&n.tokens.description===""&&n.tokens.end.endsWith(t.end)&&(o=o.slice(0,-1)),o=o.slice(o.reduce(Ro,0)),o.map(Lo).join(` +`)}y(Dt,"preserveJoiner");function $t({startLine:o=0,fence:t="```",spacing:n="compact",markers:a=ee,tokenizers:s=[It(),Rt(n),Ft(),Ut(n)]}={}){if(o<0||o%1>0)throw new Error("Invalid startLine");let i=kt({startLine:o,markers:a}),p=St({fence:t}),l=At({tokenizers:s}),u=qe(n);return function(f){let h=[];for(let v of Et(f)){let _=i(v);if(_===null)continue;let b=p(_),P=b.slice(1).map(l);h.push({description:u(b[0],a),tags:P,source:_,problems:P.reduce((x,U)=>x.concat(U.problems),[])})}return h}}y($t,"getParser");function Kt(o){return o.start+o.delimiter+o.postDelimiter+o.tag+o.postTag+o.type+o.postType+o.name+o.postName+o.description+o.end+o.lineEnd}y(Kt,"join");function Fo(){return o=>o.source.map(({tokens:t})=>Kt(t)).join(` +`)}y(Fo,"getStringifier");function Ct(o,t={}){return $t(t)(o)}y(Ct,"parse");function Mt(o){return o!=null&&o.includes("@")}y(Mt,"containsJsDoc");function qt(o){let t=`/** +`+(o??"").split(` +`).map(a=>` * ${a}`).join(` +`)+` +*/`,n=Ct(t,{spacing:"preserve"});if(!n||n.length===0)throw new Error("Cannot parse JSDoc tags.");return n[0]}y(qt,"parse");var Uo={tags:["param","arg","argument","returns","ignore","deprecated"]},Vo=y((o,t=Uo)=>{if(!Mt(o))return{includesJsDoc:!1,ignore:!1};let n=qt(o),a=Bt(n,t.tags);return a.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:a}},"parseJsDoc");function Bt(o,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let a of o.tags)if(!(t!==void 0&&!t.includes(a.tag)))if(a.tag==="ignore"){n.ignore=!0;break}else switch(a.tag){case"param":case"arg":case"argument":{let s=Gt(a);s!=null&&(n.params==null&&(n.params=[]),n.params.push(s));break}case"deprecated":{let s=zt(a);s!=null&&(n.deprecated=s);break}case"returns":{let s=Wt(a);s!=null&&(n.returns=s);break}}return n}y(Bt,"extractJsDocTags");function Yt(o){return o.replace(/[\.-]$/,"")}y(Yt,"normaliseParamName");function Gt(o){if(!o.name||o.name==="-")return null;let t=Ge(o.type);return{name:o.name,type:t,description:Ye(o.description),getPrettyName:y(()=>Yt(o.name),"getPrettyName"),getTypeName:y(()=>t?ze(t):null,"getTypeName")}}y(Gt,"extractParam");function zt(o){return o.name?Be(o.name,o.description):null}y(zt,"extractDeprecated");function Be(o,t){let n=o===""?t:`${o} ${t}`;return Ye(n)}y(Be,"joinNameAndDescription");function Ye(o){let t=o.replace(/^- /g,"").trim();return t===""?null:t}y(Ye,"normaliseDescription");function Wt(o){let t=Ge(o.type);return t?{type:t,description:Be(o.name,o.description),getTypeName:y(()=>ze(t),"getTypeName")}:null}y(Wt,"extractReturns");var ne=Re.stringifyRules(),Do=ne.JsdocTypeObject;ne.JsdocTypeAny=()=>"any";ne.JsdocTypeObject=(o,t)=>`(${Do(o,t)})`;ne.JsdocTypeOptional=(o,t)=>t(o.element);ne.JsdocTypeNullable=(o,t)=>t(o.element);ne.JsdocTypeNotNullable=(o,t)=>t(o.element);ne.JsdocTypeUnion=(o,t)=>o.elements.map(t).join("|");function Ge(o){try{return Re.parse(o,"typescript")}catch{return null}}y(Ge,"extractType");function ze(o){return Re.transform(ne,o)}y(ze,"extractTypeName");function We(o){return o.length>90}y(We,"isTooLongForTypeSummary");function Ht(o){return o.length>50}y(Ht,"isTooLongForDefaultValueSummary");function D(o,t){return o===t?{summary:o}:{summary:o,detail:t}}y(D,"createSummaryValue");function $o(o,t){if(o!=null){let{value:n}=o;if(!xe(n))return Ht(n)?D(t==null?void 0:t.name,n):D(n)}return null}y($o,"createDefaultValue");function He({name:o,value:t,elements:n,raw:a}){return t??(n!=null?n.map(He).join(" | "):a??o)}y(He,"generateUnionElement");function Xt({name:o,raw:t,elements:n}){return n!=null?D(n.map(He).join(" | ")):t!=null?D(t.replace(/^\|\s*/,"")):D(o)}y(Xt,"generateUnion");function Qt({type:o,raw:t}){return t!=null?D(t):D(o)}y(Qt,"generateFuncSignature");function Zt({type:o,raw:t}){return t!=null?We(t)?D(o,t):D(t):D(o)}y(Zt,"generateObjectSignature");function en(o){let{type:t}=o;return t==="object"?Zt(o):Qt(o)}y(en,"generateSignature");function tn({name:o,raw:t}){return t!=null?We(t)?D(o,t):D(t):D(o)}y(tn,"generateDefault");function Ko(o){if(o==null)return null;switch(o.name){case"union":return Xt(o);case"signature":return en(o);default:return tn(o)}}y(Ko,"createType");function Co({defaultValue:o}){if(o!=null){let{value:t}=o;if(!xe(t))return D(t)}return null}y(Co,"createDefaultValue");function Mo({tsType:o,required:t}){if(o==null)return null;let n=o.name;return t||(n=n.replace(" | undefined","")),D(["Array","Record","signature"].includes(o.name)?o.raw:n)}y(Mo,"createType");function nn(o){return o!=null?D(o.name):null}y(nn,"createType");function rn(o){let{computed:t,func:n}=o;return typeof t>"u"&&typeof n>"u"}y(rn,"isReactDocgenTypescript");function on(o){return o?o.name==="string"?!0:o.name==="enum"?Array.isArray(o.value)&&o.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}y(on,"isStringValued");function an(o,t){if(o!=null){let{value:n}=o;if(!xe(n))return rn(o)&&on(t)?D(JSON.stringify(n)):D(n)}return null}y(an,"createDefaultValue");function qo(o,t,n){let{description:a,required:s,defaultValue:i}=n;return{name:o,type:nn(t),required:s,description:a,defaultValue:an(i,t)}}y(qo,"createBasicPropDef");function Bo(o,t){var n;if(t!=null&&t.includesJsDoc){let{description:a,extractedTags:s}=t;a!=null&&(o.description=t.description);let i={...s,params:(n=s==null?void 0:s.params)==null?void 0:n.map(p=>({name:p.getPrettyName(),description:p.description}))};Object.values(i).filter(Boolean).length>0&&(o.jsDocTags=i)}return o}y(Bo,"applyJsDocResult");function Yo(o,t,n,a){let s=Vo(t.description);return s.includesJsDoc&&s.ignore?null:{propDef:a(o,t,s),jsDocTags:s.extractedTags,docgenInfo:t,typeSystem:n}}y(Yo,"extractProp");function Go(o){return o!=null?xt(o):""}y(Go,"extractComponentDescription");const{combineParameters:zo}=__STORYBOOK_MODULE_PREVIEW_API__;var Qo=y(o=>{let{component:t,argTypes:n,parameters:{docs:a={}}}=o,{extractArgTypes:s}=a,i=s&&t?s(t):{};return i?zo(i,n):n},"enhanceArgTypes"),Wo="storybook/docs",Zo=`${Wo}/snippet-rendered`,Ho=(o=>(o.AUTO="auto",o.CODE="code",o.DYNAMIC="dynamic",o))(Ho||{});export{Ho as D,Qo as c,Zo as y}; diff --git a/storybook/assets/index-COyCIEIZ.js b/storybook/assets/index-COyCIEIZ.js new file mode 100644 index 000000000..833aa3556 --- /dev/null +++ b/storybook/assets/index-COyCIEIZ.js @@ -0,0 +1 @@ +import{g as ye}from"./_commonjsHelpers-BosuxZz1.js";import{i as Ee}from"./sigma-B8Osh7W-.js";import{g as we}from"./getters-Dzi6BvTr.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-CvkDsaGQ.js b/storybook/assets/index-CvkDsaGQ.js new file mode 100644 index 000000000..427e3de2f --- /dev/null +++ b/storybook/assets/index-CvkDsaGQ.js @@ -0,0 +1,4 @@ +import{i as j}from"./is-graph-constructor-C6mKuIz0.js";import{a as J}from"./add-edge-CCsz5v3R.js";var _={},K=/^\s$/,Q=/\s*,\s*/,tt=/\s*\|\s*/;function et(t){return K.test(t)}function F(t){var e,i,r,s,a=!1,u=!1,h=void 0,m=[],g="";for(r=0,s=t.length;r=2&&e[0]==="["&&e[e.length-1]==="]"?r=F(e.slice(1,-1)):e.includes("|")?r=e.split(tt):e.includes(",")?r=e.split(Q):r=[e],r.map(function(s){return M(i,s)})}else return M(t,e)}_.parseListPieces=F;_.parseScalarValue=M;_.parseValue=it;var rt=/["'<>&\s]/g;_.sanitizeTagName=function(e){return e.replace(rt,"").trim()};var st=j,at=J.mergeEdge,nt=_,U=nt.parseValue;function ht(t){return t!==t}function ut(t){var e=t.getAttribute("hex");if(e)return e;var i=t.getAttribute("a"),r=t.getAttribute("r"),s=t.getAttribute("g"),a=t.getAttribute("b");return i?"rgba("+r+","+s+","+a+","+i+")":"rgb("+r+","+s+","+a+")"}function x(t,e){var i=t.getElementsByTagName("viz:"+e)[0];return i||(i=t.getElementsByTagNameNS("viz",e)[0]),i||(i=t.getElementsByTagName(e)[0]),i}function ot(t){for(var e={},i,r,s=0,a=t.length;s0;t--)this.endElement();this.tags=0},startDocument:function(t,e,i){return this.tags||this.attributes?this:(this.startPI("xml"),this.startAttribute("version"),this.text(typeof t=="string"?t:"1.0"),this.endAttribute(),typeof e=="string"&&(this.startAttribute("encoding"),this.text(e),this.endAttribute(),this.writer_encoding=e),i&&(this.startAttribute("standalone"),this.text("yes"),this.endAttribute()),this.endPI(),this.indent||this.write(` +`),this)},endDocument:function(){return this.attributes&&this.endAttributes(),this},writeElement:function(t,e){return this.startElement(t).text(e).endElement()},writeElementNS:function(t,e,i,r){return r||(r=i),this.startElementNS(t,e,i).text(r).endElement()},startElement:function(t){if(t=d(t),!t.match(this.name_regex)||this.tags===0&&this.root&&this.root!==t)throw Error("Invalid Parameter");return this.attributes&&this.endAttributes(),++this.tags,this.texts=0,this.stack.length>0&&(this.stack[this.stack.length-1].containsTag=!0),this.stack.push({name:t,tags:this.tags}),this.started_write&&this.indenter(),this.write("<",t),this.startAttributes(),this.started_write=!0,this},startElementNS:function(t,e,i){if(t=d(t),e=d(e),!t.match(this.name_regex)||!e.match(this.name_regex))throw Error("Invalid Parameter");return this.attributes&&this.endAttributes(),++this.tags,this.texts=0,this.stack.length>0&&(this.stack[this.stack.length-1].containsTag=!0),this.stack.push({name:t+":"+e,tags:this.tags}),this.started_write&&this.indenter(),this.write("<",t+":"+e),this.startAttributes(),this.started_write=!0,this},endElement:function(){if(!this.tags)return this;var t=this.stack.pop();return this.attributes>0?(this.attribute&&(this.texts&&this.endAttribute(),this.endAttribute()),this.write("/"),this.endAttributes()):(t.containsTag&&this.indenter(),this.write("")),--this.tags,this.texts=0,this},writeAttribute:function(t,e){return typeof e=="function"&&(e=e()),R(e)?this:this.startAttribute(t).text(e).endAttribute()},writeAttributeNS:function(t,e,i,r){return r||(r=i),typeof r=="function"&&(r=r()),R(r)?this:this.startAttributeNS(t,e,i).text(r).endAttribute()},startAttributes:function(){return this.attributes=1,this},endAttributes:function(){return this.attributes?(this.attribute&&this.endAttribute(),this.attributes=0,this.attribute=0,this.texts=0,this.write(">"),this):this},startAttribute:function(t){if(t=d(t),!t.match(this.name_regex))throw Error("Invalid Parameter");return!this.attributes&&!this.pi?this:this.attribute?this:(this.attribute=1,this.write(" ",t,'="'),this)},startAttributeNS:function(t,e,i){if(t=d(t),e=d(e),!t.match(this.name_regex)||!e.match(this.name_regex))throw Error("Invalid Parameter");return!this.attributes&&!this.pi?this:this.attribute?this:(this.attribute=1,this.write(" ",t+":"+e,'="'),this)},endAttribute:function(){return this.attribute?(this.attribute=0,this.texts=0,this.write('"'),this):this},text:function(t){return t=d(t),!this.tags&&!this.comment&&!this.pi&&!this.cdata?this:this.attributes&&this.attribute?(++this.texts,this.write(t.replace(/&/g,"&").replace(//g,">")),++this.texts,this.started_write=!0,this)},writeComment:function(t){return this.startComment().text(t).endComment()},startComment:function(){return this.comment?this:(this.attributes&&this.endAttributes(),this.indenter(),this.write(""),this.comment=0,this):this},writeDocType:function(t,e,i,r){return this.startDocType(t,e,i,r).endDocType()},startDocType:function(t,e,i,r){if(this.dtd||this.tags)return this;if(t=d(t),e=e&&d(e),i=i&&d(i),r=r&&d(r),!t.match(this.name_regex)||e&&!e.match(/^[\w\-][\w\s\-\/\+\:\.]*/)||i&&!i.match(/^[\w\.][\w\-\/\\\:\.]*/)||r&&!r.match(/[\w\s\<\>\+\.\!\#\-\?\*\,\(\)\|]*/))throw Error("Invalid Parameter");return e=e?' PUBLIC "'+e+'"':i?" SYSTEM":"",i=i?' "'+i+'"':"",r=r?" ["+r+"]":"",this.started_write&&this.indenter(),this.write(""),this):this},writePI:function(t,e){return this.startPI(t).text(e).endPI()},startPI:function(t){if(t=d(t),!t.match(this.name_regex))throw Error("Invalid Parameter");return this.pi?this:(this.attributes&&this.endAttributes(),this.started_write&&this.indenter(),this.write(""),this.pi=0,this):this},writeCData:function(t){return this.startCData().text(t).endCData()},startCData:function(){return this.cdata?this:(this.attributes&&this.endAttributes(),this.indenter(),this.write(""),this.cdata=0,this):this},writeRaw:function(t){return t=d(t),!this.tags&&!this.comment&&!this.pi&&!this.cdata?this:this.attributes&&this.attribute?(++this.texts,this.write(t.replace("&","&").replace('"',""")),this):(this.attributes&&!this.attribute&&this.endAttributes(),++this.texts,this.write(t),this.started_write=!0,this)}};var dt=new Set(["color","size","x","y","z","shape","thickness"]);function G(t,e,i){var r={},s;for(s in i)s==="label"?r.label=i.label:t==="edge"&&s==="weight"?r.weight=i.weight:t==="edge"&&s==="kind"?r.kind=i.kind:dt.has(s)?(r.viz=r.viz||{},r.viz[s]=i[s]):(r.attributes=r.attributes||{},r.attributes[s]=i[s]);return r}G.bind(null,"node");G.bind(null,"edge");var vt=gt;export{vt as p}; diff --git a/storybook/assets/index-DP3JZVR3.js b/storybook/assets/index-DP3JZVR3.js new file mode 100644 index 000000000..9cee02e2c --- /dev/null +++ b/storybook/assets/index-DP3JZVR3.js @@ -0,0 +1 @@ +import{c as e}from"./factory-Bwm5mj1P.js";const o=e(),a=e({keepWithinCircle:!1,size:{mode:"force",value:256},drawingMode:"color",correctCentering:!0});export{o as N,a}; diff --git a/storybook/assets/index-DfYGnGl-.js b/storybook/assets/index-DfYGnGl-.js new file mode 100644 index 000000000..458cb0990 --- /dev/null +++ b/storybook/assets/index-DfYGnGl-.js @@ -0,0 +1 @@ +import{f as p,n as i,F as l,$ as m,L as c,h as T,B as b,e as S,m as d,g as B,v as L,u as C,I as H,t as u,X as g,x as y,w as I,b as h,y as k,a as P,c as W,C as A,E as F,T as f,i as x,_ as R,S as v,R as D,O as E,j as M,G as N,k as q,A as w,l as O,P as U,o as Z,p as j,q as z,r as G,s as J,z as K,H as Q,J as V,K as X,M as Y,N as _,Q as $,U as aa,V as sa,W as oa,Y as ta,Z as ea,a0 as ra,a1 as na,a2 as pa,a3 as ia,a4 as la,a5 as ma,a6 as ca,a7 as Ta,a8 as ba,a9 as Sa,aa as da,ab as Ba,ac as La,ad as Ca,ae as Ha,af as ua}from"./chunk-NUUEMKO5-BVg1OFz5.js";import"./iframe-NuZR3tEK.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CKIJeAdQ.js";import"./index-DrFu-skq.js";export{p as A,i as ActionBar,l as AddonPanel,m as Badge,c as Bar,T as Blockquote,b as Button,S as ClipboardCode,d as Code,B as DL,L as Div,C as DocumentWrapper,H as EmptyTabContent,u as ErrorFormatter,g as FlexBar,y as Form,I as H1,h as H2,k as H3,P as H4,W as H5,A as H6,F as HR,f as IconButton,x as IconButtonSkeleton,R as Icons,v as Img,D as LI,E as Link,M as ListItem,N as Loader,q as Modal,w as OL,O as P,U as Placeholder,Z as Pre,j as ResetWrapper,z as ScrollArea,G as Separator,J as Spaced,K as Span,Q as StorybookIcon,V as StorybookLogo,X as Symbols,Y as SyntaxHighlighter,_ as TT,$ as TabBar,aa as TabButton,sa as TabWrapper,oa as Table,ta as Tabs,ea as TabsState,ra as TooltipLinkList,na as TooltipMessage,pa as TooltipNote,ia as UL,la as WithTooltip,ma as WithTooltipPure,ca as Zoom,Ta as codeCommon,ba as components,Sa as createCopyToClipboardFunction,da as getStoryHref,Ba as icons,La as interleaveSeparators,Ca as nameSpaceClassNames,Ha as resetComponents,ua as withReset}; 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;i0&&i.undirectedSize>0?"mixed":i.directedSize>0?"directed":"undirected"},B={};(function(t){var i=Math.pow(2,8)-1,s=Math.pow(2,16)-1,e=Math.pow(2,32)-1,r=Math.pow(2,7)-1,o=Math.pow(2,15)-1,f=Math.pow(2,31)-1;t.getPointerArray=function(h){var n=h-1;if(n<=i)return Uint8Array;if(n<=s)return Uint16Array;if(n<=e)return Uint32Array;throw new Error("mnemonist: Pointer Array of size > 4294967295 is not supported.")},t.getSignedPointerArray=function(h){var n=h-1;return n<=r?Int8Array:n<=o?Int16Array:n<=f?Int32Array:Float64Array},t.getNumberType=function(h){return h===(h|0)?Math.sign(h)===-1?h<=127&&h>=-128?Int8Array:h<=32767&&h>=-32768?Int16Array:Int32Array:h<=255?Uint8Array:h<=65535?Uint16Array:Uint32Array:Float64Array};var d={Uint8Array:1,Int8Array:2,Uint16Array:3,Int16Array:4,Uint32Array:5,Int32Array:6,Float32Array:7,Float64Array:8};t.getMinimalRepresentation=function(h,n){var a=null,u=0,l,v,m,g,c;for(g=0,c=h.length;gu&&(u=l,a=v);return a},t.isTypedArray=function(h){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView(h)},t.concat=function(){var h=0,n,a,u;for(n=0,u=arguments.length;n=this.size||this.dense[i]!==t?!1:(i=this.dense[this.size-1],this.dense[this.sparse[t]]=i,this.sparse[i]=this.sparse[t],this.size--,!0)};z.prototype.forEach=function(t,i){i=arguments.length>1?i:this;for(var s=0;s=this.start&&i=this.start&&i1?i:this;for(var s=this.capacity,e=this.size,r=this.start,o=0;o=s)return{done:!0};var o=t[e];return e++,r++,e===i&&(e=0),{value:o,done:!1}})};typeof Symbol<"u"&&(x.prototype[Symbol.iterator]=x.prototype.values);x.prototype.inspect=function(){var t=[];return this.forEach(function(i){t.push(i)}),Object.defineProperty(t,"constructor",{value:x,enumerable:!1}),t.capacity=this.capacity,t};typeof Symbol<"u"&&(x.prototype[Symbol.for("nodejs.util.inspect.custom")]=x.prototype.inspect);var vt=x;function Y(t){return function(i){return typeof i!="number"&&(i=i.length),Math.floor(t()*i)}}var H=Y(Math.random);H.createRandomIndex=Y;var pt=H,R={},U=B,J=V,K=ht.createEdgeWeightGetter,Z=Symbol.for("nodejs.util.inspect.custom"),tt={getEdgeWeight:"weight",keepDendrogram:!1,resolution:1};function A(t,i){i=J(i,tt);var s=i.resolution,e=K(i.getEdgeWeight).fromEntry,r=(t.size-t.selfLoopCount)*2,o=U.getPointerArray(r),f=U.getPointerArray(t.order+1),d=i.getEdgeWeight?Float64Array:U.getPointerArray(t.size*2);this.C=t.order,this.M=0,this.E=r,this.U=0,this.resolution=s,this.level=0,this.graph=t,this.nodes=new Array(t.order),this.keepDendrogram=i.keepDendrogram,this.neighborhood=new f(r),this.weights=new d(r),this.loops=new d(t.order),this.starts=new o(t.order+1),this.belongings=new f(t.order),this.dendrogram=[],this.mapping=null,this.counts=new f(t.order),this.unused=new f(t.order),this.totalWeights=new d(t.order);var h={},n,a=0,u=0,l=this;t.forEachNode(function(v){l.nodes[a]=v,h[v]=a,u+=t.undirectedDegreeWithoutSelfLoops(v),l.starts[a]=u,l.belongings[a]=a,l.counts[a]=1,a++}),t.forEachEdge(function(v,m,g,c,y,E,p){if(n=e(v,m,g,c,y,E,p),g=h[g],c=h[c],l.M+=n,g===c)l.totalWeights[g]+=n*2,l.loops[g]=n*2;else{l.totalWeights[g]+=n,l.totalWeights[c]+=n;var W=--l.starts[g],M=--l.starts[c];l.neighborhood[W]=c,l.neighborhood[M]=g,l.weights[W]=n,l.weights[M]=n}}),this.starts[a]=this.E,this.keepDendrogram?this.dendrogram.push(this.belongings.slice()):this.mapping=this.belongings.slice()}A.prototype.isolate=function(t,i){var s=this.belongings[t];if(this.counts[s]===1)return s;var e=this.unused[--this.U],r=this.loops[t];return this.totalWeights[s]-=i+r,this.totalWeights[e]+=i+r,this.belongings[t]=e,this.counts[s]--,this.counts[e]++,e};A.prototype.move=function(t,i,s){var e=this.belongings[t],r=this.loops[t];this.totalWeights[e]-=i+r,this.totalWeights[s]+=i+r,this.belongings[t]=s;var o=this.counts[e]--===1;this.counts[s]++,o&&(this.unused[this.U++]=e)};A.prototype.computeNodeDegree=function(t){var i,s,e,r=0;for(i=this.starts[t],s=this.starts[t+1];i"u"&&(e=0),e+=s,t.set(i,e)}var At=1e-10;function _(t,i,s,e,r){return Math.abs(e-r)t:e>r}function Et(t,i,s){var e=new Wt(i,{getEdgeWeight:s.getEdgeWeight,keepDendrogram:t,resolution:s.resolution}),r=st(s.rng),o=!0,f=!0,d,h,n=new et(Float64Array,e.C),a,u,l,v,m,g,c,y,E,p,W,M,w,C,T,b,D=0,N=0,j=[],L,O;for(s.fastLocalMoves&&(a=new it(e.C));o;){if(p=e.C,o=!1,f=!0,s.fastLocalMoves){for(O=0,g=s.randomWalk?r(p):0,c=0;c{(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)}};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()},h=[e],g={[m]:!1};export{h as decorators,g as initialGlobals}; diff --git a/storybook/assets/preview-BeB4Cboa.js b/storybook/assets/preview-BeB4Cboa.js new file mode 100644 index 000000000..46f0c1145 --- /dev/null +++ b/storybook/assets/preview-BeB4Cboa.js @@ -0,0 +1,4 @@ +let o=!1;const s=(e,t)=>{if(o){const r=new URLSearchParams(window.parent.location.search);return r.set("args",Object.keys(t.args).map(a=>`${a}:${t.args[a]}`).join(";")),history.pushState(null,"","?"+r.toString()),window.location.reload(),`
+ ${e()} + + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

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. +

+
+
+ +
+
+

+

+ The component failed to render properly, likely due to a configuration issue in Storybook. + Here are some common causes and how you can address them: +

+
    +
  1. + Missing Context/Providers: You can use decorators to supply specific + contexts or providers, which are sometimes necessary for components to render correctly. For + detailed instructions on using decorators, please visit the + Decorators documentation. +
  2. +
  3. + Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary + settings for loaders, plugins, and other relevant parameters. You can find step-by-step + guides for configuring + Webpack or + Vite + with Storybook. +
  4. +
  5. + Missing Environment Variables: Your Storybook may require specific + environment variables to function as intended. You can set up custom environment variables + as outlined in the + Environment Variables documentation. +
  6. +
+
+
+
+ +
+
+ + diff --git a/storybook/index.html b/storybook/index.html new file mode 100644 index 000000000..9b4aa1115 --- /dev/null +++ b/storybook/index.html @@ -0,0 +1,169 @@ + + + + + + @storybook/core - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + diff --git a/storybook/index.json b/storybook/index.json new file mode 100644 index 000000000..87e77c01d --- /dev/null +++ b/storybook/index.json @@ -0,0 +1 @@ +{"v":5,"entries":{"introduction--docs":{"id":"introduction--docs","title":"Introduction","name":"Docs","importPath":"./stories/0-docs/introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]},"load-gexf-file--story":{"type":"story","id":"load-gexf-file--story","name":"Load GEXF file","title":"Core library/Features showcases","importPath":"./stories/1-core-features/1-load-gexf-file/stories.ts","tags":["dev","test","play-fn"]},"events--story":{"type":"story","id":"events--story","name":"Events","title":"Core library/Features showcases","importPath":"./stories/1-core-features/2-events/stories.ts","tags":["dev","test","play-fn"]},"layouts--story":{"type":"story","id":"layouts--story","name":"Layouts example","title":"Core library/Features showcases","importPath":"./stories/1-core-features/3-layouts/stories.ts","tags":["dev","test","play-fn"]},"use-reducers--story":{"type":"story","id":"use-reducers--story","name":"Use node and edge reducers","title":"Core library/Features showcases","importPath":"./stories/1-core-features/4-use-reducers/stories.ts","tags":["dev","test","play-fn"]},"custom-rendering--story":{"type":"story","id":"custom-rendering--story","name":"Custom rendering","title":"Core library/Features showcases","importPath":"./stories/1-core-features/5-custom-rendering/stories.ts","tags":["dev","test","play-fn"]},"csv-to-network-map--story":{"type":"story","id":"csv-to-network-map--story","name":"From CSV to network maps","title":"Core library/Features showcases","importPath":"./stories/1-core-features/6-csv-to-network-map/stories.ts","tags":["dev","test","play-fn"]},"camera-control--story":{"type":"story","id":"camera-control--story","name":"Camera control","title":"Core library/Features showcases","importPath":"./stories/1-core-features/7-camera-control/stories.ts","tags":["dev","test","play-fn"]},"cluster-label--story":{"type":"story","id":"cluster-label--story","name":"Adding label on clusters","title":"Core library/Advanced use cases","importPath":"./stories/2-advanced-usecases/cluster-label/stories.ts","tags":["dev","test","play-fn"]},"events-shadowdom--story":{"type":"story","id":"events-shadowdom--story","name":"Events ShadowDom","title":"Core library/Advanced use cases","importPath":"./stories/2-advanced-usecases/events-shadowdom/stories.ts","tags":["dev","test","play-fn"]},"fit-sizes-to-positions--story":{"type":"story","id":"fit-sizes-to-positions--story","name":"Customize how sigma handles sizes and positions","title":"Core library/Advanced use cases","importPath":"./stories/2-advanced-usecases/fit-sizes-to-positions/stories.ts","tags":["dev","test","play-fn"]},"large-graphs--story":{"type":"story","id":"large-graphs--story","name":"Performances showcase","title":"Core library/Advanced use cases","importPath":"./stories/2-advanced-usecases/large-graphs/stories.ts","tags":["dev","test","play-fn"]},"mouse-manipulations--story":{"type":"story","id":"mouse-manipulations--story","name":"Node drag'n'drop, with mouse graph creation","title":"Core library/Advanced use cases","importPath":"./stories/2-advanced-usecases/mouse-manipulations/stories.ts","tags":["dev","test","play-fn"]},"sigma-edge-curve--basic":{"type":"story","id":"sigma-edge-curve--basic","name":"Basic example","title":"Satellite packages/@sigma--edge-curve","importPath":"./stories/3-additional-packages/edge-curve/stories.ts","tags":["dev","test","play-fn"]},"sigma-edge-curve--interactions":{"type":"story","id":"sigma-edge-curve--interactions","name":"Interactions","title":"Satellite packages/@sigma--edge-curve","importPath":"./stories/3-additional-packages/edge-curve/stories.ts","tags":["dev","test","play-fn"]},"sigma-edge-curve--labels":{"type":"story","id":"sigma-edge-curve--labels","name":"Labels","title":"Satellite packages/@sigma--edge-curve","importPath":"./stories/3-additional-packages/edge-curve/stories.ts","tags":["dev","test","play-fn"]},"sigma-edge-curve--parallel-edges":{"type":"story","id":"sigma-edge-curve--parallel-edges","name":"Parallel edges","title":"Satellite packages/@sigma--edge-curve","importPath":"./stories/3-additional-packages/edge-curve/stories.ts","tags":["dev","test","play-fn"]},"sigma-export-image--available-options":{"type":"story","id":"sigma-export-image--available-options","name":"Available options","title":"Satellite packages/@sigma--export-image","importPath":"./stories/3-additional-packages/export-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-export-image--custom-layers-and-renderers":{"type":"story","id":"sigma-export-image--custom-layers-and-renderers","name":"Custom layers and renderers","title":"Satellite packages/@sigma--export-image","importPath":"./stories/3-additional-packages/export-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-leaflet--story":{"type":"story","id":"sigma-layer-leaflet--story","name":"Basic example","title":"Satellite packages/@sigma--layer-leaflet","importPath":"./stories/3-additional-packages/layer-leaflet/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-leaflet--other-tile-layer":{"type":"story","id":"sigma-layer-leaflet--other-tile-layer","name":"Other tile layer","title":"Satellite packages/@sigma--layer-leaflet","importPath":"./stories/3-additional-packages/layer-leaflet/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-leaflet--with-a-geo-json":{"type":"story","id":"sigma-layer-leaflet--with-a-geo-json","name":"Map interactions","title":"Satellite packages/@sigma--layer-leaflet","importPath":"./stories/3-additional-packages/layer-leaflet/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-leaflet--resize":{"type":"story","id":"sigma-layer-leaflet--resize","name":"Change dimensions","title":"Satellite packages/@sigma--layer-leaflet","importPath":"./stories/3-additional-packages/layer-leaflet/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-maplibre--story":{"type":"story","id":"sigma-layer-maplibre--story","name":"Basic example","title":"Satellite packages/@sigma--layer-maplibre","importPath":"./stories/3-additional-packages/layer-maplibre/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-maplibre--with-a-geo-json":{"type":"story","id":"sigma-layer-maplibre--with-a-geo-json","name":"Map interactions","title":"Satellite packages/@sigma--layer-maplibre","importPath":"./stories/3-additional-packages/layer-maplibre/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-maplibre--resize":{"type":"story","id":"sigma-layer-maplibre--resize","name":"Change dimensions","title":"Satellite packages/@sigma--layer-maplibre","importPath":"./stories/3-additional-packages/layer-maplibre/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-webgl--metaballs":{"type":"story","id":"sigma-layer-webgl--metaballs","name":"Metaballs","title":"Satellite packages/@sigma--layer-webgl","importPath":"./stories/3-additional-packages/layer-webgl/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-webgl--contour-line":{"type":"story","id":"sigma-layer-webgl--contour-line","name":"Highlight groups of nodes","title":"Satellite packages/@sigma--layer-webgl","importPath":"./stories/3-additional-packages/layer-webgl/stories.ts","tags":["dev","test","play-fn"]},"sigma-layer-webgl--plain-contour-line":{"type":"story","id":"sigma-layer-webgl--plain-contour-line","name":"Multiple levels","title":"Satellite packages/@sigma--layer-webgl","importPath":"./stories/3-additional-packages/layer-webgl/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-border--node-border":{"type":"story","id":"sigma-node-border--node-border","name":"NodeBorderProgram","title":"Satellite packages/@sigma--node-border","importPath":"./stories/3-additional-packages/node-border/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-border--pixels-border":{"type":"story","id":"sigma-node-border--pixels-border","name":"\"pixels\" mode for border sizes","title":"Satellite packages/@sigma--node-border","importPath":"./stories/3-additional-packages/node-border/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-border--with-images":{"type":"story","id":"sigma-node-border--with-images","name":"Combined with images","title":"Satellite packages/@sigma--node-border","importPath":"./stories/3-additional-packages/node-border/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-border--variable-sizes":{"type":"story","id":"sigma-node-border--variable-sizes","name":"Variable border sizes","title":"Satellite packages/@sigma--node-border","importPath":"./stories/3-additional-packages/node-border/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-image--node-images":{"type":"story","id":"sigma-node-image--node-images","name":"NodeImageRenderer","title":"Satellite packages/@sigma--node-image","importPath":"./stories/3-additional-packages/node-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-image--node-pictograms":{"type":"story","id":"sigma-node-image--node-pictograms","name":"NodePictogramRenderer","title":"Satellite packages/@sigma--node-image","importPath":"./stories/3-additional-packages/node-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-image--node-pictograms-with-background":{"type":"story","id":"sigma-node-image--node-pictograms-with-background","name":"NodePictogramRenderer with background colors","title":"Satellite packages/@sigma--node-image","importPath":"./stories/3-additional-packages/node-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-image--local-images":{"type":"story","id":"sigma-node-image--local-images","name":"Displaying local images","title":"Satellite packages/@sigma--node-image","importPath":"./stories/3-additional-packages/node-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-image--options-showcase":{"type":"story","id":"sigma-node-image--options-showcase","name":"Options showcase","title":"Satellite packages/@sigma--node-image","importPath":"./stories/3-additional-packages/node-image/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-piechart--fixed-colors":{"type":"story","id":"sigma-node-piechart--fixed-colors","name":"Fixed colors, varying values","title":"Satellite packages/@sigma--node-piechart","importPath":"./stories/3-additional-packages/node-piechart/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-piechart--fixed-values":{"type":"story","id":"sigma-node-piechart--fixed-values","name":"Fixed values, varying colors","title":"Satellite packages/@sigma--node-piechart","importPath":"./stories/3-additional-packages/node-piechart/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-piechart--offsets":{"type":"story","id":"sigma-node-piechart--offsets","name":"Varying offsets","title":"Satellite packages/@sigma--node-piechart","importPath":"./stories/3-additional-packages/node-piechart/stories.ts","tags":["dev","test","play-fn"]},"sigma-node-square--mixed-programs":{"type":"story","id":"sigma-node-square--mixed-programs","name":"Mixed programs","title":"Satellite packages/@sigma--node-square","importPath":"./stories/3-additional-packages/node-square/stories.ts","tags":["dev","test","play-fn"]},"sigma-utils--fit-viewport-to-nodes":{"type":"story","id":"sigma-utils--fit-viewport-to-nodes","name":"Fit viewport to nodes","title":"Satellite packages/@sigma--utils","importPath":"./stories/3-additional-packages/utils/stories.ts","tags":["dev","test","play-fn"]},"sigma-utils--get-nodes-in-viewport":{"type":"story","id":"sigma-utils--get-nodes-in-viewport","name":"Get nodes in viewport","title":"Satellite packages/@sigma--utils","importPath":"./stories/3-additional-packages/utils/stories.ts","tags":["dev","test","play-fn"]}}} diff --git a/storybook/nunito-sans-bold-italic.woff2 b/storybook/nunito-sans-bold-italic.woff2 new file mode 100644 index 000000000..33563d8bf Binary files /dev/null and b/storybook/nunito-sans-bold-italic.woff2 differ diff --git a/storybook/nunito-sans-bold.woff2 b/storybook/nunito-sans-bold.woff2 new file mode 100644 index 000000000..19fcc944a Binary files /dev/null and b/storybook/nunito-sans-bold.woff2 differ diff --git a/storybook/nunito-sans-italic.woff2 b/storybook/nunito-sans-italic.woff2 new file mode 100644 index 000000000..827096dae Binary files /dev/null and b/storybook/nunito-sans-italic.woff2 differ diff --git a/storybook/nunito-sans-regular.woff2 b/storybook/nunito-sans-regular.woff2 new file mode 100644 index 000000000..c527ba49c Binary files /dev/null and b/storybook/nunito-sans-regular.woff2 differ diff --git a/storybook/project.json b/storybook/project.json new file mode 100644 index 000000000..3bbbdf41a --- /dev/null +++ b/storybook/project.json @@ -0,0 +1 @@ +{"generatedAt":1734019475424,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"monorepo":"Lerna","packageManager":{"type":"npm","version":"10.8.2"},"typescriptOptions":{"check":true},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/html-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/html","portableStoriesFileCount":0,"storybookVersion":"8.3.3","storybookVersionSpecifier":"^8.3.3","language":"javascript","storybookPackages":{"@storybook/addon-storysource":{"version":"8.3.3"},"@storybook/html":{"version":"8.3.3"},"@storybook/html-vite":{"version":"8.3.3"},"@storybook/manager-api":{"version":"8.3.3"},"@storybook/theming":{"version":"8.3.3"},"@storybook/web-components":{"version":"8.3.3"},"storybook":{"version":"8.3.3"}},"addons":{"@storybook/addon-essentials":{"options":{"actions":false,"controls":false},"version":"8.3.3"},"$SNIP/node_modules/@storybook/addon-storysource":{"version":null}}} diff --git a/storybook/sb-addons/essentials-backgrounds-1/manager-bundle.js b/storybook/sb-addons/essentials-backgrounds-1/manager-bundle.js new file mode 100644 index 000000000..3bcda245a --- /dev/null +++ b/storybook/sb-addons/essentials-backgrounds-1/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var re=Object.create;var Y=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,c)=>(typeof require<"u"?require:o)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,c,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ae(o))!le.call(e,i)&&i!==c&&Y(e,i,{get:()=>o[i],enumerable:!(r=ie(o,i))||r.enumerable});return e};var Ie=(e,o,c)=>(c=e!=null?re(ce(e)):{},ue(o||!e||!e.__esModule?Y(c,"default",{value:e,enumerable:!0}):c,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.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,c;return function r(i,d,l){function t(a,I){if(!d[a]){if(!i[a]){var s=typeof E=="function"&&E;if(!I&&s)return s(a,!0);if(n)return n(a,!0);var C=new Error("Cannot find module '"+a+"'");throw C.code="MODULE_NOT_FOUND",C}var m=d[a]={exports:{}};i[a][0].call(m.exports,function(b){var y=i[a][1][b];return t(y||b)},m,m.exports,r,i,d,l)}return d[a].exports}for(var n=typeof E=="function"&&E,u=0;u=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.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]},l.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)},l.prototype.forEach=function(t,n){var u;for(u=0;u0&&(x[_]={cacheItem:b,arg:arguments[_]},O?t(s,x):s.push(x),s.length>a&&n(s.shift())),m.wasMemoized=O,m.numArgs=_+1,w};return m.limit=a,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(a,I){var s=a.length,C=I.length,m,b,y;for(b=0;b=0&&(s=a[m],C=s.cacheItem.get(s.arg),!C||!C.size);m--)s.cacheItem.delete(s.arg)}function u(a,I){return a===I||a!==a&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:Be,Fragment:D,Profiler:Re,PureComponent:we,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Fe,createRef:Ne,forwardRef:Ue,isValidElement:He,lazy:qe,memo:B,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:We,useDeferredValue:Ye,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:F,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:N,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:Co,experimental_requestResponse:yo,isMacLike:So,isShortcutTaken:ko,keyToSymbol:vo,merge:To,mockChannel:_o,optionOrAltSymbol:Ao,shortcutMatchesShortcut:Oo,shortcutToHumanString:Eo,types:$,useAddonState:Bo,useArgTypes:Ro,useArgs:wo,useChannel:xo,useGlobalTypes:Lo,useGlobals:L,useParameter:P,useSharedState:Po,useStoryPrepared:Mo,useStorybookApi:Do,useStorybookState:Go}=__STORYBOOK_API__;p();h();f();var qo=__STORYBOOK_COMPONENTS__,{A:zo,ActionBar:Ko,AddonPanel:Vo,Badge:Wo,Bar:Yo,Blockquote:jo,Button:$o,ClipboardCode:Zo,Code:Jo,DL:Qo,Div:Xo,DocumentWrapper:en,EmptyTabContent:on,ErrorFormatter:nn,FlexBar:tn,Form:rn,H1:an,H2:cn,H3:ln,H4:sn,H5:un,H6:In,HR:dn,IconButton:R,IconButtonSkeleton:mn,Icons:pn,Img:hn,LI:fn,Link:gn,ListItem:bn,Loader:Cn,Modal:yn,OL:Sn,P:kn,Placeholder:vn,Pre:Tn,ResetWrapper:_n,ScrollArea:An,Separator:On,Spaced:En,Span:Bn,StorybookIcon:Rn,StorybookLogo:wn,Symbols:xn,SyntaxHighlighter:Ln,TT:Pn,TabBar:Mn,TabButton:Dn,TabWrapper:Gn,Table:Fn,Tabs:Nn,TabsState:Un,TooltipLinkList:U,TooltipMessage:Hn,TooltipNote:qn,UL:zn,WithTooltip:H,WithTooltipPure:Kn,Zoom:Vn,codeCommon:Wn,components:Yn,createCopyToClipboardFunction:jn,getStoryHref:$n,icons:Zn,interleaveSeparators:Jn,nameSpaceClassNames:Qn,resetComponents:Xn,withReset:et}=__STORYBOOK_COMPONENTS__;p();h();f();var it=__STORYBOOK_ICONS__,{AccessibilityAltIcon:at,AccessibilityIcon:ct,AddIcon:lt,AdminIcon:st,AlertAltIcon:ut,AlertIcon:It,AlignLeftIcon:dt,AlignRightIcon:mt,AppleIcon:pt,ArrowBottomLeftIcon:ht,ArrowBottomRightIcon:ft,ArrowDownIcon:gt,ArrowLeftIcon:bt,ArrowRightIcon:Ct,ArrowSolidDownIcon:yt,ArrowSolidLeftIcon:St,ArrowSolidRightIcon:kt,ArrowSolidUpIcon:vt,ArrowTopLeftIcon:Tt,ArrowTopRightIcon:_t,ArrowUpIcon:At,AzureDevOpsIcon:Ot,BackIcon:Et,BasketIcon:Bt,BatchAcceptIcon:Rt,BatchDenyIcon:wt,BeakerIcon:xt,BellIcon:Lt,BitbucketIcon:Pt,BoldIcon:Mt,BookIcon:Dt,BookmarkHollowIcon:Gt,BookmarkIcon:Ft,BottomBarIcon:Nt,BottomBarToggleIcon:Ut,BoxIcon:Ht,BranchIcon:qt,BrowserIcon:zt,ButtonIcon:Kt,CPUIcon:Vt,CalendarIcon:Wt,CameraIcon:Yt,CategoryIcon:jt,CertificateIcon:$t,ChangedIcon:Zt,ChatIcon:Jt,CheckIcon:Qt,ChevronDownIcon:Xt,ChevronLeftIcon:er,ChevronRightIcon:or,ChevronSmallDownIcon:nr,ChevronSmallLeftIcon:tr,ChevronSmallRightIcon:rr,ChevronSmallUpIcon:ir,ChevronUpIcon:ar,ChromaticIcon:cr,ChromeIcon:lr,CircleHollowIcon:sr,CircleIcon:Z,ClearIcon:ur,CloseAltIcon:Ir,CloseIcon:dr,CloudHollowIcon:mr,CloudIcon:pr,CogIcon:hr,CollapseIcon:fr,CommandIcon:gr,CommentAddIcon:br,CommentIcon:Cr,CommentsIcon:yr,CommitIcon:Sr,CompassIcon:kr,ComponentDrivenIcon:vr,ComponentIcon:Tr,ContrastIcon:_r,ControlsIcon:Ar,CopyIcon:Or,CreditIcon:Er,CrossIcon:Br,DashboardIcon:Rr,DatabaseIcon:wr,DeleteIcon:xr,DiamondIcon:Lr,DirectionIcon:Pr,DiscordIcon:Mr,DocChartIcon:Dr,DocListIcon:Gr,DocumentIcon:Fr,DownloadIcon:Nr,DragIcon:Ur,EditIcon:Hr,EllipsisIcon:qr,EmailIcon:zr,ExpandAltIcon:Kr,ExpandIcon:Vr,EyeCloseIcon:Wr,EyeIcon:Yr,FaceHappyIcon:jr,FaceNeutralIcon:$r,FaceSadIcon:Zr,FacebookIcon:Jr,FailedIcon:Qr,FastForwardIcon:Xr,FigmaIcon:ei,FilterIcon:oi,FlagIcon:ni,FolderIcon:ti,FormIcon:ri,GDriveIcon:ii,GithubIcon:ai,GitlabIcon:ci,GlobeIcon:li,GoogleIcon:si,GraphBarIcon:ui,GraphLineIcon:Ii,GraphqlIcon:di,GridAltIcon:mi,GridIcon:q,GrowIcon:pi,HeartHollowIcon:hi,HeartIcon:fi,HomeIcon:gi,HourglassIcon:bi,InfoIcon:Ci,ItalicIcon:yi,JumpToIcon:Si,KeyIcon:ki,LightningIcon:vi,LightningOffIcon:Ti,LinkBrokenIcon:_i,LinkIcon:Ai,LinkedinIcon:Oi,LinuxIcon:Ei,ListOrderedIcon:Bi,ListUnorderedIcon:Ri,LocationIcon:wi,LockIcon:xi,MarkdownIcon:Li,MarkupIcon:Pi,MediumIcon:Mi,MemoryIcon:Di,MenuIcon:Gi,MergeIcon:Fi,MirrorIcon:Ni,MobileIcon:Ui,MoonIcon:Hi,NutIcon:qi,OutboxIcon:zi,OutlineIcon:Ki,PaintBrushIcon:Vi,PaperClipIcon:Wi,ParagraphIcon:Yi,PassedIcon:ji,PhoneIcon:$i,PhotoDragIcon:Zi,PhotoIcon:z,PinAltIcon:Ji,PinIcon:Qi,PlayBackIcon:Xi,PlayIcon:ea,PlayNextIcon:oa,PlusIcon:na,PointerDefaultIcon:ta,PointerHandIcon:ra,PowerIcon:ia,PrintIcon:aa,ProceedIcon:ca,ProfileIcon:la,PullRequestIcon:sa,QuestionIcon:ua,RSSIcon:Ia,RedirectIcon:da,ReduxIcon:ma,RefreshIcon:J,ReplyIcon:pa,RepoIcon:ha,RequestChangeIcon:fa,RewindIcon:ga,RulerIcon:ba,SearchIcon:Ca,ShareAltIcon:ya,ShareIcon:Sa,ShieldIcon:ka,SideBySideIcon:va,SidebarAltIcon:Ta,SidebarAltToggleIcon:_a,SidebarIcon:Aa,SidebarToggleIcon:Oa,SpeakerIcon:Ea,StackedIcon:Ba,StarHollowIcon:Ra,StarIcon:wa,StatusFailIcon:xa,StatusPassIcon:La,StatusWarnIcon:Pa,StickerIcon:Ma,StopAltIcon:Da,StopIcon:Ga,StorybookIcon:Fa,StructureIcon:Na,SubtractIcon:Ua,SunIcon:Ha,SupportIcon:qa,SwitchAltIcon:za,SyncIcon:Ka,TabletIcon:Va,ThumbsUpIcon:Wa,TimeIcon:Ya,TimerIcon:ja,TransferIcon:$a,TrashIcon:Za,TwitterIcon:Ja,TypeIcon:Qa,UbuntuIcon:Xa,UndoIcon:ec,UnfoldIcon:oc,UnlockIcon:nc,UnpinIcon:tc,UploadIcon:rc,UserAddIcon:ic,UserAltIcon:ac,UserIcon:cc,UsersIcon:lc,VSCodeIcon:sc,VerifiedIcon:uc,VideoIcon:Ic,WandIcon:dc,WatchIcon:mc,WindowsIcon:pc,WrenchIcon:hc,XIcon:fc,YoutubeIcon:gc,ZoomIcon:bc,ZoomOutIcon:Cc,ZoomResetIcon:yc,iconList:Sc}=__STORYBOOK_ICONS__;p();h();f();var Ac=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Oc,logger:K,once:Ec,pretty:Bc}=__STORYBOOK_CLIENT_LOGGER__;var W=Ie(X());p();h();f();var Fc=__STORYBOOK_THEMING__,{CacheProvider:Nc,ClassNames:Uc,Global:Hc,ThemeProvider:qc,background:zc,color:Kc,convert:Vc,create:Wc,createCache:Yc,createGlobal:jc,createReset:$c,css:Zc,darken:Jc,ensure:Qc,ignoreSsrWarning:Xc,isPropValid:el,jsx:ol,keyframes:nl,lighten:tl,styled:ee,themes:rl,typography:il,useTheme:al,withTheme:cl}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],c=1;c{r({[S]:I})},[r]);return g.createElement(D,null,g.createElement(R,{key:"grid",active:n,disabled:t,title:"Apply a grid to the preview",onClick:()=>a({value:l,grid:!n})},g.createElement(q,null)),c>0?g.createElement(H,{key:"background",placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:I})=>g.createElement(U,{links:[...o?[{id:"reset",title:"Reset background",icon:g.createElement(J,null),onClick:()=>{a({value:void 0,grid:n}),I()}}]:[],...Object.entries(d).map(([s,C])=>({id:s,title:C.name,icon:g.createElement(Z,{color:C?.value||"grey"}),active:s===l,onClick:()=>{a({value:s,grid:n}),I()}}))]}),onVisibleChange:i},g.createElement(R,{disabled:t,key:"background",title:"Change the background of the preview",active:!!o||u},g.createElement(z,null))):null)}),he=ee.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),fe=(e,o=[],c)=>{if(e==="transparent")return"transparent";if(o.find(i=>i.value===e)||e)return e;let r=o.find(i=>i.name===c);if(r)return r.value;if(c){let i=o.map(d=>d.name).join(", ");K.warn(oe` + Backgrounds Addon: could not find the default color "${c}". + These are the available colors for your story based on your configuration: + ${i}. + `)}return"transparent"},te=(0,W.default)(1e3)((e,o,c,r,i,d)=>({id:e||o,title:o,onClick:()=>{i({selected:c,name:o})},value:c,right:r?g.createElement(he,{background:c}):void 0,active:d})),ge=(0,W.default)(10)((e,o,c)=>{let r=e.map(({name:i,value:d})=>te(null,i,d,!0,c,d===o));return o!=="transparent"?[te("reset","Clear background","transparent",null,c,!1),...r]:r}),be={default:null,disable:!0,values:[]},Ce=B(function(){let e=P(S,be),[o,c]=F(!1),[r,i]=L(),d=r[S]?.value,l=j(()=>fe(d,e.values,e.default),[e,d]);Array.isArray(e)&&K.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=G(n=>{i({[S]:{...r[S],value:n}})},[e,r,i]);return e.disable?null:g.createElement(H,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>g.createElement(U,{links:ge(e.values,l,({selected:u})=>{l!==u&&t(u),n()})}),onVisibleChange:c},g.createElement(R,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||o},g.createElement(z,null)))}),ye=B(function(){let[e,o]=L(),{grid:c}=P(S,{grid:{disable:!1}});if(c?.disable)return null;let r=e[S]?.grid||!1;return g.createElement(R,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[S]:{...e[S],grid:!r}})},g.createElement(q,null))});N.register(ne,()=>{N.add(ne,{title:"Backgrounds",type:$.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>FEATURES?.backgroundsStoryGlobals?g.createElement(me,null):g.createElement(D,null,g.createElement(Ce,null),g.createElement(ye,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-backgrounds-1/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-backgrounds-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-measure-4/manager-bundle.js b/storybook/sb-addons/essentials-measure-4/manager-bundle.js new file mode 100644 index 000000000..cf97b787c --- /dev/null +++ b/storybook/sb-addons/essentials-measure-4/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:f,Component:k,Fragment:R,Profiler:L,PureComponent:P,StrictMode:w,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,cloneElement:M,createContext:x,createElement:v,createFactory:H,createRef:F,forwardRef:U,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:d,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var so=__STORYBOOK_API__,{ActiveTabs:io,Consumer:uo,ManagerContext:mo,Provider:po,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:bo,eventMatchesShortcut:Ao,eventToShortcut:To,experimental_requestResponse:_o,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Bo,merge:Oo,mockChannel:fo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Ro,shortcutToHumanString:Lo,types:m,useAddonState:Po,useArgTypes:wo,useArgs:Eo,useChannel:Do,useGlobalTypes:Mo,useGlobals:p,useParameter:xo,useSharedState:vo,useStoryPrepared:Ho,useStorybookApi:S,useStorybookState:Fo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:$o,DL:jo,Div:on,DocumentWrapper:nn,EmptyTabContent:en,ErrorFormatter:cn,FlexBar:tn,Form:rn,H1:In,H2:an,H3:ln,H4:sn,H5:un,H6:dn,HR:mn,IconButton:C,IconButtonSkeleton:pn,Icons:Sn,Img:Cn,LI:hn,Link:bn,ListItem:An,Loader:Tn,Modal:_n,OL:gn,P:yn,Placeholder:Bn,Pre:On,ResetWrapper:fn,ScrollArea:kn,Separator:Rn,Spaced:Ln,Span:Pn,StorybookIcon:wn,StorybookLogo:En,Symbols:Dn,SyntaxHighlighter:Mn,TT:xn,TabBar:vn,TabButton:Hn,TabWrapper:Fn,Table:Un,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:Xn,getStoryHref:$n,icons:jn,interleaveSeparators:oe,nameSpaceClassNames:ne,resetComponents:ee,withReset:ce}=__STORYBOOK_COMPONENTS__;var le=__STORYBOOK_ICONS__,{AccessibilityAltIcon:se,AccessibilityIcon:ie,AddIcon:ue,AdminIcon:de,AlertAltIcon:me,AlertIcon:pe,AlignLeftIcon:Se,AlignRightIcon:Ce,AppleIcon:he,ArrowBottomLeftIcon:be,ArrowBottomRightIcon:Ae,ArrowDownIcon:Te,ArrowLeftIcon:_e,ArrowRightIcon:ge,ArrowSolidDownIcon:ye,ArrowSolidLeftIcon:Be,ArrowSolidRightIcon:Oe,ArrowSolidUpIcon:fe,ArrowTopLeftIcon:ke,ArrowTopRightIcon:Re,ArrowUpIcon:Le,AzureDevOpsIcon:Pe,BackIcon:we,BasketIcon:Ee,BatchAcceptIcon:De,BatchDenyIcon:Me,BeakerIcon:xe,BellIcon:ve,BitbucketIcon:He,BoldIcon:Fe,BookIcon:Ue,BookmarkHollowIcon:Ne,BookmarkIcon:Ge,BottomBarIcon:We,BottomBarToggleIcon:Ke,BoxIcon:Ye,BranchIcon:qe,BrowserIcon:Ve,ButtonIcon:Ze,CPUIcon:ze,CalendarIcon:Je,CameraIcon:Qe,CategoryIcon:Xe,CertificateIcon:$e,ChangedIcon:je,ChatIcon:oc,CheckIcon:nc,ChevronDownIcon:ec,ChevronLeftIcon:cc,ChevronRightIcon:tc,ChevronSmallDownIcon:rc,ChevronSmallLeftIcon:Ic,ChevronSmallRightIcon:ac,ChevronSmallUpIcon:lc,ChevronUpIcon:sc,ChromaticIcon:ic,ChromeIcon:uc,CircleHollowIcon:dc,CircleIcon:mc,ClearIcon:pc,CloseAltIcon:Sc,CloseIcon:Cc,CloudHollowIcon:hc,CloudIcon:bc,CogIcon:Ac,CollapseIcon:Tc,CommandIcon:_c,CommentAddIcon:gc,CommentIcon:yc,CommentsIcon:Bc,CommitIcon:Oc,CompassIcon:fc,ComponentDrivenIcon:kc,ComponentIcon:Rc,ContrastIcon:Lc,ControlsIcon:Pc,CopyIcon:wc,CreditIcon:Ec,CrossIcon:Dc,DashboardIcon:Mc,DatabaseIcon:xc,DeleteIcon:vc,DiamondIcon:Hc,DirectionIcon:Fc,DiscordIcon:Uc,DocChartIcon:Nc,DocListIcon:Gc,DocumentIcon:Wc,DownloadIcon:Kc,DragIcon:Yc,EditIcon:qc,EllipsisIcon:Vc,EmailIcon:Zc,ExpandAltIcon:zc,ExpandIcon:Jc,EyeCloseIcon:Qc,EyeIcon:Xc,FaceHappyIcon:$c,FaceNeutralIcon:jc,FaceSadIcon:ot,FacebookIcon:nt,FailedIcon:et,FastForwardIcon:ct,FigmaIcon:tt,FilterIcon:rt,FlagIcon:It,FolderIcon:at,FormIcon:lt,GDriveIcon:st,GithubIcon:it,GitlabIcon:ut,GlobeIcon:dt,GoogleIcon:mt,GraphBarIcon:pt,GraphLineIcon:St,GraphqlIcon:Ct,GridAltIcon:ht,GridIcon:bt,GrowIcon:At,HeartHollowIcon:Tt,HeartIcon:_t,HomeIcon:gt,HourglassIcon:yt,InfoIcon:Bt,ItalicIcon:Ot,JumpToIcon:ft,KeyIcon:kt,LightningIcon:Rt,LightningOffIcon:Lt,LinkBrokenIcon:Pt,LinkIcon:wt,LinkedinIcon:Et,LinuxIcon:Dt,ListOrderedIcon:Mt,ListUnorderedIcon:xt,LocationIcon:vt,LockIcon:Ht,MarkdownIcon:Ft,MarkupIcon:Ut,MediumIcon:Nt,MemoryIcon:Gt,MenuIcon:Wt,MergeIcon:Kt,MirrorIcon:Yt,MobileIcon:qt,MoonIcon:Vt,NutIcon:Zt,OutboxIcon:zt,OutlineIcon:Jt,PaintBrushIcon:Qt,PaperClipIcon:Xt,ParagraphIcon:$t,PassedIcon:jt,PhoneIcon:or,PhotoDragIcon:nr,PhotoIcon:er,PinAltIcon:cr,PinIcon:tr,PlayBackIcon:rr,PlayIcon:Ir,PlayNextIcon:ar,PlusIcon:lr,PointerDefaultIcon:sr,PointerHandIcon:ir,PowerIcon:ur,PrintIcon:dr,ProceedIcon:mr,ProfileIcon:pr,PullRequestIcon:Sr,QuestionIcon:Cr,RSSIcon:hr,RedirectIcon:br,ReduxIcon:Ar,RefreshIcon:Tr,ReplyIcon:_r,RepoIcon:gr,RequestChangeIcon:yr,RewindIcon:Br,RulerIcon:h,SearchIcon:Or,ShareAltIcon:fr,ShareIcon:kr,ShieldIcon:Rr,SideBySideIcon:Lr,SidebarAltIcon:Pr,SidebarAltToggleIcon:wr,SidebarIcon:Er,SidebarToggleIcon:Dr,SpeakerIcon:Mr,StackedIcon:xr,StarHollowIcon:vr,StarIcon:Hr,StatusFailIcon:Fr,StatusPassIcon:Ur,StatusWarnIcon:Nr,StickerIcon:Gr,StopAltIcon:Wr,StopIcon:Kr,StorybookIcon:Yr,StructureIcon:qr,SubtractIcon:Vr,SunIcon:Zr,SupportIcon:zr,SwitchAltIcon:Jr,SyncIcon:Qr,TabletIcon:Xr,ThumbsUpIcon:$r,TimeIcon:jr,TimerIcon:oI,TransferIcon:nI,TrashIcon:eI,TwitterIcon:cI,TypeIcon:tI,UbuntuIcon:rI,UndoIcon:II,UnfoldIcon:aI,UnlockIcon:lI,UnpinIcon:sI,UploadIcon:iI,UserAddIcon:uI,UserAltIcon:dI,UserIcon:mI,UsersIcon:pI,VSCodeIcon:SI,VerifiedIcon:CI,VideoIcon:hI,WandIcon:bI,WatchIcon:AI,WindowsIcon:TI,WrenchIcon:_I,XIcon:gI,YoutubeIcon:yI,ZoomIcon:BI,ZoomOutIcon:OI,ZoomResetIcon:fI,iconList:kI}=__STORYBOOK_ICONS__;var s="storybook/measure-addon",b=`${s}/tool`,A=()=>{let[r,c]=p(),{measureEnabled:I}=r,i=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{i.setAddonShortcut(s,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,i]),t.createElement(C,{key:b,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(s,()=>{l.add(b,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(A,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-measure-4/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-measure-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-outline-5/manager-bundle.js b/storybook/sb-addons/essentials-outline-5/manager-bundle.js new file mode 100644 index 000000000..779965505 --- /dev/null +++ b/storybook/sb-addons/essentials-outline-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:k,Component:R,Fragment:P,Profiler:L,PureComponent:w,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:F,createRef:U,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:p,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:po,Provider:mo,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:To,eventToShortcut:_o,experimental_requestResponse:bo,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Oo,merge:Bo,mockChannel:fo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Ro,shortcutToHumanString:Po,types:m,useAddonState:Lo,useArgTypes:wo,useArgs:Eo,useChannel:Do,useGlobalTypes:vo,useGlobals:S,useParameter:xo,useSharedState:Ho,useStoryPrepared:Mo,useStorybookApi:C,useStorybookState:Fo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:$o,DL:jo,Div:on,DocumentWrapper:nn,EmptyTabContent:en,ErrorFormatter:cn,FlexBar:tn,Form:rn,H1:In,H2:an,H3:ln,H4:sn,H5:un,H6:dn,HR:pn,IconButton:h,IconButtonSkeleton:mn,Icons:Sn,Img:Cn,LI:hn,Link:An,ListItem:Tn,Loader:_n,Modal:bn,OL:gn,P:yn,Placeholder:On,Pre:Bn,ResetWrapper:fn,ScrollArea:kn,Separator:Rn,Spaced:Pn,Span:Ln,StorybookIcon:wn,StorybookLogo:En,Symbols:Dn,SyntaxHighlighter:vn,TT:xn,TabBar:Hn,TabButton:Mn,TabWrapper:Fn,Table:Un,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:Xn,getStoryHref:$n,icons:jn,interleaveSeparators:oe,nameSpaceClassNames:ne,resetComponents:ee,withReset:ce}=__STORYBOOK_COMPONENTS__;var le=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ie,AccessibilityIcon:se,AddIcon:ue,AdminIcon:de,AlertAltIcon:pe,AlertIcon:me,AlignLeftIcon:Se,AlignRightIcon:Ce,AppleIcon:he,ArrowBottomLeftIcon:Ae,ArrowBottomRightIcon:Te,ArrowDownIcon:_e,ArrowLeftIcon:be,ArrowRightIcon:ge,ArrowSolidDownIcon:ye,ArrowSolidLeftIcon:Oe,ArrowSolidRightIcon:Be,ArrowSolidUpIcon:fe,ArrowTopLeftIcon:ke,ArrowTopRightIcon:Re,ArrowUpIcon:Pe,AzureDevOpsIcon:Le,BackIcon:we,BasketIcon:Ee,BatchAcceptIcon:De,BatchDenyIcon:ve,BeakerIcon:xe,BellIcon:He,BitbucketIcon:Me,BoldIcon:Fe,BookIcon:Ue,BookmarkHollowIcon:Ne,BookmarkIcon:Ge,BottomBarIcon:We,BottomBarToggleIcon:Ke,BoxIcon:Ye,BranchIcon:qe,BrowserIcon:Ve,ButtonIcon:Ze,CPUIcon:ze,CalendarIcon:Je,CameraIcon:Qe,CategoryIcon:Xe,CertificateIcon:$e,ChangedIcon:je,ChatIcon:oc,CheckIcon:nc,ChevronDownIcon:ec,ChevronLeftIcon:cc,ChevronRightIcon:tc,ChevronSmallDownIcon:rc,ChevronSmallLeftIcon:Ic,ChevronSmallRightIcon:ac,ChevronSmallUpIcon:lc,ChevronUpIcon:ic,ChromaticIcon:sc,ChromeIcon:uc,CircleHollowIcon:dc,CircleIcon:pc,ClearIcon:mc,CloseAltIcon:Sc,CloseIcon:Cc,CloudHollowIcon:hc,CloudIcon:Ac,CogIcon:Tc,CollapseIcon:_c,CommandIcon:bc,CommentAddIcon:gc,CommentIcon:yc,CommentsIcon:Oc,CommitIcon:Bc,CompassIcon:fc,ComponentDrivenIcon:kc,ComponentIcon:Rc,ContrastIcon:Pc,ControlsIcon:Lc,CopyIcon:wc,CreditIcon:Ec,CrossIcon:Dc,DashboardIcon:vc,DatabaseIcon:xc,DeleteIcon:Hc,DiamondIcon:Mc,DirectionIcon:Fc,DiscordIcon:Uc,DocChartIcon:Nc,DocListIcon:Gc,DocumentIcon:Wc,DownloadIcon:Kc,DragIcon:Yc,EditIcon:qc,EllipsisIcon:Vc,EmailIcon:Zc,ExpandAltIcon:zc,ExpandIcon:Jc,EyeCloseIcon:Qc,EyeIcon:Xc,FaceHappyIcon:$c,FaceNeutralIcon:jc,FaceSadIcon:ot,FacebookIcon:nt,FailedIcon:et,FastForwardIcon:ct,FigmaIcon:tt,FilterIcon:rt,FlagIcon:It,FolderIcon:at,FormIcon:lt,GDriveIcon:it,GithubIcon:st,GitlabIcon:ut,GlobeIcon:dt,GoogleIcon:pt,GraphBarIcon:mt,GraphLineIcon:St,GraphqlIcon:Ct,GridAltIcon:ht,GridIcon:At,GrowIcon:Tt,HeartHollowIcon:_t,HeartIcon:bt,HomeIcon:gt,HourglassIcon:yt,InfoIcon:Ot,ItalicIcon:Bt,JumpToIcon:ft,KeyIcon:kt,LightningIcon:Rt,LightningOffIcon:Pt,LinkBrokenIcon:Lt,LinkIcon:wt,LinkedinIcon:Et,LinuxIcon:Dt,ListOrderedIcon:vt,ListUnorderedIcon:xt,LocationIcon:Ht,LockIcon:Mt,MarkdownIcon:Ft,MarkupIcon:Ut,MediumIcon:Nt,MemoryIcon:Gt,MenuIcon:Wt,MergeIcon:Kt,MirrorIcon:Yt,MobileIcon:qt,MoonIcon:Vt,NutIcon:Zt,OutboxIcon:zt,OutlineIcon:A,PaintBrushIcon:Jt,PaperClipIcon:Qt,ParagraphIcon:Xt,PassedIcon:$t,PhoneIcon:jt,PhotoDragIcon:or,PhotoIcon:nr,PinAltIcon:er,PinIcon:cr,PlayBackIcon:tr,PlayIcon:rr,PlayNextIcon:Ir,PlusIcon:ar,PointerDefaultIcon:lr,PointerHandIcon:ir,PowerIcon:sr,PrintIcon:ur,ProceedIcon:dr,ProfileIcon:pr,PullRequestIcon:mr,QuestionIcon:Sr,RSSIcon:Cr,RedirectIcon:hr,ReduxIcon:Ar,RefreshIcon:Tr,ReplyIcon:_r,RepoIcon:br,RequestChangeIcon:gr,RewindIcon:yr,RulerIcon:Or,SearchIcon:Br,ShareAltIcon:fr,ShareIcon:kr,ShieldIcon:Rr,SideBySideIcon:Pr,SidebarAltIcon:Lr,SidebarAltToggleIcon:wr,SidebarIcon:Er,SidebarToggleIcon:Dr,SpeakerIcon:vr,StackedIcon:xr,StarHollowIcon:Hr,StarIcon:Mr,StatusFailIcon:Fr,StatusPassIcon:Ur,StatusWarnIcon:Nr,StickerIcon:Gr,StopAltIcon:Wr,StopIcon:Kr,StorybookIcon:Yr,StructureIcon:qr,SubtractIcon:Vr,SunIcon:Zr,SupportIcon:zr,SwitchAltIcon:Jr,SyncIcon:Qr,TabletIcon:Xr,ThumbsUpIcon:$r,TimeIcon:jr,TimerIcon:oI,TransferIcon:nI,TrashIcon:eI,TwitterIcon:cI,TypeIcon:tI,UbuntuIcon:rI,UndoIcon:II,UnfoldIcon:aI,UnlockIcon:lI,UnpinIcon:iI,UploadIcon:sI,UserAddIcon:uI,UserAltIcon:dI,UserIcon:pI,UsersIcon:mI,VSCodeIcon:SI,VerifiedIcon:CI,VideoIcon:hI,WandIcon:AI,WatchIcon:TI,WindowsIcon:_I,WrenchIcon:bI,XIcon:gI,YoutubeIcon:yI,ZoomIcon:OI,ZoomOutIcon:BI,ZoomResetIcon:fI,iconList:kI}=__STORYBOOK_ICONS__;var i="storybook/outline",T="outline",_=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[T]),a=d(()=>r({[T]:!I}),[I]);return p(()=>{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:m.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(_,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-outline-5/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-outline-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-toolbars-3/manager-bundle.js b/storybook/sb-addons/essentials-toolbars-3/manager-bundle.js new file mode 100644 index 000000000..aa88ebe08 --- /dev/null +++ b/storybook/sb-addons/essentials-toolbars-3/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var l=__REACT__,{Children:se,Component:ie,Fragment:ue,Profiler:ce,PureComponent:pe,StrictMode:me,Suspense:de,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:be,cloneElement:Se,createContext:Te,createElement:ye,createFactory:_e,createRef:fe,forwardRef:Ce,isValidElement:ve,lazy:Ie,memo:Oe,startTransition:Ee,unstable_act:xe,useCallback:C,useContext:ge,useDebugValue:ke,useDeferredValue:he,useEffect:g,useId:Ae,useImperativeHandle:Re,useInsertionEffect:Le,useLayoutEffect:Be,useMemo:Me,useReducer:Pe,useRef:L,useState:B,useSyncExternalStore:Ne,useTransition:we,version:Ve}=__REACT__;var We=__STORYBOOK_API__,{ActiveTabs:Ke,Consumer:Ye,ManagerContext:$e,Provider:qe,RequestResponseError:ze,addons:k,combineParameters:Ue,controlOrMetaKey:je,controlOrMetaSymbol:Ze,eventMatchesShortcut:Je,eventToShortcut:Qe,experimental_requestResponse:Xe,isMacLike:et,isShortcutTaken:tt,keyToSymbol:ot,merge:rt,mockChannel:at,optionOrAltSymbol:lt,shortcutMatchesShortcut:nt,shortcutToHumanString:st,types:M,useAddonState:it,useArgTypes:ut,useArgs:ct,useChannel:pt,useGlobalTypes:P,useGlobals:h,useParameter:mt,useSharedState:dt,useStoryPrepared:bt,useStorybookApi:N,useStorybookState:St}=__STORYBOOK_API__;var Ct=__STORYBOOK_COMPONENTS__,{A:vt,ActionBar:It,AddonPanel:Ot,Badge:Et,Bar:xt,Blockquote:gt,Button:kt,ClipboardCode:ht,Code:At,DL:Rt,Div:Lt,DocumentWrapper:Bt,EmptyTabContent:Mt,ErrorFormatter:Pt,FlexBar:Nt,Form:wt,H1:Vt,H2:Dt,H3:Ht,H4:Ft,H5:Gt,H6:Wt,HR:Kt,IconButton:w,IconButtonSkeleton:Yt,Icons:A,Img:$t,LI:qt,Link:zt,ListItem:Ut,Loader:jt,Modal:Zt,OL:Jt,P:Qt,Placeholder:Xt,Pre:eo,ResetWrapper:to,ScrollArea:oo,Separator:V,Spaced:ro,Span:ao,StorybookIcon:lo,StorybookLogo:no,Symbols:so,SyntaxHighlighter:io,TT:uo,TabBar:co,TabButton:po,TabWrapper:mo,Table:bo,Tabs:So,TabsState:To,TooltipLinkList:D,TooltipMessage:yo,TooltipNote:_o,UL:fo,WithTooltip:H,WithTooltipPure:Co,Zoom:vo,codeCommon:Io,components:Oo,createCopyToClipboardFunction:Eo,getStoryHref:xo,icons:go,interleaveSeparators:ko,nameSpaceClassNames:ho,resetComponents:Ao,withReset:Ro}=__STORYBOOK_COMPONENTS__;var K={type:"item",value:""},Y=(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),{...K,...r}})}}),$=["reset"],q=o=>o.filter(t=>!$.includes(t.type)).map(t=>t.value),S="addon-toolbars",z=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(S,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(S,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(S,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},U=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,c=N(),[T,i]=h(),n=L([]),u=T[e],v=C(()=>{i({[e]:""})},[i]),I=C(()=>{let s=n.current,m=s.indexOf(u),d=m===s.length-1?0:m+1,p=n.current[d];i({[e]:p})},[n,u,i]),O=C(()=>{let s=n.current,m=s.indexOf(u),d=m>-1?m:0,p=d===0?s.length-1:d-1,b=n.current[p];i({[e]:b})},[n,u,i]);return g(()=>{a&&z(c,e,{next:{...a.next,action:I},previous:{...a.previous,action:O},reset:{...a.reset,action:v}})},[c,e,a,I,O,v]),g(()=>{n.current=q(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},F=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),j=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.icon},Z=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.title},J=({active:o,disabled:t,title:e,icon:r,description:a,onClick:c})=>l.createElement(w,{active:o,title:a,disabled:t,onClick:t?()=>{}:c},r&&l.createElement(A,{icon:r,__suppressDeprecationWarning:!0}),e?`\xA0${e}`:null),Q=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:c,disabled:T,currentValue:i})=>{let n=r&&l.createElement(A,{style:{opacity:1},icon:r}),u={id:e??"_reset",active:i===e,right:o,title:t,disabled:T,onClick:c};return r&&!a&&(u.icon=n),u},X=U(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:c,preventDynamicIcon:T,dynamicTitle:i}})=>{let[n,u,v]=h(),[I,O]=B(!1),s=n[o],m=!!s,d=o in v,p=r,b=c;T||(p=j({currentValue:s,items:a})||p),i&&(b=Z({currentValue:s,items:a})||b),!b&&!p&&console.warn(`Toolbar '${t}' has no title or icon`);let G=C(x=>{u({[o]:x})},[o,u]);return l.createElement(H,{placement:"top",tooltip:({onHide:x})=>{let W=a.filter(({type:E})=>{let R=!0;return E==="reset"&&!s&&(R=!1),R}).map(E=>Q({...E,currentValue:s,disabled:d,onClick:()=>{G(E.value),x()}}));return l.createElement(D,{links:W})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(J,{active:I||m,disabled:d,description:e||"",icon:p,title:b||""}))}),ee=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(V,null),t.map(e=>{let r=Y(e,o[e]);return l.createElement(X,{key:e,id:e,...r})})):null};k.register(S,()=>k.add(S,{title:S,type:M.TOOL,match:({tabId:o})=>!o,render:()=>l.createElement(ee,null)}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-toolbars-3/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-toolbars-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/essentials-viewport-2/manager-bundle.js b/storybook/sb-addons/essentials-viewport-2/manager-bundle.js new file mode 100644 index 000000000..8077d2eb6 --- /dev/null +++ b/storybook/sb-addons/essentials-viewport-2/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var he=Object.create;var J=Object.defineProperty;var me=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var ge=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty;var O=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var N=(e,t)=>()=>(e&&(t=e(e=0)),t);var be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ye=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of fe(t))!we.call(e,c)&&c!==a&&J(e,c,{get:()=>t[c],enumerable:!(s=me(t,c))||s.enumerable});return e};var Se=(e,t,a)=>(a=e!=null?he(ge(e)):{},ye(t||!e||!e.__esModule?J(a,"default",{value:e,enumerable:!0}):a,e));var f=N(()=>{});var g=N(()=>{});var w=N(()=>{});var le=be((ce,Z)=>{f();g();w();(function(e){if(typeof ce=="object"&&typeof Z<"u")Z.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,a;return function s(c,b,p){function o(n,d){if(!b[n]){if(!c[n]){var r=typeof O=="function"&&O;if(!d&&r)return r(n,!0);if(i)return i(n,!0);var u=new Error("Cannot find module '"+n+"'");throw u.code="MODULE_NOT_FOUND",u}var I=b[n]={exports:{}};c[n][0].call(I.exports,function(m){var y=c[n][1][m];return o(y||m)},I,I.exports,s,c,b,p)}return b[n].exports}for(var i=typeof O=="function"&&O,h=0;h=0)return this.lastItem=this.list[i],this.list[i].val},p.prototype.set=function(o,i){var h;return this.lastItem&&this.isEqual(this.lastItem.key,o)?(this.lastItem.val=i,this):(h=this.indexOf(o),h>=0?(this.lastItem=this.list[h],this.list[h].val=i,this):(this.lastItem={key:o,val:i},this.list.push(this.lastItem),this.size++,this))},p.prototype.delete=function(o){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,o)&&(this.lastItem=void 0),i=this.indexOf(o),i>=0)return this.size--,this.list.splice(i,1)[0]},p.prototype.has=function(o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,o)?!0:(i=this.indexOf(o),i>=0?(this.lastItem=this.list[i],!0):!1)},p.prototype.forEach=function(o,i){var h;for(h=0;h0&&(M[S]={cacheItem:m,arg:arguments[S]},x?o(r,M):r.push(M),r.length>n&&i(r.shift())),I.wasMemoized=x,I.numArgs=S+1,k};return I.limit=n,I.wasMemoized=!1,I.cache=d,I.lru=r,I}};function o(n,d){var r=n.length,u=d.length,I,m,y;for(m=0;m=0&&(r=n[I],u=r.cacheItem.get(r.arg),!u||!u.size);I--)r.cacheItem.delete(r.arg)}function h(n,d){return n===d||n!==n&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})});f();g();w();f();g();w();f();g();w();f();g();w();var l=__REACT__,{Children:$e,Component:Je,Fragment:V,Profiler:Qe,PureComponent:Xe,StrictMode:et,Suspense:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ot,cloneElement:nt,createContext:rt,createElement:z,createFactory:it,createRef:at,forwardRef:ct,isValidElement:lt,lazy:st,memo:Q,startTransition:ut,unstable_act:It,useCallback:X,useContext:pt,useDebugValue:dt,useDeferredValue:ht,useEffect:_,useId:mt,useImperativeHandle:ft,useInsertionEffect:gt,useLayoutEffect:wt,useMemo:bt,useReducer:yt,useRef:ee,useState:G,useSyncExternalStore:St,useTransition:vt,version:Ct}=__REACT__;f();g();w();var kt=__STORYBOOK_API__,{ActiveTabs:xt,Consumer:At,ManagerContext:Ot,Provider:_t,RequestResponseError:Lt,addons:H,combineParameters:Bt,controlOrMetaKey:Pt,controlOrMetaSymbol:Mt,eventMatchesShortcut:Vt,eventToShortcut:Dt,experimental_requestResponse:Nt,isMacLike:zt,isShortcutTaken:Gt,keyToSymbol:Ht,merge:Ft,mockChannel:Ut,optionOrAltSymbol:qt,shortcutMatchesShortcut:Wt,shortcutToHumanString:Yt,types:te,useAddonState:jt,useArgTypes:Kt,useArgs:Zt,useChannel:$t,useGlobalTypes:Jt,useGlobals:F,useParameter:U,useSharedState:Qt,useStoryPrepared:Xt,useStorybookApi:oe,useStorybookState:eo}=__STORYBOOK_API__;f();g();w();var io=__STORYBOOK_COMPONENTS__,{A:ao,ActionBar:co,AddonPanel:lo,Badge:so,Bar:uo,Blockquote:Io,Button:po,ClipboardCode:ho,Code:mo,DL:fo,Div:go,DocumentWrapper:wo,EmptyTabContent:bo,ErrorFormatter:yo,FlexBar:So,Form:vo,H1:Co,H2:Eo,H3:Ro,H4:To,H5:ko,H6:xo,HR:Ao,IconButton:L,IconButtonSkeleton:Oo,Icons:_o,Img:Lo,LI:Bo,Link:Po,ListItem:Mo,Loader:Vo,Modal:Do,OL:No,P:zo,Placeholder:Go,Pre:Ho,ResetWrapper:Fo,ScrollArea:Uo,Separator:qo,Spaced:Wo,Span:Yo,StorybookIcon:jo,StorybookLogo:Ko,Symbols:Zo,SyntaxHighlighter:$o,TT:Jo,TabBar:Qo,TabButton:Xo,TabWrapper:en,Table:tn,Tabs:on,TabsState:nn,TooltipLinkList:q,TooltipMessage:rn,TooltipNote:an,UL:cn,WithTooltip:W,WithTooltipPure:ln,Zoom:sn,codeCommon:un,components:In,createCopyToClipboardFunction:pn,getStoryHref:dn,icons:hn,interleaveSeparators:mn,nameSpaceClassNames:fn,resetComponents:gn,withReset:wn}=__STORYBOOK_COMPONENTS__;f();g();w();var Cn=__STORYBOOK_THEMING__,{CacheProvider:En,ClassNames:Rn,Global:Y,ThemeProvider:Tn,background:kn,color:xn,convert:An,create:On,createCache:_n,createGlobal:Ln,createReset:Bn,css:Pn,darken:Mn,ensure:Vn,ignoreSsrWarning:Dn,isPropValid:Nn,jsx:zn,keyframes:Gn,lighten:Hn,styled:v,themes:Fn,typography:Un,useTheme:qn,withTheme:Wn}=__STORYBOOK_THEMING__;f();g();w();var $n=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Jn,AccessibilityIcon:Qn,AddIcon:Xn,AdminIcon:er,AlertAltIcon:tr,AlertIcon:or,AlignLeftIcon:nr,AlignRightIcon:rr,AppleIcon:ir,ArrowBottomLeftIcon:ar,ArrowBottomRightIcon:cr,ArrowDownIcon:lr,ArrowLeftIcon:sr,ArrowRightIcon:ur,ArrowSolidDownIcon:Ir,ArrowSolidLeftIcon:pr,ArrowSolidRightIcon:dr,ArrowSolidUpIcon:hr,ArrowTopLeftIcon:mr,ArrowTopRightIcon:fr,ArrowUpIcon:gr,AzureDevOpsIcon:wr,BackIcon:br,BasketIcon:yr,BatchAcceptIcon:Sr,BatchDenyIcon:vr,BeakerIcon:Cr,BellIcon:Er,BitbucketIcon:Rr,BoldIcon:Tr,BookIcon:kr,BookmarkHollowIcon:xr,BookmarkIcon:Ar,BottomBarIcon:Or,BottomBarToggleIcon:_r,BoxIcon:Lr,BranchIcon:Br,BrowserIcon:ne,ButtonIcon:Pr,CPUIcon:Mr,CalendarIcon:Vr,CameraIcon:Dr,CategoryIcon:Nr,CertificateIcon:zr,ChangedIcon:Gr,ChatIcon:Hr,CheckIcon:Fr,ChevronDownIcon:Ur,ChevronLeftIcon:qr,ChevronRightIcon:Wr,ChevronSmallDownIcon:Yr,ChevronSmallLeftIcon:jr,ChevronSmallRightIcon:Kr,ChevronSmallUpIcon:Zr,ChevronUpIcon:$r,ChromaticIcon:Jr,ChromeIcon:Qr,CircleHollowIcon:Xr,CircleIcon:ei,ClearIcon:ti,CloseAltIcon:oi,CloseIcon:ni,CloudHollowIcon:ri,CloudIcon:ii,CogIcon:ai,CollapseIcon:ci,CommandIcon:li,CommentAddIcon:si,CommentIcon:ui,CommentsIcon:Ii,CommitIcon:pi,CompassIcon:di,ComponentDrivenIcon:hi,ComponentIcon:mi,ContrastIcon:fi,ControlsIcon:gi,CopyIcon:wi,CreditIcon:bi,CrossIcon:yi,DashboardIcon:Si,DatabaseIcon:vi,DeleteIcon:Ci,DiamondIcon:Ei,DirectionIcon:Ri,DiscordIcon:Ti,DocChartIcon:ki,DocListIcon:xi,DocumentIcon:Ai,DownloadIcon:Oi,DragIcon:_i,EditIcon:Li,EllipsisIcon:Bi,EmailIcon:Pi,ExpandAltIcon:Mi,ExpandIcon:Vi,EyeCloseIcon:Di,EyeIcon:Ni,FaceHappyIcon:zi,FaceNeutralIcon:Gi,FaceSadIcon:Hi,FacebookIcon:Fi,FailedIcon:Ui,FastForwardIcon:qi,FigmaIcon:Wi,FilterIcon:Yi,FlagIcon:ji,FolderIcon:Ki,FormIcon:Zi,GDriveIcon:$i,GithubIcon:Ji,GitlabIcon:Qi,GlobeIcon:Xi,GoogleIcon:ea,GraphBarIcon:ta,GraphLineIcon:oa,GraphqlIcon:na,GridAltIcon:ra,GridIcon:ia,GrowIcon:j,HeartHollowIcon:aa,HeartIcon:ca,HomeIcon:la,HourglassIcon:sa,InfoIcon:ua,ItalicIcon:Ia,JumpToIcon:pa,KeyIcon:da,LightningIcon:ha,LightningOffIcon:ma,LinkBrokenIcon:fa,LinkIcon:ga,LinkedinIcon:wa,LinuxIcon:ba,ListOrderedIcon:ya,ListUnorderedIcon:Sa,LocationIcon:va,LockIcon:Ca,MarkdownIcon:Ea,MarkupIcon:Ra,MediumIcon:Ta,MemoryIcon:ka,MenuIcon:xa,MergeIcon:Aa,MirrorIcon:Oa,MobileIcon:re,MoonIcon:_a,NutIcon:La,OutboxIcon:Ba,OutlineIcon:Pa,PaintBrushIcon:Ma,PaperClipIcon:Va,ParagraphIcon:Da,PassedIcon:Na,PhoneIcon:za,PhotoDragIcon:Ga,PhotoIcon:Ha,PinAltIcon:Fa,PinIcon:Ua,PlayBackIcon:qa,PlayIcon:Wa,PlayNextIcon:Ya,PlusIcon:ja,PointerDefaultIcon:Ka,PointerHandIcon:Za,PowerIcon:$a,PrintIcon:Ja,ProceedIcon:Qa,ProfileIcon:Xa,PullRequestIcon:ec,QuestionIcon:tc,RSSIcon:oc,RedirectIcon:nc,ReduxIcon:rc,RefreshIcon:ie,ReplyIcon:ic,RepoIcon:ac,RequestChangeIcon:cc,RewindIcon:lc,RulerIcon:sc,SearchIcon:uc,ShareAltIcon:Ic,ShareIcon:pc,ShieldIcon:dc,SideBySideIcon:hc,SidebarAltIcon:mc,SidebarAltToggleIcon:fc,SidebarIcon:gc,SidebarToggleIcon:wc,SpeakerIcon:bc,StackedIcon:yc,StarHollowIcon:Sc,StarIcon:vc,StatusFailIcon:Cc,StatusPassIcon:Ec,StatusWarnIcon:Rc,StickerIcon:Tc,StopAltIcon:kc,StopIcon:xc,StorybookIcon:Ac,StructureIcon:Oc,SubtractIcon:_c,SunIcon:Lc,SupportIcon:Bc,SwitchAltIcon:Pc,SyncIcon:Mc,TabletIcon:ae,ThumbsUpIcon:Vc,TimeIcon:Dc,TimerIcon:Nc,TransferIcon:K,TrashIcon:zc,TwitterIcon:Gc,TypeIcon:Hc,UbuntuIcon:Fc,UndoIcon:Uc,UnfoldIcon:qc,UnlockIcon:Wc,UnpinIcon:Yc,UploadIcon:jc,UserAddIcon:Kc,UserAltIcon:Zc,UserIcon:$c,UsersIcon:Jc,VSCodeIcon:Qc,VerifiedIcon:Xc,VideoIcon:el,WandIcon:tl,WatchIcon:ol,WindowsIcon:nl,WrenchIcon:rl,XIcon:il,YoutubeIcon:al,ZoomIcon:cl,ZoomOutIcon:ll,ZoomResetIcon:sl,iconList:ul}=__STORYBOOK_ICONS__;var $=Se(le()),B="storybook/viewport",A="viewport",Ie={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"}},P={name:"Reset viewport",styles:{height:"100%",width:"100%"},type:"desktop"},Ce={[A]:{value:void 0,isRotated:!1}},Ee={viewport:"reset",viewportRotated:!1},Re=FEATURES?.viewportStoryGlobals?Ce:Ee,pe=(e,t)=>e.indexOf(t),Te=(e,t)=>{let a=pe(e,t);return a===e.length-1?e[0]:e[a+1]},ke=(e,t)=>{let a=pe(e,t);return a<1?e[e.length-1]:e[a-1]},de=async(e,t,a,s)=>{await e.setAddonShortcut(B,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{a({viewport:ke(s,t)})}}),await e.setAddonShortcut(B,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{a({viewport:Te(s,t)})}}),await e.setAddonShortcut(B,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{a(Re)}})},xe=v.div(()=>({display:"inline-flex",alignItems:"center"})),se=v.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"})),Ae=v(L)(()=>({display:"inline-flex",alignItems:"center"})),Oe=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),_e={desktop:l.createElement(ne,null),mobile:l.createElement(re,null),tablet:l.createElement(ae,null),other:l.createElement(V,null)},Le=({api:e})=>{let t=U(A),[a,s,c]=F(),[b,p]=G(!1),{options:o=Ie,disable:i}=t||{},h=a?.[A]||{},n=h.value,d=h.isRotated,r=o[n]||P,u=b||r!==P,I=A in c,m=Object.keys(o).length;if(_(()=>{de(e,n,s,Object.keys(o))},[o,n,s,e]),r.styles===null||!o||m<1)return null;if(typeof r.styles=="function")return console.warn("Addon Viewport no longer supports dynamic styles using a function, use css calc() instead"),null;let y=d?r.styles.height:r.styles.width,k=d?r.styles.width:r.styles.height;return i?null:l.createElement(Be,{item:r,updateGlobals:s,viewportMap:o,viewportName:n,isRotated:d,setIsTooltipVisible:p,isLocked:I,isActive:u,width:y,height:k})},Be=l.memo(function(e){let{item:t,viewportMap:a,viewportName:s,isRotated:c,updateGlobals:b,setIsTooltipVisible:p,isLocked:o,isActive:i,width:h,height:n}=e,d=X(r=>b({[A]:r}),[b]);return l.createElement(V,null,l.createElement(W,{placement:"bottom",tooltip:({onHide:r})=>l.createElement(q,{links:[...length>0&&t!==P?[{id:"reset",title:"Reset viewport",icon:l.createElement(ie,null),onClick:()=>{d({value:void 0,isRotated:!1}),r()}}]:[],...Object.entries(a).map(([u,I])=>({id:u,title:I.name,icon:_e[I.type],active:u===s,onClick:()=>{d({value:u,isRotated:!1}),r()}}))]}),closeOnOutsideClick:!0,onVisibleChange:p},l.createElement(Ae,{disabled:o,key:"viewport",title:"Change the size of the preview",active:i,onDoubleClick:()=>{d({value:void 0,isRotated:!1})}},l.createElement(j,null),t!==P?l.createElement(Oe,null,t.name," ",c?"(L)":"(P)"):null)),l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{width:h,height:n}}}),t!==P?l.createElement(xe,null,l.createElement(se,{title:"Viewport width"},h.replace("px","")),o?"/":l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{d({value:s,isRotated:!c})}},l.createElement(K,null)),l.createElement(se,{title:"Viewport height"},n.replace("px",""))):null)}),Pe=(0,$.default)(50)(e=>[...Me,...Object.entries(e).map(([t,{name:a,...s}])=>({...s,id:t,title:a}))]),D={id:"reset",title:"Reset viewport",styles:null,type:"other"},Me=[D],Ve=(0,$.default)(50)((e,t,a,s)=>e.filter(c=>c.id!==D.id||t.id!==c.id).map(c=>({...c,onClick:()=>{a({viewport:c.id}),s()}}))),De=({width:e,height:t,...a})=>({...a,height:e,width:t}),Ne=v.div(()=>({display:"inline-flex",alignItems:"center"})),ue=v.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"})),ze=v(L)(()=>({display:"inline-flex",alignItems:"center"})),Ge=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),He=(e,t,a)=>{if(t===null)return;let s=typeof t=="function"?t(e):t;return a?De(s):s},Fe=Q(function(){let[e,t]=F(),{viewports:a=Ie,defaultOrientation:s,defaultViewport:c,disable:b}=U(A,{}),p=Pe(a),o=oe(),[i,h]=G(!1);c&&!p.find(u=>u.id===c)&&console.warn(`Cannot find "defaultViewport" of "${c}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),_(()=>{de(o,e,t,Object.keys(a))},[a,e,e.viewport,t,o]),_(()=>{let u=s==="landscape";(c&&e.viewport!==c||s&&e.viewportRotated!==u)&&t({viewport:c,viewportRotated:u})},[s,c,t]);let n=p.find(u=>u.id===e.viewport)||p.find(u=>u.id===c)||p.find(u=>u.default)||D,d=ee(),r=He(d.current,n.styles,e.viewportRotated);return _(()=>{d.current=r},[n]),b||Object.entries(a).length===0?null:l.createElement(V,null,l.createElement(W,{placement:"top",tooltip:({onHide:u})=>l.createElement(q,{links:Ve(p,n,t,u)}),closeOnOutsideClick:!0,onVisibleChange:h},l.createElement(ze,{key:"viewport",title:"Change the size of the preview",active:i||!!r,onDoubleClick:()=>{t({viewport:D.id})}},l.createElement(j,null),r?l.createElement(Ge,null,e.viewportRotated?`${n.title} (L)`:`${n.title} (P)`):null)),r?l.createElement(Ne,null,l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{...r||{width:"100%",height:"100%"}}}}),l.createElement(ue,{title:"Viewport width"},r.width.replace("px","")),l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{t({viewportRotated:!e.viewportRotated})}},l.createElement(K,null)),l.createElement(ue,{title:"Viewport height"},r.height.replace("px",""))):null)});H.register(B,e=>{H.add(B,{title:"viewport / media-queries",type:te.TOOL,match:({viewMode:t,tabId:a})=>t==="story"&&!a,render:()=>FEATURES?.viewportStoryGlobals?z(Le,{api:e}):z(Fe,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/essentials-viewport-2/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/essentials-viewport-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storybook-7/manager-bundle.js b/storybook/sb-addons/storybook-7/manager-bundle.js new file mode 100644 index 000000000..eb4d394a0 --- /dev/null +++ b/storybook/sb-addons/storybook-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var g=__STORYBOOK_API__,{ActiveTabs:h,Consumer:b,ManagerContext:_,Provider:S,RequestResponseError:T,addons:r,combineParameters:y,controlOrMetaKey:f,controlOrMetaSymbol:O,eventMatchesShortcut:P,eventToShortcut:x,experimental_requestResponse:C,isMacLike:k,isShortcutTaken:v,keyToSymbol:w,merge:M,mockChannel:A,optionOrAltSymbol:R,shortcutMatchesShortcut:I,shortcutToHumanString:G,types:E,useAddonState:H,useArgTypes:K,useArgs:j,useChannel:B,useGlobalTypes:Y,useGlobals:L,useParameter:N,useSharedState:q,useStoryPrepared:U,useStorybookApi:V,useStorybookState:W}=__STORYBOOK_API__;var Q=__STORYBOOK_THEMING__,{CacheProvider:X,ClassNames:Z,Global:$,ThemeProvider:ee,background:oe,color:te,convert:re,create:a,createCache:ae,createGlobal:se,createReset:ne,css:me,darken:le,ensure:ie,ignoreSsrWarning:ce,isPropValid:de,jsx:pe,keyframes:ue,lighten:ge,styled:he,themes:be,typography:_e,useTheme:Se,withTheme:Te}=__STORYBOOK_THEMING__;var s=a({base:"light",fontCode:"monospace",brandTitle:"sigma.js",brandUrl:"https://www.sigmajs.org/",brandImage:"https://www.sigmajs.org/img/logo-sigma-text.svg",brandTarget:"_self",colorPrimary:"#e22653",colorSecondary:"#999",textColor:"#000000",textInverseColor:"#ffffff"});var n=document.createElement("img");n.src="https://matomo.ouestware.com/matomo.php?idsite=26&rec=1&action_name=Storybook&send_image=0";document.body.append(n);r.setConfig({theme:s,showToolbar:!1,panelPosition:"bottom",bottomPanelHeight:380,sidebar:{renderLabel(m){return m.name.replace(/--/g,"/")}}});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook/sb-addons/storybook-7/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storybook-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 000000000..92f5dd46d --- /dev/null +++ b/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var T=__STORYBOOK_API__,{ActiveTabs:_,Consumer:g,ManagerContext:O,Provider:f,RequestResponseError:A,addons:n,combineParameters:v,controlOrMetaKey:P,controlOrMetaSymbol:k,eventMatchesShortcut:x,eventToShortcut:M,experimental_requestResponse:R,isMacLike:w,isShortcutTaken:C,keyToSymbol:G,merge:I,mockChannel:K,optionOrAltSymbol:q,shortcutMatchesShortcut:B,shortcutToHumanString:F,types:Y,useAddonState:j,useArgTypes:E,useArgs:H,useChannel:L,useGlobalTypes:N,useGlobals:z,useParameter:D,useSharedState:J,useStoryPrepared:Q,useStorybookApi:U,useStorybookState:V}=__STORYBOOK_API__;var S=(()=>{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})(),u="static-filter";n.register(u,e=>{let i=Object.entries(S.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,c]=r;return c.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(u,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>i[o]).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-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-addons/storysource-6/manager-bundle.js b/storybook/sb-addons/storysource-6/manager-bundle.js new file mode 100644 index 000000000..9fb6227ca --- /dev/null +++ b/storybook/sb-addons/storysource-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var h=__REACT__,{Children:ht,Component:_t,Fragment:Ot,Profiler:vt,PureComponent:Pt,StrictMode:Tt,Suspense:Et,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Lt,cloneElement:kt,createContext:Rt,createElement:Ct,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:qt,useLayoutEffect:rt,useMemo:Gt,useReducer:Ut,useRef:Vt,useState:zt,useSyncExternalStore:Qt,useTransition:Jt,version:Zt}=__REACT__;var ec=__STORYBOOK_API__,{ActiveTabs:nc,Consumer:ac,ManagerContext:sc,Provider:ic,RequestResponseError:uc,addons:w,combineParameters:lc,controlOrMetaKey:pc,controlOrMetaSymbol:dc,eventMatchesShortcut:mc,eventToShortcut:yc,experimental_requestResponse:fc,isMacLike:gc,isShortcutTaken:Sc,keyToSymbol:bc,merge:hc,mockChannel:_c,optionOrAltSymbol:Oc,shortcutMatchesShortcut:vc,shortcutToHumanString:Pc,types:D,useAddonState:Tc,useArgTypes:Ec,useArgs:Lc,useChannel:kc,useGlobalTypes:Rc,useGlobals:Cc,useParameter:x,useSharedState:Nc,useStoryPrepared:wc,useStorybookApi:xc,useStorybookState:jc}=__STORYBOOK_API__;var Mc=__STORYBOOK_COMPONENTS__,{A:Hc,ActionBar:Kc,AddonPanel:Yc,Badge:Fc,Bar:Wc,Blockquote:$c,Button:qc,ClipboardCode:rc,Code:Gc,DL:Uc,Div:Vc,DocumentWrapper:zc,EmptyTabContent:Qc,ErrorFormatter:Jc,FlexBar:Zc,Form:Xc,H1:to,H2:co,H3:oo,H4:eo,H5:no,H6:ao,HR:so,IconButton:io,IconButtonSkeleton:uo,Icons:lo,Img:po,LI:mo,Link:yo,ListItem:fo,Loader:go,Modal:So,OL:bo,P:ho,Placeholder:_o,Pre:Oo,ResetWrapper:vo,ScrollArea:Po,Separator:To,Spaced:Eo,Span:Lo,StorybookIcon:ko,StorybookLogo:Ro,Symbols:Co,SyntaxHighlighter:M,TT:No,TabBar:wo,TabButton:xo,TabWrapper:jo,Table:Io,Tabs:Bo,TabsState:Ao,TooltipLinkList:Do,TooltipMessage:Mo,TooltipNote:Ho,UL:Ko,WithTooltip:Yo,WithTooltipPure:Fo,Zoom:Wo,codeCommon:$o,components:qo,createCopyToClipboardFunction:ro,getStoryHref:Go,icons:Uo,interleaveSeparators:Vo,nameSpaceClassNames:zo,resetComponents:Qo,withReset:Jo}=__STORYBOOK_COMPONENTS__;var oe=__STORYBOOK_ROUTER__,{BaseLocationProvider:ee,DEEPLY_EQUAL:ne,Link:H,Location:ae,LocationProvider:se,Match:ie,Route:ue,buildArgsParam:le,deepDiff:pe,getMatch:de,parsePath:me,queryFromLocation:ye,queryFromString:fe,stringifyQuery:ge,useNavigate:Se}=__STORYBOOK_ROUTER__;var ve=__STORYBOOK_THEMING__,{CacheProvider:Pe,ClassNames:Te,Global:Ee,ThemeProvider:Le,background:ke,color:Re,convert:Ce,create:Ne,createCache:we,createGlobal:xe,createReset:je,css:Ie,darken:Be,ensure:Ae,ignoreSsrWarning:De,isPropValid:Me,jsx:He,keyframes:Ke,lighten:Ye,styled:k,themes:Fe,typography:We,useTheme:$e,withTheme:qe}=__STORYBOOK_THEMING__;var V=!0,j="Invariant failed";function K(t,c){if(!t){if(V)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:c+""}function J(t,c,o){return(c=Q(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 O(O({},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,_=c.tagName,R=c.value;if(T==="text")return R;if(_){var C=ct(o,m),a;if(!m)a=O(O({},u),{},{className:F(u.className)});else{var s=Object.keys(o).reduce(function(d,y){return y.split(".").forEach(function(f){d.includes(f)||d.push(f)}),d},[]),l=u.className&&u.className.includes("token")?["token"]:[],i=u.className&&l.concat(u.className.filter(function(d){return!s.includes(d)}));a=O(O({},u),{},{className:F(i)||void 0,style:tt(u.className,Object.assign({},u.style,n),o)})}var p=C(c.children);return h.createElement(_,B({key:v},a),p)}}var ot=k(H)(({theme:t})=>({display:"block",textDecoration:"none",borderRadius:t.appBorderRadius,color:"inherit","&:hover":{background:t.background.hoverable}})),et=k.div(({theme:t})=>({background:t.background.hoverable,borderRadius:t.appBorderRadius})),nt=k(M)(({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,st=({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 s=a.split("--");return c.id.endsWith(s[s.length-1])}):void 0,T=n&&u?n[u]:void 0;h.useEffect(()=>{o.current&&o.current.scrollIntoView()},[o.current]);let _=({rows:a,stylesheet:s,useInlineStyles:l})=>a.map((i,p)=>W({node:i,stylesheet:s,useInlineStyles:l,key:`code-segment${p}`})),R=({rows:a,stylesheet:s,useInlineStyles:l,location:i,id:p,refId:d})=>{let y=i.startLoc.line-1,f=i.endLoc.line,N=a.slice(y,f),E=_({rows:N,stylesheet:s,useInlineStyles:l}),L=`${y}-${f}`;return T&&at(i,T)?h.createElement(et,{key:L,ref:o},E):h.createElement(ot,{to:d?`/story/${d}_${p}`:`/story/${p}`,key:L},E)},C=({rows:a,stylesheet:s,useInlineStyles:l})=>{let i=[],p=0;K(n,"locationsMap should be defined while creating parts"),Object.keys(n).forEach(y=>{let f=n[y],N=f.startLoc.line-1,E=f.endLoc.line,{title:L,refId:q}=c,A=y.split("--"),r=t.storyId(L,A[A.length-1]),G=_({rows:a.slice(p,N),stylesheet:s,useInlineStyles:l}),U=R({rows:a,stylesheet:s,useInlineStyles:l,location:f,id:r,refId:q});i.push(...G),i.push(U),p=E});let d=_({rows:a.slice(p),stylesheet:s,useInlineStyles:l});return i.push(...d),i};return c?h.createElement(nt,{language:"jsx",showLineNumbers:!0,renderer:({rows:a,stylesheet:s,useInlineStyles:l})=>{let i=a.map(({properties:d,...y})=>({...y,properties:{className:[]}}));if(!n||!Object.keys(n).length)return _({rows:i,stylesheet:s,useInlineStyles:l});let p=C({rows:i,stylesheet:s,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",it=`${$}/panel`;w.register($,t=>{w.add(it,{type:D.PANEL,title:"Code",render:({active:c})=>c?h.createElement(st,{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-6/manager-bundle.js.LEGAL.txt b/storybook/sb-addons/storysource-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 000000000..e69de29bb diff --git a/storybook/sb-common-assets/favicon.svg b/storybook/sb-common-assets/favicon.svg new file mode 100644 index 000000000..571f90fe9 --- /dev/null +++ b/storybook/sb-common-assets/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file 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/globals-module-info.js b/storybook/sb-manager/globals-module-info.js new file mode 100644 index 000000000..ca770d896 --- /dev/null +++ b/storybook/sb-manager/globals-module-info.js @@ -0,0 +1,1006 @@ +import ESM_COMPAT_Module from "node:module"; +import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url'; +import { dirname as ESM_COMPAT_dirname } from 'node:path'; +const __filename = ESM_COMPAT_fileURLToPath(import.meta.url); +const __dirname = ESM_COMPAT_dirname(__filename); +const require = ESM_COMPAT_Module.createRequire(import.meta.url); + +// src/manager/globals/exports.ts +var t = { + react: [ + "Children", + "Component", + "Fragment", + "Profiler", + "PureComponent", + "StrictMode", + "Suspense", + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "cloneElement", + "createContext", + "createElement", + "createFactory", + "createRef", + "forwardRef", + "isValidElement", + "lazy", + "memo", + "startTransition", + "unstable_act", + "useCallback", + "useContext", + "useDebugValue", + "useDeferredValue", + "useEffect", + "useId", + "useImperativeHandle", + "useInsertionEffect", + "useLayoutEffect", + "useMemo", + "useReducer", + "useRef", + "useState", + "useSyncExternalStore", + "useTransition", + "version" + ], + "react-dom": [ + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "createPortal", + "createRoot", + "findDOMNode", + "flushSync", + "hydrate", + "hydrateRoot", + "render", + "unmountComponentAtNode", + "unstable_batchedUpdates", + "unstable_renderSubtreeIntoContainer", + "version" + ], + "react-dom/client": ["createRoot", "hydrateRoot"], + "@storybook/icons": [ + "AccessibilityAltIcon", + "AccessibilityIcon", + "AddIcon", + "AdminIcon", + "AlertAltIcon", + "AlertIcon", + "AlignLeftIcon", + "AlignRightIcon", + "AppleIcon", + "ArrowBottomLeftIcon", + "ArrowBottomRightIcon", + "ArrowDownIcon", + "ArrowLeftIcon", + "ArrowRightIcon", + "ArrowSolidDownIcon", + "ArrowSolidLeftIcon", + "ArrowSolidRightIcon", + "ArrowSolidUpIcon", + "ArrowTopLeftIcon", + "ArrowTopRightIcon", + "ArrowUpIcon", + "AzureDevOpsIcon", + "BackIcon", + "BasketIcon", + "BatchAcceptIcon", + "BatchDenyIcon", + "BeakerIcon", + "BellIcon", + "BitbucketIcon", + "BoldIcon", + "BookIcon", + "BookmarkHollowIcon", + "BookmarkIcon", + "BottomBarIcon", + "BottomBarToggleIcon", + "BoxIcon", + "BranchIcon", + "BrowserIcon", + "ButtonIcon", + "CPUIcon", + "CalendarIcon", + "CameraIcon", + "CategoryIcon", + "CertificateIcon", + "ChangedIcon", + "ChatIcon", + "CheckIcon", + "ChevronDownIcon", + "ChevronLeftIcon", + "ChevronRightIcon", + "ChevronSmallDownIcon", + "ChevronSmallLeftIcon", + "ChevronSmallRightIcon", + "ChevronSmallUpIcon", + "ChevronUpIcon", + "ChromaticIcon", + "ChromeIcon", + "CircleHollowIcon", + "CircleIcon", + "ClearIcon", + "CloseAltIcon", + "CloseIcon", + "CloudHollowIcon", + "CloudIcon", + "CogIcon", + "CollapseIcon", + "CommandIcon", + "CommentAddIcon", + "CommentIcon", + "CommentsIcon", + "CommitIcon", + "CompassIcon", + "ComponentDrivenIcon", + "ComponentIcon", + "ContrastIcon", + "ControlsIcon", + "CopyIcon", + "CreditIcon", + "CrossIcon", + "DashboardIcon", + "DatabaseIcon", + "DeleteIcon", + "DiamondIcon", + "DirectionIcon", + "DiscordIcon", + "DocChartIcon", + "DocListIcon", + "DocumentIcon", + "DownloadIcon", + "DragIcon", + "EditIcon", + "EllipsisIcon", + "EmailIcon", + "ExpandAltIcon", + "ExpandIcon", + "EyeCloseIcon", + "EyeIcon", + "FaceHappyIcon", + "FaceNeutralIcon", + "FaceSadIcon", + "FacebookIcon", + "FailedIcon", + "FastForwardIcon", + "FigmaIcon", + "FilterIcon", + "FlagIcon", + "FolderIcon", + "FormIcon", + "GDriveIcon", + "GithubIcon", + "GitlabIcon", + "GlobeIcon", + "GoogleIcon", + "GraphBarIcon", + "GraphLineIcon", + "GraphqlIcon", + "GridAltIcon", + "GridIcon", + "GrowIcon", + "HeartHollowIcon", + "HeartIcon", + "HomeIcon", + "HourglassIcon", + "InfoIcon", + "ItalicIcon", + "JumpToIcon", + "KeyIcon", + "LightningIcon", + "LightningOffIcon", + "LinkBrokenIcon", + "LinkIcon", + "LinkedinIcon", + "LinuxIcon", + "ListOrderedIcon", + "ListUnorderedIcon", + "LocationIcon", + "LockIcon", + "MarkdownIcon", + "MarkupIcon", + "MediumIcon", + "MemoryIcon", + "MenuIcon", + "MergeIcon", + "MirrorIcon", + "MobileIcon", + "MoonIcon", + "NutIcon", + "OutboxIcon", + "OutlineIcon", + "PaintBrushIcon", + "PaperClipIcon", + "ParagraphIcon", + "PassedIcon", + "PhoneIcon", + "PhotoDragIcon", + "PhotoIcon", + "PinAltIcon", + "PinIcon", + "PlayBackIcon", + "PlayIcon", + "PlayNextIcon", + "PlusIcon", + "PointerDefaultIcon", + "PointerHandIcon", + "PowerIcon", + "PrintIcon", + "ProceedIcon", + "ProfileIcon", + "PullRequestIcon", + "QuestionIcon", + "RSSIcon", + "RedirectIcon", + "ReduxIcon", + "RefreshIcon", + "ReplyIcon", + "RepoIcon", + "RequestChangeIcon", + "RewindIcon", + "RulerIcon", + "SearchIcon", + "ShareAltIcon", + "ShareIcon", + "ShieldIcon", + "SideBySideIcon", + "SidebarAltIcon", + "SidebarAltToggleIcon", + "SidebarIcon", + "SidebarToggleIcon", + "SpeakerIcon", + "StackedIcon", + "StarHollowIcon", + "StarIcon", + "StatusFailIcon", + "StatusPassIcon", + "StatusWarnIcon", + "StickerIcon", + "StopAltIcon", + "StopIcon", + "StorybookIcon", + "StructureIcon", + "SubtractIcon", + "SunIcon", + "SupportIcon", + "SwitchAltIcon", + "SyncIcon", + "TabletIcon", + "ThumbsUpIcon", + "TimeIcon", + "TimerIcon", + "TransferIcon", + "TrashIcon", + "TwitterIcon", + "TypeIcon", + "UbuntuIcon", + "UndoIcon", + "UnfoldIcon", + "UnlockIcon", + "UnpinIcon", + "UploadIcon", + "UserAddIcon", + "UserAltIcon", + "UserIcon", + "UsersIcon", + "VSCodeIcon", + "VerifiedIcon", + "VideoIcon", + "WandIcon", + "WatchIcon", + "WindowsIcon", + "WrenchIcon", + "XIcon", + "YoutubeIcon", + "ZoomIcon", + "ZoomOutIcon", + "ZoomResetIcon", + "iconList" + ], + "storybook/internal/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/core/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "storybook/internal/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/core/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "storybook/internal/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "queryFromString", + "stringifyQuery", + "useNavigate" + ], + "@storybook/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "queryFromString", + "stringifyQuery", + "useNavigate" + ], + "@storybook/core/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "queryFromString", + "stringifyQuery", + "useNavigate" + ], + "storybook/internal/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/core/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "storybook/internal/theming/create": ["create", "themes"], + "@storybook/theming/create": ["create", "themes"], + "@storybook/core/theming/create": ["create", "themes"], + "storybook/internal/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/core/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "storybook/internal/core-errors": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "storybook/internal/types": ["Addon_TypesEnum"], + "@storybook/types": ["Addon_TypesEnum"], + "@storybook/core/types": ["Addon_TypesEnum"], + "storybook/internal/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core-events/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/core/client-logger": ["deprecate", "logger", "once", "pretty"] +}; + +// src/manager/globals/globals.ts +var e = { + react: "__REACT__", + "react-dom": "__REACT_DOM__", + "react-dom/client": "__REACT_DOM_CLIENT__", + "@storybook/icons": "__STORYBOOK_ICONS__", + "storybook/internal/manager-api": "__STORYBOOK_API__", + "@storybook/manager-api": "__STORYBOOK_API__", + "@storybook/core/manager-api": "__STORYBOOK_API__", + "storybook/internal/components": "__STORYBOOK_COMPONENTS__", + "@storybook/components": "__STORYBOOK_COMPONENTS__", + "@storybook/core/components": "__STORYBOOK_COMPONENTS__", + "storybook/internal/channels": "__STORYBOOK_CHANNELS__", + "@storybook/channels": "__STORYBOOK_CHANNELS__", + "@storybook/core/channels": "__STORYBOOK_CHANNELS__", + "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core-events": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__", + "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "storybook/internal/router": "__STORYBOOK_ROUTER__", + "@storybook/router": "__STORYBOOK_ROUTER__", + "@storybook/core/router": "__STORYBOOK_ROUTER__", + "storybook/internal/theming": "__STORYBOOK_THEMING__", + "@storybook/theming": "__STORYBOOK_THEMING__", + "@storybook/core/theming": "__STORYBOOK_THEMING__", + "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__", + "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "storybook/internal/types": "__STORYBOOK_TYPES__", + "@storybook/types": "__STORYBOOK_TYPES__", + "@storybook/core/types": "__STORYBOOK_TYPES__" +}, n = Object.keys(e); + +// src/manager/globals/globals-module-info.ts +var S = n.reduce( + (r, o) => (r[o] = { + type: "esm", + varName: e[o], + namedExports: t[o], + defaultExport: !0 + }, r), + {} +); +export { + S as globalsModuleInfoMap +}; diff --git a/storybook/sb-manager/globals-runtime.js b/storybook/sb-manager/globals-runtime.js new file mode 100644 index 000000000..ea2c71d05 --- /dev/null +++ b/storybook/sb-manager/globals-runtime.js @@ -0,0 +1,54400 @@ +var Hfe = Object.create; +var R5 = Object.defineProperty; +var $fe = Object.getOwnPropertyDescriptor; +var zfe = Object.getOwnPropertyNames; +var jfe = Object.getPrototypeOf, Ufe = Object.prototype.hasOwnProperty; +var a = (e, t) => R5(e, "name", { value: t, configurable: !0 }), Wm = /* @__PURE__ */ ((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 Y = (e, t) => () => (e && (t = e(e = 0)), t); +var k = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), $t = (e, t) => { + for (var r in t) + R5(e, r, { get: t[r], enumerable: !0 }); +}, qfe = (e, t, r, o) => { + if (t && typeof t == "object" || typeof t == "function") + for (let s of zfe(t)) + !Ufe.call(e, s) && s !== r && R5(e, s, { get: () => t[s], enumerable: !(o = $fe(t, s)) || o.enumerable }); + return e; +}; +var Z = (e, t, r) => (r = e != null ? Hfe(jfe(e)) : {}, qfe( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + t || !e || !e.__esModule ? R5(r, "default", { value: e, enumerable: !0 }) : r, + e +)); + +// ../node_modules/@storybook/global/dist/index.mjs +var Ae, Or = Y(() => { + Ae = (() => { + 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; + })(); +}); + +// ../node_modules/react/cjs/react.development.js +var II = k((Et, A5) => { + "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 e = "18.2.0", t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), s = Symbol.for("rea\ +ct.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), h = Symbol.for("react\ +.forward_ref"), v = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react\ +.lazy"), x = Symbol.for("react.offscreen"), R = Symbol.iterator, C = "@@iterator"; + function D(_) { + if (_ === null || typeof _ != "object") + return null; + var $ = R && _[R] || _[C]; + return typeof $ == "function" ? $ : null; + } + a(D, "getIteratorFn"); + var F = { + /** + * @internal + * @type {ReactComponent} + */ + current: null + }, O = { + transition: null + }, I = { + current: null, + // Used to reproduce behavior of `batchedUpdates` in legacy mode. + isBatchingLegacy: !1, + didScheduleLegacyUpdate: !1 + }, P = { + /** + * @internal + * @type {ReactComponent} + */ + current: null + }, N = {}, H = null; + function B(_) { + H = _; + } + a(B, "setExtraStackFrame"), N.setExtraStackFrame = function(_) { + H = _; + }, N.getCurrentStack = null, N.getStackAddendum = function() { + var _ = ""; + H && (_ += H); + var $ = N.getCurrentStack; + return $ && (_ += $() || ""), _; + }; + var q = !1, V = !1, ne = !1, ce = !1, de = !1, te = { + ReactCurrentDispatcher: F, + ReactCurrentBatchConfig: O, + ReactCurrentOwner: P + }; + te.ReactDebugCurrentFrame = N, te.ReactCurrentActQueue = I; + function he(_) { + { + for (var $ = arguments.length, J = new Array($ > 1 ? $ - 1 : 0), ae = 1; ae < $; ae++) + J[ae - 1] = arguments[ae]; + le("warn", _, J); + } + } + a(he, "warn"); + function X(_) { + { + for (var $ = arguments.length, J = new Array($ > 1 ? $ - 1 : 0), ae = 1; ae < $; ae++) + J[ae - 1] = arguments[ae]; + le("error", _, J); + } + } + a(X, "error"); + function le(_, $, J) { + { + var ae = te.ReactDebugCurrentFrame, me = ae.getStackAddendum(); + me !== "" && ($ += "%s", J = J.concat([me])); + var qe = J.map(function(Ie) { + return String(Ie); + }); + qe.unshift("Warning: " + $), Function.prototype.apply.call(console[_], console, qe); + } + } + a(le, "printWarning"); + var xe = {}; + function Me(_, $) { + { + var J = _.constructor, ae = J && (J.displayName || J.name) || "ReactClass", me = ae + "." + $; + if (xe[me]) + return; + X("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.", $, ae), xe[me] = !0; + } + } + a(Me, "warnNoop"); + var Re = { + /** + * Checks whether or not this composite component is mounted. + * @param {ReactClass} publicInstance The instance we want to test. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: /* @__PURE__ */ a(function(_) { + return !1; + }, "isMounted"), + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {?function} callback Called after component is updated. + * @param {?string} callerName name of the calling function in the public API. + * @internal + */ + enqueueForceUpdate: /* @__PURE__ */ a(function(_, $, J) { + Me(_, "forceUpdate"); + }, "enqueueForceUpdate"), + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} completeState Next state. + * @param {?function} callback Called after component is updated. + * @param {?string} callerName name of the calling function in the public API. + * @internal + */ + enqueueReplaceState: /* @__PURE__ */ a(function(_, $, J, ae) { + Me(_, "replaceState"); + }, "enqueueReplaceState"), + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialState Next partial state to be merged with state. + * @param {?function} callback Called after component is updated. + * @param {?string} Name of the calling function in the public API. + * @internal + */ + enqueueSetState: /* @__PURE__ */ a(function(_, $, J, ae) { + Me(_, "setState"); + }, "enqueueSetState") + }, Ne = Object.assign, Pe = {}; + Object.freeze(Pe); + function Ke(_, $, J) { + this.props = _, this.context = $, this.refs = Pe, this.updater = J || Re; + } + a(Ke, "Component"), Ke.prototype.isReactComponent = {}, Ke.prototype.setState = function(_, $) { + if (typeof _ != "object" && typeof _ != "function" && _ != null) + throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variable\ +s."); + this.updater.enqueueSetState(this, _, $, "setState"); + }, Ke.prototype.forceUpdate = function(_) { + this.updater.enqueueForceUpdate(this, _, "forceUpdate"); + }; + { + var mt = { + isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memor\ +y leaks."], + replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] + }, ft = /* @__PURE__ */ a(function(_, $) { + Object.defineProperty(Ke.prototype, _, { + get: /* @__PURE__ */ a(function() { + he("%s(...) is deprecated in plain JavaScript React classes. %s", $[0], $[1]); + }, "get") + }); + }, "defineDeprecationWarning"); + for (var yt in mt) + mt.hasOwnProperty(yt) && ft(yt, mt[yt]); + } + function bt() { + } + a(bt, "ComponentDummy"), bt.prototype = Ke.prototype; + function Tt(_, $, J) { + this.props = _, this.context = $, this.refs = Pe, this.updater = J || Re; + } + a(Tt, "PureComponent"); + var kt = Tt.prototype = new bt(); + kt.constructor = Tt, Ne(kt, Ke.prototype), kt.isPureReactComponent = !0; + function vr() { + var _ = { + current: null + }; + return Object.seal(_), _; + } + a(vr, "createRef"); + var kr = Array.isArray; + function Er(_) { + return kr(_); + } + a(Er, "isArray"); + function Te(_) { + { + var $ = typeof Symbol == "function" && Symbol.toStringTag, J = $ && _[Symbol.toStringTag] || _.constructor.name || "Object"; + return J; + } + } + a(Te, "typeName"); + function cr(_) { + try { + return fr(_), !1; + } catch { + return !0; + } + } + a(cr, "willCoercionThrow"); + function fr(_) { + return "" + _; + } + a(fr, "testStringCoercion"); + function Zt(_) { + if (cr(_)) + return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Te(_)), fr( + _); + } + a(Zt, "checkKeyStringCoercion"); + function Mr(_, $, J) { + var ae = _.displayName; + if (ae) + return ae; + var me = $.displayName || $.name || ""; + return me !== "" ? J + "(" + me + ")" : J; + } + a(Mr, "getWrappedName"); + function Nr(_) { + return _.displayName || "Context"; + } + a(Nr, "getContextName"); + function xr(_) { + if (_ == null) + return null; + if (typeof _.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please \ +file an issue."), typeof _ == "function") + return _.displayName || _.name || null; + if (typeof _ == "string") + return _; + switch (_) { + case o: + return "Fragment"; + case r: + return "Portal"; + case l: + return "Profiler"; + case s: + return "StrictMode"; + case v: + return "Suspense"; + case g: + return "SuspenseList"; + } + if (typeof _ == "object") + switch (_.$$typeof) { + case p: + var $ = _; + return Nr($) + ".Consumer"; + case c: + var J = _; + return Nr(J._context) + ".Provider"; + case h: + return Mr(_, _.render, "ForwardRef"); + case b: + var ae = _.displayName || null; + return ae !== null ? ae : xr(_.type) || "Memo"; + case w: { + var me = _, qe = me._payload, Ie = me._init; + try { + return xr(Ie(qe)); + } catch { + return null; + } + } + } + return null; + } + a(xr, "getComponentNameFromType"); + var Se = Object.prototype.hasOwnProperty, zn = { + key: !0, + ref: !0, + __self: !0, + __source: !0 + }, Wa, aa, Gr; + Gr = {}; + function jn(_) { + if (Se.call(_, "ref")) { + var $ = Object.getOwnPropertyDescriptor(_, "ref").get; + if ($ && $.isReactWarning) + return !1; + } + return _.ref !== void 0; + } + a(jn, "hasValidRef"); + function pn(_) { + if (Se.call(_, "key")) { + var $ = Object.getOwnPropertyDescriptor(_, "key").get; + if ($ && $.isReactWarning) + return !1; + } + return _.key !== void 0; + } + a(pn, "hasValidKey"); + function oa(_, $) { + var J = /* @__PURE__ */ a(function() { + Wa || (Wa = !0, X("%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)", $)); + }, "warnAboutAccessingKey"); + J.isReactWarning = !0, Object.defineProperty(_, "key", { + get: J, + configurable: !0 + }); + } + a(oa, "defineKeyPropWarningGetter"); + function gr(_, $) { + var J = /* @__PURE__ */ a(function() { + aa || (aa = !0, X("%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)", $)); + }, "warnAboutAccessingRef"); + J.isReactWarning = !0, Object.defineProperty(_, "ref", { + get: J, + configurable: !0 + }); + } + a(gr, "defineRefPropWarningGetter"); + function ia(_) { + if (typeof _.ref == "string" && P.current && _.__self && P.current.stateNode !== _.__self) { + var $ = xr(P.current.type); + Gr[$] || (X('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This ca\ +se cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Le\ +arn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', $, _.ref), Gr[$] = !0); + } + } + a(ia, "warnIfStringRefCannotBeAutoConverted"); + var zo = /* @__PURE__ */ a(function(_, $, J, ae, me, qe, Ie) { + var et = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: t, + // Built-in properties that belong on the element + type: _, + key: $, + ref: J, + props: Ie, + // Record the component responsible for creating this element. + _owner: qe + }; + return et._store = {}, Object.defineProperty(et._store, "validated", { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1 + }), Object.defineProperty(et, "_self", { + configurable: !1, + enumerable: !1, + writable: !1, + value: ae + }), Object.defineProperty(et, "_source", { + configurable: !1, + enumerable: !1, + writable: !1, + value: me + }), Object.freeze && (Object.freeze(et.props), Object.freeze(et)), et; + }, "ReactElement"); + function ds(_, $, J) { + var ae, me = {}, qe = null, Ie = null, et = null, St = null; + if ($ != null) { + jn($) && (Ie = $.ref, ia($)), pn($) && (Zt($.key), qe = "" + $.key), et = $.__self === void 0 ? null : $.__self, St = $.__source === + void 0 ? null : $.__source; + for (ae in $) + Se.call($, ae) && !zn.hasOwnProperty(ae) && (me[ae] = $[ae]); + } + var Lt = arguments.length - 2; + if (Lt === 1) + me.children = J; + else if (Lt > 1) { + for (var Kt = Array(Lt), Xt = 0; Xt < Lt; Xt++) + Kt[Xt] = arguments[Xt + 2]; + Object.freeze && Object.freeze(Kt), me.children = Kt; + } + if (_ && _.defaultProps) { + var tr = _.defaultProps; + for (ae in tr) + me[ae] === void 0 && (me[ae] = tr[ae]); + } + if (qe || Ie) { + var yr = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _; + qe && oa(me, yr), Ie && gr(me, yr); + } + return zo(_, qe, Ie, et, St, P.current, me); + } + a(ds, "createElement"); + function ye(_, $) { + var J = zo(_.type, $, _.ref, _._self, _._source, _._owner, _.props); + return J; + } + a(ye, "cloneAndReplaceKey"); + function Be(_, $, J) { + if (_ == null) + throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + _ + "."); + var ae, me = Ne({}, _.props), qe = _.key, Ie = _.ref, et = _._self, St = _._source, Lt = _._owner; + if ($ != null) { + jn($) && (Ie = $.ref, Lt = P.current), pn($) && (Zt($.key), qe = "" + $.key); + var Kt; + _.type && _.type.defaultProps && (Kt = _.type.defaultProps); + for (ae in $) + Se.call($, ae) && !zn.hasOwnProperty(ae) && ($[ae] === void 0 && Kt !== void 0 ? me[ae] = Kt[ae] : me[ae] = $[ae]); + } + var Xt = arguments.length - 2; + if (Xt === 1) + me.children = J; + else if (Xt > 1) { + for (var tr = Array(Xt), yr = 0; yr < Xt; yr++) + tr[yr] = arguments[yr + 2]; + me.children = tr; + } + return zo(_.type, qe, Ie, et, St, Lt, me); + } + a(Be, "cloneElement"); + function tt(_) { + return typeof _ == "object" && _ !== null && _.$$typeof === t; + } + a(tt, "isValidElement"); + var Ot = ".", Wt = ":"; + function hn(_) { + var $ = /[=:]/g, J = { + "=": "=0", + ":": "=2" + }, ae = _.replace($, function(me) { + return J[me]; + }); + return "$" + ae; + } + a(hn, "escape"); + var Cr = !1, Ta = /\/+/g; + function Gt(_) { + return _.replace(Ta, "$&/"); + } + a(Gt, "escapeUserProvidedKey"); + function sa(_, $) { + return typeof _ == "object" && _ !== null && _.key != null ? (Zt(_.key), hn("" + _.key)) : $.toString(36); + } + a(sa, "getElementKey"); + function Yt(_, $, J, ae, me) { + var qe = typeof _; + (qe === "undefined" || qe === "boolean") && (_ = null); + var Ie = !1; + if (_ === null) + Ie = !0; + else + switch (qe) { + case "string": + case "number": + Ie = !0; + break; + case "object": + switch (_.$$typeof) { + case t: + case r: + Ie = !0; + } + } + if (Ie) { + var et = _, St = me(et), Lt = ae === "" ? Ot + sa(et, 0) : ae; + if (Er(St)) { + var Kt = ""; + Lt != null && (Kt = Gt(Lt) + "/"), Yt(St, $, Kt, "", function(yh) { + return yh; + }); + } else St != null && (tt(St) && (St.key && (!et || et.key !== St.key) && Zt(St.key), St = ye( + St, + // Keep both the (mapped) and old keys if they differ, just as + // traverseAllChildren used to do for objects as children + J + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key + (St.key && (!et || et.key !== St.key) ? ( + // $FlowFixMe Flow incorrectly thinks existing element's key can be a number + // eslint-disable-next-line react-internal/safe-string-coercion + Gt("" + St.key) + "/" + ) : "") + Lt + )), $.push(St)); + return 1; + } + var Xt, tr, yr = 0, Kr = ae === "" ? Ot : ae + Wt; + if (Er(_)) + for (var Df = 0; Df < _.length; Df++) + Xt = _[Df], tr = Kr + sa(Xt, Df), yr += Yt(Xt, $, J, tr, me); + else { + var Xr = D(_); + if (typeof Xr == "function") { + var Af = _; + Xr === Af.entries && (Cr || he("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Cr = !0); + for (var Rg = Xr.call(Af), gh, KS = 0; !(gh = Rg.next()).done; ) + Xt = gh.value, tr = Kr + sa(Xt, KS++), yr += Yt(Xt, $, J, tr, me); + } else if (qe === "object") { + var vs = String(_); + throw new Error("Objects are not valid as a React child (found: " + (vs === "[object Object]" ? "object with keys {" + Object.keys( + _).join(", ") + "}" : vs) + "). If you meant to render a collection of children, use an array instead."); + } + } + return yr; + } + a(Yt, "mapIntoArray"); + function er(_, $, J) { + if (_ == null) + return _; + var ae = [], me = 0; + return Yt(_, ae, "", "", function(qe) { + return $.call(J, qe, me++); + }), ae; + } + a(er, "mapChildren"); + function Fu(_) { + var $ = 0; + return er(_, function() { + $++; + }), $; + } + a(Fu, "countChildren"); + function ul(_, $, J) { + er(_, function() { + $.apply(this, arguments); + }, J); + } + a(ul, "forEachChildren"); + function Iu(_) { + return er(_, function($) { + return $; + }) || []; + } + a(Iu, "toArray"); + function hf(_) { + if (!tt(_)) + throw new Error("React.Children.only expected to receive a single React element child."); + return _; + } + a(hf, "onlyChild"); + function ah(_) { + var $ = { + $$typeof: p, + // As a workaround to support multiple concurrent renderers, we categorize + // some renderers as primary and others as secondary. We only expect + // there to be two concurrent renderers at most: React Native (primary) and + // Fabric (secondary); React DOM (primary) and React ART (secondary). + // Secondary renderers store their context values on separate fields. + _currentValue: _, + _currentValue2: _, + // Used to track how many concurrent renderers this context currently + // supports within in a single renderer. Such as parallel server rendering. + _threadCount: 0, + // These are circular + Provider: null, + Consumer: null, + // Add these to use same hidden class in VM as ServerContext + _defaultValue: null, + _globalName: null + }; + $.Provider = { + $$typeof: c, + _context: $ + }; + var J = !1, ae = !1, me = !1; + { + var qe = { + $$typeof: p, + _context: $ + }; + Object.defineProperties(qe, { + Provider: { + get: /* @__PURE__ */ a(function() { + return ae || (ae = !0, X("Rendering is not supported and will be removed in a future major release\ +. Did you mean to render instead?")), $.Provider; + }, "get"), + set: /* @__PURE__ */ a(function(Ie) { + $.Provider = Ie; + }, "set") + }, + _currentValue: { + get: /* @__PURE__ */ a(function() { + return $._currentValue; + }, "get"), + set: /* @__PURE__ */ a(function(Ie) { + $._currentValue = Ie; + }, "set") + }, + _currentValue2: { + get: /* @__PURE__ */ a(function() { + return $._currentValue2; + }, "get"), + set: /* @__PURE__ */ a(function(Ie) { + $._currentValue2 = Ie; + }, "set") + }, + _threadCount: { + get: /* @__PURE__ */ a(function() { + return $._threadCount; + }, "get"), + set: /* @__PURE__ */ a(function(Ie) { + $._threadCount = Ie; + }, "set") + }, + Consumer: { + get: /* @__PURE__ */ a(function() { + return J || (J = !0, X("Rendering is not supported and will be removed in a future major release. \ +Did you mean to render instead?")), $.Consumer; + }, "get") + }, + displayName: { + get: /* @__PURE__ */ a(function() { + return $.displayName; + }, "get"), + set: /* @__PURE__ */ a(function(Ie) { + me || (he("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.dis\ +playName = '%s'.", Ie), me = !0); + }, "set") + } + }), $.Consumer = qe; + } + return $._currentRenderer = null, $._currentRenderer2 = null, $; + } + a(ah, "createContext"); + var jo = -1, ps = 0, mf = 1, vf = 2; + function cl(_) { + if (_._status === jo) { + var $ = _._result, J = $(); + if (J.then(function(qe) { + if (_._status === ps || _._status === jo) { + var Ie = _; + Ie._status = mf, Ie._result = qe; + } + }, function(qe) { + if (_._status === ps || _._status === jo) { + var Ie = _; + Ie._status = vf, Ie._result = qe; + } + }), _._status === jo) { + var ae = _; + ae._status = ps, ae._result = J; + } + } + if (_._status === mf) { + var me = _._result; + return me === void 0 && X(`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?`, me), "default" in me || X(`lazy: Expected the result of a dynamic import() call. \ +Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent'))`, me), me.default; + } else + throw _._result; + } + a(cl, "lazyInitializer"); + function Di(_) { + var $ = { + // We use these fields to store the result. + _status: jo, + _result: _ + }, J = { + $$typeof: w, + _payload: $, + _init: cl + }; + { + var ae, me; + Object.defineProperties(J, { + defaultProps: { + configurable: !0, + get: /* @__PURE__ */ a(function() { + return ae; + }, "get"), + set: /* @__PURE__ */ a(function(qe) { + X("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the com\ +ponent is defined, or create a wrapping component around it."), ae = qe, Object.defineProperty(J, "defaultProps", { + enumerable: !0 + }); + }, "set") + }, + propTypes: { + configurable: !0, + get: /* @__PURE__ */ a(function() { + return me; + }, "get"), + set: /* @__PURE__ */ a(function(qe) { + X("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the compon\ +ent is defined, or create a wrapping component around it."), me = qe, Object.defineProperty(J, "propTypes", { + enumerable: !0 + }); + }, "set") + } + }); + } + return J; + } + a(Di, "lazy"); + function Uo(_) { + _ != null && _.$$typeof === b ? X("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(.\ +..)), use memo(forwardRef(...)).") : typeof _ != "function" ? X("forwardRef requires a render function but was given %s.", _ === null ? "nul\ +l" : typeof _) : _.length !== 0 && _.length !== 2 && X("forwardRef render functions accept exactly two parameters: props and ref. %s", _.length === + 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), _ != null && (_.defaultProps != null || + _.propTypes != null) && X("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React com\ +ponent?"); + var $ = { + $$typeof: h, + render: _ + }; + { + var J; + Object.defineProperty($, "displayName", { + enumerable: !1, + configurable: !0, + get: /* @__PURE__ */ a(function() { + return J; + }, "get"), + set: /* @__PURE__ */ a(function(ae) { + J = ae, !_.name && !_.displayName && (_.displayName = ae); + }, "set") + }); + } + return $; + } + a(Uo, "forwardRef"); + var qo; + qo = Symbol.for("react.module.reference"); + function fl(_) { + return !!(typeof _ == "string" || typeof _ == "function" || _ === o || _ === l || de || _ === s || _ === v || _ === g || ce || _ === x || + q || V || ne || typeof _ == "object" && _ !== null && (_.$$typeof === w || _.$$typeof === b || _.$$typeof === c || _.$$typeof === p || + _.$$typeof === h || // This needs to include all possible module reference object + // types supported by any Flight configuration anywhere since + // we don't know which Flight build this will end up being used + // with. + _.$$typeof === qo || _.getModuleId !== void 0)); + } + a(fl, "isValidElementType"); + function z(_, $) { + fl(_) || X("memo: The first argument must be a component. Instead received: %s", _ === null ? "null" : typeof _); + var J = { + $$typeof: b, + type: _, + compare: $ === void 0 ? null : $ + }; + { + var ae; + Object.defineProperty(J, "displayName", { + enumerable: !1, + configurable: !0, + get: /* @__PURE__ */ a(function() { + return ae; + }, "get"), + set: /* @__PURE__ */ a(function(me) { + ae = me, !_.name && !_.displayName && (_.displayName = me); + }, "set") + }); + } + return J; + } + a(z, "memo"); + function se() { + var _ = F.current; + return _ === null && X(`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.`), _; + } + a(se, "resolveDispatcher"); + function ge(_) { + var $ = se(); + if (_._context !== void 0) { + var J = _._context; + J.Consumer === _ ? X("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major r\ +elease. Did you mean to call useContext(Context) instead?") : J.Provider === _ && X("Calling useContext(Context.Provider) is not supported. \ +Did you mean to call useContext(Context) instead?"); + } + return $.useContext(_); + } + a(ge, "useContext"); + function je(_) { + var $ = se(); + return $.useState(_); + } + a(je, "useState"); + function dt(_, $, J) { + var ae = se(); + return ae.useReducer(_, $, J); + } + a(dt, "useReducer"); + function Ct(_) { + var $ = se(); + return $.useRef(_); + } + a(Ct, "useRef"); + function ot(_, $) { + var J = se(); + return J.useEffect(_, $); + } + a(ot, "useEffect"); + function Ue(_, $) { + var J = se(); + return J.useInsertionEffect(_, $); + } + a(Ue, "useInsertionEffect"); + function Yr(_, $) { + var J = se(); + return J.useLayoutEffect(_, $); + } + a(Yr, "useLayoutEffect"); + function nr(_, $) { + var J = se(); + return J.useCallback(_, $); + } + a(nr, "useCallback"); + function ar(_, $) { + var J = se(); + return J.useMemo(_, $); + } + a(ar, "useMemo"); + function Un(_, $, J) { + var ae = se(); + return ae.useImperativeHandle(_, $, J); + } + a(Un, "useImperativeHandle"); + function Ai(_, $) { + { + var J = se(); + return J.useDebugValue(_, $); + } + } + a(Ai, "useDebugValue"); + function gf() { + var _ = se(); + return _.useTransition(); + } + a(gf, "useTransition"); + function _a(_) { + var $ = se(); + return $.useDeferredValue(_); + } + a(_a, "useDeferredValue"); + function jS() { + var _ = se(); + return _.useId(); + } + a(jS, "useId"); + function hs(_, $, J) { + var ae = se(); + return ae.useSyncExternalStore(_, $, J); + } + a(hs, "useSyncExternalStore"); + var it = 0, dl, oh, ih, sh, lh, uh, ch; + function fh() { + } + a(fh, "disabledLog"), fh.__reactDisabledLog = !0; + function vg() { + { + if (it === 0) { + dl = console.log, oh = console.info, ih = console.warn, sh = console.error, lh = console.group, uh = console.groupCollapsed, ch = console. + groupEnd; + var _ = { + configurable: !0, + enumerable: !0, + value: fh, + writable: !0 + }; + Object.defineProperties(console, { + info: _, + log: _, + warn: _, + error: _, + group: _, + groupCollapsed: _, + groupEnd: _ + }); + } + it++; + } + } + a(vg, "disableLogs"); + function US() { + { + if (it--, it === 0) { + var _ = { + configurable: !0, + enumerable: !0, + writable: !0 + }; + Object.defineProperties(console, { + log: Ne({}, _, { + value: dl + }), + info: Ne({}, _, { + value: oh + }), + warn: Ne({}, _, { + value: ih + }), + error: Ne({}, _, { + value: sh + }), + group: Ne({}, _, { + value: lh + }), + groupCollapsed: Ne({}, _, { + value: uh + }), + groupEnd: Ne({}, _, { + value: ch + }) + }); + } + it < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + } + } + a(US, "reenableLogs"); + var dh = te.ReactCurrentDispatcher, Lu; + function pl(_, $, J) { + { + if (Lu === void 0) + try { + throw Error(); + } catch (me) { + var ae = me.stack.trim().match(/\n( *(at )?)/); + Lu = ae && ae[1] || ""; + } + return ` +` + Lu + _; + } + } + a(pl, "describeBuiltInComponentFrame"); + var fo = !1, hl; + { + var yf = typeof WeakMap == "function" ? WeakMap : Map; + hl = new yf(); + } + function gg(_, $) { + if (!_ || fo) + return ""; + { + var J = hl.get(_); + if (J !== void 0) + return J; + } + var ae; + fo = !0; + var me = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var qe; + qe = dh.current, dh.current = null, vg(); + try { + if ($) { + var Ie = /* @__PURE__ */ a(function() { + throw Error(); + }, "Fake"); + if (Object.defineProperty(Ie.prototype, "props", { + set: /* @__PURE__ */ a(function() { + throw Error(); + }, "set") + }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(Ie, []); + } catch (Kr) { + ae = Kr; + } + Reflect.construct(_, [], Ie); + } else { + try { + Ie.call(); + } catch (Kr) { + ae = Kr; + } + _.call(Ie.prototype); + } + } else { + try { + throw Error(); + } catch (Kr) { + ae = Kr; + } + _(); + } + } catch (Kr) { + if (Kr && ae && typeof Kr.stack == "string") { + for (var et = Kr.stack.split(` +`), St = ae.stack.split(` +`), Lt = et.length - 1, Kt = St.length - 1; Lt >= 1 && Kt >= 0 && et[Lt] !== St[Kt]; ) + Kt--; + for (; Lt >= 1 && Kt >= 0; Lt--, Kt--) + if (et[Lt] !== St[Kt]) { + if (Lt !== 1 || Kt !== 1) + do + if (Lt--, Kt--, Kt < 0 || et[Lt] !== St[Kt]) { + var Xt = ` +` + et[Lt].replace(" at new ", " at "); + return _.displayName && Xt.includes("") && (Xt = Xt.replace("", _.displayName)), typeof _ == "func\ +tion" && hl.set(_, Xt), Xt; + } + while (Lt >= 1 && Kt >= 0); + break; + } + } + } finally { + fo = !1, dh.current = qe, US(), Error.prepareStackTrace = me; + } + var tr = _ ? _.displayName || _.name : "", yr = tr ? pl(tr) : ""; + return typeof _ == "function" && hl.set(_, yr), yr; + } + a(gg, "describeNativeComponentFrame"); + function ph(_, $, J) { + return gg(_, !1); + } + a(ph, "describeFunctionComponentFrame"); + function qS(_) { + var $ = _.prototype; + return !!($ && $.isReactComponent); + } + a(qS, "shouldConstruct"); + function ml(_, $, J) { + if (_ == null) + return ""; + if (typeof _ == "function") + return gg(_, qS(_)); + if (typeof _ == "string") + return pl(_); + switch (_) { + case v: + return pl("Suspense"); + case g: + return pl("SuspenseList"); + } + if (typeof _ == "object") + switch (_.$$typeof) { + case h: + return ph(_.render); + case b: + return ml(_.type, $, J); + case w: { + var ae = _, me = ae._payload, qe = ae._init; + try { + return ml(qe(me), $, J); + } catch { + } + } + } + return ""; + } + a(ml, "describeUnknownElementTypeFrameInDEV"); + var yg = {}, bf = te.ReactDebugCurrentFrame; + function Sf(_) { + if (_) { + var $ = _._owner, J = ml(_.type, _._source, $ ? $.type : null); + bf.setExtraStackFrame(J); + } else + bf.setExtraStackFrame(null); + } + a(Sf, "setCurrentlyValidatingElement"); + function bg(_, $, J, ae, me) { + { + var qe = Function.call.bind(Se); + for (var Ie in _) + if (qe(_, Ie)) { + var et = void 0; + try { + if (typeof _[Ie] != "function") { + var St = Error((ae || "React class") + ": " + J + " type `" + Ie + "` is invalid; it must be a function, usually from the `p\ +rop-types` package, but received `" + typeof _[Ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTyp\ +es.func`."); + throw St.name = "Invariant Violation", St; + } + et = _[Ie]($, Ie, ae, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); + } catch (Lt) { + et = Lt; + } + et && !(et instanceof Error) && (Sf(me), X("%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, objectO\ +f, oneOf, oneOfType, and shape all require an argument).", ae || "React class", J, Ie, typeof et), Sf(null)), et instanceof Error && !(et.message in + yg) && (yg[et.message] = !0, Sf(me), X("Failed %s type: %s", J, et.message), Sf(null)); + } + } + } + a(bg, "checkPropTypes"); + function vl(_) { + if (_) { + var $ = _._owner, J = ml(_.type, _._source, $ ? $.type : null); + B(J); + } else + B(null); + } + a(vl, "setCurrentlyValidatingElement$1"); + var wf; + wf = !1; + function Ht() { + if (P.current) { + var _ = xr(P.current.type); + if (_) + return ` + +Check the render method of \`` + _ + "`."; + } + return ""; + } + a(Ht, "getDeclarationErrorAddendum"); + function VS(_) { + if (_ !== void 0) { + var $ = _.fileName.replace(/^.*[\\\/]/, ""), J = _.lineNumber; + return ` + +Check your code at ` + $ + ":" + J + "."; + } + return ""; + } + a(VS, "getSourceInfoErrorAddendum"); + function Sg(_) { + return _ != null ? VS(_.__source) : ""; + } + a(Sg, "getSourceInfoErrorAddendumForProps"); + var rt = {}; + function wg(_) { + var $ = Ht(); + if (!$) { + var J = typeof _ == "string" ? _ : _.displayName || _.name; + J && ($ = ` + +Check the top-level render call using <` + J + ">."); + } + return $; + } + a(wg, "getCurrentComponentErrorInfo"); + function qn(_, $) { + if (!(!_._store || _._store.validated || _.key != null)) { + _._store.validated = !0; + var J = wg($); + if (!rt[J]) { + rt[J] = !0; + var ae = ""; + _ && _._owner && _._owner !== P.current && (ae = " It was passed a child from " + xr(_._owner.type) + "."), vl(_), X('Each child i\ +n a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', J, ae), vl(null); + } + } + } + a(qn, "validateExplicitKey"); + function gl(_, $) { + if (typeof _ == "object") { + if (Er(_)) + for (var J = 0; J < _.length; J++) { + var ae = _[J]; + tt(ae) && qn(ae, $); + } + else if (tt(_)) + _._store && (_._store.validated = !0); + else if (_) { + var me = D(_); + if (typeof me == "function" && me !== _.entries) + for (var qe = me.call(_), Ie; !(Ie = qe.next()).done; ) + tt(Ie.value) && qn(Ie.value, $); + } + } + } + a(gl, "validateChildKeys"); + function yl(_) { + { + var $ = _.type; + if ($ == null || typeof $ == "string") + return; + var J; + if (typeof $ == "function") + J = $.propTypes; + else if (typeof $ == "object" && ($.$$typeof === h || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + $.$$typeof === b)) + J = $.propTypes; + else + return; + if (J) { + var ae = xr($); + bg(J, _.props, "prop", ae, _); + } else if ($.PropTypes !== void 0 && !wf) { + wf = !0; + var me = xr($); + X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown"); + } + typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic Reac\ +t.createClass definitions. Use a static property named `defaultProps` instead."); + } + } + a(yl, "validatePropTypes"); + function WS(_) { + { + for (var $ = Object.keys(_.props), J = 0; J < $.length; J++) { + var ae = $[J]; + if (ae !== "children" && ae !== "key") { + vl(_), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ae), vl(null); + break; + } + } + _.ref !== null && (vl(_), X("Invalid attribute `ref` supplied to `React.Fragment`."), vl(null)); + } + } + a(WS, "validateFragmentProps"); + function mn(_, $, J) { + var ae = fl(_); + if (!ae) { + var me = ""; + (_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (me += " You likely forgot to export your com\ +ponent from the file it's defined in, or you might have mixed up default and named imports."); + var qe = Sg($); + qe ? me += qe : me += Ht(); + var Ie; + _ === null ? Ie = "null" : Er(_) ? Ie = "array" : _ !== void 0 && _.$$typeof === t ? (Ie = "<" + (xr(_.type) || "Unknown") + " />", me = + " Did you accidentally export a JSX literal instead of a component?") : Ie = typeof _, X("React.createElement: type is invalid -- ex\ +pected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ie, me); + } + var et = ds.apply(this, arguments); + if (et == null) + return et; + if (ae) + for (var St = 2; St < arguments.length; St++) + gl(arguments[St], _); + return _ === o ? WS(et) : yl(et), et; + } + a(mn, "createElementWithValidation"); + var dr = !1; + function GS(_) { + var $ = mn.bind(null, _); + return $.type = _, dr || (dr = !0, he("React.createFactory() is deprecated and will be removed in a future major release. Consider usi\ +ng JSX or use React.createElement() directly instead.")), Object.defineProperty($, "type", { + enumerable: !1, + get: /* @__PURE__ */ a(function() { + return he("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, + "type", { + value: _ + }), _; + }, "get") + }), $; + } + a(GS, "createFactoryWithValidation"); + function po(_, $, J) { + for (var ae = Be.apply(this, arguments), me = 2; me < arguments.length; me++) + gl(arguments[me], ae.type); + return yl(ae), ae; + } + a(po, "cloneElementWithValidation"); + function Oa(_, $) { + var J = O.transition; + O.transition = {}; + var ae = O.transition; + O.transition._updatedFibers = /* @__PURE__ */ new Set(); + try { + _(); + } finally { + if (O.transition = J, J === null && ae._updatedFibers) { + var me = ae._updatedFibers.size; + me > 10 && he("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to u\ +se React provided hooks. Otherwise concurrent mode guarantees are off the table."), ae._updatedFibers.clear(); + } + } + } + a(Oa, "startTransition"); + var Vo = !1, Ef = null; + function hh(_) { + if (Ef === null) + try { + var $ = ("require" + Math.random()).slice(0, 7), J = A5 && A5[$]; + Ef = J.call(A5, "timers").setImmediate; + } catch { + Ef = /* @__PURE__ */ a(function(me) { + Vo === !1 && (Vo = !0, typeof MessageChannel > "u" && X("This browser does not have a MessageChannel implementation, so enqueuin\ +g tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this war\ +ning.")); + var qe = new MessageChannel(); + qe.port1.onmessage = me, qe.port2.postMessage(void 0); + }, "enqueueTaskImpl"); + } + return Ef(_); + } + a(hh, "enqueueTask"); + var ms = 0, mh = !1; + function YS(_) { + { + var $ = ms; + ms++, I.current === null && (I.current = []); + var J = I.isBatchingLegacy, ae; + try { + if (I.isBatchingLegacy = !0, ae = _(), !J && I.didScheduleLegacyUpdate) { + var me = I.current; + me !== null && (I.didScheduleLegacyUpdate = !1, Cf(me)); + } + } catch (tr) { + throw xf($), tr; + } finally { + I.isBatchingLegacy = J; + } + if (ae !== null && typeof ae == "object" && typeof ae.then == "function") { + var qe = ae, Ie = !1, et = { + then: /* @__PURE__ */ a(function(tr, yr) { + Ie = !0, qe.then(function(Kr) { + xf($), ms === 0 ? vh(Kr, tr, yr) : tr(Kr); + }, function(Kr) { + xf($), yr(Kr); + }); + }, "then") + }; + return !mh && typeof Promise < "u" && Promise.resolve().then(function() { + }).then(function() { + Ie || (mh = !0, X("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 () => ...);")); + }), et; + } else { + var St = ae; + if (xf($), ms === 0) { + var Lt = I.current; + Lt !== null && (Cf(Lt), I.current = null); + var Kt = { + then: /* @__PURE__ */ a(function(tr, yr) { + I.current === null ? (I.current = [], vh(St, tr, yr)) : tr(St); + }, "then") + }; + return Kt; + } else { + var Xt = { + then: /* @__PURE__ */ a(function(tr, yr) { + tr(St); + }, "then") + }; + return Xt; + } + } + } + } + a(YS, "act"); + function xf(_) { + _ !== ms - 1 && X("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before makin\ +g a new one. "), ms = _; + } + a(xf, "popActScope"); + function vh(_, $, J) { + { + var ae = I.current; + if (ae !== null) + try { + Cf(ae), hh(function() { + ae.length === 0 ? (I.current = null, $(_)) : vh(_, $, J); + }); + } catch (me) { + J(me); + } + else + $(_); + } + } + a(vh, "recursivelyFlushAsyncActWork"); + var bl = !1; + function Cf(_) { + if (!bl) { + bl = !0; + var $ = 0; + try { + for (; $ < _.length; $++) { + var J = _[$]; + do + J = J(!0); + while (J !== null); + } + _.length = 0; + } catch (ae) { + throw _ = _.slice($ + 1), ae; + } finally { + bl = !1; + } + } + } + a(Cf, "flushActQueue"); + var Rf = mn, Eg = po, xg = GS, Cg = { + map: er, + forEach: ul, + count: Fu, + toArray: Iu, + only: hf + }; + Et.Children = Cg, Et.Component = Ke, Et.Fragment = o, Et.Profiler = l, Et.PureComponent = Tt, Et.StrictMode = s, Et.Suspense = v, Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = + te, Et.cloneElement = Eg, Et.createContext = ah, Et.createElement = Rf, Et.createFactory = xg, Et.createRef = vr, Et.forwardRef = Uo, Et. + isValidElement = tt, Et.lazy = Di, Et.memo = z, Et.startTransition = Oa, Et.unstable_act = YS, Et.useCallback = nr, Et.useContext = ge, Et. + useDebugValue = Ai, Et.useDeferredValue = _a, Et.useEffect = ot, Et.useId = jS, Et.useImperativeHandle = Un, Et.useInsertionEffect = Ue, + Et.useLayoutEffect = Yr, Et.useMemo = ar, Et.useReducer = dt, Et.useRef = Ct, Et.useState = je, Et.useSyncExternalStore = hs, Et.useTransition = + gf, Et.version = e, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "\ +function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + })(); +}); + +// ../node_modules/react/index.js +var fe = k((Nze, LI) => { + "use strict"; + LI.exports = II(); +}); + +// ../node_modules/scheduler/cjs/scheduler.development.js +var PI = k((Jt) => { + "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 e = !1, t = !1, r = 5; + function o(ye, Be) { + var tt = ye.length; + ye.push(Be), c(ye, Be, tt); + } + a(o, "push"); + function s(ye) { + return ye.length === 0 ? null : ye[0]; + } + a(s, "peek"); + function l(ye) { + if (ye.length === 0) + return null; + var Be = ye[0], tt = ye.pop(); + return tt !== Be && (ye[0] = tt, p(ye, tt, 0)), Be; + } + a(l, "pop"); + function c(ye, Be, tt) { + for (var Ot = tt; Ot > 0; ) { + var Wt = Ot - 1 >>> 1, hn = ye[Wt]; + if (h(hn, Be) > 0) + ye[Wt] = Be, ye[Ot] = hn, Ot = Wt; + else + return; + } + } + a(c, "siftUp"); + function p(ye, Be, tt) { + for (var Ot = tt, Wt = ye.length, hn = Wt >>> 1; Ot < hn; ) { + var Cr = (Ot + 1) * 2 - 1, Ta = ye[Cr], Gt = Cr + 1, sa = ye[Gt]; + if (h(Ta, Be) < 0) + Gt < Wt && h(sa, Ta) < 0 ? (ye[Ot] = sa, ye[Gt] = Be, Ot = Gt) : (ye[Ot] = Ta, ye[Cr] = Be, Ot = Cr); + else if (Gt < Wt && h(sa, Be) < 0) + ye[Ot] = sa, ye[Gt] = Be, Ot = Gt; + else + return; + } + } + a(p, "siftDown"); + function h(ye, Be) { + var tt = ye.sortIndex - Be.sortIndex; + return tt !== 0 ? tt : ye.id - Be.id; + } + a(h, "compare"); + var v = 1, g = 2, b = 3, w = 4, x = 5; + function R(ye, Be) { + } + a(R, "markTaskErrored"); + var C = typeof performance == "object" && typeof performance.now == "function"; + if (C) { + var D = performance; + Jt.unstable_now = function() { + return D.now(); + }; + } else { + var F = Date, O = F.now(); + Jt.unstable_now = function() { + return F.now() - O; + }; + } + var I = 1073741823, P = -1, N = 250, H = 5e3, B = 1e4, q = I, V = [], ne = [], ce = 1, de = null, te = b, he = !1, X = !1, le = !1, xe = typeof setTimeout == + "function" ? setTimeout : null, Me = typeof clearTimeout == "function" ? clearTimeout : null, Re = typeof setImmediate < "u" ? setImmediate : + null, Ne = typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling. + isInputPending.bind(navigator.scheduling) : null; + function Pe(ye) { + for (var Be = s(ne); Be !== null; ) { + if (Be.callback === null) + l(ne); + else if (Be.startTime <= ye) + l(ne), Be.sortIndex = Be.expirationTime, o(V, Be); + else + return; + Be = s(ne); + } + } + a(Pe, "advanceTimers"); + function Ke(ye) { + if (le = !1, Pe(ye), !X) + if (s(V) !== null) + X = !0, oa(mt); + else { + var Be = s(ne); + Be !== null && gr(Ke, Be.startTime - ye); + } + } + a(Ke, "handleTimeout"); + function mt(ye, Be) { + X = !1, le && (le = !1, ia()), he = !0; + var tt = te; + try { + if (t) + try { + return ft(ye, Be); + } catch (Wt) { + if (de !== null) { + var Ot = Jt.unstable_now(); + de.isQueued = !1; + } + throw Wt; + } + else + return ft(ye, Be); + } finally { + de = null, te = tt, he = !1; + } + } + a(mt, "flushWork"); + function ft(ye, Be) { + var tt = Be; + for (Pe(tt), de = s(V); de !== null && !e && !(de.expirationTime > tt && (!ye || Se())); ) { + var Ot = de.callback; + if (typeof Ot == "function") { + de.callback = null, te = de.priorityLevel; + var Wt = de.expirationTime <= tt, hn = Ot(Wt); + tt = Jt.unstable_now(), typeof hn == "function" ? de.callback = hn : de === s(V) && l(V), Pe(tt); + } else + l(V); + de = s(V); + } + if (de !== null) + return !0; + var Cr = s(ne); + return Cr !== null && gr(Ke, Cr.startTime - tt), !1; + } + a(ft, "workLoop"); + function yt(ye, Be) { + switch (ye) { + case v: + case g: + case b: + case w: + case x: + break; + default: + ye = b; + } + var tt = te; + te = ye; + try { + return Be(); + } finally { + te = tt; + } + } + a(yt, "unstable_runWithPriority"); + function bt(ye) { + var Be; + switch (te) { + case v: + case g: + case b: + Be = b; + break; + default: + Be = te; + break; + } + var tt = te; + te = Be; + try { + return ye(); + } finally { + te = tt; + } + } + a(bt, "unstable_next"); + function Tt(ye) { + var Be = te; + return function() { + var tt = te; + te = Be; + try { + return ye.apply(this, arguments); + } finally { + te = tt; + } + }; + } + a(Tt, "unstable_wrapCallback"); + function kt(ye, Be, tt) { + var Ot = Jt.unstable_now(), Wt; + if (typeof tt == "object" && tt !== null) { + var hn = tt.delay; + typeof hn == "number" && hn > 0 ? Wt = Ot + hn : Wt = Ot; + } else + Wt = Ot; + var Cr; + switch (ye) { + case v: + Cr = P; + break; + case g: + Cr = N; + break; + case x: + Cr = q; + break; + case w: + Cr = B; + break; + case b: + default: + Cr = H; + break; + } + var Ta = Wt + Cr, Gt = { + id: ce++, + callback: Be, + priorityLevel: ye, + startTime: Wt, + expirationTime: Ta, + sortIndex: -1 + }; + return Wt > Ot ? (Gt.sortIndex = Wt, o(ne, Gt), s(V) === null && Gt === s(ne) && (le ? ia() : le = !0, gr(Ke, Wt - Ot))) : (Gt.sortIndex = + Ta, o(V, Gt), !X && !he && (X = !0, oa(mt))), Gt; + } + a(kt, "unstable_scheduleCallback"); + function vr() { + } + a(vr, "unstable_pauseExecution"); + function kr() { + !X && !he && (X = !0, oa(mt)); + } + a(kr, "unstable_continueExecution"); + function Er() { + return s(V); + } + a(Er, "unstable_getFirstCallbackNode"); + function Te(ye) { + ye.callback = null; + } + a(Te, "unstable_cancelCallback"); + function cr() { + return te; + } + a(cr, "unstable_getCurrentPriorityLevel"); + var fr = !1, Zt = null, Mr = -1, Nr = r, xr = -1; + function Se() { + var ye = Jt.unstable_now() - xr; + return !(ye < Nr); + } + a(Se, "shouldYieldToHost"); + function zn() { + } + a(zn, "requestPaint"); + function Wa(ye) { + if (ye < 0 || ye > 125) { + console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"); + return; + } + ye > 0 ? Nr = Math.floor(1e3 / ye) : Nr = r; + } + a(Wa, "forceFrameRate"); + var aa = /* @__PURE__ */ a(function() { + if (Zt !== null) { + var ye = Jt.unstable_now(); + xr = ye; + var Be = !0, tt = !0; + try { + tt = Zt(Be, ye); + } finally { + tt ? Gr() : (fr = !1, Zt = null); + } + } else + fr = !1; + }, "performWorkUntilDeadline"), Gr; + if (typeof Re == "function") + Gr = /* @__PURE__ */ a(function() { + Re(aa); + }, "schedulePerformWorkUntilDeadline"); + else if (typeof MessageChannel < "u") { + var jn = new MessageChannel(), pn = jn.port2; + jn.port1.onmessage = aa, Gr = /* @__PURE__ */ a(function() { + pn.postMessage(null); + }, "schedulePerformWorkUntilDeadline"); + } else + Gr = /* @__PURE__ */ a(function() { + xe(aa, 0); + }, "schedulePerformWorkUntilDeadline"); + function oa(ye) { + Zt = ye, fr || (fr = !0, Gr()); + } + a(oa, "requestHostCallback"); + function gr(ye, Be) { + Mr = xe(function() { + ye(Jt.unstable_now()); + }, Be); + } + a(gr, "requestHostTimeout"); + function ia() { + Me(Mr), Mr = -1; + } + a(ia, "cancelHostTimeout"); + var zo = zn, ds = null; + Jt.unstable_IdlePriority = x, Jt.unstable_ImmediatePriority = v, Jt.unstable_LowPriority = w, Jt.unstable_NormalPriority = b, Jt.unstable_Profiling = + ds, Jt.unstable_UserBlockingPriority = g, Jt.unstable_cancelCallback = Te, Jt.unstable_continueExecution = kr, Jt.unstable_forceFrameRate = + Wa, Jt.unstable_getCurrentPriorityLevel = cr, Jt.unstable_getFirstCallbackNode = Er, Jt.unstable_next = bt, Jt.unstable_pauseExecution = + vr, Jt.unstable_requestPaint = zo, Jt.unstable_runWithPriority = yt, Jt.unstable_scheduleCallback = kt, Jt.unstable_shouldYield = Se, Jt. + unstable_wrapCallback = Tt, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); + })(); +}); + +// ../node_modules/scheduler/index.js +var MI = k(($ze, kI) => { + "use strict"; + kI.exports = PI(); +}); + +// ../node_modules/react-dom/cjs/react-dom.development.js +var NI = k((to) => { + "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 e = fe(), t = MI(), r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, o = !1; + function s(n) { + o = n; + } + a(s, "setSuppressWarning"); + function l(n) { + if (!o) { + for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), d = 1; d < i; d++) + u[d - 1] = arguments[d]; + p("warn", n, u); + } + } + a(l, "warn"); + function c(n) { + if (!o) { + for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), d = 1; d < i; d++) + u[d - 1] = arguments[d]; + p("error", n, u); + } + } + a(c, "error"); + function p(n, i, u) { + { + var d = r.ReactDebugCurrentFrame, m = d.getStackAddendum(); + m !== "" && (i += "%s", u = u.concat([m])); + var y = u.map(function(E) { + return String(E); + }); + y.unshift("Warning: " + i), Function.prototype.apply.call(console[n], console, y); + } + } + a(p, "printWarning"); + var h = 0, v = 1, g = 2, b = 3, w = 4, x = 5, R = 6, C = 7, D = 8, F = 9, O = 10, I = 11, P = 12, N = 13, H = 14, B = 15, q = 16, V = 17, + ne = 18, ce = 19, de = 21, te = 22, he = 23, X = 24, le = 25, xe = !0, Me = !1, Re = !1, Ne = !1, Pe = !1, Ke = !0, mt = !1, ft = !1, yt = !0, + bt = !0, Tt = !0, kt = /* @__PURE__ */ new Set(), vr = {}, kr = {}; + function Er(n, i) { + Te(n, i), Te(n + "Capture", i); + } + a(Er, "registerTwoPhaseEvent"); + function Te(n, i) { + vr[n] && c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", n), vr[n] = i; + { + var u = n.toLowerCase(); + kr[u] = n, n === "onDoubleClick" && (kr.ondblclick = n); + } + for (var d = 0; d < i.length; d++) + kt.add(i[d]); + } + a(Te, "registerDirectEvent"); + var cr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", fr = Object.prototype.hasOwnProperty; + function Zt(n) { + { + var i = typeof Symbol == "function" && Symbol.toStringTag, u = i && n[Symbol.toStringTag] || n.constructor.name || "Object"; + return u; + } + } + a(Zt, "typeName"); + function Mr(n) { + try { + return Nr(n), !1; + } catch { + return !0; + } + } + a(Mr, "willCoercionThrow"); + function Nr(n) { + return "" + n; + } + a(Nr, "testStringCoercion"); + function xr(n, i) { + if (Mr(n)) + return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", + i, Zt(n)), Nr(n); + } + a(xr, "checkAttributeStringCoercion"); + function Se(n) { + if (Mr(n)) + return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Zt(n)), Nr( + n); + } + a(Se, "checkKeyStringCoercion"); + function zn(n, i) { + if (Mr(n)) + return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", i, + Zt(n)), Nr(n); + } + a(zn, "checkPropStringCoercion"); + function Wa(n, i) { + if (Mr(n)) + return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it he\ +re.", i, Zt(n)), Nr(n); + } + a(Wa, "checkCSSPropertyStringCoercion"); + function aa(n) { + if (Mr(n)) + return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using i\ +t here.", Zt(n)), Nr(n); + } + a(aa, "checkHtmlStringCoercion"); + function Gr(n) { + if (Mr(n)) + return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coer\ +ced to a string before before using it here.", Zt(n)), Nr(n); + } + a(Gr, "checkFormFieldValueStringCoercion"); + var jn = 0, pn = 1, oa = 2, gr = 3, ia = 4, zo = 5, ds = 6, ye = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1\ +FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Be = ye + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\\ +u2040", tt = new RegExp("^[" + ye + "][" + Be + "]*$"), Ot = {}, Wt = {}; + function hn(n) { + return fr.call(Wt, n) ? !0 : fr.call(Ot, n) ? !1 : tt.test(n) ? (Wt[n] = !0, !0) : (Ot[n] = !0, c("Invalid attribute name: `%s`", n), !1); + } + a(hn, "isAttributeNameSafe"); + function Cr(n, i, u) { + return i !== null ? i.type === jn : u ? !1 : n.length > 2 && (n[0] === "o" || n[0] === "O") && (n[1] === "n" || n[1] === "N"); + } + a(Cr, "shouldIgnoreAttribute"); + function Ta(n, i, u, d) { + if (u !== null && u.type === jn) + return !1; + switch (typeof i) { + case "function": + case "symbol": + return !0; + case "boolean": { + if (d) + return !1; + if (u !== null) + return !u.acceptsBooleans; + var m = n.toLowerCase().slice(0, 5); + return m !== "data-" && m !== "aria-"; + } + default: + return !1; + } + } + a(Ta, "shouldRemoveAttributeWithWarning"); + function Gt(n, i, u, d) { + if (i === null || typeof i > "u" || Ta(n, i, u, d)) + return !0; + if (d) + return !1; + if (u !== null) + switch (u.type) { + case gr: + return !i; + case ia: + return i === !1; + case zo: + return isNaN(i); + case ds: + return isNaN(i) || i < 1; + } + return !1; + } + a(Gt, "shouldRemoveAttribute"); + function sa(n) { + return er.hasOwnProperty(n) ? er[n] : null; + } + a(sa, "getPropertyInfo"); + function Yt(n, i, u, d, m, y, E) { + this.acceptsBooleans = i === oa || i === gr || i === ia, this.attributeName = d, this.attributeNamespace = m, this.mustUseProperty = u, + this.propertyName = n, this.type = i, this.sanitizeURL = y, this.removeEmptyString = E; + } + a(Yt, "PropertyInfoRecord"); + var er = {}, Fu = [ + "children", + "dangerouslySetInnerHTML", + // TODO: This prevents the assignment of defaultValue to regular + // elements (not just inputs). Now that ReactDOMInput assigns to the + // defaultValue property -- do we need this? + "defaultValue", + "defaultChecked", + "innerHTML", + "suppressContentEditableWarning", + "suppressHydrationWarning", + "style" + ]; + Fu.forEach(function(n) { + er[n] = new Yt( + n, + jn, + !1, + // mustUseProperty + n, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) { + var i = n[0], u = n[1]; + er[i] = new Yt( + i, + pn, + !1, + // mustUseProperty + u, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) { + er[n] = new Yt( + n, + oa, + !1, + // mustUseProperty + n.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) { + er[n] = new Yt( + n, + oa, + !1, + // mustUseProperty + n, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [ + "allowFullScreen", + "async", + // Note: there is a special case that prevents it from being written to the DOM + // on the client side because the browsers are inconsistent. Instead we call focus(). + "autoFocus", + "autoPlay", + "controls", + "default", + "defer", + "disabled", + "disablePictureInPicture", + "disableRemotePlayback", + "formNoValidate", + "hidden", + "loop", + "noModule", + "noValidate", + "open", + "playsInline", + "readOnly", + "required", + "reversed", + "scoped", + "seamless", + // Microdata + "itemScope" + ].forEach(function(n) { + er[n] = new Yt( + n, + gr, + !1, + // mustUseProperty + n.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [ + "checked", + // Note: `option.selected` is not updated if `select.multiple` is + // disabled with `removeAttribute`. We have special logic for handling this. + "multiple", + "muted", + "selected" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + er[n] = new Yt( + n, + gr, + !0, + // mustUseProperty + n, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [ + "capture", + "download" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + er[n] = new Yt( + n, + ia, + !1, + // mustUseProperty + n, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [ + "cols", + "rows", + "size", + "span" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + er[n] = new Yt( + n, + ds, + !1, + // mustUseProperty + n, + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), ["rowSpan", "start"].forEach(function(n) { + er[n] = new Yt( + n, + zo, + !1, + // mustUseProperty + n.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }); + var ul = /[\-\:]([a-z])/g, Iu = /* @__PURE__ */ a(function(n) { + return n[1].toUpperCase(); + }, "capitalize"); + [ + "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" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + var i = n.replace(ul, Iu); + er[i] = new Yt( + i, + pn, + !1, + // mustUseProperty + n, + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }), [ + "xlink:actuate", + "xlink:arcrole", + "xlink:role", + "xlink:show", + "xlink:title", + "xlink:type" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + var i = n.replace(ul, Iu); + er[i] = new Yt( + i, + pn, + !1, + // mustUseProperty + n, + "http://www.w3.org/1999/xlink", + !1, + // sanitizeURL + !1 + ); + }), [ + "xml:base", + "xml:lang", + "xml:space" + // NOTE: if you add a camelCased prop to this list, + // you'll need to set attributeName to name.toLowerCase() + // instead in the assignment below. + ].forEach(function(n) { + var i = n.replace(ul, Iu); + er[i] = new Yt( + i, + pn, + !1, + // mustUseProperty + n, + "http://www.w3.org/XML/1998/namespace", + !1, + // sanitizeURL + !1 + ); + }), ["tabIndex", "crossOrigin"].forEach(function(n) { + er[n] = new Yt( + n, + pn, + !1, + // mustUseProperty + n.toLowerCase(), + // attributeName + null, + // attributeNamespace + !1, + // sanitizeURL + !1 + ); + }); + var hf = "xlinkHref"; + er[hf] = new Yt( + "xlinkHref", + pn, + !1, + // mustUseProperty + "xlink:href", + "http://www.w3.org/1999/xlink", + !0, + // sanitizeURL + !1 + ), ["src", "href", "action", "formAction"].forEach(function(n) { + er[n] = new Yt( + n, + pn, + !1, + // mustUseProperty + n.toLowerCase(), + // attributeName + null, + // attributeNamespace + !0, + // sanitizeURL + !0 + ); + }); + var ah = /^[\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, jo = !1; + function ps(n) { + !jo && ah.test(n) && (jo = !0, c("A future version of React will block javascript: URLs as a security precaution. Use event handlers i\ +nstead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(n))); + } + a(ps, "sanitizeURL"); + function mf(n, i, u, d) { + if (d.mustUseProperty) { + var m = d.propertyName; + return n[m]; + } else { + xr(u, i), d.sanitizeURL && ps("" + u); + var y = d.attributeName, E = null; + if (d.type === ia) { + if (n.hasAttribute(y)) { + var A = n.getAttribute(y); + return A === "" ? !0 : Gt(i, u, d, !1) ? A : A === "" + u ? u : A; + } + } else if (n.hasAttribute(y)) { + if (Gt(i, u, d, !1)) + return n.getAttribute(y); + if (d.type === gr) + return u; + E = n.getAttribute(y); + } + return Gt(i, u, d, !1) ? E === null ? u : E : E === "" + u ? u : E; + } + } + a(mf, "getValueForProperty"); + function vf(n, i, u, d) { + { + if (!hn(i)) + return; + if (!n.hasAttribute(i)) + return u === void 0 ? void 0 : null; + var m = n.getAttribute(i); + return xr(u, i), m === "" + u ? u : m; + } + } + a(vf, "getValueForAttribute"); + function cl(n, i, u, d) { + var m = sa(i); + if (!Cr(i, m, d)) { + if (Gt(i, u, m, d) && (u = null), d || m === null) { + if (hn(i)) { + var y = i; + u === null ? n.removeAttribute(y) : (xr(u, i), n.setAttribute(y, "" + u)); + } + return; + } + var E = m.mustUseProperty; + if (E) { + var A = m.propertyName; + if (u === null) { + var T = m.type; + n[A] = T === gr ? !1 : ""; + } else + n[A] = u; + return; + } + var L = m.attributeName, M = m.attributeNamespace; + if (u === null) + n.removeAttribute(L); + else { + var U = m.type, j; + U === gr || U === ia && u === !0 ? j = "" : (xr(u, L), j = "" + u, m.sanitizeURL && ps(j.toString())), M ? n.setAttributeNS(M, L, j) : + n.setAttribute(L, j); + } + } + } + a(cl, "setValueForProperty"); + var Di = Symbol.for("react.element"), Uo = Symbol.for("react.portal"), qo = Symbol.for("react.fragment"), fl = Symbol.for("react.strict_\ +mode"), z = Symbol.for("react.profiler"), se = Symbol.for("react.provider"), ge = Symbol.for("react.context"), je = Symbol.for("react.forwar\ +d_ref"), dt = Symbol.for("react.suspense"), Ct = Symbol.for("react.suspense_list"), ot = Symbol.for("react.memo"), Ue = Symbol.for("react.la\ +zy"), Yr = Symbol.for("react.scope"), nr = Symbol.for("react.debug_trace_mode"), ar = Symbol.for("react.offscreen"), Un = Symbol.for("react.\ +legacy_hidden"), Ai = Symbol.for("react.cache"), gf = Symbol.for("react.tracing_marker"), _a = Symbol.iterator, jS = "@@iterator"; + function hs(n) { + if (n === null || typeof n != "object") + return null; + var i = _a && n[_a] || n[jS]; + return typeof i == "function" ? i : null; + } + a(hs, "getIteratorFn"); + var it = Object.assign, dl = 0, oh, ih, sh, lh, uh, ch, fh; + function vg() { + } + a(vg, "disabledLog"), vg.__reactDisabledLog = !0; + function US() { + { + if (dl === 0) { + oh = console.log, ih = console.info, sh = console.warn, lh = console.error, uh = console.group, ch = console.groupCollapsed, fh = console. + groupEnd; + var n = { + configurable: !0, + enumerable: !0, + value: vg, + writable: !0 + }; + Object.defineProperties(console, { + info: n, + log: n, + warn: n, + error: n, + group: n, + groupCollapsed: n, + groupEnd: n + }); + } + dl++; + } + } + a(US, "disableLogs"); + function dh() { + { + if (dl--, dl === 0) { + var n = { + configurable: !0, + enumerable: !0, + writable: !0 + }; + Object.defineProperties(console, { + log: it({}, n, { + value: oh + }), + info: it({}, n, { + value: ih + }), + warn: it({}, n, { + value: sh + }), + error: it({}, n, { + value: lh + }), + group: it({}, n, { + value: uh + }), + groupCollapsed: it({}, n, { + value: ch + }), + groupEnd: it({}, n, { + value: fh + }) + }); + } + dl < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); + } + } + a(dh, "reenableLogs"); + var Lu = r.ReactCurrentDispatcher, pl; + function fo(n, i, u) { + { + if (pl === void 0) + try { + throw Error(); + } catch (m) { + var d = m.stack.trim().match(/\n( *(at )?)/); + pl = d && d[1] || ""; + } + return ` +` + pl + n; + } + } + a(fo, "describeBuiltInComponentFrame"); + var hl = !1, yf; + { + var gg = typeof WeakMap == "function" ? WeakMap : Map; + yf = new gg(); + } + function ph(n, i) { + if (!n || hl) + return ""; + { + var u = yf.get(n); + if (u !== void 0) + return u; + } + var d; + hl = !0; + var m = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var y; + y = Lu.current, Lu.current = null, US(); + try { + if (i) { + var E = /* @__PURE__ */ a(function() { + throw Error(); + }, "Fake"); + if (Object.defineProperty(E.prototype, "props", { + set: /* @__PURE__ */ a(function() { + throw Error(); + }, "set") + }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(E, []); + } catch (Q) { + d = Q; + } + Reflect.construct(n, [], E); + } else { + try { + E.call(); + } catch (Q) { + d = Q; + } + n.call(E.prototype); + } + } else { + try { + throw Error(); + } catch (Q) { + d = Q; + } + n(); + } + } catch (Q) { + if (Q && d && typeof Q.stack == "string") { + for (var A = Q.stack.split(` +`), T = d.stack.split(` +`), L = A.length - 1, M = T.length - 1; L >= 1 && M >= 0 && A[L] !== T[M]; ) + M--; + for (; L >= 1 && M >= 0; L--, M--) + if (A[L] !== T[M]) { + if (L !== 1 || M !== 1) + do + if (L--, M--, M < 0 || A[L] !== T[M]) { + var U = ` +` + A[L].replace(" at new ", " at "); + return n.displayName && U.includes("") && (U = U.replace("", n.displayName)), typeof n == "functio\ +n" && yf.set(n, U), U; + } + while (L >= 1 && M >= 0); + break; + } + } + } finally { + hl = !1, Lu.current = y, dh(), Error.prepareStackTrace = m; + } + var j = n ? n.displayName || n.name : "", ee = j ? fo(j) : ""; + return typeof n == "function" && yf.set(n, ee), ee; + } + a(ph, "describeNativeComponentFrame"); + function qS(n, i, u) { + return ph(n, !0); + } + a(qS, "describeClassComponentFrame"); + function ml(n, i, u) { + return ph(n, !1); + } + a(ml, "describeFunctionComponentFrame"); + function yg(n) { + var i = n.prototype; + return !!(i && i.isReactComponent); + } + a(yg, "shouldConstruct"); + function bf(n, i, u) { + if (n == null) + return ""; + if (typeof n == "function") + return ph(n, yg(n)); + if (typeof n == "string") + return fo(n); + switch (n) { + case dt: + return fo("Suspense"); + case Ct: + return fo("SuspenseList"); + } + if (typeof n == "object") + switch (n.$$typeof) { + case je: + return ml(n.render); + case ot: + return bf(n.type, i, u); + case Ue: { + var d = n, m = d._payload, y = d._init; + try { + return bf(y(m), i, u); + } catch { + } + } + } + return ""; + } + a(bf, "describeUnknownElementTypeFrameInDEV"); + function Sf(n) { + var i = n._debugOwner ? n._debugOwner.type : null, u = n._debugSource; + switch (n.tag) { + case x: + return fo(n.type); + case q: + return fo("Lazy"); + case N: + return fo("Suspense"); + case ce: + return fo("SuspenseList"); + case h: + case g: + case B: + return ml(n.type); + case I: + return ml(n.type.render); + case v: + return qS(n.type); + default: + return ""; + } + } + a(Sf, "describeFiber"); + function bg(n) { + try { + var i = "", u = n; + do + i += Sf(u), u = u.return; + while (u); + return i; + } catch (d) { + return ` +Error generating stack: ` + d.message + ` +` + d.stack; + } + } + a(bg, "getStackByFiberInDevAndProd"); + function vl(n, i, u) { + var d = n.displayName; + if (d) + return d; + var m = i.displayName || i.name || ""; + return m !== "" ? u + "(" + m + ")" : u; + } + a(vl, "getWrappedName"); + function wf(n) { + return n.displayName || "Context"; + } + a(wf, "getContextName"); + function Ht(n) { + if (n == null) + return null; + if (typeof n.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please \ +file an issue."), typeof n == "function") + return n.displayName || n.name || null; + if (typeof n == "string") + return n; + switch (n) { + case qo: + return "Fragment"; + case Uo: + return "Portal"; + case z: + return "Profiler"; + case fl: + return "StrictMode"; + case dt: + return "Suspense"; + case Ct: + return "SuspenseList"; + } + if (typeof n == "object") + switch (n.$$typeof) { + case ge: + var i = n; + return wf(i) + ".Consumer"; + case se: + var u = n; + return wf(u._context) + ".Provider"; + case je: + return vl(n, n.render, "ForwardRef"); + case ot: + var d = n.displayName || null; + return d !== null ? d : Ht(n.type) || "Memo"; + case Ue: { + var m = n, y = m._payload, E = m._init; + try { + return Ht(E(y)); + } catch { + return null; + } + } + } + return null; + } + a(Ht, "getComponentNameFromType"); + function VS(n, i, u) { + var d = i.displayName || i.name || ""; + return n.displayName || (d !== "" ? u + "(" + d + ")" : u); + } + a(VS, "getWrappedName$1"); + function Sg(n) { + return n.displayName || "Context"; + } + a(Sg, "getContextName$1"); + function rt(n) { + var i = n.tag, u = n.type; + switch (i) { + case X: + return "Cache"; + case F: + var d = u; + return Sg(d) + ".Consumer"; + case O: + var m = u; + return Sg(m._context) + ".Provider"; + case ne: + return "DehydratedFragment"; + case I: + return VS(u, u.render, "ForwardRef"); + case C: + return "Fragment"; + case x: + return u; + case w: + return "Portal"; + case b: + return "Root"; + case R: + return "Text"; + case q: + return Ht(u); + case D: + return u === fl ? "StrictMode" : "Mode"; + case te: + return "Offscreen"; + case P: + return "Profiler"; + case de: + return "Scope"; + case N: + return "Suspense"; + case ce: + return "SuspenseList"; + case le: + return "TracingMarker"; + case v: + case h: + case V: + case g: + case H: + case B: + if (typeof u == "function") + return u.displayName || u.name || null; + if (typeof u == "string") + return u; + break; + } + return null; + } + a(rt, "getComponentNameFromFiber"); + var wg = r.ReactDebugCurrentFrame, qn = null, gl = !1; + function yl() { + { + if (qn === null) + return null; + var n = qn._debugOwner; + if (n !== null && typeof n < "u") + return rt(n); + } + return null; + } + a(yl, "getCurrentFiberOwnerNameInDevOrNull"); + function WS() { + return qn === null ? "" : bg(qn); + } + a(WS, "getCurrentFiberStackInDev"); + function mn() { + wg.getCurrentStack = null, qn = null, gl = !1; + } + a(mn, "resetCurrentFiber"); + function dr(n) { + wg.getCurrentStack = n === null ? null : WS, qn = n, gl = !1; + } + a(dr, "setCurrentFiber"); + function GS() { + return qn; + } + a(GS, "getCurrentFiber"); + function po(n) { + gl = n; + } + a(po, "setIsRendering"); + function Oa(n) { + return "" + n; + } + a(Oa, "toString"); + function Vo(n) { + switch (typeof n) { + case "boolean": + case "number": + case "string": + case "undefined": + return n; + case "object": + return Gr(n), n; + default: + return ""; + } + } + a(Vo, "getToStringValue"); + var Ef = { + button: !0, + checkbox: !0, + image: !0, + hidden: !0, + radio: !0, + reset: !0, + submit: !0 + }; + function hh(n, i) { + Ef[i.type] || i.onChange || i.onInput || i.readOnly || i.disabled || i.value == null || c("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`."), i.onChange || i.readOnly || i.disabled || i.checked == null || c("You provided a `checked` prop to a form fiel\ +d without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set eit\ +her `onChange` or `readOnly`."); + } + a(hh, "checkControlledValueProps"); + function ms(n) { + var i = n.type, u = n.nodeName; + return u && u.toLowerCase() === "input" && (i === "checkbox" || i === "radio"); + } + a(ms, "isCheckable"); + function mh(n) { + return n._valueTracker; + } + a(mh, "getTracker"); + function YS(n) { + n._valueTracker = null; + } + a(YS, "detachTracker"); + function xf(n) { + var i = ""; + return n && (ms(n) ? i = n.checked ? "true" : "false" : i = n.value), i; + } + a(xf, "getValueFromNode"); + function vh(n) { + var i = ms(n) ? "checked" : "value", u = Object.getOwnPropertyDescriptor(n.constructor.prototype, i); + Gr(n[i]); + var d = "" + n[i]; + if (!(n.hasOwnProperty(i) || typeof u > "u" || typeof u.get != "function" || typeof u.set != "function")) { + var m = u.get, y = u.set; + Object.defineProperty(n, i, { + configurable: !0, + get: /* @__PURE__ */ a(function() { + return m.call(this); + }, "get"), + set: /* @__PURE__ */ a(function(A) { + Gr(A), d = "" + A, y.call(this, A); + }, "set") + }), Object.defineProperty(n, i, { + enumerable: u.enumerable + }); + var E = { + getValue: /* @__PURE__ */ a(function() { + return d; + }, "getValue"), + setValue: /* @__PURE__ */ a(function(A) { + Gr(A), d = "" + A; + }, "setValue"), + stopTracking: /* @__PURE__ */ a(function() { + YS(n), delete n[i]; + }, "stopTracking") + }; + return E; + } + } + a(vh, "trackValueOnNode"); + function bl(n) { + mh(n) || (n._valueTracker = vh(n)); + } + a(bl, "track"); + function Cf(n) { + if (!n) + return !1; + var i = mh(n); + if (!i) + return !0; + var u = i.getValue(), d = xf(n); + return d !== u ? (i.setValue(d), !0) : !1; + } + a(Cf, "updateValueIfChanged"); + function Rf(n) { + if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") + return null; + try { + return n.activeElement || n.body; + } catch { + return n.body; + } + } + a(Rf, "getActiveElement"); + var Eg = !1, xg = !1, Cg = !1, _ = !1; + function $(n) { + var i = n.type === "checkbox" || n.type === "radio"; + return i ? n.checked != null : n.value != null; + } + a($, "isControlled"); + function J(n, i) { + var u = n, d = i.checked, m = it({}, i, { + defaultChecked: void 0, + defaultValue: void 0, + value: void 0, + checked: d ?? u._wrapperState.initialChecked + }); + return m; + } + a(J, "getHostProps"); + function ae(n, i) { + hh("input", i), i.checked !== void 0 && i.defaultChecked !== void 0 && !xg && (c("%s contains an input of type %s with both checked an\ +d defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked pro\ +p, 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", yl() || "A component", i.type), xg = !0), i.value !== void 0 && i.defaultValue !== void 0 && !Eg && (c("%s \ +contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify eithe\ +r 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", yl() || "A component", i.type), Eg = !0); + var u = n, d = i.defaultValue == null ? "" : i.defaultValue; + u._wrapperState = { + initialChecked: i.checked != null ? i.checked : i.defaultChecked, + initialValue: Vo(i.value != null ? i.value : d), + controlled: $(i) + }; + } + a(ae, "initWrapperState"); + function me(n, i) { + var u = n, d = i.checked; + d != null && cl(u, "checked", d, !1); + } + a(me, "updateChecked"); + function qe(n, i) { + var u = n; + { + var d = $(i); + !u._wrapperState.controlled && d && !_ && (c("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 el\ +ement for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), _ = !0), u._wrapperState.controlled && + !d && !Cg && (c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a d\ +efined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the compon\ +ent. More info: https://reactjs.org/link/controlled-components"), Cg = !0); + } + me(n, i); + var m = Vo(i.value), y = i.type; + if (m != null) + y === "number" ? (m === 0 && u.value === "" || // We explicitly want to coerce to number here if possible. + // eslint-disable-next-line + u.value != m) && (u.value = Oa(m)) : u.value !== Oa(m) && (u.value = Oa(m)); + else if (y === "submit" || y === "reset") { + u.removeAttribute("value"); + return; + } + i.hasOwnProperty("value") ? Lt(u, i.type, m) : i.hasOwnProperty("defaultValue") && Lt(u, i.type, Vo(i.defaultValue)), i.checked == null && + i.defaultChecked != null && (u.defaultChecked = !!i.defaultChecked); + } + a(qe, "updateWrapper"); + function Ie(n, i, u) { + var d = n; + if (i.hasOwnProperty("value") || i.hasOwnProperty("defaultValue")) { + var m = i.type, y = m === "submit" || m === "reset"; + if (y && (i.value === void 0 || i.value === null)) + return; + var E = Oa(d._wrapperState.initialValue); + u || E !== d.value && (d.value = E), d.defaultValue = E; + } + var A = d.name; + A !== "" && (d.name = ""), d.defaultChecked = !d.defaultChecked, d.defaultChecked = !!d._wrapperState.initialChecked, A !== "" && (d.name = + A); + } + a(Ie, "postMountWrapper"); + function et(n, i) { + var u = n; + qe(u, i), St(u, i); + } + a(et, "restoreControlledState"); + function St(n, i) { + var u = i.name; + if (i.type === "radio" && u != null) { + for (var d = n; d.parentNode; ) + d = d.parentNode; + xr(u, "name"); + for (var m = d.querySelectorAll("input[name=" + JSON.stringify("" + u) + '][type="radio"]'), y = 0; y < m.length; y++) { + var E = m[y]; + if (!(E === n || E.form !== n.form)) { + var A = fy(E); + if (!A) + throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."); + Cf(E), qe(E, A); + } + } + } + } + a(St, "updateNamedCousins"); + function Lt(n, i, u) { + // Focused number inputs synchronize on blur. See ChangeEventPlugin.js + (i !== "number" || Rf(n.ownerDocument) !== n) && (u == null ? n.defaultValue = Oa(n._wrapperState.initialValue) : n.defaultValue !== Oa( + u) && (n.defaultValue = Oa(u))); + } + a(Lt, "setDefaultValue"); + var Kt = !1, Xt = !1, tr = !1; + function yr(n, i) { + i.value == null && (typeof i.children == "object" && i.children !== null ? e.Children.forEach(i.children, function(u) { + u != null && (typeof u == "string" || typeof u == "number" || Xt || (Xt = !0, c("Cannot infer the option value of complex children. \ +Pass a `value` prop or use a plain string as children to