diff --git a/404.html b/404.html index 469a20511..6dbd427fd 100644 --- a/404.html +++ b/404.html @@ -1,9 +1,10 @@ - + -Page Not Found | Vocdoni developer portal +Page Not Found | Vocdoni developer portal + @@ -11,14 +12,14 @@ - - - + + +
-
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.

Resources

Guides
Soon

Tutorials
Soon

Copyright © 2024 Vocdoni, Inc. All rights reserved.
- - +
loading...
+ + \ No newline at end of file diff --git a/assets/css/styles.035f5ed3.css b/assets/css/styles.e41d15bc.css similarity index 68% rename from assets/css/styles.035f5ed3.css rename to assets/css/styles.e41d15bc.css index c3e38d673..4661a2f89 100644 --- a/assets/css/styles.035f5ed3.css +++ b/assets/css/styles.e41d15bc.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap);.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,a{text-align:left}.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)}progress,sub,sup{vertical-align:initial}.markdown li,body{word-wrap:break-word}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.button,.discriminatorTabLabel_dvfv,.dropdown__link,.filename_FaIo,.schemaTabLabel_clV0,.showMoreButton_ZGo2,.tabItem_AM8E,.text--truncate{white-space:nowrap}*,.DocSearch-Container,.DocSearch-Container *,:after,:before{box-sizing:border-box}: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-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)}:root,[data-theme=dark]{--ifm-color-primary:#27af86}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}html{-webkit-font-smoothing:antialiased;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none,.tabItem_LNqP,.tabItem_kzG2{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none,.tabItem_AM8E:last-child,.tabItem_VIbn:last-child,.tabItem_es3Q:last-child,.tabItem_fIhq:last-child{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.items-start,.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.items-center,.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.discriminatorTabsContainer,.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);margin:0 0 var(--ifm-spacing-vertical);overflow:auto;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}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul,.tabList_OQG4,.tabList__CuJ{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding);list-style-position:outside}ol ol,ul ol{list-style-type:lower-roman}ol ol,ol ul,ul ol,ul ul{margin:0}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}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:inherit;color:#229573;-webkit-text-decoration:var(--ifm-link-decoration);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}.markdown p,p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}.markdown hr,hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.clean-btn,hr{color:inherit}.text--center{text-align:center}.text--left{text-align:left}.text--justify,p{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.api-method>.menu__link:before,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{list-style:none;padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area.breadcrumbs__link[href]:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none}.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--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;list-style:none;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)}.language-bash,.language-csharp,.language-go,.language-javascript,.language-nodejs,.language-php,.language-python,.language-ruby,.theme-api-markdown code{max-height:500px;overflow:auto}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links,.theme-api-markdown pre{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)}.apiItemContainer article>:first-child,.apiItemContainer header+*,.docItemContainer article>:first-child,.docItemContainer header+*,.docItemContainer_joH8 article>:first-child,.docItemContainer_joH8 header+*,.footer__item,.formItem_WgRa:first-child,.showMoreButton_ZGo2:first-child,.showMoreButton_jDKX:first-child{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.cardContainer_p3e_ :last-child,.collapsibleContent_i85q>:last-child,.footer__items,.markdown [class^=codeBlock]>pre,.markdown li p,.markown ol .markdown ul,.tabItem_Ymn6>:last-child,.theme-api-markdown details p{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox],fieldset,legend{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{list-style:none;margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after,.tabArrowRight_X4Xu,.tabArrowRight_oN04,.tabArrowRight_qsDv,.tabArrowRight_x8Ix{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;top:0;left:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.navbar__items--center .navbar__brand,blockquote,body,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,menu,ol,p,pre,ul{margin:0}.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),.paramsItem:focus,.paramsItem:hover,.paramsItem_PKlE:focus,.paramsItem_PKlE:hover,.schemaItem:focus,.schemaItem:hover,.schemaItem_P8yX:focus,.schemaItem_P8yX:hover{background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.docsWrapper_BCFX,.flex,.navbar,.navbar>.container,.navbar>.container-fluid,.theme-edit-this-page{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.docs-wrapper,.navbar__logo img,body,html{height:100%}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child,.pr-0{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;transition-property:opacity,visibility}.buttonGroup_SdX7 button.selected_VHjy,.buttonGroup_SdX7 button:hover,.navbar-sidebar__back{background:var(--ifm-menu-color-background-active)}.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{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}.inline-flex,.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.menu__list li,.tabs,.theme-api-markdown ul,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.mb-6,.my-6{margin-bottom:1.5rem}.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;--docsearch-text-color:#f5f6f7;--docsearch-container-background:#090a11cc;--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 #494c6a80,0 -4px 8px 0 #0003;--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg,.absolute{position:absolute}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;right:0;transform:rotate(3deg) translateY(-4px);width:100px}*,:after,:before{border:0 solid #e5e7eb;--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit}hr{border-top-width:1px;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{display:block;margin-bottom:var(--ifm-spacing-vertical);overflow:auto;border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.admonitionHeading_tbUL code,button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}menu,ol,ul{list-style:none;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}.tabArrow_LyoO:hover,.tabArrow_WDKX:hover,.tabArrow_x5p_:hover,.tabArrow_zmvw:hover,[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}#docusaurus-base-url-issue-banner-container,.hidden,.markdown #authentication,.markdown #authentication+div,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,[hidden],html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.my-6{margin-top:1.5rem}.-mt-1{margin-top:-.25rem}.ml-1{margin-left:.25rem}.mt-4{margin-top:1rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mt-5{margin-top:1.25rem}.mb-8{margin-bottom:2rem}.grid{display:grid}.\!hidden{display:none!important}.h-72{height:18rem}.w-auto{width:auto}.responseSamplesTabItem_f_p_,.w-full{width:100%}.w-\[480px\]{width:480px}.min-w-\[480px\]{min-width:480px}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-wait{cursor:wait}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-end{place-items:end}.content-center{align-content:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-5{padding:1.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-8{padding-bottom:2rem;padding-top:2rem}.px-8{padding-left:2rem;padding-right:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pt-5{padding-top:1.25rem}.pb-3{padding-bottom:.75rem}.pb-10{padding-bottom:2.5rem}.pt-7{padding-top:1.75rem}.pl-5{padding-left:1.25rem}.text-left{text-align:left}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.tabItem_AM8E,.tabItem_fIhq{font-weight:var(--ifm-font-weight-normal)}.leading-6{line-height:1.5rem}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow,.drop-shadow-lg,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.tabArrow_LyoO,.tabArrow_WDKX,.tabArrow_x5p_,.tabArrow_zmvw,.tocCollapsibleButton_TO0P:after{filter:var(--ifm-menu-link-sublist-icon-filter)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f)}.drop-shadow-lg{--tw-drop-shadow:drop-shadow(0 10px 8px #0000000a) drop-shadow(0 4px 3px #0000001a)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-theme=dark]{--ifm-color-primary-dark:#b4eedd;--ifm-color-primary-darker:#8ae5ca;--ifm-color-primary-darkest:#61dcb7;--ifm-color-primary-light:#27af86;--ifm-color-primary-lighter:#37d2a4;--ifm-color-primary-lightest:#61dcb7;--docusaurus-highlighted-code-line-bg:#0000004d;--openapi-card-background-color:var(--ifm-color-gray-900)!important}a:any-link:hover{text-decoration:none}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}.markdown ol,.markdown ul,p{line-height:var(--voc-line-height)}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)}p{margin-bottom:25px}ul{list-style-type:disc}ol{list-style-type:decimal}li{padding-left:10px}.markdown li p{margin-top:6px}.header-github-link:hover,.header-medium-link:hover,.schemaName_KIS9,.schemaName_MpGo{opacity:.6}.header-medium-link:before{content:"\f37d";font-family:Font Awesome\ 5 Brands;font-size:x-large}.main-wrapper h1[class^=docTitle]{font-size:2.8rem}.imgBanner{border:3px solid #fff;border-radius:12px;max-width:250px;width:250px}.hover\:underline:hover{text-decoration-line:underline}.docItemCol_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiItem-Layout-styles-module .card>h2{overflow:unset;text-overflow:unset;white-space:unset}.breadcrumbs svg,.navbar__item svg,.tags_jXut{display:inline}.api-method>.menu__link{align-items:center;justify-content:start}.api-method>.menu__link:before{border:1px solid #0000;border-radius:.25rem;color:#fff;flex-shrink:0;font-size:12px;font-weight:600;height:20px;line-height:20px;margin-right:var(--ifm-spacing-horizontal);text-align:center;width:50px}.get>.menu__link:before{background-color:#3465a4;content:"get"}.post>.menu__link:before{background-color:var(--openapi-code-green);content:"post"}.delete>.menu__link:before{background-color:var(--openapi-code-red);content:"del"}.put>.menu__link:before{background-color:var(--openapi-code-blue);content:"put"}.patch>.menu__link:before{background-color:var(--openapi-code-orange);content:"patch"}.head>.menu__link:before{background-color:var(--ifm-color-secondary-darkest);content:"head"}.header-github-link:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;content:"";display:flex;height:24px;width:24px}html[data-theme=dark] .header-github-link:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}.badge+span{vertical-align:middle}.formItem_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiDemoPanel-FormItem-styles-module>code{padding:5px 8px}.required_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiDemoPanel-FormItem-styles-module{margin-left:8px}.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 h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading));font-size:2.5rem;margin-top:0}.markdown h1{border-top:1px dotted #bbb;margin-top:35px;padding-top:30px}.markdown h2,.markdown h3{padding-top:20px}.markdown h4{padding-top:15px}.markdown ol,.markdown ul{margin:0 0 8px 30px}.docusaurus-mermaid-container{margin:50px 10px}.inline-img-container{margin-bottom:var(--ifm-heading-margin-bottom);width:100%}div[class*=" announcementBar"],div[class^=announcementBar]{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(90deg,#e7ff0000 -.01%,#00ddb3);border-bottom:none;height:-moz-fit-content;height:fit-content;padding:0;text-align:left}div[class*=" announcementBar"] p,div[class^=announcementBar] p{background:linear-gradient(90deg,#00ddb300 -.01%,#ff005d 125%);color:#000;font-size:13px;margin-bottom:0;padding:0 20px}.feedback-wrapper{align-items:center;color:#69757a;display:inline-flex;font-size:1.125rem;margin-bottom:10px;margin-top:10px;padding-bottom:10px;padding-top:10px;position:relative}.feedback-wrapper .confirmation-content,.feedback-wrapper .feedback-button i svg{height:100%;width:100%}.feedback-wrapper .confirmationMessage{display:block;text-align:center;width:100%}.feedback-wrapper .cta-content{align-items:center;display:flex;text-align:center;width:100%}.feedback-wrapper .cta-text{margin-right:1rem}.feedback-wrapper .feedback-options{display:contents;grid-template-columns:1fr;list-style:none;margin:0;padding:0}.feedback-wrapper .feedback-button{align-items:center;background:#e8eced;border:0;border-radius:50%;cursor:pointer;display:flex;height:3rem;justify-content:center;width:3rem}.feedback-wrapper .feedback-button:hover{background:#afb0b0}.feedback-wrapper .feedback-button i{color:#69757a;display:inherit}:root{--ifm-color-primary-dark:#1e8666;--ifm-color-primary-darker:#145c46;--ifm-color-primary-darkest:#0b3226;--ifm-color-primary-light:#007575;--ifm-color-primary-lighter:#00a7a7;--ifm-color-primary-lightest:#00dbdb;--docusaurus-highlighted-code-line-bg:#0000001a;--ifm-background-color:var(--ifm-color-emphasis-0)!important;--ifm-footer-background-color:#0000;--ifm-font-family-monospace:"Fira Code",monospace;--ifm-font-family-base:Manrope,sans-serif;--ifm-code-font-size:90%;--voc-line-height:28px;--ifm-font-size-base:17px;--feedback-component-button-size:3rem;--voc-landing-background-gradient:linear-gradient(90deg,#e7ff0000 -0.01%,#00ddb3);--voc-navbar-landing-background-gradient:linear-gradient(90deg,#e7ff0000 -0.01%,#00ddb3 200%),#ffffff40;--ifm-navbar-shadow:#ffffff80 0px 1px 1px 0px;--ifm-navbar-search-input-background-color:#0000;--ifm-navbar-search-input-color:#000;--ifm-navbar-search-input-placeholder-color:var(--ifm-navbar-search-input-color);font-family:Manrope,sans-serif;--openapi-required:var(--ifm-color-danger);--openapi-deprecated:var(--ifm-color-warning);--openapi-code-blue:var(--ifm-color-info);--openapi-code-red:var(--ifm-color-danger);--openapi-code-orange:var(--ifm-color-warning);--openapi-code-green:var(--ifm-color-success);--openapi-card-background-color:var(--ifm-color-gray-100);--openapi-card-border-radius:var(--ifm-pre-border-radius);--openapi-input-border:var(--ifm-color-primary);--openapi-input-background:var(--openapi-card-background-color);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:#656c85cc;--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 #ffffff80,0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66;--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 #45629b1f;--docsearch-primary-color:var(--ifm-color-primary);--docsearch-text-color:var(--ifm-font-color-base)}.theme-api-markdown div[class^=collapsibleContent]{margin-top:0!important;padding-left:2px}.theme-api-markdown details{--docusaurus-details-decoration-color:var(--ifm-font-color-base);background-color:initial;border:unset!important;box-shadow:unset!important;color:var(--ifm-font-color-base);margin:unset;max-width:600px;padding:unset}.theme-api-markdown details ul{font-size:14px;padding-left:0}.theme-api-markdown details li{list-style:none;padding-bottom:5px;padding-top:5px}.theme-api-markdown details>div>div{border-top:unset!important;padding-top:unset!important}.theme-api-markdown .details__demo-panel{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius);margin-bottom:1rem}.theme-api-markdown .details__demo-panel>summary{cursor:pointer;padding-left:1rem;padding-top:1rem}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V,.theme-api-markdown .details__demo-panel>div>div>pre{border-top-left-radius:0;border-top-right-radius:0}.theme-api-markdown .details__demo-panel>summary::marker{content:"";display:none}.theme-api-markdown .details__demo-panel>summary::-webkit-details-marker{content:"";display:none}.theme-api-markdown .details__demo-panel>pre{margin-bottom:0;padding-top:0}.theme-api-markdown .details__request-summary>button,.theme-api-markdown .details__response-summary>button{margin-bottom:1rem;margin-right:1rem}.mimeTabsTopSection_wt53,.theme-api-markdown .details__request-summary,.theme-api-markdown .details__response-summary{align-items:center;display:flex;justify-content:space-between}.theme-api-markdown code{max-width:600px}.tocCollapsibleContent_vkbj a,.version-button div{display:block}.version-button div>button>span:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";display:inline-block;font-size:.8rem;margin-left:.3em;position:relative;top:1px;transform:translateY(-50%)}[class^=paramsItem]:before,[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";display:inline-block;height:.5rem;left:0;position:absolute;top:10px;vertical-align:top;width:.7rem}.code__tab--bash:after,.code__tab--csharp:after,.code__tab--go:after,.code__tab--javascript:after,.code__tab--nodejs:after,.code__tab--php:after,.code__tab--python:after,.code__tab--ruby:after{height:28px;margin-block:auto;width:28px;content:""}.schemaItem{padding:5px 0 5px 1rem}.discriminatorItem,.schemaItem{border-left:thin solid var(--ifm-color-gray-500)!important;list-style:none;margin:0!important;position:relative}.discriminatorItem{padding:5px 0!important}.code__tab--go,.code__tab--python{padding-left:1.4rem;padding-right:1.4rem}.code__tab--python:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg)}.code__tab--python{color:var(--ifm-color-success)}.code__tab--python.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-success)}.code__tab--go:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original-wordmark.svg)}.code__tab--go{color:var(--ifm-color-info)}.code__tab--go.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-info)}.code__tab--javascript:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg)}.code__tab--javascript{color:var(--ifm-color-warning);padding-left:1.4rem;padding-right:1.4rem}.code__tab--bash,.code__tab--ruby{color:var(--ifm-color-danger);padding-left:1.4rem;padding-right:1.4rem}.code__tab--javascript.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-warning)}.code__tab--bash:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-original.svg)}.code__tab--bash.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-danger)}.code__tab--ruby:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-plain.svg)}.code__tab--ruby.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-danger)}.code__tab--csharp:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg)}.code__tab--csharp{color:var(--ifm-color-gray-500);padding-left:1.4rem;padding-right:1.4rem}.code__tab--csharp.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-gray-500)}.code__tab--nodejs:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original.svg)}.code__tab--nodejs{color:var(--ifm-color-success);padding-left:1.4rem;padding-right:1.4rem}.code__tab--nodejs.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-success)}.code__tab--php:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg)}.code__tab--php{color:var(--ifm-color-gray-500);padding-left:1.4rem;padding-right:1.4rem}.code__tab--php.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-gray-500)}.prism-code.language-json{white-space:pre!important}.buttonDelete_vlNf:focus,.buttonGroup_SdX7 button:focus,.buttonThin_xRd9:focus,body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.DocSearch-Container a,.tag_zVej:hover{text-decoration:none}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_2l9O{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.tabItem_fIhq{align-items:center;border:1px solid var(--ifm-color-primary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-primary);display:flex;height:2.5rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.tabItem_VIbn:not(.discriminatorTabActive_wwM1),.tabItem_es3Q:not(.schemaTabActive_dWHR),.tabItem_fIhq:not(.responseTabActive_5Lhs){opacity:.65}.tabItem_VIbn:hover,.tabItem_es3Q:hover,.tabItem_fIhq:hover{background-color:var(--ifm-color-emphasis-100);opacity:1}.responseTabsTopSection_jEoq{align-items:center;display:flex;justify-content:space-between;margin-top:2rem}.responseTabsContainer_XEhZ{align-items:center;display:flex;max-width:390px;overflow:hidden;padding-left:1rem}.discriminatorTabsListContainer_Nnai,.responseTabsListContainer_itgM{overflow-x:scroll;overflow-y:hidden;padding:0 .25rem;scroll-behavior:smooth}.responseTabsListContainer_itgM::-webkit-scrollbar{display:none}.mimeTabDot_NO24,.responseTabDot_mwcE{border-radius:50%;height:12.5px;margin-right:5px;width:12.5px}.mimeTabDotSuccess_M1bZ,.responseTabDotSuccess_PzA9{background-color:var(--ifm-color-success)}.mimeTabDotDanger_NBeV,.responseTabDotDanger_S1vm{background-color:var(--ifm-color-danger)}.mimeTabDotInfo_R3vj,.responseTabDotInfo_iyT3{background-color:var(--ifm-color-info)}.responseTabActive_5Lhs,.schemaTabActive_dWHR,.tabItem_AM8E:active,.tabItem_VIbn.discriminatorTabActive_wwM1{background-color:var(--ifm-color-emphasis-100)}.mimeSchemaContainer_yYbZ,.responseSchemaContainer_Sp_v{max-width:600px}.tabArrow_LyoO,.tabArrow_x5p_{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;border:none;content:"";height:1.25rem;min-width:1.25rem;width:1.25rem}.tabArrowLeft_Cztf,.tabArrowLeft_RQtH,.tabArrowLeft_RzDG,.tabArrowLeft_woLb{transform:rotate(270deg)}.tabItem_AM8E{align-items:center;display:flex;font-size:12px;height:2rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.mimeTabsContainer_gZbZ{align-items:center;display:flex;max-width:390px;overflow:hidden}.mimeTabsListContainer_LPoX,.schemaTabsListContainer_wmy4{overflow-x:scroll;overflow-y:hidden;scroll-behavior:smooth}.mimeTabsListContainer_LPoX::-webkit-scrollbar{display:none}.mimeTabActive_nq7U{background-color:var(--ifm-color-emphasis-100);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)}.cardContainer_fWXF,.cardContainer_p3e_{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover,.cardContainer_p3e_:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_HnZ_,.cardTitle_rnsV{font-size:1.2rem}.cardDescription_DHsZ,.cardDescription_PWke{font-size:.8rem}.searchQueryInput_u2C7,.searchVersionInput_m0Ui{background:var(--docsearch-searchbox-focus-background);border:2px solid var(--ifm-toc-border-color);border-radius:var(--ifm-global-radius);color:var(--docsearch-text-color);font:var(--ifm-font-size-base) var(--ifm-font-family-base);margin-bottom:.5rem;padding:.8rem;transition:border var(--ifm-transition-fast) ease;width:100%}.searchQueryInput_u2C7:focus,.searchVersionInput_m0Ui:focus{border-color:var(--docsearch-primary-color);outline:0}.searchQueryInput_u2C7::placeholder{color:var(--docsearch-muted-color)}.searchResultsColumn_JPFH{font-size:.9rem;font-weight:700}.algoliaLogo_rT1R{max-width:150px}.algoliaLogoPathFill_WdUC{fill:var(--ifm-font-color-base)}.searchResultItem_Tv2o{border-bottom:1px solid var(--ifm-toc-border-color);padding:1rem 0}.searchResultItemHeading_KbCB{font-weight:400;margin-bottom:0}.searchResultItemPath_lhe1{--ifm-breadcrumb-separator-size-multiplier:1;color:var(--ifm-color-content-secondary);font-size:.8rem}.searchResultItemSummary_AEaO{font-style:italic;margin:.5rem 0 0}.loadingSpinner_XVxU{animation:1s linear infinite a;border:.4em solid #eee;border-radius:50%;border-top:.4em solid var(--ifm-color-primary);height:3rem;margin:0 auto;width:3rem}.paramsItem_PKlE,.schemaItem_P8yX{border-left:thin solid var(--ifm-color-gray-500)!important}@keyframes a{to{transform:rotate(1turn)}}.loader_vvXV,.responseSamplesContainer_ITGy{margin-top:2rem}.search-result-match{background:#ffd78e40;color:var(--docsearch-hit-color);padding:.09em 0}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL,.docSidebarContainer_b6E3,.sidebarLogo_isFc{display:none}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.codeBlockContainer_Ckt0,.playgroundContainer_X_Ta{margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw)}.breadcrumbHomeIcon_OVgt{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.playgroundContainer_X_Ta{border-radius:var(--ifm-global-radius);overflow:hidden}.playgroundHeader_dyrN,.playgroundHeader_yAq7{background:var(--ifm-color-emphasis-200);color:var(--ifm-color-content);font-size:var(--ifm-code-font-size);font-weight:700;letter-spacing:.08rem;padding:.75rem;text-transform:uppercase}.playgroundHeader_dyrN:first-of-type,.playgroundHeader_yAq7:first-of-type{background:var(--ifm-color-emphasis-600);color:var(--ifm-color-content-inverse)}.playgroundEditor_Q6Y7,.playgroundEditor_nWOY{direction:ltr;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace)!important}.playgroundPreview_DzOI,.playgroundPreview_iGtG{background-color:var(--ifm-pre-background);padding:1rem}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.deprecated_K3O1,.paramsRequired_UKPH,.required_Wlqr,.required_cVzG{font-size:var(--ifm-code-font-size)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity .2s ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:.15s;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.paramsItem_PKlE{margin:0 0 0 1rem!important;margin-top:unset!important;padding-left:1rem;position:relative}.paramsRequired_UKPH,.required_cVzG{color:var(--openapi-required)}.schemaItem_P8yX{list-style:none;margin:0!important;padding:5px 0 5px 1rem;position:relative}.required_Wlqr{color:var(--openapi-required)}.deprecated_K3O1{color:var(--openapi-deprecated)}.strikethrough_nBFj{text-decoration:line-through}.navbar{background:#fff}.navbar__link{font-weight:var(--ifm-font-weight-bold)}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-color)}.navbar kbd,.navbar__search-input{border:1px solid var(--ifm-navbar-search-input-color)}.navbar kbd{box-shadow:inset 0 -1px 0 var(--ifm-navbar-search-input-color)}.navbar__inner{margin:0 auto}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.containsTaskList_mC6p{list-style:none}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.container_lyt7,.container_lyt7>svg{max-width:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color)}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.code__tabs_vqEd{display:table-row-group}.buttonGroup_SdX7{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius) var(--openapi-card-border-radius) 2px 2px;color:var(--ifm-pre-color);display:flex;font-family:var(--ifm-font-family-monospace);justify-content:flex-end;margin-bottom:1px;margin-top:0}.buttonGroup_SdX7 button{--margin:0.25rem;-webkit-appearance:none;appearance:none;background:#0000;border:0 solid #0000;border-radius:calc(var(--margin));color:var(--ifm-menu-color);cursor:pointer;display:block;font-size:13.3333px;font-weight:var(--ifm-font-weight-semibold);line-height:var(--ifm-pre-line-height);margin:var(--margin);margin-right:0;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:color var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1),background var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1),border-color var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1);-webkit-user-select:none;user-select:none;white-space:nowrap;width:100%}.buttonDelete_vlNf,.showMoreButton_ZGo2{cursor:pointer;-webkit-user-select:none}.buttonGroup_SdX7 button:last-child{margin-right:.25rem}.buttonGroup_SdX7 button.selected_VHjy{color:var(--ifm-menu-color-active)}.formItem_WgRa{margin-top:var(--ifm-pre-padding)}.inputBase_a3Vd,.inputBase_kdtO,.inputBase_p1em,html[data-theme=dark] .selectInput__VTP{border:none;margin-top:calc(var(--ifm-pre-padding)/2);background-color:var(--openapi-input-background);font-size:var(--ifm-code-font-size);width:100%;color:var(--ifm-pre-color);outline:0}.inputBase_kdtO{padding:12px 48px 12px var(--ifm-pre-padding)}.inputBase_kdtO,html[data-theme=dark] .selectInput__VTP{border-radius:4px}html[data-theme=dark] .selectInput__VTP{background-image:url('data:image/svg+xml;charset=US-ASCII,')}.selectInput__VTP,html[data-theme=dark] .selectInput__VTP{-webkit-appearance:none;appearance:none;background-position:right var(--ifm-pre-padding) top 50%;background-repeat:no-repeat;background-size:initial}.selectInput__VTP{background-image:url('data:image/svg+xml;charset=US-ASCII,')}.buttonDelete_vlNf:active,.input_CV2d:focus,.input_Ru3N:focus,.selectInput__VTP:focus{box-shadow:inset 0 0 0 2px var(--openapi-input-border)}.inputBase_a3Vd,.inputBase_p1em{border-radius:4px;padding:12px var(--ifm-pre-padding)}.floatingButton_oJlZ{position:relative}.floatingButton_oJlZ button{background:var(--ifm-color-emphasis-900);border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-emphasis-100);cursor:pointer;opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,bottom .2s ease-in-out;visibility:hidden}.floatingButton_oJlZ button:focus-visible,.floatingButton_oJlZ:focus-visible button,.floatingButton_oJlZ:hover button{opacity:1;visibility:visible}.dropzone_Y7D0{border:2px dashed var(--openapi-monaco-border-color)}.dropzoneHover_IkP6,.dropzone_Y7D0{align-items:center;background-color:var(--openapi-input-background);border-radius:4px;cursor:pointer;display:inline-flex;font-size:var(--ifm-code-font-size);justify-content:center;padding:var(--ifm-pre-padding);width:100%}.dropzoneHover_IkP6,.dropzone_Y7D0:hover{background:linear-gradient(var(--openapi-dropzone-hover-shim),var(--openapi-dropzone-hover-shim)),linear-gradient(var(--ifm-color-primary),var(--ifm-color-primary));border:2px dashed var(--ifm-color-primary)}.dropzoneContent_CEnm{align-items:center;color:var(--openapi-dropzone-color);display:flex;flex-wrap:wrap;justify-content:center;margin:var(--ifm-pre-padding) 0}.dropzone_Y7D0:hover .dropzoneContent_CEnm{color:var(--ifm-pre-color)}.dropzoneHover_IkP6 .dropzoneContent_CEnm{align-items:center;color:var(--ifm-pre-color);display:flex;flex-wrap:wrap;justify-content:center;margin:var(--ifm-pre-padding) 0}.discriminatorTabsTopSection_QeEp+hr,.schemaTabsTopSection_sc6Y+hr{display:none}.filename_FaIo{flex:1;margin:0 calc(var(--ifm-pre-padding)*1.5);overflow:hidden;text-overflow:ellipsis}.playgroundContainer_l4rC{border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading);margin-top:1rem;max-height:500px;overflow:auto}.tabItem_VIbn,.tabItem_es3Q{align-items:center;border:1px solid var(--ifm-color-primary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-primary);display:flex;font-size:12px;height:1.8rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.schemaTabsTopSection_sc6Y{align-items:center;display:flex;justify-content:space-between;margin-top:1rem}.schemaTabsListContainer_wmy4::-webkit-scrollbar{display:none}.schemaTabsContainer_HVyG{align-items:center;display:flex;max-width:600px;overflow:hidden}.tabArrow_WDKX,.tabArrow_zmvw{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;border:none;content:"";height:1.25rem;min-width:1.25rem;padding:0 .75rem;width:1.25rem}.inputBase_MRMh,.showMoreButton_ZGo2{font-size:var(--ifm-code-font-size);width:100%}.discriminatorTabsTopSection_QeEp{align-items:center;display:flex;justify-content:space-between;margin-left:.9rem;margin-top:1rem}.discriminatorTabsContainer_FMrl{align-items:center;display:flex;overflow:hidden;padding-left:3px;max-width:600px}.discriminatorTabsListContainer_Nnai::-webkit-scrollbar{display:none}.inputBase_MRMh{background-color:var(--openapi-input-background);border:2px solid #0000;border-radius:4px;color:var(--ifm-pre-color);margin-top:calc(var(--ifm-pre-padding)/2);outline:0;padding:12px var(--ifm-pre-padding)}.selectInput_xXUj{-webkit-appearance:none;appearance:none}.selectInput_xXUj option{border-radius:.25rem;color:var(--ifm-menu-color);margin:.25rem 0;padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.selectInput_xXUj:focus{border:2px solid var(--openapi-input-border)}.plus_Swon{display:inline-block;margin-right:6px;transform:rotate(0);transform-origin:center;transition:transform .2s}.plusExpanded_WYvI{transform:rotate(45deg)}.showMoreButton_ZGo2{-webkit-appearance:none;appearance:none;background-color:initial;border:0 solid #0000;color:var(--ifm-color-primary);display:block;margin-bottom:0;margin-top:var(--ifm-pre-padding);padding:0;text-align:left;user-select:none}.buttonDelete_vlNf,.buttonThin_xRd9{-webkit-appearance:none;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:400;line-height:1.5;margin-top:calc(var(--ifm-pre-padding)/2);transition-duration:.1s,.1s,.1s,var(--ifm-button-transition-duration);transition-property:color,background,border-color,box-shadow;transition-timing-function:cubic-bezier(.08,.52,.52,1)}.showMoreButton_ZGo2:hover,.showMoreButton_jDKX:hover{color:var(--ifm-color-primary-hover)}.buttonDelete_vlNf{align-items:center;appearance:none;background-color:var(--openapi-input-background);border:none;border-radius:4px;color:var(--ifm-pre-color);display:flex;justify-content:center;margin-left:4px;outline:0;padding:0 12px;user-select:none;white-space:nowrap}.buttonThin_xRd9,.showMoreButton_jDKX{background-color:initial;-webkit-user-select:none;cursor:pointer;white-space:nowrap}.buttonThin_xRd9{appearance:none;border:1px solid var(--openapi-input-border);border-radius:var(--ifm-pre-border-radius);color:var(--openapi-input-border);display:block;margin-bottom:var(--ifm-pre-padding);padding:3px 60px 3px 12px;user-select:none}.buttonThin_xRd9:hover{background-color:var(--openapi-input-border);color:var(--openapi-inverse-color)}.buttonThin_xRd9:active{box-shadow:inset 0 0 0 1px var(--openapi-input-border),inset 0 0 0 2px var(--openapi-inverse-color)}.showOptions_Gv8N{margin-top:var(--ifm-pre-padding);visibility:visible}.hideOptions_JLDS{display:none;visibility:hidden}.showMoreButton_jDKX{-webkit-appearance:none;appearance:none;border:0 solid #0000;color:var(--ifm-color-primary);display:block;font-size:var(--ifm-code-font-size);margin-bottom:0;margin-top:var(--ifm-pre-padding);padding:0;text-align:left;user-select:none}.optionsPanel_s3ok,.optionsPanel_tfQ6{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius);color:var(--ifm-pre-color);line-height:var(--ifm-pre-line-height);margin-bottom:var(--ifm-spacing-vertical);margin-top:0;overflow:auto;position:relative}.optionsPanel_s3ok:empty,.optionsPanel_tfQ6:empty{display:none}.optionsPanel_s3ok{padding-top:0!important;padding:var(--ifm-pre-padding)}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:0}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Hit-Tree,.DocSearch-Hit-action,.DocSearch-Hit-icon,.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Input,.DocSearch-Link{-webkit-appearance:none;font:inherit}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch--active{overflow:hidden!important}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:#0000;border:0;color:var(--docsearch-text-color);flex:1;font-size:1.2em;height:100%;outline:0;padding:0 0 0 8px;width:80%}.DocSearch-Hit-action-button,.DocSearch-Reset{-webkit-appearance:none;border:0;cursor:pointer}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Cancel,.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator,.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset{animation:.1s ease-in forwards b;appearance:none;background:none;border-radius:50%;color:var(--docsearch-icon-color);padding:2px;right:0}.DocSearch-Help,.DocSearch-HitsFooter,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Reset:focus{outline:0}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:#0000}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}.DocSearch-Hit--deleting{opacity:0;transition:.25s linear}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:.25s linear .25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border-radius:50%;color:inherit;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:0;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}@keyframes b{0%{opacity:0}to{opacity:1}}.DocSearch-Button{margin:0;transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.DocSearch-Container{z-index:calc(var(--ifm-z-index-fixed) + 1)}@media (min-width:640px){.sm\:flex-row{flex-direction:row}}@media (min-width:768px){.md\:mx-4{margin-left:1rem;margin-right:1rem}.md\:mt-16{margin-top:4rem}.md\:mb-0{margin-bottom:0}.md\:mt-10{margin-top:2.5rem}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:place-content-center{place-content:center}.md\:place-items-center{place-items:center}.md\:justify-between{justify-content:space-between}.md\:gap-1{gap:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:pr-24{padding-right:6rem}.navbar__inner{padding:0 2.5rem}}@media only screen and (min-width:768px) and (max-width:996px){.code__tabs_vqEd{justify-content:space-around}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg);position:sticky}.docItemCol,.docItemCol_zY_c{max-width:75%!important}.tocMobile,.tocMobile_ITEo{display:none}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;top:0;transition:background-color var(--ifm-transition-fast) ease}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.lastUpdated_vwxv{text-align:right}}@media (min-width:1024px){.lg\:mb-8{margin-bottom:2rem}.lg\:h-\[90vh\]{height:90vh}.lg\:h-48{height:12rem}.lg\:w-full{width:100%}.lg\:w-\[500px\]{width:500px}.lg\:flex-1{flex:1 1 0%}.lg\:flex-row{flex-direction:row}.lg\:place-content-center{place-content:center}.lg\:gap-12{gap:3rem}.lg\:whitespace-nowrap{white-space:nowrap}.lg\:pb-24{padding-bottom:6rem}.lg\:pb-12{padding-bottom:3rem}}@media not all and (min-width:1024px){.max-lg\:hidden{display:none}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1416px){.main-wrapper{max-width:100%;width:100%}}@media (max-width:1320px) and (min-width:997px){.container{max-width:calc(var(--ifm-container-width) - 125px - var(--ifm-spacing-horizontal)*2)}}@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_x44X,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media only screen and (max-width:996px){.searchQueryColumn_RTkw,.searchResultsColumn_JPFH{max-width:60%!important}.searchLogoColumn_rJIA,.searchVersionColumn_ypXd{max-width:40%!important}.searchLogoColumn_rJIA{padding-left:0!important}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh,1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@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 screen and (max-width:576px){.searchQueryColumn_RTkw{max-width:100%!important}.searchVersionColumn_ypXd{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media screen and (max-width:500px){.discriminatorTabsTopSection_QeEp,.mimeTabsTopSection_wt53,.responseTabsTopSection_jEoq,.schemaTabsTopSection_sc6Y{align-items:flex-start;flex-direction:column}.mimeTabsContainer_gZbZ,.responseTabsContainer_XEhZ{margin-top:var(--ifm-spacing-vertical);padding:0;width:100%}.discriminatorTabsContainer_FMrl,.schemaTabsContainer_HVyG{width:100%}.tabItem_VIbn{height:100%}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file +@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap);.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,a{text-align:left}.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)}progress,sub,sup{vertical-align:initial}.markdown li,body{word-wrap:break-word}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.button,.discriminatorTabLabel_dvfv,.dropdown__link,.filename_FaIo,.schemaTabLabel_clV0,.showMoreButton_ZGo2,.tabItem_AM8E,.text--truncate{white-space:nowrap}*,.DocSearch-Container,.DocSearch-Container *,:after,:before{box-sizing:border-box}: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-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)}:root,[data-theme=dark]{--ifm-color-primary:#27af86}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}html{-webkit-font-smoothing:antialiased;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none,.tabItem_LNqP,.tabItem_kzG2{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none,.tabItem_AM8E:last-child,.tabItem_VIbn:last-child,.tabItem_es3Q:last-child,.tabItem_fIhq:last-child{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.items-start,.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.items-center,.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.discriminatorTabsContainer,.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);margin:0 0 var(--ifm-spacing-vertical);overflow:auto;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}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul,.tabList_OQG4,.tabList__CuJ{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding);list-style-position:outside}ol ol,ul ol{list-style-type:lower-roman}ol ol,ol ul,ul ol,ul ul{margin:0}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}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:inherit;color:#229573;-webkit-text-decoration:var(--ifm-link-decoration);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}.markdown p,p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}.markdown hr,hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.clean-btn,hr{color:inherit}.text--center{text-align:center}.text--left{text-align:left}.text--justify,p{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.api-method>.menu__link:before,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{list-style:none;padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area.breadcrumbs__link[href]:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none}.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--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;list-style:none;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)}.language-bash,.language-csharp,.language-go,.language-javascript,.language-nodejs,.language-php,.language-python,.language-ruby,.theme-api-markdown code{max-height:500px;overflow:auto}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links,.theme-api-markdown pre{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)}.apiItemContainer article>:first-child,.apiItemContainer header+*,.docItemContainer article>:first-child,.docItemContainer header+*,.docItemContainer_joH8 article>:first-child,.docItemContainer_joH8 header+*,.footer__item,.formItem_WgRa:first-child,.showMoreButton_ZGo2:first-child,.showMoreButton_jDKX:first-child{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.cardContainer_p3e_ :last-child,.collapsibleContent_i85q>:last-child,.footer__items,.markdown [class^=codeBlock]>pre,.markdown li p,.markown ol .markdown ul,.tabItem_Ymn6>:last-child,.theme-api-markdown details p{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox],fieldset,legend{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{list-style:none;margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after,.tabArrowRight_X4Xu,.tabArrowRight_oN04,.tabArrowRight_qsDv,.tabArrowRight_x8Ix{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;top:0;left:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.navbar__items--center .navbar__brand,blockquote,body,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,menu,ol,p,pre,ul{margin:0}.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),.paramsItem:focus,.paramsItem:hover,.paramsItem_PKlE:focus,.paramsItem_PKlE:hover,.schemaItem:focus,.schemaItem:hover,.schemaItem_P8yX:focus,.schemaItem_P8yX:hover{background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.docsWrapper_BCFX,.flex,.navbar,.navbar>.container,.navbar>.container-fluid,.theme-edit-this-page{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.docs-wrapper,.navbar__logo img,body,html{height:100%}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child,.pr-0{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;transition-property:opacity,visibility}.buttonGroup_SdX7 button.selected_VHjy,.buttonGroup_SdX7 button:hover,.navbar-sidebar__back{background:var(--ifm-menu-color-background-active)}.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{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}.inline-flex,.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.menu__list li,.tabs,.theme-api-markdown ul,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.mb-6,.my-6{margin-bottom:1.5rem}.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;--docsearch-text-color:#f5f6f7;--docsearch-container-background:#090a11cc;--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 #494c6a80,0 -4px 8px 0 #0003;--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg,.absolute{position:absolute}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;right:0;transform:rotate(3deg) translateY(-4px);width:100px}*,:after,:before{border:0 solid #e5e7eb;--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit}hr{border-top-width:1px;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{display:block;margin-bottom:var(--ifm-spacing-vertical);overflow:auto;border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}.admonitionHeading_tbUL code,button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}menu,ol,ul{list-style:none;padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}.tabArrow_LyoO:hover,.tabArrow_WDKX:hover,.tabArrow_x5p_:hover,.tabArrow_zmvw:hover,[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}#docusaurus-base-url-issue-banner-container,.hidden,.markdown #authentication,.markdown #authentication+div,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,[hidden],html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.my-6{margin-top:1.5rem}.-mt-1{margin-top:-.25rem}.ml-1{margin-left:.25rem}.mt-4{margin-top:1rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mt-5{margin-top:1.25rem}.mb-8{margin-bottom:2rem}.grid{display:grid}.\!hidden{display:none!important}.h-72{height:18rem}.w-auto{width:auto}.responseSamplesTabItem_f_p_,.w-full{width:100%}.w-\[480px\]{width:480px}.min-w-\[480px\]{min-width:480px}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-wait{cursor:wait}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-end{place-items:end}.content-center{align-content:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-5{padding:1.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-8{padding-bottom:2rem;padding-top:2rem}.px-8{padding-left:2rem;padding-right:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pt-5{padding-top:1.25rem}.pb-3{padding-bottom:.75rem}.pb-10{padding-bottom:2.5rem}.pt-7{padding-top:1.75rem}.pl-5{padding-left:1.25rem}.text-left{text-align:left}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.tabItem_AM8E,.tabItem_fIhq{font-weight:var(--ifm-font-weight-normal)}.leading-6{line-height:1.5rem}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow,.drop-shadow-lg,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.tabArrow_LyoO,.tabArrow_WDKX,.tabArrow_x5p_,.tabArrow_zmvw,.tocCollapsibleButton_TO0P:after{filter:var(--ifm-menu-link-sublist-icon-filter)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f)}.drop-shadow-lg{--tw-drop-shadow:drop-shadow(0 10px 8px #0000000a) drop-shadow(0 4px 3px #0000001a)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-theme=dark]{--ifm-color-primary-dark:#b4eedd;--ifm-color-primary-darker:#8ae5ca;--ifm-color-primary-darkest:#61dcb7;--ifm-color-primary-light:#27af86;--ifm-color-primary-lighter:#37d2a4;--ifm-color-primary-lightest:#61dcb7;--docusaurus-highlighted-code-line-bg:#0000004d;--openapi-card-background-color:var(--ifm-color-gray-900)!important}a:any-link:hover{text-decoration:none}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}.markdown ol,.markdown ul,p{line-height:var(--voc-line-height)}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)}p{margin-bottom:25px}ul{list-style-type:disc}ol{list-style-type:decimal}li{padding-left:10px}.markdown li p{margin-top:6px}.header-github-link:hover,.header-medium-link:hover,.schemaName_KIS9,.schemaName_MpGo{opacity:.6}.header-medium-link:before{content:"\f37d";font-family:Font Awesome\ 5 Brands;font-size:x-large}.main-wrapper h1[class^=docTitle]{font-size:2.8rem}.imgBanner{border:3px solid #fff;border-radius:12px;max-width:250px;width:250px}.hover\:underline:hover{text-decoration-line:underline}.docItemCol_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiItem-Layout-styles-module .card>h2{overflow:unset;text-overflow:unset;white-space:unset}.breadcrumbs svg,.navbar__item svg,.tags_jXut{display:inline}.api-method>.menu__link{align-items:center;justify-content:start}.api-method>.menu__link:before{border:1px solid #0000;border-radius:.25rem;color:#fff;flex-shrink:0;font-size:12px;font-weight:600;height:20px;line-height:20px;margin-right:var(--ifm-spacing-horizontal);text-align:center;width:50px}.get>.menu__link:before{background-color:#3465a4;content:"get"}.post>.menu__link:before{background-color:var(--openapi-code-green);content:"post"}.delete>.menu__link:before{background-color:var(--openapi-code-red);content:"del"}.put>.menu__link:before{background-color:var(--openapi-code-blue);content:"put"}.patch>.menu__link:before{background-color:var(--openapi-code-orange);content:"patch"}.head>.menu__link:before{background-color:var(--ifm-color-secondary-darkest);content:"head"}.header-github-link:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat;content:"";display:flex;height:24px;width:24px}html[data-theme=dark] .header-github-link:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat}.badge+span{vertical-align:middle}.formItem_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiDemoPanel-FormItem-styles-module>code{padding:5px 8px}.required_node_modules-docusaurus-theme-openapi-docs-lib-next-theme-ApiDemoPanel-FormItem-styles-module{margin-left:8px}.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 h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading));font-size:2.5rem;margin-top:0}.markdown h1{border-top:1px dotted #bbb;margin-top:35px;padding-top:30px}.markdown h2,.markdown h3{padding-top:20px}.markdown h4{padding-top:15px}.markdown ol,.markdown ul{margin:0 0 8px 30px}.docusaurus-mermaid-container{margin:50px 10px}.inline-img-container{margin-bottom:var(--ifm-heading-margin-bottom);width:100%}div[class*=" announcementBar"],div[class^=announcementBar]{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(90deg,#e7ff0000 -.01%,#00ddb3);border-bottom:none;height:-moz-fit-content;height:fit-content;padding:0;text-align:left}div[class*=" announcementBar"] p,div[class^=announcementBar] p{background:linear-gradient(90deg,#00ddb300 -.01%,#ff005d 125%);color:#000;font-size:13px;margin-bottom:0;padding:0 20px}.feedback-wrapper{align-items:center;color:#69757a;display:inline-flex;font-size:1.125rem;margin-bottom:10px;margin-top:10px;padding-bottom:10px;padding-top:10px;position:relative}.feedback-wrapper .confirmation-content,.feedback-wrapper .feedback-button i svg{height:100%;width:100%}.feedback-wrapper .confirmationMessage{display:block;text-align:center;width:100%}.feedback-wrapper .cta-content{align-items:center;display:flex;text-align:center;width:100%}.feedback-wrapper .cta-text{margin-right:1rem}.feedback-wrapper .feedback-options{display:contents;grid-template-columns:1fr;list-style:none;margin:0;padding:0}.feedback-wrapper .feedback-button{align-items:center;background:#e8eced;border:0;border-radius:50%;cursor:pointer;display:flex;height:3rem;justify-content:center;width:3rem}.feedback-wrapper .feedback-button:hover{background:#afb0b0}.feedback-wrapper .feedback-button i{color:#69757a;display:inherit}:root{--ifm-color-primary-dark:#1e8666;--ifm-color-primary-darker:#145c46;--ifm-color-primary-darkest:#0b3226;--ifm-color-primary-light:#007575;--ifm-color-primary-lighter:#00a7a7;--ifm-color-primary-lightest:#00dbdb;--docusaurus-highlighted-code-line-bg:#0000001a;--ifm-background-color:var(--ifm-color-emphasis-0)!important;--ifm-footer-background-color:#0000;--ifm-font-family-monospace:"Fira Code",monospace;--ifm-font-family-base:Manrope,sans-serif;--ifm-code-font-size:90%;--voc-line-height:28px;--ifm-font-size-base:17px;--feedback-component-button-size:3rem;--voc-landing-background-gradient:linear-gradient(90deg,#e7ff0000 -0.01%,#00ddb3);--voc-navbar-landing-background-gradient:linear-gradient(90deg,#e7ff0000 -0.01%,#00ddb3 200%),#ffffff40;--ifm-navbar-shadow:#ffffff80 0px 1px 1px 0px;--ifm-navbar-search-input-background-color:#0000;--ifm-navbar-search-input-color:#000;--ifm-navbar-search-input-placeholder-color:var(--ifm-navbar-search-input-color);font-family:Manrope,sans-serif;--openapi-required:var(--ifm-color-danger);--openapi-deprecated:var(--ifm-color-warning);--openapi-code-blue:var(--ifm-color-info);--openapi-code-red:var(--ifm-color-danger);--openapi-code-orange:var(--ifm-color-warning);--openapi-code-green:var(--ifm-color-success);--openapi-card-background-color:var(--ifm-color-gray-100);--openapi-card-border-radius:var(--ifm-pre-border-radius);--openapi-input-border:var(--ifm-color-primary);--openapi-input-background:var(--openapi-card-background-color);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:#656c85cc;--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 #ffffff80,0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66;--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 #45629b1f;--docsearch-primary-color:var(--ifm-color-primary);--docsearch-text-color:var(--ifm-font-color-base)}.theme-api-markdown div[class^=collapsibleContent]{margin-top:0!important;padding-left:2px}.theme-api-markdown details{--docusaurus-details-decoration-color:var(--ifm-font-color-base);background-color:initial;border:unset!important;box-shadow:unset!important;color:var(--ifm-font-color-base);margin:unset;max-width:600px;padding:unset}.theme-api-markdown details ul{font-size:14px;padding-left:0}.theme-api-markdown details li{list-style:none;padding-bottom:5px;padding-top:5px}.theme-api-markdown details>div>div{border-top:unset!important;padding-top:unset!important}.theme-api-markdown .details__demo-panel{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius);margin-bottom:1rem}.theme-api-markdown .details__demo-panel>summary{cursor:pointer;padding-left:1rem;padding-top:1rem}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V,.theme-api-markdown .details__demo-panel>div>div>pre{border-top-left-radius:0;border-top-right-radius:0}.theme-api-markdown .details__demo-panel>summary::marker{content:"";display:none}.theme-api-markdown .details__demo-panel>summary::-webkit-details-marker{content:"";display:none}.theme-api-markdown .details__demo-panel>pre{margin-bottom:0;padding-top:0}.theme-api-markdown .details__request-summary>button,.theme-api-markdown .details__response-summary>button{margin-bottom:1rem;margin-right:1rem}.mimeTabsTopSection_wt53,.theme-api-markdown .details__request-summary,.theme-api-markdown .details__response-summary{align-items:center;display:flex;justify-content:space-between}.theme-api-markdown code{max-width:600px}.tocCollapsibleContent_vkbj a,.version-button div{display:block}.version-button div>button>span:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";display:inline-block;font-size:.8rem;margin-left:.3em;position:relative;top:1px;transform:translateY(-50%)}[class^=paramsItem]:before,[class^=schemaItem]:before{border-bottom:thin solid var(--ifm-color-gray-500);content:"";display:inline-block;height:.5rem;left:0;position:absolute;top:10px;vertical-align:top;width:.7rem}.code__tab--bash:after,.code__tab--csharp:after,.code__tab--go:after,.code__tab--javascript:after,.code__tab--nodejs:after,.code__tab--php:after,.code__tab--python:after,.code__tab--ruby:after{height:28px;margin-block:auto;width:28px;content:""}.schemaItem{padding:5px 0 5px 1rem}.discriminatorItem,.schemaItem{border-left:thin solid var(--ifm-color-gray-500)!important;list-style:none;margin:0!important;position:relative}.discriminatorItem{padding:5px 0!important}.code__tab--go,.code__tab--python{padding-left:1.4rem;padding-right:1.4rem}.code__tab--python:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg)}.code__tab--python{color:var(--ifm-color-success)}.code__tab--python.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-success)}.code__tab--go:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original-wordmark.svg)}.code__tab--go{color:var(--ifm-color-info)}.code__tab--go.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-info)}.code__tab--javascript:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg)}.code__tab--javascript{color:var(--ifm-color-warning);padding-left:1.4rem;padding-right:1.4rem}.code__tab--bash,.code__tab--ruby{color:var(--ifm-color-danger);padding-left:1.4rem;padding-right:1.4rem}.code__tab--javascript.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-warning)}.code__tab--bash:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-original.svg)}.code__tab--bash.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-danger)}.code__tab--ruby:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-plain.svg)}.code__tab--ruby.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-danger)}.code__tab--csharp:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg)}.code__tab--csharp{color:var(--ifm-color-gray-500);padding-left:1.4rem;padding-right:1.4rem}.code__tab--csharp.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-gray-500)}.code__tab--nodejs:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original.svg)}.code__tab--nodejs{color:var(--ifm-color-success);padding-left:1.4rem;padding-right:1.4rem}.code__tab--nodejs.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-success)}.code__tab--php:after{background:url(https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg)}.code__tab--php{color:var(--ifm-color-gray-500);padding-left:1.4rem;padding-right:1.4rem}.code__tab--php.tabs__item--active{background-color:var(--ifm-color-emphasis-100);border-bottom-color:var(--ifm-color-gray-500)}.prism-code.language-json{white-space:pre!important}.buttonDelete_vlNf:focus,.buttonGroup_SdX7 button:focus,.buttonThin_xRd9:focus,body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.DocSearch-Container a,.tag_zVej:hover{text-decoration:none}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_2l9O{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.tabItem_fIhq{align-items:center;border:1px solid var(--ifm-color-primary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-primary);display:flex;height:2.5rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.tabItem_VIbn:not(.discriminatorTabActive_wwM1),.tabItem_es3Q:not(.schemaTabActive_dWHR),.tabItem_fIhq:not(.responseTabActive_5Lhs){opacity:.65}.tabItem_VIbn:hover,.tabItem_es3Q:hover,.tabItem_fIhq:hover{background-color:var(--ifm-color-emphasis-100);opacity:1}.responseTabsTopSection_jEoq{align-items:center;display:flex;justify-content:space-between;margin-top:2rem}.responseTabsContainer_XEhZ{align-items:center;display:flex;max-width:390px;overflow:hidden;padding-left:1rem}.discriminatorTabsListContainer_Nnai,.responseTabsListContainer_itgM{overflow-x:scroll;overflow-y:hidden;padding:0 .25rem;scroll-behavior:smooth}.responseTabsListContainer_itgM::-webkit-scrollbar{display:none}.mimeTabDot_NO24,.responseTabDot_mwcE{border-radius:50%;height:12.5px;margin-right:5px;width:12.5px}.mimeTabDotSuccess_M1bZ,.responseTabDotSuccess_PzA9{background-color:var(--ifm-color-success)}.mimeTabDotDanger_NBeV,.responseTabDotDanger_S1vm{background-color:var(--ifm-color-danger)}.mimeTabDotInfo_R3vj,.responseTabDotInfo_iyT3{background-color:var(--ifm-color-info)}.responseTabActive_5Lhs,.schemaTabActive_dWHR,.tabItem_AM8E:active,.tabItem_VIbn.discriminatorTabActive_wwM1{background-color:var(--ifm-color-emphasis-100)}.mimeSchemaContainer_yYbZ,.responseSchemaContainer_Sp_v{max-width:600px}.tabArrow_LyoO,.tabArrow_x5p_{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;border:none;content:"";height:1.25rem;min-width:1.25rem;width:1.25rem}.tabArrowLeft_Cztf,.tabArrowLeft_RQtH,.tabArrowLeft_RzDG,.tabArrowLeft_woLb{transform:rotate(270deg)}.tabItem_AM8E{align-items:center;display:flex;font-size:12px;height:2rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.mimeTabsContainer_gZbZ{align-items:center;display:flex;max-width:390px;overflow:hidden}.mimeTabsListContainer_LPoX,.schemaTabsListContainer_wmy4{overflow-x:scroll;overflow-y:hidden;scroll-behavior:smooth}.mimeTabsListContainer_LPoX::-webkit-scrollbar{display:none}.mimeTabActive_nq7U{background-color:var(--ifm-color-emphasis-100);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)}.cardContainer_fWXF,.cardContainer_p3e_{--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}.backToTopButton_sjWU,.codeBlockContainer_Ckt0,.playgroundContainer_X_Ta,.playgroundContainer_l4rC{box-shadow:var(--ifm-global-shadow-lw)}.cardContainer_fWXF:hover,.cardContainer_p3e_:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_HnZ_,.cardTitle_rnsV{font-size:1.2rem}.cardDescription_DHsZ,.cardDescription_PWke{font-size:.8rem}.searchQueryInput_u2C7,.searchVersionInput_m0Ui{background:var(--docsearch-searchbox-focus-background);border:2px solid var(--ifm-toc-border-color);border-radius:var(--ifm-global-radius);color:var(--docsearch-text-color);font:var(--ifm-font-size-base) var(--ifm-font-family-base);margin-bottom:.5rem;padding:.8rem;transition:border var(--ifm-transition-fast) ease;width:100%}.searchQueryInput_u2C7:focus,.searchVersionInput_m0Ui:focus{border-color:var(--docsearch-primary-color);outline:0}.searchQueryInput_u2C7::placeholder{color:var(--docsearch-muted-color)}.searchResultsColumn_JPFH{font-size:.9rem;font-weight:700}.algoliaLogo_rT1R{max-width:150px}.algoliaLogoPathFill_WdUC{fill:var(--ifm-font-color-base)}.searchResultItem_Tv2o{border-bottom:1px solid var(--ifm-toc-border-color);padding:1rem 0}.searchResultItemHeading_KbCB{font-weight:400;margin-bottom:0}.searchResultItemPath_lhe1{--ifm-breadcrumb-separator-size-multiplier:1;color:var(--ifm-color-content-secondary);font-size:.8rem}.searchResultItemSummary_AEaO{font-style:italic;margin:.5rem 0 0}.loadingSpinner_XVxU{animation:1s linear infinite a;border:.4em solid #eee;border-radius:50%;border-top:.4em solid var(--ifm-color-primary);height:3rem;margin:0 auto;width:3rem}.paramsItem_PKlE,.schemaItem_P8yX{border-left:thin solid var(--ifm-color-gray-500)!important}@keyframes a{to{transform:rotate(1turn)}}.loader_vvXV,.responseSamplesContainer_ITGy{margin-top:2rem}.search-result-match{background:#ffd78e40;color:var(--docsearch-hit-color);padding:.09em 0}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL,.docSidebarContainer_b6E3,.sidebarLogo_isFc{display:none}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.breadcrumbHomeIcon_OVgt{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity .2s ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:.15s;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.playgroundContainer_X_Ta{border-radius:var(--ifm-global-radius);margin-bottom:var(--ifm-leading);overflow:hidden}.playgroundHeader_dyrN,.playgroundHeader_yAq7{background:var(--ifm-color-emphasis-200);color:var(--ifm-color-content);font-size:var(--ifm-code-font-size);font-weight:700;letter-spacing:.08rem;padding:.75rem;text-transform:uppercase}.paramsRequired_UKPH,.required_Wlqr,.required_cVzG{color:var(--openapi-required)}.playgroundHeader_dyrN:first-of-type,.playgroundHeader_yAq7:first-of-type{background:var(--ifm-color-emphasis-600);color:var(--ifm-color-content-inverse)}.playgroundEditor_Q6Y7,.playgroundEditor_nWOY{direction:ltr;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace)!important}.deprecated_K3O1,.paramsRequired_UKPH,.required_Wlqr,.required_cVzG{font-size:var(--ifm-code-font-size)}.playgroundPreview_DzOI,.playgroundPreview_iGtG{background-color:var(--ifm-pre-background);padding:1rem}.paramsItem_PKlE{margin:0 0 0 1rem!important;margin-top:unset!important;padding-left:1rem;position:relative}.schemaItem_P8yX{list-style:none;margin:0!important;padding:5px 0 5px 1rem;position:relative}.deprecated_K3O1{color:var(--openapi-deprecated)}.strikethrough_nBFj{text-decoration:line-through}.navbar{background:#fff}.navbar__link{font-weight:var(--ifm-font-weight-bold)}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-color)}.navbar kbd,.navbar__search-input{border:1px solid var(--ifm-navbar-search-input-color)}.navbar kbd{box-shadow:inset 0 -1px 0 var(--ifm-navbar-search-input-color)}.navbar__inner{margin:0 auto}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;list-style:none;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.containsTaskList_mC6p{list-style:none}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.container_lyt7,.container_lyt7>svg{max-width:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color)}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.code__tabs_vqEd{display:table-row-group}.buttonGroup_SdX7{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius) var(--openapi-card-border-radius) 2px 2px;color:var(--ifm-pre-color);display:flex;font-family:var(--ifm-font-family-monospace);justify-content:flex-end;margin-bottom:1px;margin-top:0}.buttonGroup_SdX7 button{--margin:0.25rem;-webkit-appearance:none;appearance:none;background:#0000;border:0 solid #0000;border-radius:calc(var(--margin));color:var(--ifm-menu-color);cursor:pointer;display:block;font-size:13.3333px;font-weight:var(--ifm-font-weight-semibold);line-height:var(--ifm-pre-line-height);margin:var(--margin);margin-right:0;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:color var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1),background var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1),border-color var(--ifm-button-transition-duration) cubic-bezier(.08,.52,.52,1);-webkit-user-select:none;user-select:none;white-space:nowrap;width:100%}.buttonDelete_vlNf,.showMoreButton_ZGo2{cursor:pointer;-webkit-user-select:none}.buttonGroup_SdX7 button:last-child{margin-right:.25rem}.buttonGroup_SdX7 button.selected_VHjy{color:var(--ifm-menu-color-active)}.formItem_WgRa{margin-top:var(--ifm-pre-padding)}.inputBase_a3Vd,.inputBase_kdtO,.inputBase_p1em,html[data-theme=dark] .selectInput__VTP{border:none;margin-top:calc(var(--ifm-pre-padding)/2);background-color:var(--openapi-input-background);font-size:var(--ifm-code-font-size);width:100%;color:var(--ifm-pre-color);outline:0}.inputBase_kdtO{padding:12px 48px 12px var(--ifm-pre-padding)}.inputBase_kdtO,html[data-theme=dark] .selectInput__VTP{border-radius:4px}html[data-theme=dark] .selectInput__VTP{background-image:url('data:image/svg+xml;charset=US-ASCII,')}.selectInput__VTP,html[data-theme=dark] .selectInput__VTP{-webkit-appearance:none;appearance:none;background-position:right var(--ifm-pre-padding) top 50%;background-repeat:no-repeat;background-size:initial}.selectInput__VTP{background-image:url('data:image/svg+xml;charset=US-ASCII,')}.buttonDelete_vlNf:active,.input_CV2d:focus,.input_Ru3N:focus,.selectInput__VTP:focus{box-shadow:inset 0 0 0 2px var(--openapi-input-border)}.inputBase_a3Vd,.inputBase_p1em{border-radius:4px;padding:12px var(--ifm-pre-padding)}.floatingButton_oJlZ{position:relative}.floatingButton_oJlZ button{background:var(--ifm-color-emphasis-900);border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-emphasis-100);cursor:pointer;opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,bottom .2s ease-in-out;visibility:hidden}.floatingButton_oJlZ button:focus-visible,.floatingButton_oJlZ:focus-visible button,.floatingButton_oJlZ:hover button{opacity:1;visibility:visible}.dropzone_Y7D0{border:2px dashed var(--openapi-monaco-border-color)}.dropzoneHover_IkP6,.dropzone_Y7D0{align-items:center;background-color:var(--openapi-input-background);border-radius:4px;cursor:pointer;display:inline-flex;font-size:var(--ifm-code-font-size);justify-content:center;padding:var(--ifm-pre-padding);width:100%}.dropzoneHover_IkP6,.dropzone_Y7D0:hover{background:linear-gradient(var(--openapi-dropzone-hover-shim),var(--openapi-dropzone-hover-shim)),linear-gradient(var(--ifm-color-primary),var(--ifm-color-primary));border:2px dashed var(--ifm-color-primary)}.dropzoneContent_CEnm{align-items:center;color:var(--openapi-dropzone-color);display:flex;flex-wrap:wrap;justify-content:center;margin:var(--ifm-pre-padding) 0}.dropzone_Y7D0:hover .dropzoneContent_CEnm{color:var(--ifm-pre-color)}.dropzoneHover_IkP6 .dropzoneContent_CEnm{align-items:center;color:var(--ifm-pre-color);display:flex;flex-wrap:wrap;justify-content:center;margin:var(--ifm-pre-padding) 0}.discriminatorTabsTopSection_QeEp+hr,.schemaTabsTopSection_sc6Y+hr{display:none}.filename_FaIo{flex:1;margin:0 calc(var(--ifm-pre-padding)*1.5);overflow:hidden;text-overflow:ellipsis}.playgroundContainer_l4rC{border-radius:var(--ifm-global-radius);margin-bottom:var(--ifm-leading);margin-top:1rem;max-height:500px;overflow:auto}.tabItem_VIbn,.tabItem_es3Q{align-items:center;border:1px solid var(--ifm-color-primary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-primary);display:flex;font-size:12px;height:1.8rem;justify-content:center;margin-right:.5rem;margin-top:0!important}.schemaTabsTopSection_sc6Y{align-items:center;display:flex;justify-content:space-between;margin-top:1rem}.schemaTabsListContainer_wmy4::-webkit-scrollbar{display:none}.schemaTabsContainer_HVyG{align-items:center;display:flex;max-width:600px;overflow:hidden}.tabArrow_WDKX,.tabArrow_zmvw{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;border:none;content:"";height:1.25rem;min-width:1.25rem;padding:0 .75rem;width:1.25rem}.inputBase_MRMh,.showMoreButton_ZGo2{font-size:var(--ifm-code-font-size);width:100%}.discriminatorTabsTopSection_QeEp{align-items:center;display:flex;justify-content:space-between;margin-left:.9rem;margin-top:1rem}.discriminatorTabsContainer_FMrl{align-items:center;display:flex;overflow:hidden;padding-left:3px;max-width:600px}.discriminatorTabsListContainer_Nnai::-webkit-scrollbar{display:none}.inputBase_MRMh{background-color:var(--openapi-input-background);border:2px solid #0000;border-radius:4px;color:var(--ifm-pre-color);margin-top:calc(var(--ifm-pre-padding)/2);outline:0;padding:12px var(--ifm-pre-padding)}.selectInput_xXUj{-webkit-appearance:none;appearance:none}.selectInput_xXUj option{border-radius:.25rem;color:var(--ifm-menu-color);margin:.25rem 0;padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.selectInput_xXUj:focus{border:2px solid var(--openapi-input-border)}.plus_Swon{display:inline-block;margin-right:6px;transform:rotate(0);transform-origin:center;transition:transform .2s}.plusExpanded_WYvI{transform:rotate(45deg)}.showMoreButton_ZGo2{-webkit-appearance:none;appearance:none;background-color:initial;border:0 solid #0000;color:var(--ifm-color-primary);display:block;margin-bottom:0;margin-top:var(--ifm-pre-padding);padding:0;text-align:left;user-select:none}.buttonDelete_vlNf,.buttonThin_xRd9{-webkit-appearance:none;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:400;line-height:1.5;margin-top:calc(var(--ifm-pre-padding)/2);transition-duration:.1s,.1s,.1s,var(--ifm-button-transition-duration);transition-property:color,background,border-color,box-shadow;transition-timing-function:cubic-bezier(.08,.52,.52,1)}.showMoreButton_ZGo2:hover,.showMoreButton_jDKX:hover{color:var(--ifm-color-primary-hover)}.buttonDelete_vlNf{align-items:center;appearance:none;background-color:var(--openapi-input-background);border:none;border-radius:4px;color:var(--ifm-pre-color);display:flex;justify-content:center;margin-left:4px;outline:0;padding:0 12px;user-select:none;white-space:nowrap}.buttonThin_xRd9,.showMoreButton_jDKX{background-color:initial;-webkit-user-select:none;cursor:pointer;white-space:nowrap}.buttonThin_xRd9{appearance:none;border:1px solid var(--openapi-input-border);border-radius:var(--ifm-pre-border-radius);color:var(--openapi-input-border);display:block;margin-bottom:var(--ifm-pre-padding);padding:3px 60px 3px 12px;user-select:none}.buttonThin_xRd9:hover{background-color:var(--openapi-input-border);color:var(--openapi-inverse-color)}.buttonThin_xRd9:active{box-shadow:inset 0 0 0 1px var(--openapi-input-border),inset 0 0 0 2px var(--openapi-inverse-color)}.showOptions_Gv8N{margin-top:var(--ifm-pre-padding);visibility:visible}.hideOptions_JLDS{display:none;visibility:hidden}.showMoreButton_jDKX{-webkit-appearance:none;appearance:none;border:0 solid #0000;color:var(--ifm-color-primary);display:block;font-size:var(--ifm-code-font-size);margin-bottom:0;margin-top:var(--ifm-pre-padding);padding:0;text-align:left;user-select:none}.optionsPanel_s3ok,.optionsPanel_tfQ6{background:var(--openapi-card-background-color);border-radius:var(--openapi-card-border-radius);color:var(--ifm-pre-color);line-height:var(--ifm-pre-line-height);margin-bottom:var(--ifm-spacing-vertical);margin-top:0;overflow:auto;position:relative}.optionsPanel_s3ok:empty,.optionsPanel_tfQ6:empty{display:none}.optionsPanel_s3ok{padding-top:0!important;padding:var(--ifm-pre-padding)}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:0}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Hit-Tree,.DocSearch-Hit-action,.DocSearch-Hit-icon,.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Input,.DocSearch-Link{-webkit-appearance:none;font:inherit}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch--active{overflow:hidden!important}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:#0000;border:0;color:var(--docsearch-text-color);flex:1;font-size:1.2em;height:100%;outline:0;padding:0 0 0 8px;width:80%}.DocSearch-Hit-action-button,.DocSearch-Reset{-webkit-appearance:none;border:0;cursor:pointer}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Cancel,.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator,.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset{animation:.1s ease-in forwards b;appearance:none;background:none;border-radius:50%;color:var(--docsearch-icon-color);padding:2px;right:0}.DocSearch-Help,.DocSearch-HitsFooter,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Reset:focus{outline:0}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:#0000}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}.DocSearch-Hit--deleting{opacity:0;transition:.25s linear}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:.25s linear .25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border-radius:50%;color:inherit;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:0;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}@keyframes b{0%{opacity:0}to{opacity:1}}.DocSearch-Button{margin:0;transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.DocSearch-Container{z-index:calc(var(--ifm-z-index-fixed) + 1)}@media (min-width:640px){.sm\:flex-row{flex-direction:row}}@media (min-width:768px){.md\:mx-4{margin-left:1rem;margin-right:1rem}.md\:mt-16{margin-top:4rem}.md\:mb-0{margin-bottom:0}.md\:mt-10{margin-top:2.5rem}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:place-content-center{place-content:center}.md\:place-items-center{place-items:center}.md\:justify-between{justify-content:space-between}.md\:gap-1{gap:.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:pr-24{padding-right:6rem}.navbar__inner{padding:0 2.5rem}}@media only screen and (min-width:768px) and (max-width:996px){.code__tabs_vqEd{justify-content:space-around}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg);position:sticky}.docItemCol,.docItemCol_zY_c{max-width:75%!important}.tocMobile,.tocMobile_ITEo{display:none}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;top:0;transition:background-color var(--ifm-transition-fast) ease}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.lastUpdated_vwxv{text-align:right}}@media (min-width:1024px){.lg\:mb-8{margin-bottom:2rem}.lg\:h-\[90vh\]{height:90vh}.lg\:h-48{height:12rem}.lg\:w-full{width:100%}.lg\:w-\[500px\]{width:500px}.lg\:flex-1{flex:1 1 0%}.lg\:flex-row{flex-direction:row}.lg\:place-content-center{place-content:center}.lg\:gap-12{gap:3rem}.lg\:whitespace-nowrap{white-space:nowrap}.lg\:pb-24{padding-bottom:6rem}.lg\:pb-12{padding-bottom:3rem}}@media not all and (min-width:1024px){.max-lg\:hidden{display:none}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1416px){.main-wrapper{max-width:100%;width:100%}}@media (max-width:1320px) and (min-width:997px){.container{max-width:calc(var(--ifm-container-width) - 125px - var(--ifm-spacing-horizontal)*2)}}@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_x44X,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media only screen and (max-width:996px){.searchQueryColumn_RTkw,.searchResultsColumn_JPFH{max-width:60%!important}.searchLogoColumn_rJIA,.searchVersionColumn_ypXd{max-width:40%!important}.searchLogoColumn_rJIA{padding-left:0!important}}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder,.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%;max-height:calc(var(--docsearch-vh,1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh,1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Cancel{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:0;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}}@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 screen and (max-width:576px){.searchQueryColumn_RTkw{max-width:100%!important}.searchVersionColumn_ypXd{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}@media screen and (max-width:500px){.discriminatorTabsTopSection_QeEp,.mimeTabsTopSection_wt53,.responseTabsTopSection_jEoq,.schemaTabsTopSection_sc6Y{align-items:flex-start;flex-direction:column}.mimeTabsContainer_gZbZ,.responseTabsContainer_XEhZ{margin-top:var(--ifm-spacing-vertical);padding:0;width:100%}.discriminatorTabsContainer_FMrl,.schemaTabsContainer_HVyG{width:100%}.tabItem_VIbn{height:100%}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}.DocSearch-Hit--deleting,.DocSearch-Hit--favoriting{transition:none}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/01f4109f.458448a5.js b/assets/js/01f4109f.458448a5.js new file mode 100644 index 000000000..3c9beeaf5 --- /dev/null +++ b/assets/js/01f4109f.458448a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6781],{12128:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(87462),i=n(39805),s=n(14902),o=n(170),r=n(86390),c=n(65429),d=n(14758),l=n(67294),p=n(204),m=n(23100),u=n(16393);const h={React:l,...l,Flex:p.k,Box:m.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:d.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:d.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=n(22457),g=n(37489);const y=(v=o.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),l.createElement(i.x,{theme:(0,s.B1)(c.rS),resetCSS:!1},l.createElement(c.de,{env:f.yG.STG,signer:g.Lp.wallet},l.createElement(d.f0,{id:g.fD},l.createElement(d.qT,{id:t,fetchCensus:!0},l.createElement(c.DG,null,l.createElement(r.Z,(0,a.Z)({scope:h},e)))))))}return l.createElement(v,e)});var v},84522:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>v,frontMatter:()=>m,metadata:()=>h,toc:()=>g});var a=n(87462),i=(n(67294),n(3905)),s=n(26389),o=n(94891),r=n(75190),c=n(47507),d=n(24310),l=n(63303),p=(n(75035),n(85162));const m={id:"list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",sidebar_label:"List account received and sent token transfers",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{transfers:{properties:{received:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"},sent:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",method:"get",path:"/accounts/{accountID}/transfers/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List account received and sent token transfers",description:{content:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",type:"text/plain"},url:{path:["accounts",":accountID","transfers","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountID",type:"text/plain"},type:"any",value:"",key:"accountID"},{disabled:!1,description:{content:"(Required) Paginator page",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,h={unversionedId:"vocdoni-api/list-account-received-and-sent-token-transfers",id:"vocdoni-api/list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",source:"@site/docs/vocdoni-api/list-account-received-and-sent-token-transfers.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-account-received-and-sent-token-transfers",permalink:"/vocdoni-api/list-account-received-and-sent-token-transfers",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",sidebar_label:"List account received and sent token transfers",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{transfers:{properties:{received:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"},sent:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",method:"get",path:"/accounts/{accountID}/transfers/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List account received and sent token transfers",description:{content:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",type:"text/plain"},url:{path:["accounts",":accountID","transfers","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountID",type:"text/plain"},type:"any",value:"",key:"accountID"},{disabled:!1,description:{content:"(Required) Paginator page",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Total number of sent and received transactions",permalink:"/vocdoni-api/total-number-of-sent-and-received-transactions"},next:{title:"Get account",permalink:"/vocdoni-api/get-account"}},f={},g=[{value:"List account received and sent token transfers",id:"list-account-received-and-sent-token-transfers",level:2}],y={toc:g};function v(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,a.Z)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"list-account-received-and-sent-token-transfers"},"List account received and sent token transfers"),(0,i.kt)("p",null,"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address)."),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"}),(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(s.Z,{mdxType:"ApiTabs"},(0,i.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(o.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(l.Z,{mdxType:"SchemaTabs"},(0,i.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"transfers"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"received"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!1,name:"amount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"from",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"to",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"sent"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!1,name:"amount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"from",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"to",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))))))))),(0,i.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "transfers": {\n "received": [\n {\n "amount": 0,\n "from": [\n 0\n ],\n "height": 0,\n "timestamp": "string",\n "to": [\n 0\n ],\n "txHash": [\n 0\n ]\n }\n ],\n "sent": [\n {\n "amount": 0,\n "from": [\n 0\n ],\n "height": 0,\n "timestamp": "string",\n "to": [\n 0\n ],\n "txHash": [\n 0\n ]\n }\n ]\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/01f4109f.4ce59af9.js b/assets/js/01f4109f.4ce59af9.js deleted file mode 100644 index f19f8095f..000000000 --- a/assets/js/01f4109f.4ce59af9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6781],{40611:(e,t,a)=>{"use strict";a.d(t,{Z:()=>v});var n=a(87462),i=a(67294),s=a(86390),o=a(18694);const r={React:i,...i,Image:o.Ee,ElectionProvider:o.qT,ElectionHeader:o.UE,ElectionTitle:o.hi,ElectionSchedule:o.vE,ElectionResults:o.Hj,ElectionStatusBadge:o.QW,ElectionDescription:o.I3,ElectionQuestions:o.Vx,OrganizationProvider:o.f0,OrganizationAvatar:o.ld,OrganizationDescription:o.G9,OrganizationHeader:o.sC,OrganizationName:o.X5,Organization:o.cp};var c=a(170),d=a(39805),l=a(14902),p=a(23537);const u="f752b527e2aba395d1ba4c0de9c1471234567890",m="https://picsum.photos/seed/{seed}/1400/300",h={address:u,balance:0,nonce:123,electionIndex:13,account:new p.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:m.replace("{seed}",u),avatar:`https://picsum.photos/seed/${u}/300`,meta:[]})},f=`c5d2460186f7${u}020000000000`,g={electionCount:0,electionId:f,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:p.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:p.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:m.replace("{seed}",f)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},y=p.u_.build({census:new p.pT(g.census.censusRoot,g.census.censusURL,p.oN.censusTypeFromCensusOrigin(g.census.censusOrigin),4,BigInt("40")),creationTime:g.creationTime,electionCount:0,endDate:g.endDate,finalResults:g.finalResults,id:g.electionId,metadataURL:g.metadataURL,organizationId:g.organizationId,raw:g,results:g.result,status:g.status,title:g.metadata.title,description:g.metadata.description,voteCount:g.voteCount,header:g.metadata.media.header,questions:g.metadata.questions,startDate:g.startDate,voteType:g.voteMode,electionType:{autoStart:g.electionMode.autoStart,interruptible:g.electionMode.interruptible,dynamicCensus:g.electionMode.dynamicCensus,secretUntilTheEnd:g.voteMode.encryptedVotes,anonymous:g.voteMode.anonymous}}),v=(b=c.Z,function(e){return e.live?i.createElement(d.x,{theme:(0,l.B1)(o.rS),resetCSS:!1},i.createElement(o.de,{env:"stg"},i.createElement(o.f0,{organization:h},i.createElement(o.qT,{election:y},i.createElement(s.Z,(0,n.Z)({scope:r},e)))))):i.createElement(b,e)});var b},84522:(e,t,a)=>{"use strict";a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>m,default:()=>v,frontMatter:()=>u,metadata:()=>h,toc:()=>g});var n=a(87462),i=(a(67294),a(3905)),s=a(26389),o=a(94891),r=a(75190),c=a(47507),d=a(24310),l=a(63303),p=(a(75035),a(85162));const u={id:"list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",sidebar_label:"List account received and sent token transfers",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{transfers:{properties:{received:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"},sent:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",method:"get",path:"/accounts/{accountID}/transfers/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List account received and sent token transfers",description:{content:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",type:"text/plain"},url:{path:["accounts",":accountID","transfers","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountID",type:"text/plain"},type:"any",value:"",key:"accountID"},{disabled:!1,description:{content:"(Required) Paginator page",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,h={unversionedId:"vocdoni-api/list-account-received-and-sent-token-transfers",id:"vocdoni-api/list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",source:"@site/docs/vocdoni-api/list-account-received-and-sent-token-transfers.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-account-received-and-sent-token-transfers",permalink:"/vocdoni-api/list-account-received-and-sent-token-transfers",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-account-received-and-sent-token-transfers",title:"List account received and sent token transfers",description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",sidebar_label:"List account received and sent token transfers",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{transfers:{properties:{received:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"},sent:{items:{properties:{amount:{type:"integer"},from:{items:{type:"integer"},type:"array"},height:{type:"integer"},timestamp:{type:"string"},to:{items:{type:"integer"},type:"array"},txHash:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",method:"get",path:"/accounts/{accountID}/transfers/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List account received and sent token transfers",description:{content:"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).",type:"text/plain"},url:{path:["accounts",":accountID","transfers","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountID",type:"text/plain"},type:"any",value:"",key:"accountID"},{disabled:!1,description:{content:"(Required) Paginator page",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Total number of sent and received transactions",permalink:"/vocdoni-api/total-number-of-sent-and-received-transactions"},next:{title:"Get account",permalink:"/vocdoni-api/get-account"}},f={},g=[{value:"List account received and sent token transfers",id:"list-account-received-and-sent-token-transfers",level:2}],y={toc:g};function v(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,n.Z)({},y,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"list-account-received-and-sent-token-transfers"},"List account received and sent token transfers"),(0,i.kt)("p",null,"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address)."),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Specific accountID",in:"path",name:"accountID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"}),(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Paginator page",in:"path",name:"page",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(s.Z,{mdxType:"ApiTabs"},(0,i.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(o.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(l.Z,{mdxType:"SchemaTabs"},(0,i.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"transfers"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"received"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!1,name:"amount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"from",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"to",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"sent"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(d.Z,{collapsible:!1,name:"amount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"from",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"to",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(d.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))))))))),(0,i.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "transfers": {\n "received": [\n {\n "amount": 0,\n "from": [\n 0\n ],\n "height": 0,\n "timestamp": "string",\n "to": [\n 0\n ],\n "txHash": [\n 0\n ]\n }\n ],\n "sent": [\n {\n "amount": 0,\n "from": [\n 0\n ],\n "height": 0,\n "timestamp": "string",\n "to": [\n 0\n ],\n "txHash": [\n 0\n ]\n }\n ]\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/0a3f3d31.033cf48a.js b/assets/js/0a3f3d31.033cf48a.js new file mode 100644 index 000000000..84bae55d9 --- /dev/null +++ b/assets/js/0a3f3d31.033cf48a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5122],{12128:(e,t,i)=>{i.d(t,{Z:()=>y});var o=i(87462),n=i(39805),a=i(14902),s=i(170),r=i(86390),c=i(65429),l=i(14758),d=i(67294),p=i(204),m=i(23100),h=i(16393);const u={React:d,...d,Flex:p.k,Box:m.xu,AspectRatio:h.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=i(22457),v=i(37489);const y=(f=s.Z,function(e){if(e.live){let t=v.G;return'"spreadsheet"'===e.title&&(t=v.IS),d.createElement(n.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:v.Lp.wallet},d.createElement(l.f0,{id:v.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,o.Z)({scope:u},e)))))))}return d.createElement(f,e)});var f},61890:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>h,default:()=>f,frontMatter:()=>m,metadata:()=>u,toc:()=>v});var o=i(87462),n=(i(67294),i(3905)),a=i(26389),s=i(94891),r=i(75190),c=i(47507),l=i(24310),d=i(63303),p=(i(75035),i(85162));const m={id:"list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",sidebar_label:"List election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{blockHeight:{type:"integer","x-omitempty":!0},date:{description:"Date when the vote was emitted",type:"string","x-omitempty":!0},electionID:{type:"string","x-omitempty":!0},encryptionKeys:{description:"Sent only for encrypted elections (no results until the end)",items:{type:"integer"},type:"array","x-omitempty":!0},number:{type:"integer","x-omitempty":!0},overwriteCount:{type:"integer","x-omitempty":!0},package:{description:"For encrypted elections this will be codified",items:{type:"integer"},type:"array","x-omitempty":!0},transactionIndex:{type:"integer","x-omitempty":!0},txHash:{type:"string","x-omitempty":!0},voteID:{type:"string","x-omitempty":!0},voterID:{type:"string","x-omitempty":!0},weight:{type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Returns the list of voteIDs for an election (paginated)",method:"get",path:"/elections/{electionID}/votes/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List election votes",description:{content:"Returns the list of voteIDs for an election (paginated)",type:"text/plain"},url:{path:["elections",":electionID","votes","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"},{disabled:!1,description:{content:"(Required) Page ",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,u={unversionedId:"vocdoni-api/list-election-votes",id:"vocdoni-api/list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",source:"@site/docs/vocdoni-api/list-election-votes.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-election-votes",permalink:"/vocdoni-api/list-election-votes",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",sidebar_label:"List election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{blockHeight:{type:"integer","x-omitempty":!0},date:{description:"Date when the vote was emitted",type:"string","x-omitempty":!0},electionID:{type:"string","x-omitempty":!0},encryptionKeys:{description:"Sent only for encrypted elections (no results until the end)",items:{type:"integer"},type:"array","x-omitempty":!0},number:{type:"integer","x-omitempty":!0},overwriteCount:{type:"integer","x-omitempty":!0},package:{description:"For encrypted elections this will be codified",items:{type:"integer"},type:"array","x-omitempty":!0},transactionIndex:{type:"integer","x-omitempty":!0},txHash:{type:"string","x-omitempty":!0},voteID:{type:"string","x-omitempty":!0},voterID:{type:"string","x-omitempty":!0},weight:{type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Returns the list of voteIDs for an election (paginated)",method:"get",path:"/elections/{electionID}/votes/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List election votes",description:{content:"Returns the list of voteIDs for an election (paginated)",type:"text/plain"},url:{path:["elections",":electionID","votes","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"},{disabled:!1,description:{content:"(Required) Page ",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Count election votes",permalink:"/vocdoni-api/count-election-votes"},next:{title:"Compute IPFS CIDv1 of file",permalink:"/vocdoni-api/compute-ipfs-ci-dv-1-of-file"}},g={},v=[{value:"List election votes",id:"list-election-votes",level:2}],y={toc:v};function f(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,o.Z)({},y,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"list-election-votes"},"List election votes"),(0,n.kt)("p",null,"Returns the list of voteIDs for an election (paginated)"),(0,n.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"Path Parameters")),(0,n.kt)("div",null,(0,n.kt)("ul",null,(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"}),(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,n.kt)("div",null,(0,n.kt)(a.Z,{mdxType:"ApiTabs"},(0,n.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(d.Z,{mdxType:"SchemaTabs"},(0,n.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(l.Z,{collapsible:!1,name:"blockHeight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"date",required:!1,deprecated:void 0,schemaDescription:"Date when the vote was emitted",schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"electionID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"encryptionKeys",required:!1,deprecated:void 0,schemaDescription:"Sent only for encrypted elections (no results until the end)",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"number",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"overwriteCount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"package",required:!1,deprecated:void 0,schemaDescription:"For encrypted elections this will be codified",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"transactionIndex",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"voteID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"voterID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"weight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(c.Z,{responseExample:'{\n "blockHeight": 0,\n "date": "string",\n "electionID": "string",\n "encryptionKeys": [\n 0\n ],\n "number": 0,\n "overwriteCount": 0,\n "package": [\n 0\n ],\n "transactionIndex": 0,\n "txHash": "string",\n "voteID": "string",\n "voterID": "string",\n "weight": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0a3f3d31.21c9ba82.js b/assets/js/0a3f3d31.21c9ba82.js deleted file mode 100644 index 169e967af..000000000 --- a/assets/js/0a3f3d31.21c9ba82.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5122],{40611:(e,t,i)=>{"use strict";i.d(t,{Z:()=>f});var o=i(87462),n=i(67294),a=i(86390),s=i(18694);const r={React:n,...n,Image:s.Ee,ElectionProvider:s.qT,ElectionHeader:s.UE,ElectionTitle:s.hi,ElectionSchedule:s.vE,ElectionResults:s.Hj,ElectionStatusBadge:s.QW,ElectionDescription:s.I3,ElectionQuestions:s.Vx,OrganizationProvider:s.f0,OrganizationAvatar:s.ld,OrganizationDescription:s.G9,OrganizationHeader:s.sC,OrganizationName:s.X5,Organization:s.cp};var c=i(170),l=i(39805),d=i(14902),p=i(23537);const m="f752b527e2aba395d1ba4c0de9c1471234567890",u="https://picsum.photos/seed/{seed}/1400/300",h={address:m,balance:0,nonce:123,electionIndex:13,account:new p.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:u.replace("{seed}",m),avatar:`https://picsum.photos/seed/${m}/300`,meta:[]})},g=`c5d2460186f7${m}020000000000`,v={electionCount:0,electionId:g,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:p.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:p.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:u.replace("{seed}",g)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},y=p.u_.build({census:new p.pT(v.census.censusRoot,v.census.censusURL,p.oN.censusTypeFromCensusOrigin(v.census.censusOrigin),4,BigInt("40")),creationTime:v.creationTime,electionCount:0,endDate:v.endDate,finalResults:v.finalResults,id:v.electionId,metadataURL:v.metadataURL,organizationId:v.organizationId,raw:v,results:v.result,status:v.status,title:v.metadata.title,description:v.metadata.description,voteCount:v.voteCount,header:v.metadata.media.header,questions:v.metadata.questions,startDate:v.startDate,voteType:v.voteMode,electionType:{autoStart:v.electionMode.autoStart,interruptible:v.electionMode.interruptible,dynamicCensus:v.electionMode.dynamicCensus,secretUntilTheEnd:v.voteMode.encryptedVotes,anonymous:v.voteMode.anonymous}}),f=(b=c.Z,function(e){return e.live?n.createElement(l.x,{theme:(0,d.B1)(s.rS),resetCSS:!1},n.createElement(s.de,{env:"stg"},n.createElement(s.f0,{organization:h},n.createElement(s.qT,{election:y},n.createElement(a.Z,(0,o.Z)({scope:r},e)))))):n.createElement(b,e)});var b},61890:(e,t,i)=>{"use strict";i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>f,frontMatter:()=>m,metadata:()=>h,toc:()=>v});var o=i(87462),n=(i(67294),i(3905)),a=i(26389),s=i(94891),r=i(75190),c=i(47507),l=i(24310),d=i(63303),p=(i(75035),i(85162));const m={id:"list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",sidebar_label:"List election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{blockHeight:{type:"integer","x-omitempty":!0},date:{description:"Date when the vote was emitted",type:"string","x-omitempty":!0},electionID:{type:"string","x-omitempty":!0},encryptionKeys:{description:"Sent only for encrypted elections (no results until the end)",items:{type:"integer"},type:"array","x-omitempty":!0},number:{type:"integer","x-omitempty":!0},overwriteCount:{type:"integer","x-omitempty":!0},package:{description:"For encrypted elections this will be codified",items:{type:"integer"},type:"array","x-omitempty":!0},transactionIndex:{type:"integer","x-omitempty":!0},txHash:{type:"string","x-omitempty":!0},voteID:{type:"string","x-omitempty":!0},voterID:{type:"string","x-omitempty":!0},weight:{type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Returns the list of voteIDs for an election (paginated)",method:"get",path:"/elections/{electionID}/votes/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List election votes",description:{content:"Returns the list of voteIDs for an election (paginated)",type:"text/plain"},url:{path:["elections",":electionID","votes","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"},{disabled:!1,description:{content:"(Required) Page ",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,h={unversionedId:"vocdoni-api/list-election-votes",id:"vocdoni-api/list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",source:"@site/docs/vocdoni-api/list-election-votes.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-election-votes",permalink:"/vocdoni-api/list-election-votes",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-election-votes",title:"List election votes",description:"Returns the list of voteIDs for an election (paginated)",sidebar_label:"List election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{blockHeight:{type:"integer","x-omitempty":!0},date:{description:"Date when the vote was emitted",type:"string","x-omitempty":!0},electionID:{type:"string","x-omitempty":!0},encryptionKeys:{description:"Sent only for encrypted elections (no results until the end)",items:{type:"integer"},type:"array","x-omitempty":!0},number:{type:"integer","x-omitempty":!0},overwriteCount:{type:"integer","x-omitempty":!0},package:{description:"For encrypted elections this will be codified",items:{type:"integer"},type:"array","x-omitempty":!0},transactionIndex:{type:"integer","x-omitempty":!0},txHash:{type:"string","x-omitempty":!0},voteID:{type:"string","x-omitempty":!0},voterID:{type:"string","x-omitempty":!0},weight:{type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Returns the list of voteIDs for an election (paginated)",method:"get",path:"/elections/{electionID}/votes/page/{page}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List election votes",description:{content:"Returns the list of voteIDs for an election (paginated)",type:"text/plain"},url:{path:["elections",":electionID","votes","page",":page"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"},{disabled:!1,description:{content:"(Required) Page ",type:"text/plain"},type:"any",value:"",key:"page"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Count election votes",permalink:"/vocdoni-api/count-election-votes"},next:{title:"Compute IPFS CIDv1 of file",permalink:"/vocdoni-api/compute-ipfs-ci-dv-1-of-file"}},g={},v=[{value:"List election votes",id:"list-election-votes",level:2}],y={toc:v};function f(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,o.Z)({},y,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"list-election-votes"},"List election votes"),(0,n.kt)("p",null,"Returns the list of voteIDs for an election (paginated)"),(0,n.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"Path Parameters")),(0,n.kt)("div",null,(0,n.kt)("ul",null,(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"}),(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Page ",in:"path",name:"page",required:!0,schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,n.kt)("div",null,(0,n.kt)(a.Z,{mdxType:"ApiTabs"},(0,n.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(d.Z,{mdxType:"SchemaTabs"},(0,n.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(l.Z,{collapsible:!1,name:"blockHeight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"date",required:!1,deprecated:void 0,schemaDescription:"Date when the vote was emitted",schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"electionID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"encryptionKeys",required:!1,deprecated:void 0,schemaDescription:"Sent only for encrypted elections (no results until the end)",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"number",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"overwriteCount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"package",required:!1,deprecated:void 0,schemaDescription:"For encrypted elections this will be codified",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"transactionIndex",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"txHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"voteID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"voterID",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(l.Z,{collapsible:!1,name:"weight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(c.Z,{responseExample:'{\n "blockHeight": 0,\n "date": "string",\n "electionID": "string",\n "encryptionKeys": [\n 0\n ],\n "number": 0,\n "overwriteCount": 0,\n "package": [\n 0\n ],\n "transactionIndex": 0,\n "txHash": "string",\n "voteID": "string",\n "voterID": "string",\n "weight": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}f.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/134f4ebc.99bbe153.js b/assets/js/134f4ebc.99bbe153.js deleted file mode 100644 index 14dca7b7e..000000000 --- a/assets/js/134f4ebc.99bbe153.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[738],{40611:(e,t,a)=>{"use strict";a.d(t,{Z:()=>b});var o=a(87462),n=a(67294),i=a(86390),s=a(18694);const r={React:n,...n,Image:s.Ee,ElectionProvider:s.qT,ElectionHeader:s.UE,ElectionTitle:s.hi,ElectionSchedule:s.vE,ElectionResults:s.Hj,ElectionStatusBadge:s.QW,ElectionDescription:s.I3,ElectionQuestions:s.Vx,OrganizationProvider:s.f0,OrganizationAvatar:s.ld,OrganizationDescription:s.G9,OrganizationHeader:s.sC,OrganizationName:s.X5,Organization:s.cp};var c=a(170),l=a(39805),d=a(14902),u=a(23537);const p="f752b527e2aba395d1ba4c0de9c1471234567890",h="https://picsum.photos/seed/{seed}/1400/300",m={address:p,balance:0,nonce:123,electionIndex:13,account:new u.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:h.replace("{seed}",p),avatar:`https://picsum.photos/seed/${p}/300`,meta:[]})},g=`c5d2460186f7${p}020000000000`,f={electionCount:0,electionId:g,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:u.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:u.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:h.replace("{seed}",g)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},v=u.u_.build({census:new u.pT(f.census.censusRoot,f.census.censusURL,u.oN.censusTypeFromCensusOrigin(f.census.censusOrigin),4,BigInt("40")),creationTime:f.creationTime,electionCount:0,endDate:f.endDate,finalResults:f.finalResults,id:f.electionId,metadataURL:f.metadataURL,organizationId:f.organizationId,raw:f,results:f.result,status:f.status,title:f.metadata.title,description:f.metadata.description,voteCount:f.voteCount,header:f.metadata.media.header,questions:f.metadata.questions,startDate:f.startDate,voteType:f.voteMode,electionType:{autoStart:f.electionMode.autoStart,interruptible:f.electionMode.interruptible,dynamicCensus:f.electionMode.dynamicCensus,secretUntilTheEnd:f.voteMode.encryptedVotes,anonymous:f.voteMode.anonymous}}),b=(y=c.Z,function(e){return e.live?n.createElement(l.x,{theme:(0,d.B1)(s.rS),resetCSS:!1},n.createElement(s.de,{env:"stg"},n.createElement(s.f0,{organization:m},n.createElement(s.qT,{election:v},n.createElement(i.Z,(0,o.Z)({scope:r},e)))))):n.createElement(y,e)});var y},6002:(e,t,a)=>{"use strict";a.r(t),a.d(t,{assets:()=>m,contentTitle:()=>p,default:()=>v,frontMatter:()=>u,metadata:()=>h,toc:()=>g});var o=a(87462),n=(a(67294),a(3905)),i=a(26389),s=a(94891),r=(a(75190),a(47507)),c=a(24310),l=a(63303),d=(a(75035),a(85162));const u={id:"set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",sidebar_label:"Set wallet account",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{code:{type:"integer","x-omitempty":!0},hash:{type:"string","x-omitempty":!0},response:{format:"base64",type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},security:[{BasicAuth:[]}],tags:["Wallet"],description:"Set a new account. Needed the bearer token associated the account.",method:"get",path:"/wallet/bootstrap",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Set wallet account",description:{content:"Set a new account. Needed the bearer token associated the account.",type:"text/plain"},url:{path:["wallet","bootstrap"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET",auth:{type:"basic",basic:[{type:"any",value:"",key:"username"},{type:"any",value:"",key:"password"}]}}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,h={unversionedId:"vocdoni-api/set-wallet-account",id:"vocdoni-api/set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",source:"@site/docs/vocdoni-api/set-wallet-account.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/set-wallet-account",permalink:"/vocdoni-api/set-wallet-account",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",sidebar_label:"Set wallet account",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{code:{type:"integer","x-omitempty":!0},hash:{type:"string","x-omitempty":!0},response:{format:"base64",type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},security:[{BasicAuth:[]}],tags:["Wallet"],description:"Set a new account. Needed the bearer token associated the account.",method:"get",path:"/wallet/bootstrap",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Set wallet account",description:{content:"Set a new account. Needed the bearer token associated the account.",type:"text/plain"},url:{path:["wallet","bootstrap"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET",auth:{type:"basic",basic:[{type:"any",value:"",key:"username"},{type:"any",value:"",key:"password"}]}}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Add account",permalink:"/vocdoni-api/add-account"},next:{title:"Create election for wallet",permalink:"/vocdoni-api/create-election-for-wallet"}},m={},g=[{value:"Set wallet account",id:"set-wallet-account",level:2}],f={toc:g};function v(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,o.Z)({},f,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"set-wallet-account"},"Set wallet account"),(0,n.kt)("p",null,"Set a new account. Needed the bearer token associated the account."),(0,n.kt)("div",null,(0,n.kt)(i.Z,{mdxType:"ApiTabs"},(0,n.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(l.Z,{mdxType:"SchemaTabs"},(0,n.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"code",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"response",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"base64",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(r.Z,{responseExample:'{\n "code": 0,\n "hash": "string",\n "response": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/134f4ebc.f10df152.js b/assets/js/134f4ebc.f10df152.js new file mode 100644 index 000000000..dc67beda8 --- /dev/null +++ b/assets/js/134f4ebc.f10df152.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[738],{12128:(e,t,a)=>{a.d(t,{Z:()=>v});var o=a(87462),n=a(39805),i=a(14902),s=a(170),r=a(86390),c=a(65429),l=a(14758),d=a(67294),u=a(204),h=a(23100),p=a(16393);const m={React:d,...d,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=a(22457),g=a(37489);const v=(y=s.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(n.x,{theme:(0,i.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:f.yG.STG,signer:g.Lp.wallet},d.createElement(l.f0,{id:g.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,o.Z)({scope:m},e)))))))}return d.createElement(y,e)});var y},6002:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>v,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var o=a(87462),n=(a(67294),a(3905)),i=a(26389),s=a(94891),r=(a(75190),a(47507)),c=a(24310),l=a(63303),d=(a(75035),a(85162));const u={id:"set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",sidebar_label:"Set wallet account",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{code:{type:"integer","x-omitempty":!0},hash:{type:"string","x-omitempty":!0},response:{format:"base64",type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},security:[{BasicAuth:[]}],tags:["Wallet"],description:"Set a new account. Needed the bearer token associated the account.",method:"get",path:"/wallet/bootstrap",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Set wallet account",description:{content:"Set a new account. Needed the bearer token associated the account.",type:"text/plain"},url:{path:["wallet","bootstrap"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET",auth:{type:"basic",basic:[{type:"any",value:"",key:"username"},{type:"any",value:"",key:"password"}]}}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,p={unversionedId:"vocdoni-api/set-wallet-account",id:"vocdoni-api/set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",source:"@site/docs/vocdoni-api/set-wallet-account.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/set-wallet-account",permalink:"/vocdoni-api/set-wallet-account",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"set-wallet-account",title:"Set wallet account",description:"Set a new account. Needed the bearer token associated the account.",sidebar_label:"Set wallet account",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{code:{type:"integer","x-omitempty":!0},hash:{type:"string","x-omitempty":!0},response:{format:"base64",type:"string","x-omitempty":!0}},type:"object"}}},description:"OK"}},security:[{BasicAuth:[]}],tags:["Wallet"],description:"Set a new account. Needed the bearer token associated the account.",method:"get",path:"/wallet/bootstrap",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Set wallet account",description:{content:"Set a new account. Needed the bearer token associated the account.",type:"text/plain"},url:{path:["wallet","bootstrap"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET",auth:{type:"basic",basic:[{type:"any",value:"",key:"username"},{type:"any",value:"",key:"password"}]}}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Add account",permalink:"/vocdoni-api/add-account"},next:{title:"Create election for wallet",permalink:"/vocdoni-api/create-election-for-wallet"}},m={},f=[{value:"Set wallet account",id:"set-wallet-account",level:2}],g={toc:f};function v(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,o.Z)({},g,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"set-wallet-account"},"Set wallet account"),(0,n.kt)("p",null,"Set a new account. Needed the bearer token associated the account."),(0,n.kt)("div",null,(0,n.kt)(i.Z,{mdxType:"ApiTabs"},(0,n.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(l.Z,{mdxType:"SchemaTabs"},(0,n.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"code",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"response",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"base64",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(r.Z,{responseExample:'{\n "code": 0,\n "hash": "string",\n "response": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/13df6360.bc576f35.js b/assets/js/13df6360.bc576f35.js new file mode 100644 index 000000000..4b13235e1 --- /dev/null +++ b/assets/js/13df6360.bc576f35.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6499],{12128:(e,t,i)=>{i.d(t,{Z:()=>y});var o=i(87462),n=i(39805),a=i(14902),r=i(170),s=i(86390),c=i(65429),l=i(14758),h=i(67294),d=i(204),m=i(23100),u=i(16393);const p={React:h,...h,Flex:d.k,Box:m.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=i(22457),g=i(37489);const y=(v=r.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),h.createElement(n.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},h.createElement(c.de,{env:f.yG.STG,signer:g.Lp.wallet},h.createElement(l.f0,{id:g.fD},h.createElement(l.qT,{id:t,fetchCensus:!0},h.createElement(c.DG,null,h.createElement(s.Z,(0,o.Z)({scope:p},e)))))))}return h.createElement(v,e)});var v},11349:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>y,frontMatter:()=>d,metadata:()=>u,toc:()=>f});var o=i(87462),n=(i(67294),i(3905)),a=i(26389),r=i(94891),s=(i(75190),i(47507)),c=i(24310),l=i(63303),h=(i(75035),i(85162));const d={id:"price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",sidebar_label:"Price factors information",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{basePrice:{description:"base price for an election",example:5,type:"integer"},capacity:{description:"capacity of the blockchain",example:2e3,type:"integer"},factors:{allOf:[{properties:{k1:{description:"sizePriceFactor",example:.002,type:"number"},k2:{description:"durationPriceFactor",example:5e-4,type:"number"},k3:{description:"encryptedPriceFactor",example:.005,type:"number"},k4:{description:"anonymousPriceFactor",example:10,type:"number"},k5:{description:"overwritePriceFactor",example:3,type:"number"},k6:{description:"Size scaling factor for maxCensusSize",example:8e-4,type:"number"},k7:{description:"Threshold for maxCensusSize scaling",example:200,type:"integer"}},type:"object"}],description:"factors affecting the price"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",method:"get",path:"/chain/info/electionPriceFactors",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Price factors information",description:{content:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",type:"text/plain"},url:{path:["chain","info","electionPriceFactors"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,u={unversionedId:"vocdoni-api/price-factors-information",id:"vocdoni-api/price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",source:"@site/docs/vocdoni-api/price-factors-information.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/price-factors-information",permalink:"/vocdoni-api/price-factors-information",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",sidebar_label:"Price factors information",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{basePrice:{description:"base price for an election",example:5,type:"integer"},capacity:{description:"capacity of the blockchain",example:2e3,type:"integer"},factors:{allOf:[{properties:{k1:{description:"sizePriceFactor",example:.002,type:"number"},k2:{description:"durationPriceFactor",example:5e-4,type:"number"},k3:{description:"encryptedPriceFactor",example:.005,type:"number"},k4:{description:"anonymousPriceFactor",example:10,type:"number"},k5:{description:"overwritePriceFactor",example:3,type:"number"},k6:{description:"Size scaling factor for maxCensusSize",example:8e-4,type:"number"},k7:{description:"Threshold for maxCensusSize scaling",example:200,type:"integer"}},type:"object"}],description:"factors affecting the price"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",method:"get",path:"/chain/info/electionPriceFactors",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Price factors information",description:{content:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",type:"text/plain"},url:{path:["chain","info","electionPriceFactors"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Circuit info",permalink:"/vocdoni-api/circuit-info"},next:{title:"Count organizations",permalink:"/vocdoni-api/count-organizations"}},p={},f=[{value:"Price factors information",id:"price-factors-information",level:2}],g={toc:f};function y(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,o.Z)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"price-factors-information"},"Price factors information"),(0,n.kt)("p",null,"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics."),(0,n.kt)("p",null,"The formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process."),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Base Price"),": This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Size Price"),": As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Duration Price"),": The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Encrypted Votes"),": If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Anonymous Votes"),": Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Overwrite Price"),": Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.")),(0,n.kt)("p",null,"The constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements."),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k1 (Size price factor)"),": This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k2 (Duration price factor)"),": This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k3 (Encrypted price factor)"),": This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k4 (Anonymous price factor)"),": This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k5 (Overwrite price factor)"),": This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k6 (Non-linear growth factor)"),": This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k7 (Size non-linear trigger)"),': This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a "freemium" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.')),(0,n.kt)("div",null,(0,n.kt)(a.Z,{mdxType:"ApiTabs"},(0,n.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(r.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(l.Z,{mdxType:"SchemaTabs"},(0,n.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"basePrice",required:!1,deprecated:void 0,schemaDescription:"base price for an election",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"capacity",required:!1,deprecated:void 0,schemaDescription:"capacity of the blockchain",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"factors"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"k1",required:!1,deprecated:void 0,schemaDescription:"sizePriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k2",required:!1,deprecated:void 0,schemaDescription:"durationPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k3",required:!1,deprecated:void 0,schemaDescription:"encryptedPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k4",required:!1,deprecated:void 0,schemaDescription:"anonymousPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k5",required:!1,deprecated:void 0,schemaDescription:"overwritePriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k6",required:!1,deprecated:void 0,schemaDescription:"Size scaling factor for maxCensusSize",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k7",required:!1,deprecated:void 0,schemaDescription:"Threshold for maxCensusSize scaling",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,n.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(s.Z,{responseExample:'{\n "basePrice": 5,\n "capacity": 2000,\n "factors": {\n "k1": 0.002,\n "k2": 0.0005,\n "k3": 0.005,\n "k4": 10,\n "k5": 3,\n "k6": 0.0008,\n "k7": 200\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/13df6360.e05ab8a6.js b/assets/js/13df6360.e05ab8a6.js deleted file mode 100644 index 690d8c87c..000000000 --- a/assets/js/13df6360.e05ab8a6.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6499],{40611:(e,t,i)=>{"use strict";i.d(t,{Z:()=>v});var o=i(87462),n=i(67294),a=i(86390),r=i(18694);const s={React:n,...n,Image:r.Ee,ElectionProvider:r.qT,ElectionHeader:r.UE,ElectionTitle:r.hi,ElectionSchedule:r.vE,ElectionResults:r.Hj,ElectionStatusBadge:r.QW,ElectionDescription:r.I3,ElectionQuestions:r.Vx,OrganizationProvider:r.f0,OrganizationAvatar:r.ld,OrganizationDescription:r.G9,OrganizationHeader:r.sC,OrganizationName:r.X5,Organization:r.cp};var c=i(170),l=i(39805),h=i(14902),d=i(23537);const u="f752b527e2aba395d1ba4c0de9c1471234567890",m="https://picsum.photos/seed/{seed}/1400/300",p={address:u,balance:0,nonce:123,electionIndex:13,account:new d.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:m.replace("{seed}",u),avatar:`https://picsum.photos/seed/${u}/300`,meta:[]})},f=`c5d2460186f7${u}020000000000`,g={electionCount:0,electionId:f,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:d.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:d.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:m.replace("{seed}",f)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},y=d.u_.build({census:new d.pT(g.census.censusRoot,g.census.censusURL,d.oN.censusTypeFromCensusOrigin(g.census.censusOrigin),4,BigInt("40")),creationTime:g.creationTime,electionCount:0,endDate:g.endDate,finalResults:g.finalResults,id:g.electionId,metadataURL:g.metadataURL,organizationId:g.organizationId,raw:g,results:g.result,status:g.status,title:g.metadata.title,description:g.metadata.description,voteCount:g.voteCount,header:g.metadata.media.header,questions:g.metadata.questions,startDate:g.startDate,voteType:g.voteMode,electionType:{autoStart:g.electionMode.autoStart,interruptible:g.electionMode.interruptible,dynamicCensus:g.electionMode.dynamicCensus,secretUntilTheEnd:g.voteMode.encryptedVotes,anonymous:g.voteMode.anonymous}}),v=(k=c.Z,function(e){return e.live?n.createElement(l.x,{theme:(0,h.B1)(r.rS),resetCSS:!1},n.createElement(r.de,{env:"stg"},n.createElement(r.f0,{organization:p},n.createElement(r.qT,{election:y},n.createElement(a.Z,(0,o.Z)({scope:s},e)))))):n.createElement(k,e)});var k},11349:(e,t,i)=>{"use strict";i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>y,frontMatter:()=>d,metadata:()=>m,toc:()=>f});var o=i(87462),n=(i(67294),i(3905)),a=i(26389),r=i(94891),s=(i(75190),i(47507)),c=i(24310),l=i(63303),h=(i(75035),i(85162));const d={id:"price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",sidebar_label:"Price factors information",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{basePrice:{description:"base price for an election",example:5,type:"integer"},capacity:{description:"capacity of the blockchain",example:2e3,type:"integer"},factors:{allOf:[{properties:{k1:{description:"sizePriceFactor",example:.002,type:"number"},k2:{description:"durationPriceFactor",example:5e-4,type:"number"},k3:{description:"encryptedPriceFactor",example:.005,type:"number"},k4:{description:"anonymousPriceFactor",example:10,type:"number"},k5:{description:"overwritePriceFactor",example:3,type:"number"},k6:{description:"Size scaling factor for maxCensusSize",example:8e-4,type:"number"},k7:{description:"Threshold for maxCensusSize scaling",example:200,type:"integer"}},type:"object"}],description:"factors affecting the price"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",method:"get",path:"/chain/info/electionPriceFactors",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Price factors information",description:{content:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",type:"text/plain"},url:{path:["chain","info","electionPriceFactors"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,m={unversionedId:"vocdoni-api/price-factors-information",id:"vocdoni-api/price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",source:"@site/docs/vocdoni-api/price-factors-information.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/price-factors-information",permalink:"/vocdoni-api/price-factors-information",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"price-factors-information",title:"Price factors information",description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.",sidebar_label:"Price factors information",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{basePrice:{description:"base price for an election",example:5,type:"integer"},capacity:{description:"capacity of the blockchain",example:2e3,type:"integer"},factors:{allOf:[{properties:{k1:{description:"sizePriceFactor",example:.002,type:"number"},k2:{description:"durationPriceFactor",example:5e-4,type:"number"},k3:{description:"encryptedPriceFactor",example:.005,type:"number"},k4:{description:"anonymousPriceFactor",example:10,type:"number"},k5:{description:"overwritePriceFactor",example:3,type:"number"},k6:{description:"Size scaling factor for maxCensusSize",example:8e-4,type:"number"},k7:{description:"Threshold for maxCensusSize scaling",example:200,type:"integer"}},type:"object"}],description:"factors affecting the price"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",method:"get",path:"/chain/info/electionPriceFactors",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Price factors information",description:{content:"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.\n\nThe formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process.\n\n1. **Base Price**: This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration.\n2. **Size Price**: As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain.\n3. **Duration Price**: The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources.\n4. **Encrypted Votes**: If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled.\n5. **Anonymous Votes**: Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen.\n6. **Overwrite Price**: Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.\n\nThe constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements.\n\n- **k1 (Size price factor)**: This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements.\n- **k2 (Duration price factor)**: This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly.\n- **k3 (Encrypted price factor)**: This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections.\n- **k4 (Anonymous price factor)**: This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections.\n- **k5 (Overwrite price factor)**: This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process.\n- **k6 (Non-linear growth factor)**: This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections.\n- **k7 (Size non-linear trigger)**: This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a \"freemium\" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.\n",type:"text/plain"},url:{path:["chain","info","electionPriceFactors"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Circuit info",permalink:"/vocdoni-api/circuit-info"},next:{title:"Count organizations",permalink:"/vocdoni-api/count-organizations"}},p={},f=[{value:"Price factors information",id:"price-factors-information",level:2}],g={toc:f};function y(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,o.Z)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"price-factors-information"},"Price factors information"),(0,n.kt)("p",null,"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics."),(0,n.kt)("p",null,"The formula used to calculate the price for creating an election on the Vocdoni blockchain is designed to take into account various factors that impact the cost and complexity of conducting an election. The price is determined by combining several components, each reflecting a specific aspect of the election process."),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Base Price"),": This is a fixed cost that serves as a starting point for the price calculation. It represents the minimal price for creating an election, regardless of its size or duration."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Size Price"),": As the number of voters (maxCensusSize) in an election increases, the resources required to manage the election also grow. To account for this, the size price component is directly proportional to the maximum number of votes allowed in the election. Additionally, it takes into consideration the blockchain's maximum capacity (capacity) and the maximum capacity the blockchain administrators can set (maxCapacity). This ensures that the price is adjusted based on the current capacity of the blockchain."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Duration Price"),": The length of the election (electionDuration) also affects the price, as longer elections occupy more resources over time. The duration price component is directly proportional to the election duration and inversely proportional to the maximum number of votes. This means that if the election lasts longer, the price increases, and if there are more votes in a shorter time, the price also increases to reflect the higher demand for resources."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Encrypted Votes"),": If an election requires encryption for maintaining secrecy until the end (encryptedVotes), it demands additional resources and computational effort. Therefore, the encrypted price component is added to the total price when this feature is enabled."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Anonymous Votes"),": Similarly, if an election must be anonymous (anonymousVotes), it requires additional measures to ensure voter privacy. As a result, the anonymous price component is added to the total price when this option is chosen."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Overwrite Price"),": Allowing voters to overwrite their votes (maxVoteOverwrite) can increase the complexity of managing the election, as it requires additional resources to handle vote updates. The overwrite price component accounts for this by being proportional to the maximum number of vote overwrites and the maximum number of votes allowed in the election. It also takes into account the blockchain's capacity to ensure the price reflects the current resource constraints.")),(0,n.kt)("p",null,"The constant factors in the price formula play a crucial role in determining the price of an election based on its characteristics. Each factor is associated with a specific component of the price formula and helps to weigh the importance of that component in the final price calculation. The rationale beind these constant factors is to provide a flexible mechanism to adjust the pricing model based on the system's needs and requirements."),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k1 (Size price factor)"),": This constant factor affects the size price component of the formula. By adjusting k1, you can control the impact of the maximum number of votes (maxCensusSize) on the overall price. A higher k1 value would make the price increase more rapidly as the election size grows, while a lower k1 value would make the price less sensitive to the election size. The rationale behind k1 is to ensure that the pricing model can be adapted to accommodate different election sizes while considering the resource requirements."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k2 (Duration price factor)"),": This constant factor influences the duration price component of the formula. By adjusting k2, you can control how the duration of the election (electionDuration) affects the price. A higher k2 value would make the price increase more quickly as the election duration extends, while a lower k2 value would make the price less sensitive to the election duration. The rationale behind k2 is to reflect the resource consumption over time and ensure that longer elections are priced accordingly."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k3 (Encrypted price factor)"),": This constant factor affects the encrypted price component of the formula. By adjusting k3, you can control the additional cost associated with encrypted elections (encryptedVotes). A higher k3 value would make the price increase more significantly for elections that require encryption, while a lower k3 value would make the price less sensitive to the encryption requirement. The rationale behind k3 is to account for the extra computational effort and resources needed to ensure secrecy in encrypted elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k4 (Anonymous price factor)"),": This constant factor influences the anonymous price component of the formula. By adjusting k4, you can control the additional cost associated with anonymous elections (anonymousVotes). A higher k4 value would make the price increase more significantly for elections that require anonymity, while a lower k4 value would make the price less sensitive to the anonymity requirement. The rationale behind k4 is to account for the extra measures and resources needed to ensure voter privacy in anonymous elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k5 (Overwrite price factor)"),": This constant factor affects the overwrite price component of the formula. By adjusting k5, you can control the additional cost associated with allowing vote overwrites (maxVoteOverwrite). A higher k5 value would make the price increase more significantly for elections that permit vote overwrites, while a lower k5 value would make the price less sensitive to the overwrite allowance. The rationale behind k5 is to account for the increased complexity and resources needed to manage vote overwrites in the election process."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k6 (Non-linear growth factor)"),": This constant factor determines the rate of price growth for elections with a maximum number of votes (maxCensusSize) exceeding the k7 threshold. By adjusting k6, you can control the non-linear growth rate of the price for larger elections. A higher k6 value would result in a more rapid increase in the price as the election size grows beyond the k7 threshold, while a lower k6 value would result in a slower increase in the price for larger elections. The rationale behind k6 is to provide a mechanism for controlling the pricing model's sensitivity to large elections. This factor ensures that the price accurately reflects the increased complexity, resource consumption, and management effort associated with larger elections, while maintaining a more affordable price for smaller elections. By fine-tuning k6, the pricing model can be adapted to balance accessibility for smaller elections with the need to cover costs and resource requirements for larger elections."),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},"k7 (Size non-linear trigger)"),': This constant factor represents a threshold value for the maximum number of votes (maxCensusSize) in an election. When the election size exceeds k7, the price growth becomes non-linear, increasing more rapidly beyond this point. The rationale behind k7 is to create a pricing model that accommodates a "freemium" approach, where smaller elections (under the k7 threshold) are priced affordably, while larger elections are priced more significantly due to their increased resource requirements and complexity. By adjusting k7, you can control the point at which the price transition from linear to non-linear growth occurs. A higher k7 value would allow for more affordable pricing for a larger range of election sizes, while a lower k7 value would result in more rapid price increases for smaller election sizes. This flexibility enables the pricing model to be tailored to the specific needs and goals of the Vocdoni blockchain, ensuring that small elections remain accessible and affordable,while larger elections are priced to reflect their higher resource demands.')),(0,n.kt)("div",null,(0,n.kt)(a.Z,{mdxType:"ApiTabs"},(0,n.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(r.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(l.Z,{mdxType:"SchemaTabs"},(0,n.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"basePrice",required:!1,deprecated:void 0,schemaDescription:"base price for an election",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"capacity",required:!1,deprecated:void 0,schemaDescription:"capacity of the blockchain",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"factors"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(c.Z,{collapsible:!1,name:"k1",required:!1,deprecated:void 0,schemaDescription:"sizePriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k2",required:!1,deprecated:void 0,schemaDescription:"durationPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k3",required:!1,deprecated:void 0,schemaDescription:"encryptedPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k4",required:!1,deprecated:void 0,schemaDescription:"anonymousPriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k5",required:!1,deprecated:void 0,schemaDescription:"overwritePriceFactor",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k6",required:!1,deprecated:void 0,schemaDescription:"Size scaling factor for maxCensusSize",schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(c.Z,{collapsible:!1,name:"k7",required:!1,deprecated:void 0,schemaDescription:"Threshold for maxCensusSize scaling",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,n.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(s.Z,{responseExample:'{\n "basePrice": 5,\n "capacity": 2000,\n "factors": {\n "k1": 0.002,\n "k2": 0.0005,\n "k3": 0.005,\n "k4": 10,\n "k5": 3,\n "k6": 0.0008,\n "k7": 200\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/1a4e3797.affc72c9.js b/assets/js/1a4e3797.5b6c14c2.js similarity index 99% rename from assets/js/1a4e3797.affc72c9.js rename to assets/js/1a4e3797.5b6c14c2.js index 082ab0f15..fce526faf 100644 --- a/assets/js/1a4e3797.affc72c9.js +++ b/assets/js/1a4e3797.5b6c14c2.js @@ -1,2 +1,2 @@ -/*! For license information please see 1a4e3797.affc72c9.js.LICENSE.txt */ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[7920],{17331:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,s,c,u,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var h=new Error('Uncaught, unspecified "error" event. ('+t+")");throw h.context=t,h}if(i(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),a.apply(this,c)}else if(n(a))for(c=Array.prototype.slice.call(arguments,1),s=(o=a.slice()).length,u=0;u0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=s;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){a=c;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},8131:(e,t,r)=>{"use strict";var n=r(49374),i=r(17775),a=r(23076);function s(e,t,r){return new n(e,t,r)}s.version=r(24336),s.AlgoliaSearchHelper=n,s.SearchParameters=i,s.SearchResults=a,e.exports=s},68078:(e,t,r)=>{"use strict";var n=r(17331);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(14853)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},82437:(e,t,r)=>{"use strict";var n=r(43336),i=r(49803),a=r(90116),s={addRefinement:function(e,t,r){if(s.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return s.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return s.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,r)?s.removeRefinement(e,t,r):s.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,r)}));return c.length!==s.length&&(n=!0),i[a]=c,i}),{});return n?s:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=s},17775:(e,t,r)=>{"use strict";var n=r(60185),i=r(43336),a=r(22686),s=r(7888),c=r(28023),u=r(49803),o=r(90116),h=r(46801),f=r(82437);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function m(e){var t=e?m._parseNumbers(e):{};void 0===t.userToken||h(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==m.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}m.PARAMETERS=Object.keys(new m),m._parseNumbers=function(e){if(e instanceof m)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return n({},e,t)},m.make=function(e){var t=new m(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},m.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&o(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):o(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},m.prototype={constructor:m,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var i=c(r);if(this.isNumericRefined(e,t,i))return this;var a=n({},this.numericRefinements);return a[e]=n({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,i){return i===e&&n.op===t&&l(n.val,c(r))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return o(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return u(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var a=r[i],s={};return a=a||{},Object.keys(a).forEach((function(r){var n=a[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),s[r]=c})),n[i]=s,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),n={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?n[e]=[]:n[e]=[t.slice(0,t.lastIndexOf(r))]:n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var i,a,u=c(r),o=void 0!==(i=this.numericRefinements[e][t],a=u,s(i,(function(e){return l(e,a)})));return n&&o},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=m.validate(this,e);if(t)throw t;var r=this,n=m._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),a=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?u(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=m},10210:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var s=e.hierarchicalFacets[r],o=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",h=e._getHierarchicalFacetSeparator(s),f=e._getHierarchicalRootPath(s),l=e._getHierarchicalShowParentLevel(s),m=a(e._getHierarchicalFacetSortBy(s)),d=t.every((function(e){return e.exhaustive})),p=function(e,t,r,a,s){return function(o,h,f){var l=o;if(f>0){var m=0;for(l=o;m{"use strict";var n=r(60185),i=r(43336),a=r(42148),s=r(74587),c=r(7888),u=r(69725),o=r(82293),h=r(94039),f=h.escapeFacetValue,l=h.unescapeFacetValue,m=r(10210);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function p(e,t,r){t&&t[r]&&(e.stats=t[r])}function v(e,t,r){var a=t[0];this._rawResults=t;var o=this;Object.keys(a).forEach((function(e){o[e]=a[e]})),Object.keys(r||{}).forEach((function(e){o[e]=r[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var h=e.getRefinedDisjunctiveFacets(),f=d(e.facets),v=d(e.disjunctiveFacets),g=1,y=a.facets||{};Object.keys(y).forEach((function(t){var r,n,i=y[t],s=(r=e.hierarchicalFacets,n=t,c(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(s){var h=s.attributes.indexOf(t),l=u(e.hierarchicalFacets,(function(e){return e.name===s.name}));o.hierarchicalFacets[l][h]={attribute:t,data:i,exhaustive:a.exhaustiveFacetsCount}}else{var m,d=-1!==e.disjunctiveFacets.indexOf(t),g=-1!==e.facets.indexOf(t);d&&(m=v[t],o.disjunctiveFacets[m]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},p(o.disjunctiveFacets[m],a.facets_stats,t)),g&&(m=f[t],o.facets[m]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},p(o.facets[m],a.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),h.forEach((function(r){var s=t[g],c=s&&s.facets?s.facets:{},h=e.getHierarchicalFacetByName(r);Object.keys(c).forEach((function(t){var r,f=c[t];if(h){r=u(e.hierarchicalFacets,(function(e){return e.name===h.name}));var m=u(o.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===m)return;o.hierarchicalFacets[r][m].data=n({},o.hierarchicalFacets[r][m].data,f)}else{r=v[t];var d=a.facets&&a.facets[t]||{};o.disjunctiveFacets[r]={name:t,data:i({},f,d),exhaustive:s.exhaustiveFacetsCount},p(o.disjunctiveFacets[r],s.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!o.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(o.disjunctiveFacets[r].data[n]=0)}))}})),g++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),s=e.getHierarchicalRefinement(r);0===s.length||s[0].split(a).length<2||t.slice(g).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var c=r[t],h=u(e.hierarchicalFacets,(function(e){return e.name===n.name})),f=u(o.hierarchicalFacets[h],(function(e){return e.attribute===t}));if(-1!==f){var l={};if(s.length>0){var m=s[0].split(a)[0];l[m]=o.hierarchicalFacets[h][f].data[m]}o.hierarchicalFacets[h][f].data=i(l,c,o.hierarchicalFacets[h][f].data)}})),g++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=f[t];o.facets[n]={name:t,data:a.facets[t],exhaustive:a.exhaustiveFacetsCount},r.forEach((function(e){o.facets[n]=o.facets[n]||{name:t},o.facets[n].data=o.facets[n].data||{},o.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(m(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function g(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var a=t.data.map((function(t){return g(e,t,r,n+1)})),s=e(a,r[n]);return i({data:s},t)}function y(e,t){var r=c(e,(function(e){return e.name===t}));return r&&r.stats}function R(e,t,r,n,i){var a=c(i,(function(e){return e.name===r})),s=a&&a.data&&a.data[n]?a.data[n]:0,u=a&&a.exhaustive||!1;return{type:t,attributeName:r,name:n,count:s,exhaustive:u}}v.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},v.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],v.prototype.getFacetValues=function(e,t){var r=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=c(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=f(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=f(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,r)}(this,e);if(r){var n,s=i({},t,{sortBy:v.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),u=this;if(Array.isArray(r))n=[e];else n=u._state.getHierarchicalFacetByName(r.name).attributes;return g((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(u,t);if(Boolean(r))return function(e,t){var r=[],n=[],i=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name;void 0!==i[t]?r[i[t]]=e:n.push(e)})),r=r.filter((function(e){return e}));var s,c=t.sortRemainingBy;return"hidden"===c?r:(s="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(a(n,s[0],s[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=o(s.sortBy,v.DEFAULT_SORT);return a(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},v.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},v.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(R(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(R(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(R(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=r.split(a),u=c(n,(function(e){return e.name===t})),o=s.reduce((function(e,t){var r=e&&c(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),u),h=o&&o.count||0,f=o&&o.exhaustive||!1,l=o&&o.path||"";return{type:"hierarchical",attributeName:t,name:l,count:h,exhaustive:f}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=v},49374:(e,t,r)=>{"use strict";var n=r(17775),i=r(23076),a=r(68078),s=r(96394),c=r(17331),u=r(14853),o=r(90116),h=r(49803),f=r(60185),l=r(24336),m=r(94039).escapeFacetValue;function d(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=r||{};i.index=t,this.state=n.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function p(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function v(){return this.state.page}u(d,c),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=s._getQueries(r.index,r),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(r,e.results),state:r,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(r,e.results),r)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}))},d.prototype.findAnswers=function(e){var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=f({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:h(s._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(n.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(n.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),u=c.isDisjunctiveFacet(e),o=s.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var h,f=this;return i?h=this.client.searchForFacetValues([{indexName:c.index,params:o}]):a?h=this.client.initIndex(c.index).searchForFacetValues(o):(delete o.facetName,h=this.client.search([{type:"facet",facet:e,indexName:c.index,params:o}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),h.then((function(t){return f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=m(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=p,d.prototype.setPage=p,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:n.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new n(e),this},d.prototype.hasRefinements=function(e){return!!o(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=v,d.prototype.getPage=v,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=s._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=s._getQueries(n.index,n);return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),a=Array.prototype.concat.apply(n,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(u){this.emit("error",{error:u})}},d.prototype._dispatchAlgoliaResponse=function(e,t,r){if(!(t0},d.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},74587:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},43336:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},94039:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},7888:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r{"use strict";var n=r(7888);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},14853:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},22686:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},60185:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i){var a=n[i],s=e[i];void 0!==s&&void 0===a||(t(s)&&t(a)?e[i]=r(s,a):e[i]="object"==typeof(c=a)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},49803:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}},42148:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e=n.length?a:"desc"===n[i]?-a:a}return e.index-r.index})),i.map((function(e){return e.value}))}},28023:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},96394:(e,t,r)=>{"use strict";var n=r(60185);function i(e){return Object.keys(e).sort((function(e,t){return e.localeCompare(t)})).reduce((function(t,r){return t[r]=e[r],t}),{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),s=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(s.length>0&&s[0].split(c).length>1){var u=s[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);u.forEach((function(n,s){var c=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===s);function o(e){return i.attributes.some((function(t){return t===e.split(":")[0]}))}var h=(c.facetFilters||[]).reduce((function(e,t){if(Array.isArray(t)){var r=t.filter((function(e){return!o(e)}));r.length>0&&e.push(r)}return"string"!=typeof t||o(t)||e.push(t),e}),[]),f=u[s-1];c.facetFilters=s>0?h.concat(f.attribute+":"+f.value):h.length>0?h:void 0,r.push({indexName:e,params:c})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)),r=a._getFacetFilters(e),s=a._getNumericFilters(e),c=a._getTagFilters(e),u={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:c};return r.length>0&&(u.facetFilters=r),s.length>0&&(u.numericFilters=s),i(n({},e.getQueryParams(),u))},_getDisjunctiveFacetSearchParams:function(e,t,r){var s=a._getFacetFilters(e,t,r),c=a._getNumericFilters(e,t),u=a._getTagFilters(e),o={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};u.length>0&&(o.tagFilters=u);var h=e.getHierarchicalFacetByName(t);return o.facets=h?a._getDisjunctiveHierarchicalFacetAttribute(e,h,r):t,c.length>0&&(o.numericFilters=c),s.length>0&&(o.facetFilters=s),i(n({},e.getQueryParams(),o))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==n&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){n.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){n.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var r=s[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,u,o=e.getHierarchicalFacetByName(i),h=e._getHierarchicalFacetSeparator(o),f=e._getHierarchicalRootPath(o);if(t===i){if(-1===a.indexOf(h)||!f&&!0===r||f&&f.split(h).length===a.split(h).length)return;f?(u=f.split(h).length-1,a=f):(u=a.split(h).length-2,a=a.slice(0,a.lastIndexOf(h))),s=o.attributes[u]}else u=a.split(h).length-1,s=o.attributes[u];s&&n.push([s+":"+a])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,s=r.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,r,s){var c=s.isDisjunctiveFacet(e)?s.clearRefinements(e):s,u={facetQuery:t,facetName:e};return"number"==typeof r&&(u.maxFacetHits=r),i(n({},a._getHitsSearchParams(c),u))}};e.exports=a},46801:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24336:e=>{"use strict";e.exports="3.11.1"},70290:function(e){e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r=JSON.stringify(e),n=a()[r];return Promise.all([n||t(),void 0!==n])})).then((function(e){var t=i(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=a();return i[JSON.stringify(e)]=t,n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=a(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=n(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function o(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function h(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},p=1,v=2,g=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function R(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var F="GET",b="POST";function P(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===p||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===g&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(a(r),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return R(e)})):t}}))}function j(e,t,n,i){var s=[],c=function(e,t){if(e.method!==F&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),u=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),o=n.method,h=n.method!==F?{}:r(r({},n.data),i.data),f=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),h),i.queryParameters),l=0,m=function t(r,a){var h=r.pop();if(void 0===h)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:w(s)};var m={data:c,headers:u,method:o,url:E(h,n.path,f),connectTimeout:a(l,e.timeouts.connect),responseTimeout:a(l,i.timeout)},d=function(e){var t={request:m,response:e,host:h,triesLeft:r.length};return s.push(t),t},p={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",O(i)),e.hostsCache.set(h,y(h,n.isTimedOut?g:v))]).then((function(){return t(r,a)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,w(s))}};return e.requester.send(m).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&0==~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,p)}))};return P(e.hostsCache,t).then((function(e){return m(a(e.statelessHosts).reverse(),e.getTimeout)}))}function _(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function E(e,t,r){var n=x(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function x(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function w(e){return e.map((function(e){return O(e)}))}function O(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var N=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,u=e.userAgent,o=e.hosts,h=e.queryParameters,f={hostsCache:t,logger:r,requester:n,requestsCache:a,responsesCache:s,timeouts:c,userAgent:u,headers:e.headers,queryParameters:h,hosts:o.map((function(e){return R(e)})),read:function(e,t){var r=m(t,f.timeouts.read),n=function(){return j(f,f.hosts.filter((function(e){return 0!=(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var a={request:e,mappedRequestOptions:r,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(a,(function(){return f.requestsCache.get(a,(function(){return f.requestsCache.set(a,n()).then((function(e){return Promise.all([f.requestsCache.delete(a),e])}),(function(e){return Promise.all([f.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.responsesCache.set(a,e)}})},write:function(e,t){return j(f,f.hosts.filter((function(e){return 0!=(e.accept&d.Write)})),e,m(t,f.timeouts.write))}};return f}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(o([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return h({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},A=function(e){return function(t,r){return t.method===F?e.transporter.read(t,r):e.transporter.write(t,r)}},H=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},S=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:x(e.params||{})})}));return e.transporter.read({method:b,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},T=function(e){return function(t,i){return Promise.all(t.map((function(t){var a=t.params,s=a.facetName,c=a.facetQuery,u=n(a,["facetName","facetQuery"]);return H(e)(t.indexName,{methods:{searchForFacetValues:k}}).searchForFacetValues(s,c,r(r({},i),u))})))}},Q=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},C=function(e){return function(t,r){return e.transporter.read({method:b,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},k=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},D=1,I=2,q=3;function V(e,t,n){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=q,{debug:function(e,t){return D>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return I>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:u(),requestsCache:u({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.14.2","-").concat(e)}),u()]}),userAgent:_("4.14.2").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return N(r(r(r({},a),n),{},{methods:{search:S,searchForFacetValues:T,multipleQueries:S,multipleSearchForFacetValues:T,customRequest:A,initIndex:function(e){return function(t){return H(e)(t,{methods:{search:C,searchForFacetValues:k,findAnswers:Q}})}}}}))}return V.version="4.14.2",V}()},88824:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(67294),i=r(52263);const a=["zero","one","two","few","many","other"];function s(e){return a.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:s(["one","other"]),select:e=>1===e?"one":"other"};function u(){const{i18n:{currentLocale:e}}=(0,i.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:s(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`),c}}),[e])}function o(){const e=u();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const i=r.select(t),a=r.pluralForms.indexOf(i);return n[Math.min(a,n.length-1)]}(r,t,e)}}},39172:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var n=r(67294),i=r(86010),a=r(70290),s=r.n(a),c=r(8131),u=r.n(c),o=r(35742),h=r(39960),f=r(10412),l=r(88824),m=r(98022),d=r(902),p=r(10833),v=r(66177),g=r(82128),y=r(52263),R=r(80143),F=r(95999),b=r(78193);const P="searchQueryInput_u2C7",j="searchVersionInput_m0Ui",_="searchResultsColumn_JPFH",E="algoliaLogo_rT1R",x="algoliaLogoPathFill_WdUC",w="searchResultItem_Tv2o",O="searchResultItemHeading_KbCB",N="searchResultItemPath_lhe1",A="searchResultItemSummary_AEaO",H="searchQueryColumn_RTkw",S="searchVersionColumn_ypXd",T="searchLogoColumn_rJIA",Q="loadingSpinner_XVxU",C="loader_vvXV";function k(e){let{docsSearchVersionsHelpers:t}=e;const r=Object.entries(t.allDocsData).filter((e=>{let[,t]=e;return t.versions.length>1}));return n.createElement("div",{className:(0,i.Z)("col","col--3","padding-left--none",S)},r.map((e=>{let[i,a]=e;const s=r.length>1?`${i}: `:"";return n.createElement("select",{key:i,onChange:e=>t.setSearchVersion(i,e.target.value),defaultValue:t.searchVersions[i],className:j},a.versions.map(((e,t)=>n.createElement("option",{key:t,label:`${s}${e.label}`,value:e.name}))))})))}function D(){const{siteConfig:{themeConfig:e},i18n:{currentLocale:t}}=(0,y.Z)(),{algolia:{appId:r,apiKey:a,indexName:c,externalUrlRegex:p}}=e,j=function(){const{selectMessage:e}=(0,l.c)();return t=>e(t,(0,F.I)({id:"theme.SearchPage.documentsFound.plurals",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One document found|{count} documents found"},{count:t}))}(),S=function(){const e=(0,R._r)(),[t,r]=(0,n.useState)((()=>Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return{...e,[r]:n.versions[0].name}}),{}))),i=Object.values(e).some((e=>e.versions.length>1));return{allDocsData:e,versioningEnabled:i,searchVersions:t,setSearchVersion:(e,t)=>r((r=>({...r,[e]:t})))}}(),{searchQuery:D,setSearchQuery:I}=(0,v.O)(),q={items:[],query:null,totalResults:null,totalPages:null,lastPage:null,hasMore:null,loading:null},[V,L]=(0,n.useReducer)(((e,t)=>{switch(t.type){case"reset":return q;case"loading":return{...e,loading:!0};case"update":return D!==t.value.query?e:{...t.value,items:0===t.value.lastPage?t.value.items:e.items.concat(t.value.items)};case"advance":{const t=e.totalPages>e.lastPage+1;return{...e,lastPage:t?e.lastPage+1:e.lastPage,hasMore:t}}default:return e}}),q),B=s()(r,a),z=u()(B,c,{hitsPerPage:15,advancedSyntax:!0,disjunctiveFacets:["language","docusaurus_tag"]});z.on("result",(e=>{let{results:{query:t,hits:r,page:n,nbHits:i,nbPages:a}}=e;if(""===t||!Array.isArray(r))return void L({type:"reset"});const s=e=>e.replace(/algolia-docsearch-suggestion--highlight/g,"search-result-match"),c=r.map((e=>{let{url:t,_highlightResult:{hierarchy:r},_snippetResult:n={}}=e;const i=new URL(t),a=Object.keys(r).map((e=>s(r[e].value)));return{title:a.pop(),url:(0,m.F)(p,i.href)?i.href:i.pathname+i.hash,summary:n.content?`${s(n.content.value)}...`:"",breadcrumbs:a}}));L({type:"update",value:{items:c,query:t,totalResults:i,totalPages:a,lastPage:n,hasMore:a>n+1,loading:!1}})}));const[M,J]=(0,n.useState)(null),U=(0,n.useRef)(0),W=(0,n.useRef)(f.Z.canUseIntersectionObserver&&new IntersectionObserver((e=>{const{isIntersecting:t,boundingClientRect:{y:r}}=e[0];t&&U.current>r&&L({type:"advance"}),U.current=r}),{threshold:1})),Z=()=>D?(0,F.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:D}):(0,F.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),$=(0,d.zX)((function(e){void 0===e&&(e=0),z.addDisjunctiveFacetRefinement("docusaurus_tag","default"),z.addDisjunctiveFacetRefinement("language",t),Object.entries(S.searchVersions).forEach((e=>{let[t,r]=e;z.addDisjunctiveFacetRefinement("docusaurus_tag",`docs-${t}-${r}`)})),z.setQuery(D).setPage(e).search()}));return(0,n.useEffect)((()=>{if(!M)return;const e=W.current;return e?(e.observe(M),()=>e.unobserve(M)):()=>!0}),[M]),(0,n.useEffect)((()=>{L({type:"reset"}),D&&(L({type:"loading"}),setTimeout((()=>{$()}),300))}),[D,S.searchVersions,$]),(0,n.useEffect)((()=>{V.lastPage&&0!==V.lastPage&&$(V.lastPage)}),[$,V.lastPage]),n.createElement(b.Z,null,n.createElement(o.Z,null,n.createElement("title",null,(0,g.p)(Z())),n.createElement("meta",{property:"robots",content:"noindex, follow"})),n.createElement("div",{className:"container margin-vert--lg"},n.createElement("h1",null,Z()),n.createElement("form",{className:"row",onSubmit:e=>e.preventDefault()},n.createElement("div",{className:(0,i.Z)("col",H,{"col--9":S.versioningEnabled,"col--12":!S.versioningEnabled})},n.createElement("input",{type:"search",name:"q",className:P,placeholder:(0,F.I)({id:"theme.SearchPage.inputPlaceholder",message:"Type your search here",description:"The placeholder for search page input"}),"aria-label":(0,F.I)({id:"theme.SearchPage.inputLabel",message:"Search",description:"The ARIA label for search page input"}),onChange:e=>I(e.target.value),value:D,autoComplete:"off",autoFocus:!0})),S.versioningEnabled&&n.createElement(k,{docsSearchVersionsHelpers:S})),n.createElement("div",{className:"row"},n.createElement("div",{className:(0,i.Z)("col","col--8",_)},!!V.totalResults&&j(V.totalResults)),n.createElement("div",{className:(0,i.Z)("col","col--4","text--right",T)},n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.algolia.com/","aria-label":(0,F.I)({id:"theme.SearchPage.algoliaLabel",message:"Search by Algolia",description:"The ARIA label for Algolia mention"})},n.createElement("svg",{viewBox:"0 0 168 24",className:E},n.createElement("g",{fill:"none"},n.createElement("path",{className:x,d:"M120.925 18.804c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17zM6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z"}),n.createElement("path",{fill:"#5468FF",d:"M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938z"}),n.createElement("path",{fill:"white",d:"M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36"})))))),V.items.length>0?n.createElement("main",null,V.items.map(((e,t)=>{let{title:r,url:a,summary:s,breadcrumbs:c}=e;return n.createElement("article",{key:t,className:w},n.createElement("h2",{className:O},n.createElement(h.Z,{to:a,dangerouslySetInnerHTML:{__html:r}})),c.length>0&&n.createElement("nav",{"aria-label":"breadcrumbs"},n.createElement("ul",{className:(0,i.Z)("breadcrumbs",N)},c.map(((e,t)=>n.createElement("li",{key:t,className:"breadcrumbs__item",dangerouslySetInnerHTML:{__html:e}}))))),s&&n.createElement("p",{className:A,dangerouslySetInnerHTML:{__html:s}}))}))):[D&&!V.loading&&n.createElement("p",{key:"no-results"},n.createElement(F.Z,{id:"theme.SearchPage.noResultsText",description:"The paragraph for empty search result"},"No results were found")),!!V.loading&&n.createElement("div",{key:"spinner",className:Q})],V.hasMore&&n.createElement("div",{className:C,ref:J},n.createElement(F.Z,{id:"theme.SearchPage.fetchingNewResults",description:"The paragraph for fetching new search results"},"Fetching new results..."))))}function I(){return n.createElement(p.FG,{className:"search-page-wrapper"},n.createElement(D,null))}}}]); \ No newline at end of file +/*! For license information please see 1a4e3797.5b6c14c2.js.LICENSE.txt */ +(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[7920],{17331:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,s,c,u,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var h=new Error('Uncaught, unspecified "error" event. ('+t+")");throw h.context=t,h}if(i(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),a.apply(this,c)}else if(n(a))for(c=Array.prototype.slice.call(arguments,1),s=(o=a.slice()).length,u=0;u0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=s;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){a=c;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},8131:(e,t,r)=>{"use strict";var n=r(49374),i=r(17775),a=r(23076);function s(e,t,r){return new n(e,t,r)}s.version=r(24336),s.AlgoliaSearchHelper=n,s.SearchParameters=i,s.SearchResults=a,e.exports=s},68078:(e,t,r)=>{"use strict";var n=r(17331);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(14853)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},82437:(e,t,r)=>{"use strict";var n=r(43336),i=r(49803),a=r(90116),s={addRefinement:function(e,t,r){if(s.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return s.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return s.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,r)?s.removeRefinement(e,t,r):s.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,r)}));return c.length!==s.length&&(n=!0),i[a]=c,i}),{});return n?s:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=s},17775:(e,t,r)=>{"use strict";var n=r(60185),i=r(43336),a=r(22686),s=r(7888),c=r(28023),u=r(49803),o=r(90116),h=r(46801),f=r(82437);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function m(e){var t=e?m._parseNumbers(e):{};void 0===t.userToken||h(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==m.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}m.PARAMETERS=Object.keys(new m),m._parseNumbers=function(e){if(e instanceof m)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return n({},e,t)},m.make=function(e){var t=new m(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},m.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&o(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):o(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},m.prototype={constructor:m,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var i=c(r);if(this.isNumericRefined(e,t,i))return this;var a=n({},this.numericRefinements);return a[e]=n({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,i){return i===e&&n.op===t&&l(n.val,c(r))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return o(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return u(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var a=r[i],s={};return a=a||{},Object.keys(a).forEach((function(r){var n=a[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),s[r]=c})),n[i]=s,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),n={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?n[e]=[]:n[e]=[t.slice(0,t.lastIndexOf(r))]:n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var i,a,u=c(r),o=void 0!==(i=this.numericRefinements[e][t],a=u,s(i,(function(e){return l(e,a)})));return n&&o},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=m.validate(this,e);if(t)throw t;var r=this,n=m._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),a=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?u(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=m},10210:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var s=e.hierarchicalFacets[r],o=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",h=e._getHierarchicalFacetSeparator(s),f=e._getHierarchicalRootPath(s),l=e._getHierarchicalShowParentLevel(s),m=a(e._getHierarchicalFacetSortBy(s)),d=t.every((function(e){return e.exhaustive})),p=function(e,t,r,a,s){return function(o,h,f){var l=o;if(f>0){var m=0;for(l=o;m{"use strict";var n=r(60185),i=r(43336),a=r(42148),s=r(74587),c=r(7888),u=r(69725),o=r(82293),h=r(94039),f=h.escapeFacetValue,l=h.unescapeFacetValue,m=r(10210);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function p(e,t,r){t&&t[r]&&(e.stats=t[r])}function v(e,t,r){var a=t[0];this._rawResults=t;var o=this;Object.keys(a).forEach((function(e){o[e]=a[e]})),Object.keys(r||{}).forEach((function(e){o[e]=r[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var h=e.getRefinedDisjunctiveFacets(),f=d(e.facets),v=d(e.disjunctiveFacets),g=1,y=a.facets||{};Object.keys(y).forEach((function(t){var r,n,i=y[t],s=(r=e.hierarchicalFacets,n=t,c(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(s){var h=s.attributes.indexOf(t),l=u(e.hierarchicalFacets,(function(e){return e.name===s.name}));o.hierarchicalFacets[l][h]={attribute:t,data:i,exhaustive:a.exhaustiveFacetsCount}}else{var m,d=-1!==e.disjunctiveFacets.indexOf(t),g=-1!==e.facets.indexOf(t);d&&(m=v[t],o.disjunctiveFacets[m]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},p(o.disjunctiveFacets[m],a.facets_stats,t)),g&&(m=f[t],o.facets[m]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},p(o.facets[m],a.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),h.forEach((function(r){var s=t[g],c=s&&s.facets?s.facets:{},h=e.getHierarchicalFacetByName(r);Object.keys(c).forEach((function(t){var r,f=c[t];if(h){r=u(e.hierarchicalFacets,(function(e){return e.name===h.name}));var m=u(o.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===m)return;o.hierarchicalFacets[r][m].data=n({},o.hierarchicalFacets[r][m].data,f)}else{r=v[t];var d=a.facets&&a.facets[t]||{};o.disjunctiveFacets[r]={name:t,data:i({},f,d),exhaustive:s.exhaustiveFacetsCount},p(o.disjunctiveFacets[r],s.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!o.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(o.disjunctiveFacets[r].data[n]=0)}))}})),g++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),s=e.getHierarchicalRefinement(r);0===s.length||s[0].split(a).length<2||t.slice(g).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var c=r[t],h=u(e.hierarchicalFacets,(function(e){return e.name===n.name})),f=u(o.hierarchicalFacets[h],(function(e){return e.attribute===t}));if(-1!==f){var l={};if(s.length>0){var m=s[0].split(a)[0];l[m]=o.hierarchicalFacets[h][f].data[m]}o.hierarchicalFacets[h][f].data=i(l,c,o.hierarchicalFacets[h][f].data)}})),g++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=f[t];o.facets[n]={name:t,data:a.facets[t],exhaustive:a.exhaustiveFacetsCount},r.forEach((function(e){o.facets[n]=o.facets[n]||{name:t},o.facets[n].data=o.facets[n].data||{},o.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(m(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function g(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var a=t.data.map((function(t){return g(e,t,r,n+1)})),s=e(a,r[n]);return i({data:s},t)}function y(e,t){var r=c(e,(function(e){return e.name===t}));return r&&r.stats}function R(e,t,r,n,i){var a=c(i,(function(e){return e.name===r})),s=a&&a.data&&a.data[n]?a.data[n]:0,u=a&&a.exhaustive||!1;return{type:t,attributeName:r,name:n,count:s,exhaustive:u}}v.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},v.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],v.prototype.getFacetValues=function(e,t){var r=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=c(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=f(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=f(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,r)}(this,e);if(r){var n,s=i({},t,{sortBy:v.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),u=this;if(Array.isArray(r))n=[e];else n=u._state.getHierarchicalFacetByName(r.name).attributes;return g((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(u,t);if(Boolean(r))return function(e,t){var r=[],n=[],i=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name;void 0!==i[t]?r[i[t]]=e:n.push(e)})),r=r.filter((function(e){return e}));var s,c=t.sortRemainingBy;return"hidden"===c?r:(s="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(a(n,s[0],s[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=o(s.sortBy,v.DEFAULT_SORT);return a(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},v.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},v.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(R(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(R(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(R(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=r.split(a),u=c(n,(function(e){return e.name===t})),o=s.reduce((function(e,t){var r=e&&c(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),u),h=o&&o.count||0,f=o&&o.exhaustive||!1,l=o&&o.path||"";return{type:"hierarchical",attributeName:t,name:l,count:h,exhaustive:f}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=v},49374:(e,t,r)=>{"use strict";var n=r(17775),i=r(23076),a=r(68078),s=r(96394),c=r(17331),u=r(14853),o=r(90116),h=r(49803),f=r(60185),l=r(24336),m=r(94039).escapeFacetValue;function d(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=r||{};i.index=t,this.state=n.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function p(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function v(){return this.state.page}u(d,c),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=s._getQueries(r.index,r),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(r,e.results),state:r,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(r,e.results),r)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}))},d.prototype.findAnswers=function(e){var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=f({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:h(s._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(n.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(n.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),u=c.isDisjunctiveFacet(e),o=s.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var h,f=this;return i?h=this.client.searchForFacetValues([{indexName:c.index,params:o}]):a?h=this.client.initIndex(c.index).searchForFacetValues(o):(delete o.facetName,h=this.client.search([{type:"facet",facet:e,indexName:c.index,params:o}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),h.then((function(t){return f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=m(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw f._currentNbQueries--,0===f._currentNbQueries&&f.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=p,d.prototype.setPage=p,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:n.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new n(e),this},d.prototype.hasRefinements=function(e){return!!o(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=v,d.prototype.getPage=v,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=s._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=s._getQueries(n.index,n);return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),a=Array.prototype.concat.apply(n,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(u){this.emit("error",{error:u})}},d.prototype._dispatchAlgoliaResponse=function(e,t,r){if(!(t0},d.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},74587:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},43336:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},94039:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},7888:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r{"use strict";var n=r(7888);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},14853:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},22686:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},60185:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i){var a=n[i],s=e[i];void 0!==s&&void 0===a||(t(s)&&t(a)?e[i]=r(s,a):e[i]="object"==typeof(c=a)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},49803:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}},42148:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e=n.length?a:"desc"===n[i]?-a:a}return e.index-r.index})),i.map((function(e){return e.value}))}},28023:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},96394:(e,t,r)=>{"use strict";var n=r(60185);function i(e){return Object.keys(e).sort((function(e,t){return e.localeCompare(t)})).reduce((function(t,r){return t[r]=e[r],t}),{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),s=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(s.length>0&&s[0].split(c).length>1){var u=s[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);u.forEach((function(n,s){var c=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===s);function o(e){return i.attributes.some((function(t){return t===e.split(":")[0]}))}var h=(c.facetFilters||[]).reduce((function(e,t){if(Array.isArray(t)){var r=t.filter((function(e){return!o(e)}));r.length>0&&e.push(r)}return"string"!=typeof t||o(t)||e.push(t),e}),[]),f=u[s-1];c.facetFilters=s>0?h.concat(f.attribute+":"+f.value):h.length>0?h:void 0,r.push({indexName:e,params:c})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)),r=a._getFacetFilters(e),s=a._getNumericFilters(e),c=a._getTagFilters(e),u={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:c};return r.length>0&&(u.facetFilters=r),s.length>0&&(u.numericFilters=s),i(n({},e.getQueryParams(),u))},_getDisjunctiveFacetSearchParams:function(e,t,r){var s=a._getFacetFilters(e,t,r),c=a._getNumericFilters(e,t),u=a._getTagFilters(e),o={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};u.length>0&&(o.tagFilters=u);var h=e.getHierarchicalFacetByName(t);return o.facets=h?a._getDisjunctiveHierarchicalFacetAttribute(e,h,r):t,c.length>0&&(o.numericFilters=c),s.length>0&&(o.facetFilters=s),i(n({},e.getQueryParams(),o))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==n&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){n.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){n.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var r=s[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,u,o=e.getHierarchicalFacetByName(i),h=e._getHierarchicalFacetSeparator(o),f=e._getHierarchicalRootPath(o);if(t===i){if(-1===a.indexOf(h)||!f&&!0===r||f&&f.split(h).length===a.split(h).length)return;f?(u=f.split(h).length-1,a=f):(u=a.split(h).length-2,a=a.slice(0,a.lastIndexOf(h))),s=o.attributes[u]}else u=a.split(h).length-1,s=o.attributes[u];s&&n.push([s+":"+a])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,s=r.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,r,s){var c=s.isDisjunctiveFacet(e)?s.clearRefinements(e):s,u={facetQuery:t,facetName:e};return"number"==typeof r&&(u.maxFacetHits=r),i(n({},a._getHitsSearchParams(c),u))}};e.exports=a},46801:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24336:e=>{"use strict";e.exports="3.11.1"},70290:function(e){e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r=JSON.stringify(e),n=a()[r];return Promise.all([n||t(),void 0!==n])})).then((function(e){var t=i(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=a();return i[JSON.stringify(e)]=t,n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=a(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=n(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function o(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function h(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},p=1,v=2,g=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function R(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var F="GET",b="POST";function P(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===p||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===g&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(a(r),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return R(e)})):t}}))}function j(e,t,n,i){var s=[],c=function(e,t){if(e.method!==F&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),u=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),o=n.method,h=n.method!==F?{}:r(r({},n.data),i.data),f=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),h),i.queryParameters),l=0,m=function t(r,a){var h=r.pop();if(void 0===h)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:w(s)};var m={data:c,headers:u,method:o,url:E(h,n.path,f),connectTimeout:a(l,e.timeouts.connect),responseTimeout:a(l,i.timeout)},d=function(e){var t={request:m,response:e,host:h,triesLeft:r.length};return s.push(t),t},p={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",O(i)),e.hostsCache.set(h,y(h,n.isTimedOut?g:v))]).then((function(){return t(r,a)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,w(s))}};return e.requester.send(m).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&0==~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,p)}))};return P(e.hostsCache,t).then((function(e){return m(a(e.statelessHosts).reverse(),e.getTimeout)}))}function _(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function E(e,t,r){var n=x(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function x(e){return Object.keys(e).map((function(t){return f("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function w(e){return e.map((function(e){return O(e)}))}function O(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var N=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,u=e.userAgent,o=e.hosts,h=e.queryParameters,f={hostsCache:t,logger:r,requester:n,requestsCache:a,responsesCache:s,timeouts:c,userAgent:u,headers:e.headers,queryParameters:h,hosts:o.map((function(e){return R(e)})),read:function(e,t){var r=m(t,f.timeouts.read),n=function(){return j(f,f.hosts.filter((function(e){return 0!=(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var a={request:e,mappedRequestOptions:r,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(a,(function(){return f.requestsCache.get(a,(function(){return f.requestsCache.set(a,n()).then((function(e){return Promise.all([f.requestsCache.delete(a),e])}),(function(e){return Promise.all([f.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.responsesCache.set(a,e)}})},write:function(e,t){return j(f,f.hosts.filter((function(e){return 0!=(e.accept&d.Write)})),e,m(t,f.timeouts.write))}};return f}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(o([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return h({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},A=function(e){return function(t,r){return t.method===F?e.transporter.read(t,r):e.transporter.write(t,r)}},H=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},S=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:x(e.params||{})})}));return e.transporter.read({method:b,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},T=function(e){return function(t,i){return Promise.all(t.map((function(t){var a=t.params,s=a.facetName,c=a.facetQuery,u=n(a,["facetName","facetQuery"]);return H(e)(t.indexName,{methods:{searchForFacetValues:k}}).searchForFacetValues(s,c,r(r({},i),u))})))}},Q=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},C=function(e){return function(t,r){return e.transporter.read({method:b,path:f("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},k=function(e){return function(t,r,n){return e.transporter.read({method:b,path:f("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},D=1,I=2,q=3;function V(e,t,n){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=q,{debug:function(e,t){return D>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return I>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:u(),requestsCache:u({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.14.2","-").concat(e)}),u()]}),userAgent:_("4.14.2").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return N(r(r(r({},a),n),{},{methods:{search:S,searchForFacetValues:T,multipleQueries:S,multipleSearchForFacetValues:T,customRequest:A,initIndex:function(e){return function(t){return H(e)(t,{methods:{search:C,searchForFacetValues:k,findAnswers:Q}})}}}}))}return V.version="4.14.2",V}()},88824:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(67294),i=r(52263);const a=["zero","one","two","few","many","other"];function s(e){return a.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:s(["one","other"]),select:e=>1===e?"one":"other"};function u(){const{i18n:{currentLocale:e}}=(0,i.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:s(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`),c}}),[e])}function o(){const e=u();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const i=r.select(t),a=r.pluralForms.indexOf(i);return n[Math.min(a,n.length-1)]}(r,t,e)}}},39172:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var n=r(67294),i=r(86010),a=r(70290),s=r.n(a),c=r(8131),u=r.n(c),o=r(35742),h=r(39960),f=r(10412),l=r(88824),m=r(98022),d=r(902),p=r(10833),v=r(66177),g=r(82128),y=r(52263),R=r(80143),F=r(95999),b=r(89703);const P="searchQueryInput_u2C7",j="searchVersionInput_m0Ui",_="searchResultsColumn_JPFH",E="algoliaLogo_rT1R",x="algoliaLogoPathFill_WdUC",w="searchResultItem_Tv2o",O="searchResultItemHeading_KbCB",N="searchResultItemPath_lhe1",A="searchResultItemSummary_AEaO",H="searchQueryColumn_RTkw",S="searchVersionColumn_ypXd",T="searchLogoColumn_rJIA",Q="loadingSpinner_XVxU",C="loader_vvXV";function k(e){let{docsSearchVersionsHelpers:t}=e;const r=Object.entries(t.allDocsData).filter((e=>{let[,t]=e;return t.versions.length>1}));return n.createElement("div",{className:(0,i.Z)("col","col--3","padding-left--none",S)},r.map((e=>{let[i,a]=e;const s=r.length>1?`${i}: `:"";return n.createElement("select",{key:i,onChange:e=>t.setSearchVersion(i,e.target.value),defaultValue:t.searchVersions[i],className:j},a.versions.map(((e,t)=>n.createElement("option",{key:t,label:`${s}${e.label}`,value:e.name}))))})))}function D(){const{siteConfig:{themeConfig:e},i18n:{currentLocale:t}}=(0,y.Z)(),{algolia:{appId:r,apiKey:a,indexName:c,externalUrlRegex:p}}=e,j=function(){const{selectMessage:e}=(0,l.c)();return t=>e(t,(0,F.I)({id:"theme.SearchPage.documentsFound.plurals",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One document found|{count} documents found"},{count:t}))}(),S=function(){const e=(0,R._r)(),[t,r]=(0,n.useState)((()=>Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return{...e,[r]:n.versions[0].name}}),{}))),i=Object.values(e).some((e=>e.versions.length>1));return{allDocsData:e,versioningEnabled:i,searchVersions:t,setSearchVersion:(e,t)=>r((r=>({...r,[e]:t})))}}(),{searchQuery:D,setSearchQuery:I}=(0,v.O)(),q={items:[],query:null,totalResults:null,totalPages:null,lastPage:null,hasMore:null,loading:null},[V,L]=(0,n.useReducer)(((e,t)=>{switch(t.type){case"reset":return q;case"loading":return{...e,loading:!0};case"update":return D!==t.value.query?e:{...t.value,items:0===t.value.lastPage?t.value.items:e.items.concat(t.value.items)};case"advance":{const t=e.totalPages>e.lastPage+1;return{...e,lastPage:t?e.lastPage+1:e.lastPage,hasMore:t}}default:return e}}),q),B=s()(r,a),z=u()(B,c,{hitsPerPage:15,advancedSyntax:!0,disjunctiveFacets:["language","docusaurus_tag"]});z.on("result",(e=>{let{results:{query:t,hits:r,page:n,nbHits:i,nbPages:a}}=e;if(""===t||!Array.isArray(r))return void L({type:"reset"});const s=e=>e.replace(/algolia-docsearch-suggestion--highlight/g,"search-result-match"),c=r.map((e=>{let{url:t,_highlightResult:{hierarchy:r},_snippetResult:n={}}=e;const i=new URL(t),a=Object.keys(r).map((e=>s(r[e].value)));return{title:a.pop(),url:(0,m.F)(p,i.href)?i.href:i.pathname+i.hash,summary:n.content?`${s(n.content.value)}...`:"",breadcrumbs:a}}));L({type:"update",value:{items:c,query:t,totalResults:i,totalPages:a,lastPage:n,hasMore:a>n+1,loading:!1}})}));const[M,J]=(0,n.useState)(null),U=(0,n.useRef)(0),W=(0,n.useRef)(f.Z.canUseIntersectionObserver&&new IntersectionObserver((e=>{const{isIntersecting:t,boundingClientRect:{y:r}}=e[0];t&&U.current>r&&L({type:"advance"}),U.current=r}),{threshold:1})),Z=()=>D?(0,F.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:D}):(0,F.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),$=(0,d.zX)((function(e){void 0===e&&(e=0),z.addDisjunctiveFacetRefinement("docusaurus_tag","default"),z.addDisjunctiveFacetRefinement("language",t),Object.entries(S.searchVersions).forEach((e=>{let[t,r]=e;z.addDisjunctiveFacetRefinement("docusaurus_tag",`docs-${t}-${r}`)})),z.setQuery(D).setPage(e).search()}));return(0,n.useEffect)((()=>{if(!M)return;const e=W.current;return e?(e.observe(M),()=>e.unobserve(M)):()=>!0}),[M]),(0,n.useEffect)((()=>{L({type:"reset"}),D&&(L({type:"loading"}),setTimeout((()=>{$()}),300))}),[D,S.searchVersions,$]),(0,n.useEffect)((()=>{V.lastPage&&0!==V.lastPage&&$(V.lastPage)}),[$,V.lastPage]),n.createElement(b.Z,null,n.createElement(o.Z,null,n.createElement("title",null,(0,g.p)(Z())),n.createElement("meta",{property:"robots",content:"noindex, follow"})),n.createElement("div",{className:"container margin-vert--lg"},n.createElement("h1",null,Z()),n.createElement("form",{className:"row",onSubmit:e=>e.preventDefault()},n.createElement("div",{className:(0,i.Z)("col",H,{"col--9":S.versioningEnabled,"col--12":!S.versioningEnabled})},n.createElement("input",{type:"search",name:"q",className:P,placeholder:(0,F.I)({id:"theme.SearchPage.inputPlaceholder",message:"Type your search here",description:"The placeholder for search page input"}),"aria-label":(0,F.I)({id:"theme.SearchPage.inputLabel",message:"Search",description:"The ARIA label for search page input"}),onChange:e=>I(e.target.value),value:D,autoComplete:"off",autoFocus:!0})),S.versioningEnabled&&n.createElement(k,{docsSearchVersionsHelpers:S})),n.createElement("div",{className:"row"},n.createElement("div",{className:(0,i.Z)("col","col--8",_)},!!V.totalResults&&j(V.totalResults)),n.createElement("div",{className:(0,i.Z)("col","col--4","text--right",T)},n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.algolia.com/","aria-label":(0,F.I)({id:"theme.SearchPage.algoliaLabel",message:"Search by Algolia",description:"The ARIA label for Algolia mention"})},n.createElement("svg",{viewBox:"0 0 168 24",className:E},n.createElement("g",{fill:"none"},n.createElement("path",{className:x,d:"M120.925 18.804c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17zM6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z"}),n.createElement("path",{fill:"#5468FF",d:"M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938z"}),n.createElement("path",{fill:"white",d:"M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36"})))))),V.items.length>0?n.createElement("main",null,V.items.map(((e,t)=>{let{title:r,url:a,summary:s,breadcrumbs:c}=e;return n.createElement("article",{key:t,className:w},n.createElement("h2",{className:O},n.createElement(h.Z,{to:a,dangerouslySetInnerHTML:{__html:r}})),c.length>0&&n.createElement("nav",{"aria-label":"breadcrumbs"},n.createElement("ul",{className:(0,i.Z)("breadcrumbs",N)},c.map(((e,t)=>n.createElement("li",{key:t,className:"breadcrumbs__item",dangerouslySetInnerHTML:{__html:e}}))))),s&&n.createElement("p",{className:A,dangerouslySetInnerHTML:{__html:s}}))}))):[D&&!V.loading&&n.createElement("p",{key:"no-results"},n.createElement(F.Z,{id:"theme.SearchPage.noResultsText",description:"The paragraph for empty search result"},"No results were found")),!!V.loading&&n.createElement("div",{key:"spinner",className:Q})],V.hasMore&&n.createElement("div",{className:C,ref:J},n.createElement(F.Z,{id:"theme.SearchPage.fetchingNewResults",description:"The paragraph for fetching new search results"},"Fetching new results..."))))}function I(){return n.createElement(p.FG,{className:"search-page-wrapper"},n.createElement(D,null))}}}]); \ No newline at end of file diff --git a/assets/js/1a4e3797.affc72c9.js.LICENSE.txt b/assets/js/1a4e3797.5b6c14c2.js.LICENSE.txt similarity index 100% rename from assets/js/1a4e3797.affc72c9.js.LICENSE.txt rename to assets/js/1a4e3797.5b6c14c2.js.LICENSE.txt diff --git a/assets/js/1be78505.cc715246.js b/assets/js/1be78505.6655985c.js similarity index 98% rename from assets/js/1be78505.cc715246.js rename to assets/js/1be78505.6655985c.js index a3a075e9d..f89f5d452 100644 --- a/assets/js/1be78505.cc715246.js +++ b/assets/js/1be78505.6655985c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9514,4972],{40683:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ke});var a=n(67294),l=n(86010),o=n(10833),r=n(35281),c=n(43320),i=n(53438),s=n(74477),d=n(1116),m=n(78193),u=n(95999),b=n(2730);const p="backToTopButton_sjWU",h="backToTopButtonShow_xfvO";function E(){const{shown:e,scrollToTop:t}=(0,b.a)({threshold:300});return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.Z)("clean-btn",r.k.common.backToTopButton,p,e&&h),type:"button",onClick:t})}var f=n(16550),g=n(87524),v=n(86668),_=n(21327),k=n(87462);function C(e){return a.createElement("svg",(0,k.Z)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const I="collapseSidebarButton_PEFL",N="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.Z)("button button--secondary button--outline",I),onClick:t},a.createElement(C,{className:N}))}var Z=n(59689),y=n(12466),T=n(14353),x=n(902),L=n(86043),w=n(48596),M=n(39960),A=n(72389);function B(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function F(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,v.L)(),f=function(e){const t=(0,A.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,i.Wl)(e):void 0),[e,t])}(t),g=(0,i._F)(t,o),_=(0,w.Mg)(h,o),{collapsed:C,setCollapsed:I}=(0,L.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:N,setExpandedItem:S}=(0,T.f)(),Z=function(e){void 0===e&&(e=!C),S(e?null:s),I(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,x.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:g,collapsed:C,updateCollapsed:Z}),(0,a.useEffect)((()=>{b&&null!=N&&N!==s&&E&&I(!0)}),[b,N,s,I,E]),a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemCategory,r.k.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":C},p)},a.createElement("div",{className:(0,l.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_})},a.createElement(M.Z,(0,k.Z)({className:(0,l.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":g}),onClick:b?e=>{n?.(t),h?Z(!1):(e.preventDefault(),Z())}:()=>{n?.(t)},"aria-current":_?"page":void 0,"aria-expanded":b?!C:void 0,href:b?f??"#":f},d),u),h&&b&&a.createElement(B,{categoryLabel:u,onClick:e=>{e.preventDefault(),Z()}})),a.createElement(L.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:C},a.createElement(V,{items:m,tabIndex:C?-1:0,onItemClick:n,activePath:o,level:c+1})))}var H=n(13919),P=n(19548);const D="menuExternalLink_NmtK";function W(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,i._F)(t,o),E=(0,H.Z)(m);return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(c),"menu__list-item",b),key:u},a.createElement(M.Z,(0,k.Z)({className:(0,l.Z)("menu__link",!E&&D,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(P.Z,null)))}const R="menuHtmlItem_M9Kj";function z(e){let{item:t,level:n,index:o}=e;const{value:c,defaultStyle:i,className:s}=t;return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(n),i&&[R,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:c}})}function U(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(F,(0,k.Z)({item:t},n));case"html":return a.createElement(z,(0,k.Z)({item:t},n));default:return a.createElement(W,(0,k.Z)({item:t},n))}}function K(e){let{items:t,...n}=e;return a.createElement(T.D,null,t.map(((e,t)=>a.createElement(U,(0,k.Z)({key:t,item:e,index:t},n)))))}const V=(0,a.memo)(K),j="menu_SIkG",G="menuWithAnnouncementBar_GW3s";function Y(e){let{path:t,sidebar:n,className:o}=e;const c=function(){const{isActive:e}=(0,Z.nT)(),[t,n]=(0,a.useState)(e);return(0,y.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{className:(0,l.Z)("menu thin-scrollbar",j,c&&G,o)},a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(V,{items:n,activePath:t,level:1})))}const q="sidebar_njMd",O="sidebarWithHideableNavbar_wUlq",X="sidebarHidden_VK0M",J="sidebarLogo_isFc";function Q(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:c},docs:{sidebar:{hideable:i}}}=(0,v.L)();return a.createElement("div",{className:(0,l.Z)(q,c&&O,r&&X)},c&&a.createElement(_.Z,{tabIndex:-1,className:J}),a.createElement(Y,{path:t,sidebar:n}),i&&a.createElement(S,{onClick:o}))}const $=a.memo(Q);var ee=n(13102),te=n(93163);const ne=e=>{let{sidebar:t,path:n}=e;const o=(0,te.e)();return a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function ae(e){return a.createElement(ee.Zo,{component:ne,props:e})}const le=a.memo(ae);function oe(e){const t=(0,g.i)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement($,e),l&&a.createElement(le,e))}const re="expandButton_m80_",ce="expandButtonIcon_BlDH";function ie(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:re,title:(0,u.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(C,{className:ce}))}const se="docSidebarContainer_b6E3",de="docSidebarContainerHidden_b3ry";function me(e){let{children:t}=e;const n=(0,d.V)();return a.createElement(a.Fragment,{key:n?.name??"noSidebar"},t)}function ue(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:c}=(0,f.TH)(),[i,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{i&&s(!1),o((e=>!e))}),[o,i]);return a.createElement("aside",{className:(0,l.Z)(r.k.docs.docSidebarContainer,se,n&&de),onTransitionEnd:e=>{e.currentTarget.classList.contains(se)&&n&&s(!0)}},a.createElement(me,null,a.createElement(oe,{sidebar:t,path:c,onCollapse:d,isHidden:i})),i&&a.createElement(ie,{toggleSidebar:d}))}const be={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function pe(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.V)();return a.createElement("main",{className:(0,l.Z)(be.docMainContainer,(t||!o)&&be.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.Z)("container padding-top--md padding-bottom--lg",be.docItemWrapper,t&&be.docItemWrapperEnhanced)},n))}const he="docPage__5DB",Ee="docsWrapper_BCFX";function fe(e){let{children:t}=e;const n=(0,d.V)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.Z,{wrapperClassName:Ee},a.createElement(E,null),a.createElement("div",{className:he},n&&a.createElement(ue,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(pe,{hiddenSidebarContainer:l},t)))}var ge=n(4972),ve=n(90197);function _e(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(ve.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),a.createElement(o.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function ke(e){const{versionMetadata:t}=e,n=(0,i.hI)(e);if(!n)return a.createElement(ge.default,null);const{docElement:c,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(_e,e),a.createElement(o.FG,{className:(0,l.Z)(r.k.wrapper.docsPages,r.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:m,items:u},a.createElement(fe,null,c)))))}},4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(67294),l=n(95999),o=n(10833),r=n(78193);function c(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}},14353:(e,t,n)=>{n.d(t,{D:()=>c,f:()=>i});var a=n(67294),l=n(902);const o=Symbol("EmptyContext"),r=a.createContext(o);function c(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(r.Provider,{value:o},t)}function i(){const e=(0,a.useContext)(r);if(e===o)throw new l.i6("DocSidebarItemsExpandedStateProvider");return e}},2730:(e,t,n)=>{n.d(t,{a:()=>r});var a=n(67294),l=n(12466),o=n(85936);function r(e){let{threshold:t}=e;const[n,r]=(0,a.useState)(!1),c=(0,a.useRef)(!1),{startScroll:i,cancelScroll:s}=(0,l.Ct)();return(0,l.RF)(((e,n)=>{let{scrollY:a}=e;const l=n?.scrollY;l&&(c.current?c.current=!1:a>=l?(s(),r(!1)):a{e.location.hash&&(c.current=!0,r(!1))})),{shown:n,scrollToTop:()=>i(0)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9514,4972],{40683:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ke});var a=n(67294),l=n(86010),o=n(10833),r=n(35281),c=n(43320),i=n(53438),s=n(74477),d=n(1116),m=n(89703),u=n(95999),b=n(2730);const p="backToTopButton_sjWU",h="backToTopButtonShow_xfvO";function E(){const{shown:e,scrollToTop:t}=(0,b.a)({threshold:300});return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.Z)("clean-btn",r.k.common.backToTopButton,p,e&&h),type:"button",onClick:t})}var f=n(16550),g=n(87524),v=n(86668),_=n(21327),k=n(87462);function C(e){return a.createElement("svg",(0,k.Z)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const I="collapseSidebarButton_PEFL",N="collapseSidebarButtonIcon_kv0_";function S(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.Z)("button button--secondary button--outline",I),onClick:t},a.createElement(C,{className:N}))}var Z=n(59689),y=n(12466),T=n(14353),x=n(902),L=n(86043),w=n(48596),M=n(39960),A=n(72389);function B(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function F(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,v.L)(),f=function(e){const t=(0,A.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,i.Wl)(e):void 0),[e,t])}(t),g=(0,i._F)(t,o),_=(0,w.Mg)(h,o),{collapsed:C,setCollapsed:I}=(0,L.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:N,setExpandedItem:S}=(0,T.f)(),Z=function(e){void 0===e&&(e=!C),S(e?null:s),I(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,x.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:g,collapsed:C,updateCollapsed:Z}),(0,a.useEffect)((()=>{b&&null!=N&&N!==s&&E&&I(!0)}),[b,N,s,I,E]),a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemCategory,r.k.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":C},p)},a.createElement("div",{className:(0,l.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_})},a.createElement(M.Z,(0,k.Z)({className:(0,l.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":g}),onClick:b?e=>{n?.(t),h?Z(!1):(e.preventDefault(),Z())}:()=>{n?.(t)},"aria-current":_?"page":void 0,"aria-expanded":b?!C:void 0,href:b?f??"#":f},d),u),h&&b&&a.createElement(B,{categoryLabel:u,onClick:e=>{e.preventDefault(),Z()}})),a.createElement(L.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:C},a.createElement(V,{items:m,tabIndex:C?-1:0,onItemClick:n,activePath:o,level:c+1})))}var H=n(13919),P=n(19548);const D="menuExternalLink_NmtK";function W(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,i._F)(t,o),E=(0,H.Z)(m);return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(c),"menu__list-item",b),key:u},a.createElement(M.Z,(0,k.Z)({className:(0,l.Z)("menu__link",!E&&D,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(P.Z,null)))}const R="menuHtmlItem_M9Kj";function z(e){let{item:t,level:n,index:o}=e;const{value:c,defaultStyle:i,className:s}=t;return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(n),i&&[R,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:c}})}function U(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(F,(0,k.Z)({item:t},n));case"html":return a.createElement(z,(0,k.Z)({item:t},n));default:return a.createElement(W,(0,k.Z)({item:t},n))}}function K(e){let{items:t,...n}=e;return a.createElement(T.D,null,t.map(((e,t)=>a.createElement(U,(0,k.Z)({key:t,item:e,index:t},n)))))}const V=(0,a.memo)(K),j="menu_SIkG",G="menuWithAnnouncementBar_GW3s";function Y(e){let{path:t,sidebar:n,className:o}=e;const c=function(){const{isActive:e}=(0,Z.nT)(),[t,n]=(0,a.useState)(e);return(0,y.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{className:(0,l.Z)("menu thin-scrollbar",j,c&&G,o)},a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(V,{items:n,activePath:t,level:1})))}const q="sidebar_njMd",O="sidebarWithHideableNavbar_wUlq",X="sidebarHidden_VK0M",J="sidebarLogo_isFc";function Q(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:c},docs:{sidebar:{hideable:i}}}=(0,v.L)();return a.createElement("div",{className:(0,l.Z)(q,c&&O,r&&X)},c&&a.createElement(_.Z,{tabIndex:-1,className:J}),a.createElement(Y,{path:t,sidebar:n}),i&&a.createElement(S,{onClick:o}))}const $=a.memo(Q);var ee=n(13102),te=n(93163);const ne=e=>{let{sidebar:t,path:n}=e;const o=(0,te.e)();return a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function ae(e){return a.createElement(ee.Zo,{component:ne,props:e})}const le=a.memo(ae);function oe(e){const t=(0,g.i)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement($,e),l&&a.createElement(le,e))}const re="expandButton_m80_",ce="expandButtonIcon_BlDH";function ie(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:re,title:(0,u.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(C,{className:ce}))}const se="docSidebarContainer_b6E3",de="docSidebarContainerHidden_b3ry";function me(e){let{children:t}=e;const n=(0,d.V)();return a.createElement(a.Fragment,{key:n?.name??"noSidebar"},t)}function ue(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:c}=(0,f.TH)(),[i,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{i&&s(!1),o((e=>!e))}),[o,i]);return a.createElement("aside",{className:(0,l.Z)(r.k.docs.docSidebarContainer,se,n&&de),onTransitionEnd:e=>{e.currentTarget.classList.contains(se)&&n&&s(!0)}},a.createElement(me,null,a.createElement(oe,{sidebar:t,path:c,onCollapse:d,isHidden:i})),i&&a.createElement(ie,{toggleSidebar:d}))}const be={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function pe(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.V)();return a.createElement("main",{className:(0,l.Z)(be.docMainContainer,(t||!o)&&be.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.Z)("container padding-top--md padding-bottom--lg",be.docItemWrapper,t&&be.docItemWrapperEnhanced)},n))}const he="docPage__5DB",Ee="docsWrapper_BCFX";function fe(e){let{children:t}=e;const n=(0,d.V)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.Z,{wrapperClassName:Ee},a.createElement(E,null),a.createElement("div",{className:he},n&&a.createElement(ue,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(pe,{hiddenSidebarContainer:l},t)))}var ge=n(4972),ve=n(90197);function _e(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(ve.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),a.createElement(o.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function ke(e){const{versionMetadata:t}=e,n=(0,i.hI)(e);if(!n)return a.createElement(ge.default,null);const{docElement:c,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(_e,e),a.createElement(o.FG,{className:(0,l.Z)(r.k.wrapper.docsPages,r.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:m,items:u},a.createElement(fe,null,c)))))}},4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(67294),l=n(95999),o=n(10833),r=n(89703);function c(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}},14353:(e,t,n)=>{n.d(t,{D:()=>c,f:()=>i});var a=n(67294),l=n(902);const o=Symbol("EmptyContext"),r=a.createContext(o);function c(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(r.Provider,{value:o},t)}function i(){const e=(0,a.useContext)(r);if(e===o)throw new l.i6("DocSidebarItemsExpandedStateProvider");return e}},2730:(e,t,n)=>{n.d(t,{a:()=>r});var a=n(67294),l=n(12466),o=n(85936);function r(e){let{threshold:t}=e;const[n,r]=(0,a.useState)(!1),c=(0,a.useRef)(!1),{startScroll:i,cancelScroll:s}=(0,l.Ct)();return(0,l.RF)(((e,n)=>{let{scrollY:a}=e;const l=n?.scrollY;l&&(c.current?c.current=!1:a>=l?(s(),r(!1)):a{e.location.hash&&(c.current=!0,r(!1))})),{shown:n,scrollToTop:()=>i(0)}}}}]); \ No newline at end of file diff --git a/assets/js/1cd58b57.5595aca5.js b/assets/js/1cd58b57.5595aca5.js deleted file mode 100644 index 6ad87edb1..000000000 --- a/assets/js/1cd58b57.5595aca5.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[8545],{40611:(e,t,o)=>{"use strict";o.d(t,{Z:()=>g});var a=o(87462),s=o(67294),n=o(86390),i=o(18694);const r={React:s,...s,Image:i.Ee,ElectionProvider:i.qT,ElectionHeader:i.UE,ElectionTitle:i.hi,ElectionSchedule:i.vE,ElectionResults:i.Hj,ElectionStatusBadge:i.QW,ElectionDescription:i.I3,ElectionQuestions:i.Vx,OrganizationProvider:i.f0,OrganizationAvatar:i.ld,OrganizationDescription:i.G9,OrganizationHeader:i.sC,OrganizationName:i.X5,Organization:i.cp};var c=o(170),d=o(39805),l=o(14902),u=o(23537);const p="f752b527e2aba395d1ba4c0de9c1471234567890",h="https://picsum.photos/seed/{seed}/1400/300",m={address:p,balance:0,nonce:123,electionIndex:13,account:new u.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:h.replace("{seed}",p),avatar:`https://picsum.photos/seed/${p}/300`,meta:[]})},f=`c5d2460186f7${p}020000000000`,b={electionCount:0,electionId:f,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:u.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:u.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:h.replace("{seed}",f)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},v=u.u_.build({census:new u.pT(b.census.censusRoot,b.census.censusURL,u.oN.censusTypeFromCensusOrigin(b.census.censusOrigin),4,BigInt("40")),creationTime:b.creationTime,electionCount:0,endDate:b.endDate,finalResults:b.finalResults,id:b.electionId,metadataURL:b.metadataURL,organizationId:b.organizationId,raw:b,results:b.result,status:b.status,title:b.metadata.title,description:b.metadata.description,voteCount:b.voteCount,header:b.metadata.media.header,questions:b.metadata.questions,startDate:b.startDate,voteType:b.voteMode,electionType:{autoStart:b.electionMode.autoStart,interruptible:b.electionMode.interruptible,dynamicCensus:b.electionMode.dynamicCensus,secretUntilTheEnd:b.voteMode.encryptedVotes,anonymous:b.voteMode.anonymous}}),g=(y=c.Z,function(e){return e.live?s.createElement(d.x,{theme:(0,l.B1)(i.rS),resetCSS:!1},s.createElement(i.de,{env:"stg"},s.createElement(i.f0,{organization:m},s.createElement(i.qT,{election:v},s.createElement(n.Z,(0,a.Z)({scope:r},e)))))):s.createElement(y,e)});var y},9594:(e,t,o)=>{"use strict";o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>p,default:()=>v,frontMatter:()=>u,metadata:()=>h,toc:()=>f});var a=o(87462),s=(o(67294),o(3905)),n=o(26389),i=o(94891),r=(o(75190),o(47507)),c=o(24310),d=o(63303),l=(o(75035),o(85162));const u={id:"import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",sidebar_label:"Import census database",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{valid:{type:"boolean"}},type:"object"}}},description:"OK"}},tags:["Censuses"],description:"Import the whole census database from a JSON file.",method:"post",path:"/censuses/import/{ipfscid}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Import census database",description:{content:"Import the whole census database from a JSON file.",type:"text/plain"},url:{path:["censuses","import",":ipfscid"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"POST"}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,h={unversionedId:"vocdoni-api/import-census-database",id:"vocdoni-api/import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",source:"@site/docs/vocdoni-api/import-census-database.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/import-census-database",permalink:"/vocdoni-api/import-census-database",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",sidebar_label:"Import census database",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{valid:{type:"boolean"}},type:"object"}}},description:"OK"}},tags:["Censuses"],description:"Import the whole census database from a JSON file.",method:"post",path:"/censuses/import/{ipfscid}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Import census database",description:{content:"Import the whole census database from a JSON file.",type:"text/plain"},url:{path:["censuses","import",":ipfscid"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"POST"}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Export census database",permalink:"/vocdoni-api/export-census-database"},next:{title:"List all census references",permalink:"/vocdoni-api/list-all-census-references"}},m={},f=[{value:"Import census database",id:"import-census-database",level:2}],b={toc:f};function v(e){let{components:t,...o}=e;return(0,s.kt)("wrapper",(0,a.Z)({},b,o,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"import-census-database"},"Import census database"),(0,s.kt)("p",null,"Import the whole census database from a JSON file."),(0,s.kt)("div",null,(0,s.kt)(n.Z,{mdxType:"ApiTabs"},(0,s.kt)(l.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"OK")),(0,s.kt)("div",null,(0,s.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(l.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(d.Z,{mdxType:"SchemaTabs"},(0,s.kt)(l.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(c.Z,{collapsible:!1,name:"valid",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(l.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(r.Z,{responseExample:'{\n "valid": true\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/1cd58b57.baae7498.js b/assets/js/1cd58b57.baae7498.js new file mode 100644 index 000000000..5097d0ffc --- /dev/null +++ b/assets/js/1cd58b57.baae7498.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[8545],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var a=o(87462),s=o(39805),n=o(14902),i=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),p=o(204),h=o(23100),u=o(16393);const m={React:d,...d,Flex:p.k,Box:h.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=o(22457),b=o(37489);const v=(g=i.Z,function(e){if(e.live){let t=b.G;return'"spreadsheet"'===e.title&&(t=b.IS),d.createElement(s.x,{theme:(0,n.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:f.yG.STG,signer:b.Lp.wallet},d.createElement(l.f0,{id:b.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,a.Z)({scope:m},e)))))))}return d.createElement(g,e)});var g},9594:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>v,frontMatter:()=>p,metadata:()=>u,toc:()=>f});var a=o(87462),s=(o(67294),o(3905)),n=o(26389),i=o(94891),r=(o(75190),o(47507)),c=o(24310),l=o(63303),d=(o(75035),o(85162));const p={id:"import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",sidebar_label:"Import census database",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{valid:{type:"boolean"}},type:"object"}}},description:"OK"}},tags:["Censuses"],description:"Import the whole census database from a JSON file.",method:"post",path:"/censuses/import/{ipfscid}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Import census database",description:{content:"Import the whole census database from a JSON file.",type:"text/plain"},url:{path:["censuses","import",":ipfscid"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"POST"}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,u={unversionedId:"vocdoni-api/import-census-database",id:"vocdoni-api/import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",source:"@site/docs/vocdoni-api/import-census-database.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/import-census-database",permalink:"/vocdoni-api/import-census-database",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"import-census-database",title:"Import census database",description:"Import the whole census database from a JSON file.",sidebar_label:"Import census database",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{valid:{type:"boolean"}},type:"object"}}},description:"OK"}},tags:["Censuses"],description:"Import the whole census database from a JSON file.",method:"post",path:"/censuses/import/{ipfscid}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Import census database",description:{content:"Import the whole census database from a JSON file.",type:"text/plain"},url:{path:["censuses","import",":ipfscid"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"POST"}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Export census database",permalink:"/vocdoni-api/export-census-database"},next:{title:"List all census references",permalink:"/vocdoni-api/list-all-census-references"}},m={},f=[{value:"Import census database",id:"import-census-database",level:2}],b={toc:f};function v(e){let{components:t,...o}=e;return(0,s.kt)("wrapper",(0,a.Z)({},b,o,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"import-census-database"},"Import census database"),(0,s.kt)("p",null,"Import the whole census database from a JSON file."),(0,s.kt)("div",null,(0,s.kt)(n.Z,{mdxType:"ApiTabs"},(0,s.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"OK")),(0,s.kt)("div",null,(0,s.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(l.Z,{mdxType:"SchemaTabs"},(0,s.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(c.Z,{collapsible:!1,name:"valid",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(r.Z,{responseExample:'{\n "valid": true\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1cf70006.43c78264.js b/assets/js/1cf70006.43c78264.js new file mode 100644 index 000000000..04d61ab5d --- /dev/null +++ b/assets/js/1cf70006.43c78264.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5267],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>d});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),p=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),m=p(n),d=o,f=m["".concat(u,".").concat(d)]||m[d]||s[d]||a;return n?r.createElement(f,i(i({ref:t},c),{},{components:n})):r.createElement(f,i({ref:t},c))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=m;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var p=2;p{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var r=n(87462),o=(n(67294),n(3905));const a={},i="Layout Components",l={unversionedId:"ui-components/layout",id:"ui-components/layout",title:"Layout Components",description:"Several design components are provided by the ui-components library to help with election formatting.",source:"@site/docs/ui-components/layout.mdx",sourceDirName:"ui-components",slug:"/ui-components/layout",permalink:"/ui-components/layout",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"defaultSidebar",previous:{title:"Election Components",permalink:"/ui-components/election"},next:{title:"Organization Components",permalink:"/ui-components/organization"}},u={},p=[{value:"Button",id:"button",level:2},{value:"Horizonal Rule",id:"horizonal-rule",level:2},{value:"Image",id:"image",level:2},{value:"Markdown",id:"markdown",level:2}],c={toc:p};function s(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"layout-components"},"Layout Components"),(0,o.kt)("p",null,"Several design components are provided by the ui-components library to help with election formatting."),(0,o.kt)("h2",{id:"button"},"Button"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")),(0,o.kt)("h2",{id:"horizonal-rule"},"Horizonal Rule"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"
\n")),(0,o.kt)("h2",{id:"image"},"Image"),(0,o.kt)("p",null,"Displays an image from the given source URL. This component is unique in that it can display images directly from and ",(0,o.kt)("a",{parentName:"p",href:"https://ipfs.io"},"IPFS")," URI. "),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")),(0,o.kt)("h2",{id:"markdown"},"Markdown"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n{\n`# Markdown text example\n- Full featured\n1. **So useful**`\n}\n\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.32e665ba.js b/assets/js/1df93b7f.32e665ba.js new file mode 100644 index 000000000..390d13a3c --- /dev/null +++ b/assets/js/1df93b7f.32e665ba.js @@ -0,0 +1,93 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[3237],{39884:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ve});var l=n(67294),a=n(14141),c=n(63750);const r=e=>{let{className:t="",children:n}=e;return l.createElement(i,{className:t},l.createElement(o,null,l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"54",height:"14",viewBox:"0 0 54 14"},l.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},l.createElement("circle",{cx:"6",cy:"6",r:"6",fill:"#FF5F56",stroke:"#E0443E",strokeWidth:".5"}),l.createElement("circle",{cx:"26",cy:"6",r:"6",fill:"#FFBD2E",stroke:"#DEA123",strokeWidth:".5"}),l.createElement("circle",{cx:"46",cy:"6",r:"6",fill:"#27C93F",stroke:"#1AAB29",strokeWidth:".5"})))),l.createElement(s,null,n))},i=a.ZP.div.attrs({className:"rounded drop-shadow-lg"})` + background-color: #282A36; +`,o=a.ZP.div.attrs({className:"pl-5 py-2"})` +`,s=a.ZP.div.attrs({className:""})` + +`;var h=n(12128);const m=(0,a.ZP)(h.Z)` + & code { + padding-top: 0.65rem; + } +`,v=e=>{let{language:t="",title:n="",timeout:a=50,className:c="",children:r}=e;const[i,o]=(0,l.useState)(""),s=(0,l.useRef)(r);return(0,l.useEffect)((()=>{if(a>0){let e=0;const t=()=>{0===e?(o(r.charAt(e)),e++,setTimeout(t,a)):et+r.charAt(e))),e++,setTimeout(t,a))};t()}else o(r);s.current=r}),[r]),l.createElement(m,{className:c,language:t,title:n},i)},d=a.ZP.p.attrs({className:"text-base leading-6 text-left md:pr-24 pr-0"})``,u=a.ZP.h1.attrs({className:"text-4xl leading-125 text-black font-bold lg:pb-12"})``,p=[{btnText:"Elections",bodyTitle:"Easily create variety of Elections",body:"With just a few simple steps, it is very easy to set up everything, from basic surveys to complex voting systems, with single vote, weighted vote or anonymous, just with a simple configuration flag.",href:"/sdk#creating-a-voting-process",code:"const election = new Election({\n title: 'My awesome Election!',\n description: 'Voting was never so easy!',\n header: 'https://source.unsplash.com/random',\n endDate: new Date().getTime() + 10000000,\n census,\n electionType: {\n secretUntilTheEnd: false,\n anonymous: true\n }\n});\n"},{btnText:"Accounts",bodyTitle:"Create an account associated to your organization",body:"Create an account to be used for your organization with multiple customization attributes. This information will be stored and can be used to brand a specific organization election.",href:"/sdk#registering-account",code:"const account = await client.createAccount({\n account: new Account({\n languages: ['en', 'ca'],\n name: {\n ca: 'Associaci\xf3 civil',\n default: 'Civil association',\n },\n avatar: 'avatar',\n header: 'header',\n }),\n });\n"},{btnText:"Census",bodyTitle:"The Census store an election voters addresses",body:"Use existing ERC-20 token as address or create a new one deterministically for each participant. Use anonymous voting capabilities to maintain the election participants anonymous.",href:"/sdk#creating-a-voting-process",code:"const census = new PlainCensus()\n// accepts any ethereum-alike addresses\ncensus.add(address)\nconst userWallet = \n VocdoniSDKClient.generateWalletFromData(\n ['user1', \n 'sha256OfSomething']\n );\n"},{btnText:"Votes",bodyTitle:"Vote easier as ever!",body:"Implement the voting action was never so easy! You can also use vote overwritte to let an account to vote multiple times, verify the vote and much more.",href:"/sdk#voting-to-a-process",code:'(async () => {\n client.setElectionId(id)\n // votes "Yes" and "Adult (17-60 yo)"\n const vote = new Vote([0, 2]);\n const voteId = await client.submitVote(vote)\n const votesLeft = await client.votesLeftCount();\n console.log(votesLeft) // number of times the user can submit his vote\n})();\n'}];function g(){const[e,t]=(0,l.useState)(p[0]);return l.createElement(f,null,l.createElement(b,null,l.createElement(u,null,"Easy way to get started"),l.createElement(r,{className:"h-72 w-[480px] max-lg:hidden min-w-[480px] absolute"},l.createElement(v,{timeout:1,language:"ts",className:"text-sm"},e.code))),l.createElement(b,null,l.createElement(x,null,p.map(((n,a)=>l.createElement(w,{key:a,selected:n.btnText===e.btnText,onClick:()=>t(p.find((e=>e.btnText===n.btnText)))},n.btnText)))),l.createElement(E,null,l.createElement(Z,null,e.bodyTitle),l.createElement(d,null,e.body)),l.createElement(y,{href:e.href},"Docs ",l.createElement(c.poN,null))))}const f=a.ZP.div.attrs({className:"flex flex-col lg:flex-row justify-start"})``,b=a.ZP.div.attrs({className:"max-w-lg place-content-center lg:w-full lg:mb-8 md:mx-4 lg:flex-1"})``,E=a.ZP.div.attrs({className:"flex flex-col gap-4 lg:h-48"})``,Z=a.ZP.div` + font-weight: 600; + font-size: 28px; + line-height: 115%; +`,x=a.ZP.div.attrs({className:"flex flex-wrap md:justify-between mt-4 md:mt-16 mb-6 gap-4 md:gap-1"})``,w=a.ZP.button` + padding: 8px 16px; + line-height: 125%; + font-weight: 500; + color: #FFFFFF; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25); + border-radius: 50px; + + ${e=>e.selected?"\n background: linear-gradient(90deg, rgba(0, 221, 179, 0.8) 0%, #0044FF 100%);\n box-shadow: inset 0px 2px 2px rgba(255, 255, 255, 0.25);":"background: rgba(255, 255, 255, 0.1);\n border: 1px solid rgba(255, 255, 255, 0.25);\n backdrop-filter: blur(8px);\n color: rgba(0, 0, 0, 0.5);"} +`,y=a.ZP.a.attrs({className:"flex flex-row inline-flex items-center gap-3 border-b-2 border-black py-2 text-black "})``,k=[{title:"SDK",body:"Check the docs for registering an account, creating a voting process, fetch election info, voting to a process and more! ",href:"sdk",linkText:"Review documentation"},{title:"DEMO",body:"A live preview for testing the SDK, connect your wallet and start creating an election in less than 10 sec.",href:"https://vocdoni.github.io/vocdoni-sdk/",linkText:"Try it out!"},{title:"EXAMPLES",body:"Review examples on how to implement Vocdoni SDK into your react applications.",href:"https://github.com/vocdoni/vocdoni-sdk/tree/main/examples",linkText:"See all examples"}],P=e=>{let{title:t="",body:n="",linkText:a="",href:r=""}=e;return l.createElement(F,null,l.createElement("span",null,l.createElement("a",{href:r},l.createElement(D,null,t)),l.createElement(A,null,n)),l.createElement(M,null,l.createElement(S,{href:r},a,l.createElement(c.poN,null))))};function T(){return l.createElement(l.Fragment,null,l.createElement(j,null,l.createElement(O,null,l.createElement(u,null,"Create and integrate",l.createElement("br",null)," applications quickly and easily.")),l.createElement(O,null)),l.createElement(N,null,l.createElement(C,null,k.map(((e,t)=>l.createElement(P,{key:t,title:e.title,body:e.body,linkText:e.linkText,href:e.href}))))))}const N=a.ZP.div.attrs({className:"flex flex-col lg:gap-12"})``,O=a.ZP.div.attrs({className:"max-w-lg place-content-center lg:w-full lg:mb-8 md:mx-4 lg:flex-1 lg:whitespace-nowrap lg:w-[500px]"})` + //width: 500px; +`,j=a.ZP.div.attrs({className:"flex flex-col lg:flex-row justify-start"})``,C=a.ZP.div.attrs({className:"grid md:grid-cols-3 gap-2"})``,F=a.ZP.div.attrs({className:"max-w-sm p-5 bg-white shadow-md flex flex-col justify-between"})` + transition: background .4s ease-in; + + background: linear-gradient(202.06deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); + box-shadow: inset -1px 1px 4px rgba(255, 255, 255, 0.25); + filter: drop-shadow(-2px 2px 16px rgba(0, 0, 0, 0.1)); + backdrop-filter: blur(4px); + border-radius: 8px; + &:hover { + background: linear-gradient(77.73deg, rgba(255,255,255,1) 0%, rgba(142,0,255,0.75) 40%, rgba(0,221,179,1) 100%); + } +`,D=a.ZP.h5.attrs({className:"mb-2 text-black font-bold"})``,A=a.ZP.p.attrs({className:"mb-3 font-normal text-sm text-black"})``,S=a.ZP.a.attrs({className:"inline-flex gap-3 items-center hover:underline text-black pt-7 place-items-end"})` + font-style: normal; + font-weight: 700; + font-size: 16px; + line-height: 125%; + +`,M=a.ZP.div.attrs({className:"flex justify-end"})``;function B(){return l.createElement(l.Fragment,null,l.createElement(z,null,l.createElement(I,null,"Develop secure & private digital voting apps with few lines of code"),l.createElement(d,null,"Designed for developers, abstracting the complexities involved in secure and private voting protocols. Create AGMs, elections and proposals with ease, multiple election types, check voter eligibility and much more!"),l.createElement(d,null,"Try it out!"),l.createElement("div",null,l.createElement(V,{href:"/intro"},"Get Started"),l.createElement(H,{href:"https://chat.vocdoni.io/"},l.createElement(c.KpZ,null)," chat.vocdoni.io "))),l.createElement(z,null,l.createElement(r,{className:"h-72 mt-5"},l.createElement(v,{timeout:1,language:"typescript",className:"text-sm"},"const election = new Election({\n title: 'My awesome Election!',\n description: 'Voting was never so easy!',\n header: 'https://source.unsplash.com/random',\n endDate: new Date().getTime() + 10000000,\n census,\n electionType: {\n secretUntilTheEnd: false,\n anonymous: true\n }\n});\n"))))}const z=a.ZP.div.attrs({className:"lg:place-content-center w-full mb-8 md:mb-0 md:mt-10"})` + max-width: 500px; +`,I=a.ZP.h1` + font-size: 38px; + line-height: 125%; + color: #000000; + font-weight: bold; +`,V=a.ZP.a` + padding: 12px 16px; + gap: 8px; + + background: rgb(255,255,255); + background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(142,0,255,0.25) 40%, rgba(0,221,179,0.85) 100%); + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); + backdrop-filter: blur(8px); + color: rgb(28, 30, 33); + + /* Note: backdrop-filter has minimal browser support */ + border-radius: 8px; + font-weight: bold; +`,H=a.ZP.a` + color: black; + display: inline-flex; + gap: 10px; + padding-left: 25px; + align-items: center; + font-weight: bold; +`;var L,R;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",G({width:1446,height:2159,viewBox:"0 0 1446 2159",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,L||(L=l.createElement("path",{d:"M1600.74 1156.76 0 2158.66V1001.82L1600.74 0v1156.76Z",fill:"url(#a)"})),R||(R=l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:-.226,y1:1079.33,x2:1600.74,y2:1079.33,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#8E00FF",stopOpacity:0}),l.createElement("stop",{offset:1,stopColor:"#00DDB3"})))))};var W,K=n(89703);function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",q({width:56,height:84,viewBox:"0 0 56 84",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,W||(W=l.createElement("path",{d:"m14.232 11.53 10.11-5.514a6.844 6.844 0 0 1 6.566.005l10.11 5.515a6.953 6.953 0 0 1 2.656 2.573 7.064 7.064 0 0 1 .978 3.588v13.107c0 3.716-1.746 7.136-5.502 10.77-2.488 2.424-5.657 4.677-8.723 6.855l-.206.147-1.676 1.195a1.584 1.584 0 0 1-1.846 0l-1.676-1.195-.057-.04c-3.111-2.212-6.328-4.499-8.872-6.961-3.751-3.635-5.496-7.055-5.496-10.77V17.696c-.001-1.265.336-2.505.976-3.591a6.956 6.956 0 0 1 2.658-2.576ZM7.257 67.113c.85-.34 1.38-1.1 1.38-2.11 0-1.19-.9-2.23-2.39-2.23h-3.2v7h1.57v-2.47h.98l1.51 2.47h1.84v-.1l-1.69-2.56Zm-2.64-2.94h1.55c.61 0 .86.42.86.84 0 .44-.23.89-.86.89h-1.55v-1.73Zm7.269 5.69c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm6.296 3.26c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm3.818-5.85c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm2.441 0h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm7.88.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm5.338 0c.49 0 .9-.09 1.06-.15v-1.28h-.1c-.16.06-.33.09-.5.09-.46 0-.67-.21-.67-.7v-1.97h1.25v-1.31h-1.25v-1.37h-.1l-1.37.28v1.09h-.92v1.31h.85v2.34c0 .95.54 1.67 1.75 1.67Zm3.587 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm3.44 1.11h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm8.11.09c.49 0 .9-.09 1.06-.15v-1.28h-.1c-.16.06-.33.09-.5.09-.46 0-.67-.21-.67-.7v-1.97h1.25v-1.31h-1.25v-1.37h-.1l-1.37.28v1.09h-.92v1.31h.85v2.34c0 .95.54 1.67 1.75 1.67Zm-46.287 11c1.78 0 2.96-1.22 3.1-2.66h-1.59c-.12.66-.57 1.25-1.51 1.25-1.16 0-1.79-.76-1.79-2.17s.63-2.18 1.79-2.18c.98 0 1.44.64 1.5 1.31h1.6c-.1-1.48-1.31-2.73-3.1-2.73-2.25 0-3.39 1.58-3.39 3.6 0 1.99 1.14 3.58 3.39 3.58Zm6.24 0c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.226 3.17h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm7.881.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm5.397 0c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm3.363 1.26h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm5.957.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm3.037-.09h1.54v-2.9c0-.63.44-1.02.99-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04v-2.67H40.2v7.4Zm6.63-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm2.441 2.29h1.54v-2.79h.04c.25.3.65.59 1.39.59 1.32 0 2.12-1.14 2.12-2.7 0-1.57-.82-2.71-2.12-2.71-.74 0-1.14.29-1.39.59h-.04l-.16-.5h-1.38v7.52Zm2.5-3.55c-.78 0-1.03-.62-1.03-1.35 0-.73.27-1.36 1.03-1.36s1.03.63 1.03 1.36c0 .73-.25 1.35-1.03 1.35Z",fill:"#000"})))};var X;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",Y({width:56,height:72,viewBox:"0 0 56 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,X||(X=l.createElement("path",{d:"M42.92 6.906H13.321a5.92 5.92 0 0 0-5.92 5.92v29.597a5.92 5.92 0 0 0 5.92 5.92h29.597a5.92 5.92 0 0 0 5.92-5.92V12.826a5.92 5.92 0 0 0-5.92-5.92Zm-2.96 31.077a1.48 1.48 0 0 1-1.48 1.48h-5.92a1.48 1.48 0 0 1 0-2.96h2.347L19.241 20.838v2.348a1.48 1.48 0 0 1-2.96 0v-5.92a1.48 1.48 0 0 1 1.48-1.48h5.92a1.48 1.48 0 0 1 0 2.96h-2.347L37 34.411v-2.347a1.48 1.48 0 1 1 2.96 0v5.92ZM11.81 69.863c2.1 0 2.92-.9 2.92-2.15 0-1.37-.99-1.9-2.29-2.17l-.95-.2c-.65-.14-.79-.38-.79-.65 0-.29.28-.61 1.1-.61.83 0 1.18.42 1.22.88h1.59c-.01-1.34-1.19-2.28-2.79-2.28-1.65 0-2.73.83-2.73 2.01 0 1.34.95 1.84 2.16 2.1l1.02.22c.62.13.85.36.85.74 0 .42-.35.72-1.31.72-.76 0-1.29-.34-1.36-1.1H8.86c.09 1.51 1.08 2.49 2.95 2.49Zm6.048 0c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm4.708 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm3.44 1.11h1.54v-7.4h-1.54v7.4Zm4.022.09c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm6.41 1.2c1.32 0 2.12-1.14 2.12-2.71 0-1.56-.8-2.7-2.12-2.7-.74 0-1.14.29-1.39.59h-.04v-2.67h-1.54v7.4h1.38l.16-.5h.04c.25.3.65.59 1.39.59Zm-.47-1.35c-.76 0-1.03-.63-1.03-1.36 0-.73.25-1.35 1.03-1.35s1.03.62 1.03 1.35c0 .73-.27 1.36-1.03 1.36Zm3.34 1.26h1.54v-7.4h-1.54v7.4Zm4.781.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var _;function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",J({width:56,height:72,viewBox:"0 0 56 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,_||(_=l.createElement("path",{d:"M50.155 27.297a24.989 24.989 0 0 0-9.017-9.94 24.837 24.837 0 0 0-13.263-3.821c-4.71 0-9.297 1.32-13.263 3.82a24.987 24.987 0 0 0-9.018 9.94l-.164.328.164.328a24.987 24.987 0 0 0 9.018 9.94 24.835 24.835 0 0 0 13.263 3.82c4.71 0 9.297-1.32 13.263-3.82a24.982 24.982 0 0 0 9.017-9.94l.164-.328-.164-.327Zm-22.28 7.688c-4.06 0-7.361-3.302-7.361-7.36 0-4.06 3.302-7.361 7.36-7.361 4.059 0 7.361 3.302 7.361 7.36 0 4.059-3.302 7.361-7.36 7.361ZM5.61 69.773H7.5l2.47-6.9v-.1H8.15l-1.59 5.13h-.04l-1.62-5.13H3.11v.1l2.5 6.9Zm6.597.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.227 3.17h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm4.666-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm3.052 0h1.54v-3.93h1.24v-1.3h-1.24v-.27c0-.5.29-.68.79-.68.15 0 .33.02.5.05v-1.3c-.18-.04-.38-.07-.64-.07-1.22 0-2.19.72-2.19 2v.27h-.91v1.3h.91v3.93Zm4.457-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm4.821.09c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm4.708 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm6.41 1.2c1.32 0 2.12-1.14 2.12-2.71 0-1.56-.8-2.7-2.12-2.7-.74 0-1.14.29-1.39.59h-.04v-2.67h-1.54v7.4h1.38l.16-.5h.04c.25.3.65.59 1.39.59Zm-.47-1.35c-.76 0-1.03-.63-1.03-1.36 0-.73.25-1.35 1.03-1.35s1.03.62 1.03 1.35c0 .73-.27 1.36-1.03 1.36Zm3.34 1.26h1.54v-7.4h-1.54v7.4Zm4.782.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var te,ne;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",le({width:62,height:73,viewBox:"0 0 62 73",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,te||(te=l.createElement("path",{d:"M33.78 35.626c4-1.537 6.007-6.034 4.47-10.035s-6.033-6.008-10.034-4.47c-4.002 1.536-6.009 6.033-4.472 10.034a7.756 7.756 0 0 0 4.472 4.47l-5.234 13.643c-11.533-4.433-17.3-17.377-12.867-28.91C14.548 8.824 27.48 3.058 39.012 7.49c11.534 4.433 17.3 17.376 12.868 28.91a22.376 22.376 0 0 1-12.868 12.867L33.78 35.626Z",fill:"#000"})),ne||(ne=l.createElement("path",{d:"M39.013 50.068c-.114 0-.216-.025-.33-.063a.8.8 0 0 1-.42-.445L33.03 35.918a.803.803 0 0 1 .457-1.029 6.954 6.954 0 0 0 3.875-3.67c.762-1.703.8-3.595.14-5.336-1.373-3.582-5.412-5.385-9.006-4.014-3.582 1.372-5.386 5.412-4.002 9.006a7.033 7.033 0 0 0 4.002 4.014.793.793 0 0 1 .457 1.03L23.72 49.56a.8.8 0 0 1-.42.445.782.782 0 0 1-.61.012c-5.779-2.222-10.352-6.554-12.866-12.206-2.515-5.653-2.68-11.953-.47-17.733 2.235-5.792 6.567-10.364 12.219-12.88 5.652-2.514 11.953-2.68 17.732-.47 5.78 2.223 10.352 6.555 12.867 12.207 2.515 5.653 2.68 11.953.47 17.732a23.207 23.207 0 0 1-13.324 13.338.936.936 0 0 1-.305.063ZM30.985 6.78c-2.985 0-5.957.623-8.764 1.88-5.259 2.35-9.298 6.593-11.369 11.978-2.07 5.386-1.905 11.242.432 16.513 2.236 5.017 6.212 8.93 11.229 11.064l4.662-12.169a8.571 8.571 0 0 1-4.192-4.61c-1.69-4.408.52-9.375 4.928-11.077 4.408-1.69 9.374.52 11.064 4.928a8.445 8.445 0 0 1-.178 6.555 8.507 8.507 0 0 1-4.027 4.191l4.662 12.169a21.57 21.57 0 0 0 11.66-12.105c2.071-5.386 1.906-11.241-.431-16.513-2.35-5.259-6.593-9.298-11.978-11.368a21.371 21.371 0 0 0-7.698-1.436ZM50.913 46.83a1.439 1.439 0 0 0-.432 1.053c0 .42.152.775.444 1.08.292.292.648.445 1.067.445.42 0 .762-.153 1.055-.445.292-.292.444-.66.444-1.067 0-.406-.14-.762-.432-1.054a1.422 1.422 0 0 0-1.067-.457c-.432 0-.787.14-1.08.444Zm2.35 2.362a1.754 1.754 0 0 1-1.27.508c-.509 0-.94-.178-1.296-.521-.356-.356-.521-.788-.521-1.296 0-.533.19-.978.571-1.32.356-.33.775-.496 1.258-.496.508 0 .927.178 1.283.533.356.356.533.788.533 1.283-.012.521-.203.953-.559 1.309Zm-1.118-1.906a.991.991 0 0 0-.305-.038h-.127v.585h.203a.498.498 0 0 0 .292-.077c.064-.05.102-.127.102-.24 0-.115-.051-.191-.165-.23Zm-.953 1.614v-2.02h.978c.165.013.292.05.394.102.178.101.267.254.267.482 0 .165-.051.292-.14.369a.64.64 0 0 1-.356.14.698.698 0 0 1 .292.114c.115.101.178.241.178.457v.241c0 .026.013.038.013.064l.013.05h-.509a3.003 3.003 0 0 1-.038-.279c0-.127-.012-.203-.038-.241-.025-.076-.076-.114-.152-.153a1.35 1.35 0 0 0-.178-.038l-.114-.012h-.115v.71h-.495v.014ZM4.6 69.863c2.25 0 3.4-1.59 3.4-3.59 0-2.01-1.15-3.59-3.4-3.59-2.26 0-3.4 1.58-3.4 3.59 0 2 1.14 3.59 3.4 3.59Zm0-1.42c-1.16 0-1.8-.76-1.8-2.17s.63-2.17 1.8-2.17c1.16 0 1.8.76 1.8 2.17s-.64 2.17-1.8 2.17Zm4.203 3.62h1.54v-2.79h.04c.25.3.65.59 1.39.59 1.32 0 2.12-1.14 2.12-2.7 0-1.57-.82-2.71-2.12-2.71-.74 0-1.14.29-1.39.59h-.04l-.16-.5h-1.38v7.52Zm2.5-3.55c-.78 0-1.03-.62-1.03-1.35 0-.73.27-1.36 1.03-1.36s1.03.63 1.03 1.36c0 .73-.25 1.35-1.03 1.35Zm5.68 1.35c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.226 3.17h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5H20.2v5.23Zm11.263.09c2.1 0 2.92-.9 2.92-2.15 0-1.37-.99-1.9-2.29-2.17l-.95-.2c-.65-.14-.79-.38-.79-.65 0-.29.28-.61 1.1-.61.83 0 1.18.42 1.22.88h1.59c-.01-1.34-1.19-2.28-2.79-2.28-1.65 0-2.73.83-2.73 2.01 0 1.34.95 1.84 2.16 2.1l1.02.22c.62.13.85.36.85.74 0 .42-.35.72-1.31.72-.76 0-1.29-.34-1.36-1.1h-1.59c.09 1.51 1.08 2.49 2.95 2.49Zm6.029 0c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm6.612-3.97v2.91c0 .6-.25.96-.85.96-.61 0-.86-.36-.86-.96v-2.91h-1.54v3.14c0 1.11.68 2.18 2.39 2.18h.01c1.71 0 2.39-1.07 2.39-2.18v-3.14h-1.54Zm2.541 5.23h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm6.267.09c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm5.468 0c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var ce;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return l.createElement("svg",re({width:57,height:73,viewBox:"0 0 57 73",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?l.createElement("title",{id:n},t):null,ce||(ce=l.createElement("path",{d:"M31.667 6.897c-9.005-.635-16.53 6.172-17.123 14.881h-.042v.423c0 1.437-.55 3.678-1.226 4.989-.719 1.352-1.437 2.663-2.03 3.593-.591.93.085 2.114 1.185 2.114h2.114v7.695a2.788 2.788 0 0 0 2.79 2.79h4.397v3.847c0 .719.718 1.226 1.395 1.015l18.433-6.257a1.55 1.55 0 0 0 1.057-1.48V33.32a15.776 15.776 0 0 0 3.89-10.908c-.254-8.117-6.723-14.923-14.84-15.515Zm-.127 24.478a1.842 1.842 0 0 1-1.226.465c-.465 0-.888-.17-1.268-.465-.339-.296-.55-.761-.55-1.31 0-.508.17-.93.507-1.269.338-.338.761-.507 1.269-.507.507 0 .93.17 1.268.507.338.338.507.761.507 1.268.043.55-.169 1.015-.507 1.311Zm4.44-10.95c-.254.508-.593.93-.973 1.31-.38.381-1.057.973-2.03 1.861l-.634.634c-.169.17-.296.338-.38.508-.085.169-.127.295-.17.465-.042.169-.126.422-.21.803-.17.803-.635 1.226-1.396 1.226-.423 0-.761-.127-1.057-.423-.296-.254-.423-.676-.423-1.184 0-.676.085-1.226.296-1.733.212-.465.465-.93.803-1.268.339-.38.804-.804 1.353-1.31.508-.424.888-.762 1.1-1.016.21-.211.422-.465.55-.76.168-.297.21-.593.21-.889 0-.634-.253-1.183-.718-1.606-.465-.423-1.057-.634-1.818-.634-.888 0-1.522.211-1.903.676-.422.423-.76 1.1-1.057 1.945-.253.888-.76 1.353-1.522 1.353-.422 0-.803-.17-1.099-.465-.21-.338-.38-.677-.38-1.057 0-.761.254-1.522.719-2.283.465-.761 1.183-1.395 2.114-1.902.93-.508 1.986-.761 3.213-.761 1.141 0 2.156.21 3.043.634.888.422 1.565 1.014 2.03 1.733.465.719.718 1.522.718 2.367 0 .677-.126 1.269-.38 1.776ZM5.444 62.773h-2.01l-2.4 6.9v.1h1.66l.41-1.33h2.6l.41 1.33h1.74v-.1l-2.41-6.9Zm-1.91 4.29.85-2.72h.04l.85 2.72h-1.74Zm4.921 2.71h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm8.17.09c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm3.363 1.26h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm6.58 2.29h1.67l2.63-7.42v-.1h-1.66l-1.13 3.71h-.04l-1.06-3.71h-1.58v.1l1.66 5.13h.26l-.75 2.19v.1Zm11.025-7.61c-.78 0-1.29.37-1.56.71h-.03c-.31-.46-.85-.71-1.56-.71-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .82.36.82.96v2.96h1.52v-2.9c0-.62.32-1.02.87-1.02.61 0 .82.36.82.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88Zm5.204 5.41c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm6.613-3.97v2.91c0 .6-.25.96-.85.96-.61 0-.86-.36-.86-.96v-2.91h-1.54v3.14c0 1.11.68 2.18 2.39 2.18h.01c1.71 0 2.39-1.07 2.39-2.18v-3.14h-1.54Zm4.611 5.32c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Z",fill:"#000"})))};function oe(){return l.createElement(l.Fragment,null,l.createElement(se,null,l.createElement(u,null,"A first generation voting protocol"),l.createElement(d,null,"A completely anonymous voting system that guarantees the availability of the data and a censorship resistant of the data and a communication protocol resistant to censorship. Based on decentralised technologies such as Ethereum, Daichain, Tendermint, IPFS and zero-knowledge proofs."),l.createElement(me,null,l.createElement(Q,null),l.createElement(ee,null),l.createElement(ae,null),l.createElement($,null),l.createElement(ie,null))),l.createElement(se,null,l.createElement(he,null,l.createElement("img",{src:"img/landing/hands_up.png",alt:"hands up"}))))}const se=a.ZP.div.attrs({className:"place-content-center w-full "})` + max-width: 500px; +`,he=a.ZP.div.attrs({className:"pb-10"})` +`,me=a.ZP.div.attrs({className:"flex flex-row gap-3 items-start justify-start"})` +`;function ve(){return l.createElement(l.Fragment,null,l.createElement(ge,null,l.createElement(K.Z,null,l.createElement(de,null,l.createElement(U,null)),l.createElement(ue,null,l.createElement(pe,null,l.createElement(B,null)),l.createElement(pe,null,l.createElement(T,null)),l.createElement(pe,null,l.createElement(g,null)),l.createElement(pe,null,l.createElement(oe,null))))))}const de=a.ZP.div` + overflow: hidden; + width: 100%; + position: absolute; + z-index: -1; + object-fit: contain; + height: 2500px; + + & > svg { + position: absolute; + right: 0; + top: 0; + } +`,ue=a.ZP.div.attrs({})` + opacity: 0.7; + background: var(--voc-landing-background-gradient); +`,pe=a.ZP.div.attrs({className:"flex flex-wrap w-auto sm:flex-column px-4 py-4 md:place-content-center md:place-items-center lg:pb-24 lg:h-[90vh]"})``,ge=a.ZP.span` + & .navbar { + background: var(--voc-navbar-landing-background-gradient); + } +`},12128:(e,t,n)=>{n.d(t,{Z:()=>f});var l=n(87462),a=n(39805),c=n(14902),r=n(170),i=n(86390),o=n(65429),s=n(14758),h=n(67294),m=n(204),v=n(23100),d=n(16393);const u={React:h,...h,Flex:m.k,Box:v.xu,AspectRatio:d.o,Image:o.Ee,ElectionProvider:s.qT,ElectionHeader:o.UE,ElectionTitle:o.hi,ElectionSchedule:o.vE,ElectionResults:o.Hj,ElectionStatusBadge:o.QW,ElectionDescription:o.I3,ElectionQuestions:o.Vx,ElectionActions:o.A2,Election:o.bO,QuestionsConfirmation:o.KX,SpreadsheetAccess:o.cB,VoteButton:o.tT,OrganizationProvider:s.f0,OrganizationAvatar:o.ld,OrganizationDescription:o.G9,OrganizationHeader:o.sC,OrganizationName:o.X5,Balance:o.yo,Button:o.zx,HR:o.HR,Image:o.Ee,Markdown:o.UG};var p=n(22457),g=n(37489);const f=(b=r.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),h.createElement(a.x,{theme:(0,c.B1)(o.rS),resetCSS:!1},h.createElement(o.de,{env:p.yG.STG,signer:g.Lp.wallet},h.createElement(s.f0,{id:g.fD},h.createElement(s.qT,{id:t,fetchCensus:!0},h.createElement(o.DG,null,h.createElement(i.Z,(0,l.Z)({scope:u},e)))))))}return h.createElement(b,e)});var b}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.c2bd2738.js b/assets/js/1df93b7f.c2bd2738.js deleted file mode 100644 index c5c23c2d5..000000000 --- a/assets/js/1df93b7f.c2bd2738.js +++ /dev/null @@ -1,93 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[3237],{39884:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>de});var a=n(67294),l=n(14141),c=n(63750);const r=e=>{let{className:t="",children:n}=e;return a.createElement(s,{className:t},a.createElement(i,null,a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"54",height:"14",viewBox:"0 0 54 14"},a.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},a.createElement("circle",{cx:"6",cy:"6",r:"6",fill:"#FF5F56",stroke:"#E0443E",strokeWidth:".5"}),a.createElement("circle",{cx:"26",cy:"6",r:"6",fill:"#FFBD2E",stroke:"#DEA123",strokeWidth:".5"}),a.createElement("circle",{cx:"46",cy:"6",r:"6",fill:"#27C93F",stroke:"#1AAB29",strokeWidth:".5"})))),a.createElement(o,null,n))},s=l.ZP.div.attrs({className:"rounded drop-shadow-lg"})` - background-color: #282A36; -`,i=l.ZP.div.attrs({className:"pl-5 py-2"})` -`,o=l.ZP.div.attrs({className:""})` - -`;var m=n(40611);const h=(0,l.ZP)(m.Z)` - & code { - padding-top: 0.65rem; - } -`,d=e=>{let{language:t="",title:n="",timeout:l=50,className:c="",children:r}=e;const[s,i]=(0,a.useState)(""),o=(0,a.useRef)(r);return(0,a.useEffect)((()=>{if(l>0){let e=0;const t=()=>{0===e?(i(r.charAt(e)),e++,setTimeout(t,l)):et+r.charAt(e))),e++,setTimeout(t,l))};t()}else i(r);o.current=r}),[r]),a.createElement(h,{className:c,language:t,title:n},s)},u=l.ZP.p.attrs({className:"text-base leading-6 text-left md:pr-24 pr-0"})``,v=l.ZP.h1.attrs({className:"text-4xl leading-125 text-black font-bold lg:pb-12"})``;function p(){return a.createElement(a.Fragment,null,a.createElement(g,null,a.createElement(b,null,"Develop secure & private digital voting apps with few lines of code"),a.createElement(u,null,"Designed for developers, abstracting the complexities involved in secure and private voting protocols. Create AGMs, elections and proposals with ease, multiple election types, check voter eligibility and much more!"),a.createElement(u,null,"Try it out!"),a.createElement("div",null,a.createElement(f,{href:"/intro"},"Get Started"),a.createElement(E,{href:"https://chat.vocdoni.io/"},a.createElement(c.KpZ,null)," chat.vocdoni.io "))),a.createElement(g,null,a.createElement(r,{className:"h-72 mt-5"},a.createElement(d,{timeout:1,language:"typescript",className:"text-sm"},"const election = new Election({\n title: 'My awesome Election!',\n description: 'Voting was never so easy!',\n header: 'https://source.unsplash.com/random',\n endDate: new Date().getTime() + 10000000,\n census,\n electionType: {\n secretUntilTheEnd: false,\n anonymous: true\n }\n});\n"))))}const g=l.ZP.div.attrs({className:"lg:place-content-center w-full mb-8 md:mb-0 md:mt-10"})` - max-width: 500px; -`,b=l.ZP.h1` - font-size: 38px; - line-height: 125%; - color: #000000; - font-weight: bold; -`,f=l.ZP.a` - padding: 12px 16px; - gap: 8px; - - background: rgb(255,255,255); - background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(142,0,255,0.25) 40%, rgba(0,221,179,0.85) 100%); - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); - backdrop-filter: blur(8px); - color: rgb(28, 30, 33); - - /* Note: backdrop-filter has minimal browser support */ - border-radius: 8px; - font-weight: bold; -`,E=l.ZP.a` - color: black; - display: inline-flex; - gap: 10px; - padding-left: 25px; - align-items: center; - font-weight: bold; -`,Z=[{title:"SDK",body:"Check the docs for registering an account, creating a voting process, fetch election info, voting to a process and more! ",href:"sdk",linkText:"Review documentation"},{title:"DEMO",body:"A live preview for testing the SDK, connect your wallet and start creating an election in less than 10 sec.",href:"https://vocdoni.github.io/vocdoni-sdk/",linkText:"Try it out!"},{title:"EXAMPLES",body:"Review examples on how to implement Vocdoni SDK into your react applications.",href:"https://github.com/vocdoni/vocdoni-sdk/tree/main/examples",linkText:"See all examples"}],x=e=>{let{title:t="",body:n="",linkText:l="",href:r=""}=e;return a.createElement(O,null,a.createElement("span",null,a.createElement("a",{href:r},a.createElement(N,null,t)),a.createElement(C,null,n)),a.createElement(D,null,a.createElement(j,{href:r},l,a.createElement(c.poN,null))))};function w(){return a.createElement(a.Fragment,null,a.createElement(T,null,a.createElement(k,null,a.createElement(v,null,"Create and integrate",a.createElement("br",null)," applications quickly and easily.")),a.createElement(k,null)),a.createElement(y,null,a.createElement(P,null,Z.map(((e,t)=>a.createElement(x,{key:t,title:e.title,body:e.body,linkText:e.linkText,href:e.href}))))))}const y=l.ZP.div.attrs({className:"flex flex-col lg:gap-12"})``,k=l.ZP.div.attrs({className:"max-w-lg place-content-center lg:w-full lg:mb-8 md:mx-4 lg:flex-1 lg:whitespace-nowrap lg:w-[500px]"})` - //width: 500px; -`,T=l.ZP.div.attrs({className:"flex flex-col lg:flex-row justify-start"})``,P=l.ZP.div.attrs({className:"grid md:grid-cols-3 gap-2"})``,O=l.ZP.div.attrs({className:"max-w-sm p-5 bg-white shadow-md flex flex-col justify-between"})` - transition: background .4s ease-in; - - background: linear-gradient(202.06deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); - box-shadow: inset -1px 1px 4px rgba(255, 255, 255, 0.25); - filter: drop-shadow(-2px 2px 16px rgba(0, 0, 0, 0.1)); - backdrop-filter: blur(4px); - border-radius: 8px; - &:hover { - background: linear-gradient(77.73deg, rgba(255,255,255,1) 0%, rgba(142,0,255,0.75) 40%, rgba(0,221,179,1) 100%); - } -`,N=l.ZP.h5.attrs({className:"mb-2 text-black font-bold"})``,C=l.ZP.p.attrs({className:"mb-3 font-normal text-sm text-black"})``,j=l.ZP.a.attrs({className:"inline-flex gap-3 items-center hover:underline text-black pt-7 place-items-end"})` - font-style: normal; - font-weight: 700; - font-size: 16px; - line-height: 125%; - -`,D=l.ZP.div.attrs({className:"flex justify-end"})``,M=[{btnText:"Elections",bodyTitle:"Easily create variety of Elections",body:"With just a few simple steps, it is very easy to set up everything, from basic surveys to complex voting systems, with single vote, weighted vote or anonymous, just with a simple configuration flag.",href:"/sdk#creating-a-voting-process",code:"const election = new Election({\n title: 'My awesome Election!',\n description: 'Voting was never so easy!',\n header: 'https://source.unsplash.com/random',\n endDate: new Date().getTime() + 10000000,\n census,\n electionType: {\n secretUntilTheEnd: false,\n anonymous: true\n }\n});\n"},{btnText:"Accounts",bodyTitle:"Create an account associated to your organization",body:"Create an account to be used for your organization with multiple customization attributes. This information will be stored and can be used to brand a specific organization election.",href:"/sdk#registering-account",code:"const account = await client.createAccount({\n account: new Account({\n languages: ['en', 'ca'],\n name: {\n ca: 'Associaci\xf3 civil',\n default: 'Civil association',\n },\n avatar: 'avatar',\n header: 'header',\n }),\n });\n"},{btnText:"Census",bodyTitle:"The Census store an election voters addresses",body:"Use existing ERC-20 token as address or create a new one deterministically for each participant. Use anonymous voting capabilities to maintain the election participants anonymous.",href:"/sdk#creating-a-voting-process",code:"const census = new PlainCensus()\n// accepts any ethereum-alike addresses\ncensus.add(address)\nconst userWallet = \n VocdoniSDKClient.generateWalletFromData(\n ['user1', \n 'sha256OfSomething']\n );\n"},{btnText:"Votes",bodyTitle:"Vote easier as ever!",body:"Implement the voting action was never so easy! You can also use vote overwritte to let an account to vote multiple times, verify the vote and much more.",href:"/sdk#voting-to-a-process",code:'(async () => {\n client.setElectionId(id)\n // votes "Yes" and "Adult (17-60 yo)"\n const vote = new Vote([0, 2]);\n const voteId = await client.submitVote(vote)\n const votesLeft = await client.votesLeftCount();\n console.log(votesLeft) // number of times the user can submit his vote\n})();\n'}];function F(){const[e,t]=(0,a.useState)(M[0]);return a.createElement(R,null,a.createElement(z,null,a.createElement(v,null,"Easy way to get started"),a.createElement(r,{className:"h-72 w-[480px] max-lg:hidden min-w-[480px] absolute"},a.createElement(d,{timeout:1,language:"ts",className:"text-sm"},e.code))),a.createElement(z,null,a.createElement(A,null,M.map(((n,l)=>a.createElement(V,{key:l,selected:n.btnText===e.btnText,onClick:()=>t(M.find((e=>e.btnText===n.btnText)))},n.btnText)))),a.createElement(S,null,a.createElement(I,null,e.bodyTitle),a.createElement(u,null,e.body)),a.createElement(L,{href:e.href},"Docs ",a.createElement(c.poN,null))))}const R=l.ZP.div.attrs({className:"flex flex-col lg:flex-row justify-start"})``,z=l.ZP.div.attrs({className:"max-w-lg place-content-center lg:w-full lg:mb-8 md:mx-4 lg:flex-1"})``,S=l.ZP.div.attrs({className:"flex flex-col gap-4 lg:h-48"})``,I=l.ZP.div` - font-weight: 600; - font-size: 28px; - line-height: 115%; -`,A=l.ZP.div.attrs({className:"flex flex-wrap md:justify-between mt-4 md:mt-16 mb-6 gap-4 md:gap-1"})``,V=l.ZP.button` - padding: 8px 16px; - line-height: 125%; - font-weight: 500; - color: #FFFFFF; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25); - border-radius: 50px; - - ${e=>e.selected?"\n background: linear-gradient(90deg, rgba(0, 221, 179, 0.8) 0%, #0044FF 100%);\n box-shadow: inset 0px 2px 2px rgba(255, 255, 255, 0.25);":"background: rgba(255, 255, 255, 0.1);\n border: 1px solid rgba(255, 255, 255, 0.25);\n backdrop-filter: blur(8px);\n color: rgba(0, 0, 0, 0.5);"} -`,L=l.ZP.a.attrs({className:"flex flex-row inline-flex items-center gap-3 border-b-2 border-black py-2 text-black "})``;var U,B;function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",H({width:1446,height:2159,viewBox:"0 0 1446 2159",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,U||(U=a.createElement("path",{d:"M1600.74 1156.76 0 2158.66V1001.82L1600.74 0v1156.76Z",fill:"url(#a)"})),B||(B=a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:-.226,y1:1079.33,x2:1600.74,y2:1079.33,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#8E00FF",stopOpacity:0}),a.createElement("stop",{offset:1,stopColor:"#00DDB3"})))))};var W;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",G({width:56,height:84,viewBox:"0 0 56 84",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,W||(W=a.createElement("path",{d:"m14.232 11.53 10.11-5.514a6.844 6.844 0 0 1 6.566.005l10.11 5.515a6.953 6.953 0 0 1 2.656 2.573 7.064 7.064 0 0 1 .978 3.588v13.107c0 3.716-1.746 7.136-5.502 10.77-2.488 2.424-5.657 4.677-8.723 6.855l-.206.147-1.676 1.195a1.584 1.584 0 0 1-1.846 0l-1.676-1.195-.057-.04c-3.111-2.212-6.328-4.499-8.872-6.961-3.751-3.635-5.496-7.055-5.496-10.77V17.696c-.001-1.265.336-2.505.976-3.591a6.956 6.956 0 0 1 2.658-2.576ZM7.257 67.113c.85-.34 1.38-1.1 1.38-2.11 0-1.19-.9-2.23-2.39-2.23h-3.2v7h1.57v-2.47h.98l1.51 2.47h1.84v-.1l-1.69-2.56Zm-2.64-2.94h1.55c.61 0 .86.42.86.84 0 .44-.23.89-.86.89h-1.55v-1.73Zm7.269 5.69c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm6.296 3.26c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm3.818-5.85c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm2.441 0h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm7.88.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm5.338 0c.49 0 .9-.09 1.06-.15v-1.28h-.1c-.16.06-.33.09-.5.09-.46 0-.67-.21-.67-.7v-1.97h1.25v-1.31h-1.25v-1.37h-.1l-1.37.28v1.09h-.92v1.31h.85v2.34c0 .95.54 1.67 1.75 1.67Zm3.587 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm3.44 1.11h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm8.11.09c.49 0 .9-.09 1.06-.15v-1.28h-.1c-.16.06-.33.09-.5.09-.46 0-.67-.21-.67-.7v-1.97h1.25v-1.31h-1.25v-1.37h-.1l-1.37.28v1.09h-.92v1.31h.85v2.34c0 .95.54 1.67 1.75 1.67Zm-46.287 11c1.78 0 2.96-1.22 3.1-2.66h-1.59c-.12.66-.57 1.25-1.51 1.25-1.16 0-1.79-.76-1.79-2.17s.63-2.18 1.79-2.18c.98 0 1.44.64 1.5 1.31h1.6c-.1-1.48-1.31-2.73-3.1-2.73-2.25 0-3.39 1.58-3.39 3.6 0 1.99 1.14 3.58 3.39 3.58Zm6.24 0c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.226 3.17h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm7.881.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm5.397 0c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm3.363 1.26h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm5.957.09c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Zm3.037-.09h1.54v-2.9c0-.63.44-1.02.99-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04v-2.67H40.2v7.4Zm6.63-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm2.441 2.29h1.54v-2.79h.04c.25.3.65.59 1.39.59 1.32 0 2.12-1.14 2.12-2.7 0-1.57-.82-2.71-2.12-2.71-.74 0-1.14.29-1.39.59h-.04l-.16-.5h-1.38v7.52Zm2.5-3.55c-.78 0-1.03-.62-1.03-1.35 0-.73.27-1.36 1.03-1.36s1.03.63 1.03 1.36c0 .73-.25 1.35-1.03 1.35Z",fill:"#000"})))};var _;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",Y({width:56,height:72,viewBox:"0 0 56 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,_||(_=a.createElement("path",{d:"M42.92 6.906H13.321a5.92 5.92 0 0 0-5.92 5.92v29.597a5.92 5.92 0 0 0 5.92 5.92h29.597a5.92 5.92 0 0 0 5.92-5.92V12.826a5.92 5.92 0 0 0-5.92-5.92Zm-2.96 31.077a1.48 1.48 0 0 1-1.48 1.48h-5.92a1.48 1.48 0 0 1 0-2.96h2.347L19.241 20.838v2.348a1.48 1.48 0 0 1-2.96 0v-5.92a1.48 1.48 0 0 1 1.48-1.48h5.92a1.48 1.48 0 0 1 0 2.96h-2.347L37 34.411v-2.347a1.48 1.48 0 1 1 2.96 0v5.92ZM11.81 69.863c2.1 0 2.92-.9 2.92-2.15 0-1.37-.99-1.9-2.29-2.17l-.95-.2c-.65-.14-.79-.38-.79-.65 0-.29.28-.61 1.1-.61.83 0 1.18.42 1.22.88h1.59c-.01-1.34-1.19-2.28-2.79-2.28-1.65 0-2.73.83-2.73 2.01 0 1.34.95 1.84 2.16 2.1l1.02.22c.62.13.85.36.85.74 0 .42-.35.72-1.31.72-.76 0-1.29-.34-1.36-1.1H8.86c.09 1.51 1.08 2.49 2.95 2.49Zm6.048 0c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm4.708 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm3.44 1.11h1.54v-7.4h-1.54v7.4Zm4.022.09c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm6.41 1.2c1.32 0 2.12-1.14 2.12-2.71 0-1.56-.8-2.7-2.12-2.7-.74 0-1.14.29-1.39.59h-.04v-2.67h-1.54v7.4h1.38l.16-.5h.04c.25.3.65.59 1.39.59Zm-.47-1.35c-.76 0-1.03-.63-1.03-1.36 0-.73.25-1.35 1.03-1.35s1.03.62 1.03 1.35c0 .73-.27 1.36-1.03 1.36Zm3.34 1.26h1.54v-7.4h-1.54v7.4Zm4.781.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var Q;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",X({width:56,height:72,viewBox:"0 0 56 72",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,Q||(Q=a.createElement("path",{d:"M50.155 27.297a24.989 24.989 0 0 0-9.017-9.94 24.837 24.837 0 0 0-13.263-3.821c-4.71 0-9.297 1.32-13.263 3.82a24.987 24.987 0 0 0-9.018 9.94l-.164.328.164.328a24.987 24.987 0 0 0 9.018 9.94 24.835 24.835 0 0 0 13.263 3.82c4.71 0 9.297-1.32 13.263-3.82a24.982 24.982 0 0 0 9.017-9.94l.164-.328-.164-.327Zm-22.28 7.688c-4.06 0-7.361-3.302-7.361-7.36 0-4.06 3.302-7.361 7.36-7.361 4.059 0 7.361 3.302 7.361 7.36 0 4.059-3.302 7.361-7.36 7.361ZM5.61 69.773H7.5l2.47-6.9v-.1H8.15l-1.59 5.13h-.04l-1.62-5.13H3.11v.1l2.5 6.9Zm6.597.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.227 3.17h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm4.666-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm3.052 0h1.54v-3.93h1.24v-1.3h-1.24v-.27c0-.5.29-.68.79-.68.15 0 .33.02.5.05v-1.3c-.18-.04-.38-.07-.64-.07-1.22 0-2.19.72-2.19 2v.27h-.91v1.3h.91v3.93Zm4.457-5.76c.59 0 .93-.34.93-.9 0-.55-.34-.89-.93-.89-.61 0-.93.34-.93.89 0 .56.32.9.93.9Zm-.78 5.76h1.54v-5.23h-1.54v5.23Zm4.821.09c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm4.708 0c.65 0 1.11-.23 1.4-.56h.04l.11.47h1.38v-3.44c0-1.09-.86-1.88-2.29-1.88-1.54 0-2.25.84-2.25 1.82h1.44c0-.32.28-.58.76-.58.57 0 .8.28.8.64v.43c-.21-.07-.73-.15-1.12-.15-1.44 0-2.1.64-2.1 1.61 0 .93.65 1.64 1.83 1.64Zm.39-1.2c-.46 0-.7-.22-.7-.52 0-.28.26-.5.76-.5.3 0 .62.04.94.17v.05c0 .43-.37.8-1 .8Zm6.41 1.2c1.32 0 2.12-1.14 2.12-2.71 0-1.56-.8-2.7-2.12-2.7-.74 0-1.14.29-1.39.59h-.04v-2.67h-1.54v7.4h1.38l.16-.5h.04c.25.3.65.59 1.39.59Zm-.47-1.35c-.76 0-1.03-.63-1.03-1.36 0-.73.25-1.35 1.03-1.35s1.03.62 1.03 1.35c0 .73-.27 1.36-1.03 1.36Zm3.34 1.26h1.54v-7.4h-1.54v7.4Zm4.782.09c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var ee,te;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",ne({width:62,height:73,viewBox:"0 0 62 73",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,ee||(ee=a.createElement("path",{d:"M33.78 35.626c4-1.537 6.007-6.034 4.47-10.035s-6.033-6.008-10.034-4.47c-4.002 1.536-6.009 6.033-4.472 10.034a7.756 7.756 0 0 0 4.472 4.47l-5.234 13.643c-11.533-4.433-17.3-17.377-12.867-28.91C14.548 8.824 27.48 3.058 39.012 7.49c11.534 4.433 17.3 17.376 12.868 28.91a22.376 22.376 0 0 1-12.868 12.867L33.78 35.626Z",fill:"#000"})),te||(te=a.createElement("path",{d:"M39.013 50.068c-.114 0-.216-.025-.33-.063a.8.8 0 0 1-.42-.445L33.03 35.918a.803.803 0 0 1 .457-1.029 6.954 6.954 0 0 0 3.875-3.67c.762-1.703.8-3.595.14-5.336-1.373-3.582-5.412-5.385-9.006-4.014-3.582 1.372-5.386 5.412-4.002 9.006a7.033 7.033 0 0 0 4.002 4.014.793.793 0 0 1 .457 1.03L23.72 49.56a.8.8 0 0 1-.42.445.782.782 0 0 1-.61.012c-5.779-2.222-10.352-6.554-12.866-12.206-2.515-5.653-2.68-11.953-.47-17.733 2.235-5.792 6.567-10.364 12.219-12.88 5.652-2.514 11.953-2.68 17.732-.47 5.78 2.223 10.352 6.555 12.867 12.207 2.515 5.653 2.68 11.953.47 17.732a23.207 23.207 0 0 1-13.324 13.338.936.936 0 0 1-.305.063ZM30.985 6.78c-2.985 0-5.957.623-8.764 1.88-5.259 2.35-9.298 6.593-11.369 11.978-2.07 5.386-1.905 11.242.432 16.513 2.236 5.017 6.212 8.93 11.229 11.064l4.662-12.169a8.571 8.571 0 0 1-4.192-4.61c-1.69-4.408.52-9.375 4.928-11.077 4.408-1.69 9.374.52 11.064 4.928a8.445 8.445 0 0 1-.178 6.555 8.507 8.507 0 0 1-4.027 4.191l4.662 12.169a21.57 21.57 0 0 0 11.66-12.105c2.071-5.386 1.906-11.241-.431-16.513-2.35-5.259-6.593-9.298-11.978-11.368a21.371 21.371 0 0 0-7.698-1.436ZM50.913 46.83a1.439 1.439 0 0 0-.432 1.053c0 .42.152.775.444 1.08.292.292.648.445 1.067.445.42 0 .762-.153 1.055-.445.292-.292.444-.66.444-1.067 0-.406-.14-.762-.432-1.054a1.422 1.422 0 0 0-1.067-.457c-.432 0-.787.14-1.08.444Zm2.35 2.362a1.754 1.754 0 0 1-1.27.508c-.509 0-.94-.178-1.296-.521-.356-.356-.521-.788-.521-1.296 0-.533.19-.978.571-1.32.356-.33.775-.496 1.258-.496.508 0 .927.178 1.283.533.356.356.533.788.533 1.283-.012.521-.203.953-.559 1.309Zm-1.118-1.906a.991.991 0 0 0-.305-.038h-.127v.585h.203a.498.498 0 0 0 .292-.077c.064-.05.102-.127.102-.24 0-.115-.051-.191-.165-.23Zm-.953 1.614v-2.02h.978c.165.013.292.05.394.102.178.101.267.254.267.482 0 .165-.051.292-.14.369a.64.64 0 0 1-.356.14.698.698 0 0 1 .292.114c.115.101.178.241.178.457v.241c0 .026.013.038.013.064l.013.05h-.509a3.003 3.003 0 0 1-.038-.279c0-.127-.012-.203-.038-.241-.025-.076-.076-.114-.152-.153a1.35 1.35 0 0 0-.178-.038l-.114-.012h-.115v.71h-.495v.014ZM4.6 69.863c2.25 0 3.4-1.59 3.4-3.59 0-2.01-1.15-3.59-3.4-3.59-2.26 0-3.4 1.58-3.4 3.59 0 2 1.14 3.59 3.4 3.59Zm0-1.42c-1.16 0-1.8-.76-1.8-2.17s.63-2.17 1.8-2.17c1.16 0 1.8.76 1.8 2.17s-.64 2.17-1.8 2.17Zm4.203 3.62h1.54v-2.79h.04c.25.3.65.59 1.39.59 1.32 0 2.12-1.14 2.12-2.7 0-1.57-.82-2.71-2.12-2.71-.74 0-1.14.29-1.39.59h-.04l-.16-.5h-1.38v7.52Zm2.5-3.55c-.78 0-1.03-.62-1.03-1.35 0-.73.27-1.36 1.03-1.36s1.03.63 1.03 1.36c0 .73-.25 1.35-1.03 1.35Zm5.68 1.35c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Zm4.226 3.17h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5H20.2v5.23Zm11.263.09c2.1 0 2.92-.9 2.92-2.15 0-1.37-.99-1.9-2.29-2.17l-.95-.2c-.65-.14-.79-.38-.79-.65 0-.29.28-.61 1.1-.61.83 0 1.18.42 1.22.88h1.59c-.01-1.34-1.19-2.28-2.79-2.28-1.65 0-2.73.83-2.73 2.01 0 1.34.95 1.84 2.16 2.1l1.02.22c.62.13.85.36.85.74 0 .42-.35.72-1.31.72-.76 0-1.29-.34-1.36-1.1h-1.59c.09 1.51 1.08 2.49 2.95 2.49Zm6.029 0c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm6.612-3.97v2.91c0 .6-.25.96-.85.96-.61 0-.86-.36-.86-.96v-2.91h-1.54v3.14c0 1.11.68 2.18 2.39 2.18h.01c1.71 0 2.39-1.07 2.39-2.18v-3.14h-1.54Zm2.541 5.23h1.44v-2.58c0-.84.47-1.33 1.2-1.33h.5v-1.41h-.36c-.67 0-1.11.39-1.34.85h-.04l-.12-.76h-1.28v5.23Zm6.267.09c1.52 0 2.31-.94 2.38-2.15h-1.55c-.05.46-.37.8-.87.8-.65 0-1.02-.41-1.02-1.36 0-.94.37-1.35 1.02-1.35.5 0 .82.34.87.8h1.55c-.07-1.21-.87-2.15-2.42-2.15-1.67 0-2.59 1.12-2.59 2.7 0 1.59.96 2.71 2.63 2.71Zm5.468 0c1.43 0 2.26-.83 2.4-1.77h-1.49c-.09.24-.34.52-.91.52-.7 0-1.01-.43-1.02-1.04h3.49v-.57c0-1.42-.9-2.55-2.5-2.55-1.7 0-2.56 1.23-2.56 2.71 0 1.5.94 2.7 2.59 2.7Zm-1.01-3.26c.03-.5.32-.89.98-.89.61 0 .9.39.93.89h-1.91Z",fill:"#000"})))};var le;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...l}=e;return a.createElement("svg",ce({width:57,height:73,viewBox:"0 0 57 73",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?a.createElement("title",{id:n},t):null,le||(le=a.createElement("path",{d:"M31.667 6.897c-9.005-.635-16.53 6.172-17.123 14.881h-.042v.423c0 1.437-.55 3.678-1.226 4.989-.719 1.352-1.437 2.663-2.03 3.593-.591.93.085 2.114 1.185 2.114h2.114v7.695a2.788 2.788 0 0 0 2.79 2.79h4.397v3.847c0 .719.718 1.226 1.395 1.015l18.433-6.257a1.55 1.55 0 0 0 1.057-1.48V33.32a15.776 15.776 0 0 0 3.89-10.908c-.254-8.117-6.723-14.923-14.84-15.515Zm-.127 24.478a1.842 1.842 0 0 1-1.226.465c-.465 0-.888-.17-1.268-.465-.339-.296-.55-.761-.55-1.31 0-.508.17-.93.507-1.269.338-.338.761-.507 1.269-.507.507 0 .93.17 1.268.507.338.338.507.761.507 1.268.043.55-.169 1.015-.507 1.311Zm4.44-10.95c-.254.508-.593.93-.973 1.31-.38.381-1.057.973-2.03 1.861l-.634.634c-.169.17-.296.338-.38.508-.085.169-.127.295-.17.465-.042.169-.126.422-.21.803-.17.803-.635 1.226-1.396 1.226-.423 0-.761-.127-1.057-.423-.296-.254-.423-.676-.423-1.184 0-.676.085-1.226.296-1.733.212-.465.465-.93.803-1.268.339-.38.804-.804 1.353-1.31.508-.424.888-.762 1.1-1.016.21-.211.422-.465.55-.76.168-.297.21-.593.21-.889 0-.634-.253-1.183-.718-1.606-.465-.423-1.057-.634-1.818-.634-.888 0-1.522.211-1.903.676-.422.423-.76 1.1-1.057 1.945-.253.888-.76 1.353-1.522 1.353-.422 0-.803-.17-1.099-.465-.21-.338-.38-.677-.38-1.057 0-.761.254-1.522.719-2.283.465-.761 1.183-1.395 2.114-1.902.93-.508 1.986-.761 3.213-.761 1.141 0 2.156.21 3.043.634.888.422 1.565 1.014 2.03 1.733.465.719.718 1.522.718 2.367 0 .677-.126 1.269-.38 1.776ZM5.444 62.773h-2.01l-2.4 6.9v.1h1.66l.41-1.33h2.6l.41 1.33h1.74v-.1l-2.41-6.9Zm-1.91 4.29.85-2.72h.04l.85 2.72h-1.74Zm4.921 2.71h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm8.17.09c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm3.363 1.26h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .88.36.88.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23Zm6.58 2.29h1.67l2.63-7.42v-.1h-1.66l-1.13 3.71h-.04l-1.06-3.71h-1.58v.1l1.66 5.13h.26l-.75 2.19v.1Zm11.025-7.61c-.78 0-1.29.37-1.56.71h-.03c-.31-.46-.85-.71-1.56-.71-.68 0-1.14.25-1.43.59h-.04l-.12-.5h-1.38v5.23h1.54v-2.9c0-.63.4-1.02.95-1.02.61 0 .82.36.82.96v2.96h1.52v-2.9c0-.62.32-1.02.87-1.02.61 0 .82.36.82.96v2.96h1.54v-3.44c0-1.16-.78-1.88-1.94-1.88Zm5.204 5.41c1.7 0 2.61-1.14 2.61-2.7 0-1.57-.93-2.71-2.61-2.71-1.68 0-2.61 1.14-2.61 2.71s.91 2.7 2.61 2.7Zm0-1.35c-.63 0-1.04-.4-1.04-1.35 0-.94.4-1.36 1.04-1.36s1.04.41 1.04 1.36c0 .95-.4 1.35-1.04 1.35Zm6.613-3.97v2.91c0 .6-.25.96-.85.96-.61 0-.86-.36-.86-.96v-2.91h-1.54v3.14c0 1.11.68 2.18 2.39 2.18h.01c1.71 0 2.39-1.07 2.39-2.18v-3.14h-1.54Zm4.611 5.32c1.33 0 2.29-.59 2.29-1.67 0-1.1-.75-1.47-1.55-1.62l-1-.19c-.25-.05-.39-.16-.39-.36 0-.2.23-.36.61-.36.52 0 .7.3.69.54h1.52c0-.97-.82-1.75-2.18-1.75-1.4 0-2.15.7-2.15 1.55 0 1.05.76 1.48 1.6 1.64l.77.15c.36.07.53.18.53.41 0 .18-.19.38-.74.38s-.78-.29-.78-.58h-1.54c.03 1.07.69 1.86 2.32 1.86Z",fill:"#000"})))};function se(){return a.createElement(a.Fragment,null,a.createElement(ie,null,a.createElement(v,null,"A first generation voting protocol"),a.createElement(u,null,"A completely anonymous voting system that guarantees the availability of the data and a censorship resistant of the data and a communication protocol resistant to censorship. Based on decentralised technologies such as Ethereum, Daichain, Tendermint, IPFS and zero-knowledge proofs."),a.createElement(me,null,a.createElement(K,null),a.createElement(J,null),a.createElement(ae,null),a.createElement($,null),a.createElement(re,null))),a.createElement(ie,null,a.createElement(oe,null,a.createElement("img",{src:"img/landing/hands_up.png",alt:"hands up"}))))}const ie=l.ZP.div.attrs({className:"place-content-center w-full "})` - max-width: 500px; -`,oe=l.ZP.div.attrs({className:"pb-10"})` -`,me=l.ZP.div.attrs({className:"flex flex-row gap-3 items-start justify-start"})` -`;var he=n(78193);function de(){return a.createElement(a.Fragment,null,a.createElement(ge,null,a.createElement(he.Z,null,a.createElement(ue,null,a.createElement(q,null)),a.createElement(ve,null,a.createElement(pe,null,a.createElement(p,null)),a.createElement(pe,null,a.createElement(w,null)),a.createElement(pe,null,a.createElement(F,null)),a.createElement(pe,null,a.createElement(se,null))))))}const ue=l.ZP.div` - overflow: hidden; - width: 100%; - position: absolute; - z-index: -1; - object-fit: contain; - height: 2500px; - - & > svg { - position: absolute; - right: 0; - top: 0; - } -`,ve=l.ZP.div.attrs({})` - opacity: 0.7; - background: var(--voc-landing-background-gradient); -`,pe=l.ZP.div.attrs({className:"flex flex-wrap w-auto sm:flex-column px-4 py-4 md:place-content-center md:place-items-center lg:pb-24 lg:h-[90vh]"})``,ge=l.ZP.span` - & .navbar { - background: var(--voc-navbar-landing-background-gradient); - } -`},40611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(87462),l=n(67294),c=n(86390),r=n(18694);const s={React:l,...l,Image:r.Ee,ElectionProvider:r.qT,ElectionHeader:r.UE,ElectionTitle:r.hi,ElectionSchedule:r.vE,ElectionResults:r.Hj,ElectionStatusBadge:r.QW,ElectionDescription:r.I3,ElectionQuestions:r.Vx,OrganizationProvider:r.f0,OrganizationAvatar:r.ld,OrganizationDescription:r.G9,OrganizationHeader:r.sC,OrganizationName:r.X5,Organization:r.cp};var i=n(170),o=n(39805),m=n(14902),h=n(23537);const d="f752b527e2aba395d1ba4c0de9c1471234567890",u="https://picsum.photos/seed/{seed}/1400/300",v={address:d,balance:0,nonce:123,electionIndex:13,account:new h.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:u.replace("{seed}",d),avatar:`https://picsum.photos/seed/${d}/300`,meta:[]})},p=`c5d2460186f7${d}020000000000`,g={electionCount:0,electionId:p,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:h.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:h.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:u.replace("{seed}",p)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},b=h.u_.build({census:new h.pT(g.census.censusRoot,g.census.censusURL,h.oN.censusTypeFromCensusOrigin(g.census.censusOrigin),4,BigInt("40")),creationTime:g.creationTime,electionCount:0,endDate:g.endDate,finalResults:g.finalResults,id:g.electionId,metadataURL:g.metadataURL,organizationId:g.organizationId,raw:g,results:g.result,status:g.status,title:g.metadata.title,description:g.metadata.description,voteCount:g.voteCount,header:g.metadata.media.header,questions:g.metadata.questions,startDate:g.startDate,voteType:g.voteMode,electionType:{autoStart:g.electionMode.autoStart,interruptible:g.electionMode.interruptible,dynamicCensus:g.electionMode.dynamicCensus,secretUntilTheEnd:g.voteMode.encryptedVotes,anonymous:g.voteMode.anonymous}}),f=(E=i.Z,function(e){return e.live?l.createElement(o.x,{theme:(0,m.B1)(r.rS),resetCSS:!1},l.createElement(r.de,{env:"stg"},l.createElement(r.f0,{organization:v},l.createElement(r.qT,{election:b},l.createElement(c.Z,(0,a.Z)({scope:s},e)))))):l.createElement(E,e)});var E},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/22155637.8d9fac60.js b/assets/js/22155637.8d9fac60.js new file mode 100644 index 000000000..4cb76a4cb --- /dev/null +++ b/assets/js/22155637.8d9fac60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5268],{12128:(e,t,i)=>{i.d(t,{Z:()=>f});var a=i(87462),o=i(39805),s=i(14902),n=i(170),r=i(86390),c=i(65429),l=i(14758),d=i(67294),p=i(204),h=i(23100),u=i(16393);const m={React:d,...d,Flex:p.k,Box:h.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var v=i(22457),g=i(37489);const f=(y=n.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(o.x,{theme:(0,s.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:v.yG.STG,signer:g.Lp.wallet},d.createElement(l.f0,{id:g.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,a.Z)({scope:m},e)))))))}return d.createElement(y,e)});var y},95321:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>f,frontMatter:()=>p,metadata:()=>u,toc:()=>v});var a=i(87462),o=(i(67294),i(3905)),s=i(26389),n=i(94891),r=(i(75190),i(47507)),c=i(24310),l=i(63303),d=(i(75035),i(85162));const p={id:"list-validators",title:"List validators",description:"Returns the list of validators",sidebar_label:"List validators",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{validators:{items:{properties:{address:{type:"string"},joinHeight:{type:"integer"},name:{type:"string"},power:{type:"integer"},proposals:{type:"integer"},pubKey:{type:"string"},score:{type:"integer"},validatorAddress:{type:"string"},votes:{type:"integer"}},type:"object"},type:"array"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of validators",method:"get",path:"/chain/validators",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List validators",description:{content:"Returns the list of validators",type:"text/plain"},url:{path:["chain","validators"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,u={unversionedId:"vocdoni-api/list-validators",id:"vocdoni-api/list-validators",title:"List validators",description:"Returns the list of validators",source:"@site/docs/vocdoni-api/list-validators.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-validators",permalink:"/vocdoni-api/list-validators",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-validators",title:"List validators",description:"Returns the list of validators",sidebar_label:"List validators",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{validators:{items:{properties:{address:{type:"string"},joinHeight:{type:"integer"},name:{type:"string"},power:{type:"integer"},proposals:{type:"integer"},pubKey:{type:"string"},score:{type:"integer"},validatorAddress:{type:"string"},votes:{type:"integer"}},type:"object"},type:"array"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of validators",method:"get",path:"/chain/validators",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List validators",description:{content:"Returns the list of validators",type:"text/plain"},url:{path:["chain","validators"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Transaction by block height and index",permalink:"/vocdoni-api/transaction-by-block-height-and-index"},next:{title:"Accounts",permalink:"/vocdoni-api/accounts"}},m={},v=[{value:"List validators",id:"list-validators",level:2}],g={toc:v};function f(e){let{components:t,...i}=e;return(0,o.kt)("wrapper",(0,a.Z)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"list-validators"},"List validators"),(0,o.kt)("p",null,"Returns the list of validators"),(0,o.kt)("div",null,(0,o.kt)(s.Z,{mdxType:"ApiTabs"},(0,o.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,o.kt)("div",null,(0,o.kt)("p",null,"OK")),(0,o.kt)("div",null,(0,o.kt)(n.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,o.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,o.kt)(l.Z,{mdxType:"SchemaTabs"},(0,o.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,o.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,o.kt)("summary",{style:{textAlign:"left"}},(0,o.kt)("strong",null,"Schema")),(0,o.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,o.kt)("ul",{style:{marginLeft:"1rem"}},(0,o.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,o.kt)("details",{style:{}},(0,o.kt)("summary",{style:{}},(0,o.kt)("strong",null,"validators"),(0,o.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,o.kt)("div",{style:{marginLeft:"1rem"}},(0,o.kt)(c.Z,{collapsible:!1,name:"address",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"joinHeight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"name",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"power",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"proposals",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"pubKey",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"score",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"validatorAddress",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"votes",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,o.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,o.kt)(r.Z,{responseExample:'{\n "validators": [\n {\n "address": "string",\n "joinHeight": 0,\n "name": "string",\n "power": 0,\n "proposals": 0,\n "pubKey": "string",\n "score": 0,\n "validatorAddress": "string",\n "votes": 0\n }\n ]\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/22155637.ed881385.js b/assets/js/22155637.ed881385.js deleted file mode 100644 index 59d168bf8..000000000 --- a/assets/js/22155637.ed881385.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5268],{40611:(e,t,i)=>{"use strict";i.d(t,{Z:()=>y});var a=i(87462),o=i(67294),s=i(86390),n=i(18694);const r={React:o,...o,Image:n.Ee,ElectionProvider:n.qT,ElectionHeader:n.UE,ElectionTitle:n.hi,ElectionSchedule:n.vE,ElectionResults:n.Hj,ElectionStatusBadge:n.QW,ElectionDescription:n.I3,ElectionQuestions:n.Vx,OrganizationProvider:n.f0,OrganizationAvatar:n.ld,OrganizationDescription:n.G9,OrganizationHeader:n.sC,OrganizationName:n.X5,Organization:n.cp};var c=i(170),d=i(39805),l=i(14902),p=i(23537);const u="f752b527e2aba395d1ba4c0de9c1471234567890",h="https://picsum.photos/seed/{seed}/1400/300",m={address:u,balance:0,nonce:123,electionIndex:13,account:new p.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:h.replace("{seed}",u),avatar:`https://picsum.photos/seed/${u}/300`,meta:[]})},v=`c5d2460186f7${u}020000000000`,g={electionCount:0,electionId:v,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:p.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:p.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:h.replace("{seed}",v)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},f=p.u_.build({census:new p.pT(g.census.censusRoot,g.census.censusURL,p.oN.censusTypeFromCensusOrigin(g.census.censusOrigin),4,BigInt("40")),creationTime:g.creationTime,electionCount:0,endDate:g.endDate,finalResults:g.finalResults,id:g.electionId,metadataURL:g.metadataURL,organizationId:g.organizationId,raw:g,results:g.result,status:g.status,title:g.metadata.title,description:g.metadata.description,voteCount:g.voteCount,header:g.metadata.media.header,questions:g.metadata.questions,startDate:g.startDate,voteType:g.voteMode,electionType:{autoStart:g.electionMode.autoStart,interruptible:g.electionMode.interruptible,dynamicCensus:g.electionMode.dynamicCensus,secretUntilTheEnd:g.voteMode.encryptedVotes,anonymous:g.voteMode.anonymous}}),y=(b=c.Z,function(e){return e.live?o.createElement(d.x,{theme:(0,l.B1)(n.rS),resetCSS:!1},o.createElement(n.de,{env:"stg"},o.createElement(n.f0,{organization:m},o.createElement(n.qT,{election:f},o.createElement(s.Z,(0,a.Z)({scope:r},e)))))):o.createElement(b,e)});var b},95321:(e,t,i)=>{"use strict";i.r(t),i.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>f,frontMatter:()=>p,metadata:()=>h,toc:()=>v});var a=i(87462),o=(i(67294),i(3905)),s=i(26389),n=i(94891),r=(i(75190),i(47507)),c=i(24310),d=i(63303),l=(i(75035),i(85162));const p={id:"list-validators",title:"List validators",description:"Returns the list of validators",sidebar_label:"List validators",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{validators:{items:{properties:{address:{type:"string"},joinHeight:{type:"integer"},name:{type:"string"},power:{type:"integer"},proposals:{type:"integer"},pubKey:{type:"string"},score:{type:"integer"},validatorAddress:{type:"string"},votes:{type:"integer"}},type:"object"},type:"array"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of validators",method:"get",path:"/chain/validators",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List validators",description:{content:"Returns the list of validators",type:"text/plain"},url:{path:["chain","validators"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,h={unversionedId:"vocdoni-api/list-validators",id:"vocdoni-api/list-validators",title:"List validators",description:"Returns the list of validators",source:"@site/docs/vocdoni-api/list-validators.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-validators",permalink:"/vocdoni-api/list-validators",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-validators",title:"List validators",description:"Returns the list of validators",sidebar_label:"List validators",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{validators:{items:{properties:{address:{type:"string"},joinHeight:{type:"integer"},name:{type:"string"},power:{type:"integer"},proposals:{type:"integer"},pubKey:{type:"string"},score:{type:"integer"},validatorAddress:{type:"string"},votes:{type:"integer"}},type:"object"},type:"array"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of validators",method:"get",path:"/chain/validators",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List validators",description:{content:"Returns the list of validators",type:"text/plain"},url:{path:["chain","validators"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Transaction by block height and index",permalink:"/vocdoni-api/transaction-by-block-height-and-index"},next:{title:"Accounts",permalink:"/vocdoni-api/accounts"}},m={},v=[{value:"List validators",id:"list-validators",level:2}],g={toc:v};function f(e){let{components:t,...i}=e;return(0,o.kt)("wrapper",(0,a.Z)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"list-validators"},"List validators"),(0,o.kt)("p",null,"Returns the list of validators"),(0,o.kt)("div",null,(0,o.kt)(s.Z,{mdxType:"ApiTabs"},(0,o.kt)(l.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,o.kt)("div",null,(0,o.kt)("p",null,"OK")),(0,o.kt)("div",null,(0,o.kt)(n.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,o.kt)(l.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,o.kt)(d.Z,{mdxType:"SchemaTabs"},(0,o.kt)(l.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,o.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,o.kt)("summary",{style:{textAlign:"left"}},(0,o.kt)("strong",null,"Schema")),(0,o.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,o.kt)("ul",{style:{marginLeft:"1rem"}},(0,o.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,o.kt)("details",{style:{}},(0,o.kt)("summary",{style:{}},(0,o.kt)("strong",null,"validators"),(0,o.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,o.kt)("div",{style:{marginLeft:"1rem"}},(0,o.kt)(c.Z,{collapsible:!1,name:"address",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"joinHeight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"name",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"power",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"proposals",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"pubKey",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"score",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"validatorAddress",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,o.kt)(c.Z,{collapsible:!1,name:"votes",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,o.kt)(l.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,o.kt)(r.Z,{responseExample:'{\n "validators": [\n {\n "address": "string",\n "joinHeight": 0,\n "name": "string",\n "power": 0,\n "proposals": 0,\n "pubKey": "string",\n "score": 0,\n "validatorAddress": "string",\n "votes": 0\n }\n ]\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}f.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/2816.9279c064.js b/assets/js/2816.9279c064.js new file mode 100644 index 000000000..64774922d --- /dev/null +++ b/assets/js/2816.9279c064.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2816],{2816:(e,t,s)=>{s.r(t),s.d(t,{SetupWorkerApi:()=>Le,setupWorker:()=>xe});var r=s(80912),n=s(59336);var o=s(786);var i=s(6700);async function a(e,t,s,n,a,l){if(a.emit("request:start",{request:e,requestId:t}),"bypass"===e.headers.get("x-msw-intention"))return a.emit("request:end",{request:e,requestId:t}),void l?.onPassthroughResponse?.(e);const c=await(async e=>{try{const t=await e().catch((e=>{throw e}));return{error:null,data:t}}catch(F){return{error:F,data:null}}})((()=>(async({request:e,requestId:t,handlers:s,resolutionContext:r})=>{let n=null,o=null;for(const i of s)if(o=await i.run({request:e,requestId:t,resolutionContext:r}),null!==o&&(n=i),o?.response)break;return n?{handler:n,parsedResult:o?.parsedResult,response:o?.response}:null})({request:e,requestId:t,handlers:s,resolutionContext:l?.resolutionContext})));if(c.error)throw a.emit("unhandledException",{error:c.error,request:e,requestId:t}),c.error;if(!c.data)return await async function(e,t="warn"){const s=new URL(e.url),n=(0,o.F)(s),i=`intercepted a request without a matching request handler:\n\n \u2022 ${e.method} ${n}\n\nIf you still wish to intercept this unhandled request, please create a request handler for it.\nRead more: https://mswjs.io/docs/getting-started/mocks`;function a(e){switch(e){case"error":throw r.e.error("Error: %s",i),new Error(r.e.formatMessage('Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'));case"warn":r.e.warn("Warning: %s",i);break;case"bypass":break;default:throw new Error(r.e.formatMessage('Failed to react to an unhandled request: unknown strategy "%s". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function as the value of the "onUnhandledRequest" option.',e))}}"function"!=typeof t?"file:"!==s.protocol&&a(t):t(e,{warning:a.bind(null,"warn"),error:a.bind(null,"error")})}(e,n.onUnhandledRequest),a.emit("request:unhandled",{request:e,requestId:t}),a.emit("request:end",{request:e,requestId:t}),void l?.onPassthroughResponse?.(e);const{response:u}=c.data;if(!u)return a.emit("request:end",{request:e,requestId:t}),void l?.onPassthroughResponse?.(e);if(302===u.status&&"passthrough"===u.headers.get("x-msw-intention"))return a.emit("request:end",{request:e,requestId:t}),void l?.onPassthroughResponse?.(e);!function(e,t){i.h.add({...e,url:e.url.toString()},t),i.h.persist()}(e,u),a.emit("request:match",{request:e,requestId:t});const h=c.data,d=l?.transformResponse?.(u)||u;return l?.onMockedResponse?.(d,h),a.emit("request:end",{request:e,requestId:t}),d}var l=s(95002),c=s(36726);class u{subscriptions=[];async dispose(){await Promise.all(this.subscriptions.map((e=>e())))}}class h{constructor(e){this.initialHandlers=e,this.handlers=[...e]}handlers;prepend(e){this.handlers.unshift(...e)}reset(e){this.handlers=e.length>0?[...e]:[...this.initialHandlers]}currentHandlers(){return this.handlers}}class d extends u{handlersController;emitter;publicEmitter;events;constructor(...e){super(),(0,l.kG)(this.validateHandlers(e),r.e.formatMessage("Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?")),this.handlersController=new h(e),this.emitter=new c.Q,this.publicEmitter=new c.Q,function(e,t){const s=e.emit;if(s._isPiped)return;const r=function(e,...r){return t.emit(e,...r),s.call(this,e,...r)};r._isPiped=!0,e.emit=r}(this.emitter,this.publicEmitter),this.events=this.createLifeCycleEvents(),this.subscriptions.push((()=>{this.emitter.removeAllListeners(),this.publicEmitter.removeAllListeners()}))}validateHandlers(e){return e.every((e=>!Array.isArray(e)))}use(...e){(0,l.kG)(this.validateHandlers(e),r.e.formatMessage('Failed to call "use()" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?')),this.handlersController.prepend(e)}restoreHandlers(){this.handlersController.currentHandlers().forEach((e=>{e.isUsed=!1}))}resetHandlers(...e){this.handlersController.reset(e)}listHandlers(){return function(e){const t=[...e];return Object.freeze(t),t}(this.handlersController.currentHandlers())}createLifeCycleEvents(){return{on:(...e)=>this.publicEmitter.on(...e),removeListener:(...e)=>this.publicEmitter.removeListener(...e),removeAllListeners:(...e)=>this.publicEmitter.removeAllListeners(...e)}}}function p(e){return null!=e&&"object"==typeof e&&!Array.isArray(e)}function g(e,t){return Object.entries(t).reduce(((e,[t,s])=>{const r=e[t];return Array.isArray(r)&&Array.isArray(s)?(e[t]=r.concat(s),e):p(r)&&p(s)?(e[t]=g(r,s),e):(e[t]=s,e)}),Object.assign({},e))}var f=s(34155),m=/(%?)(%([sdijo]))/g;function v(e,...t){if(0===t.length)return e;let s=0,r=e.replace(m,((e,r,n,o)=>{const i=function(e,t){switch(t){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if("string"==typeof e)return e;const t=JSON.stringify(e);return"{}"===t||"[]"===t||/^\[object .+?\]$/.test(t)?e:t}}}(t[s],o);return r?e:(s++,i)}));return s{if(!e)throw new y(t,...s)};function b(){if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)return!0;if(void 0!==f){const e=f.type;return"renderer"!==e&&"worker"!==e&&!(!f.versions||!f.versions.node)}return!1}w.as=(e,t,s,...r)=>{if(!t){const t=0===r.length?s:v(s,r);let o;try{o=Reflect.construct(e,[t])}catch(n){o=e(t)}throw o}};var q=async e=>{try{return{error:null,data:await e().catch((e=>{throw e}))}}catch(t){return{error:t,data:null}}};function k(e,t,s){return[e.active,e.installing,e.waiting].filter((e=>null!=e)).find((e=>s(e.scriptURL,t)))||null}var R=async(e,t={},s)=>{const n=new URL(e,location.href).href;const o=await navigator.serviceWorker.getRegistrations().then((e=>e.filter((e=>k(e,n,s)))));!navigator.serviceWorker.controller&&o.length>0&&location.reload();const[i]=o;if(i)return i.update().then((()=>[k(i,n,s),i]));const a=await q((async()=>{const r=await navigator.serviceWorker.register(e,t);return[k(r,n,s),r]}));if(a.error){if(a.error.message.includes("(404)")){const e=new URL(t?.scope||"/",location.href);throw new Error(r.e.formatMessage(`Failed to register a Service Worker for scope ('${e.href}') with script ('${n}'): Service Worker script does not exist at the given path.\n\nDid you forget to run "npx msw init "?\n\nLearn more about creating the Service Worker script: https://mswjs.io/docs/cli/init`))}throw new Error(r.e.formatMessage("Failed to register the Service Worker:\n\n%s",a.error.message))}return a.data};function E(e={}){if(e.quiet)return;const t=e.message||"Mocking enabled.";console.groupCollapsed(`%c${r.e.formatMessage(t)}`,"color:orangered;font-weight:bold;"),console.log("%cDocumentation: %chttps://mswjs.io/docs","font-weight:bold","font-weight:normal"),console.log("Found an issue? https://github.com/mswjs/msw/issues"),e.workerUrl&&console.log("Worker script URL:",e.workerUrl),e.workerScope&&console.log("Worker scope:",e.workerScope),console.groupEnd()}function L(e){if(!["HEAD","GET"].includes(e.method))return e.body}var x=(e,t)=>async(s,o)=>{const i=new class{constructor(e){this.port=e}postMessage(e,...t){const[s,r]=t;this.port.postMessage({type:e,data:s},{transfer:r})}}(s.ports[0]),l=o.payload.id,c=(u=o.payload,new Request(u.url,{...u,body:L(u)}));var u;const h=c.clone(),d=c.clone();n.Z.cache.set(c,d),e.requests.set(l,d);try{await a(c,l,e.getRequestHandlers(),t,e.emitter,{onPassthroughResponse(){i.postMessage("PASSTHROUGH")},async onMockedResponse(s,{handler:r,parsedResult:n}){const o=s.clone(),a=s.clone(),l=function(e){return{status:e.status,statusText:e.statusText,headers:Object.fromEntries(e.headers.entries())}}(s);if(e.supports.readableStreamTransfer){const e=s.body;i.postMessage("MOCK_RESPONSE",{...l,body:e},e?[e]:void 0)}else{const e=null===s.body?null:await o.arrayBuffer();i.postMessage("MOCK_RESPONSE",{...l,body:e})}t.quiet||e.emitter.once("response:mocked",(()=>{r.log({request:h,response:a,parsedResult:n})}))}})}catch(p){p instanceof Error&&(r.e.error('Uncaught exception in the request handler for "%s %s":\n\n%s\n\nThis exception has been gracefully handled as a 500 response, however, it\'s strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses',c.method,c.url,p.stack??p),i.postMessage("MOCK_RESPONSE",{status:500,statusText:"Request Handler Error",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:p.name,message:p.message,stack:p.stack})}))}};var T=new TextEncoder;var S=new Set([101,103,204,205,304]);function P(e){return S.has(e)}var I=Symbol("isPatchedModule"),M=Object.defineProperty,C={};function A(e){return`\x1b[33m${e}\x1b[0m`}function O(e){return`\x1b[34m${e}\x1b[0m`}function H(e){return`\x1b[90m${e}\x1b[0m`}function W(e){return`\x1b[31m${e}\x1b[0m`}function j(e){return`\x1b[32m${e}\x1b[0m`}((e,t)=>{for(var s in t)M(e,s,{get:t[s],enumerable:!0})})(C,{blue:()=>O,gray:()=>H,green:()=>j,red:()=>W,yellow:()=>A});var D=b(),N=class{constructor(e){this.name=e,this.prefix=`[${this.name}]`;const t=G("DEBUG"),s=G("LOG_LEVEL");"1"===t||"true"===t||void 0!==t&&this.name.startsWith(t)?(this.debug=X(s,"debug")?U:this.debug,this.info=X(s,"info")?U:this.info,this.success=X(s,"success")?U:this.success,this.warning=X(s,"warning")?U:this.warning,this.error=X(s,"error")?U:this.error):(this.info=U,this.success=U,this.warning=U,this.error=U,this.only=U)}prefix;extend(e){return new N(`${this.name}:${e}`)}debug(e,...t){this.logEntry({level:"debug",message:H(e),positionals:t,prefix:this.prefix,colors:{prefix:"gray"}})}info(e,...t){this.logEntry({level:"info",message:e,positionals:t,prefix:this.prefix,colors:{prefix:"blue"}});const s=new _;return(e,...t)=>{s.measure(),this.logEntry({level:"info",message:`${e} ${H(`${s.deltaTime}ms`)}`,positionals:t,prefix:this.prefix,colors:{prefix:"blue"}})}}success(e,...t){this.logEntry({level:"info",message:e,positionals:t,prefix:`\u2714 ${this.prefix}`,colors:{timestamp:"green",prefix:"green"}})}warning(e,...t){this.logEntry({level:"warning",message:e,positionals:t,prefix:`\u26a0 ${this.prefix}`,colors:{timestamp:"yellow",prefix:"yellow"}})}error(e,...t){this.logEntry({level:"error",message:e,positionals:t,prefix:`\u2716 ${this.prefix}`,colors:{timestamp:"red",prefix:"red"}})}only(e){e()}createEntry(e,t){return{timestamp:new Date,level:e,message:t}}logEntry(e){const{level:t,message:s,prefix:r,colors:n,positionals:o=[]}=e,i=this.createEntry(t,s),a={timestamp:C[n?.timestamp||"gray"],prefix:C[n?.prefix||"gray"]};this.getWriter(t)([a.timestamp(this.formatTimestamp(i.timestamp))].concat(null!=r?a.prefix(r):[]).concat(V(s)).join(" "),...o.map(V))}formatTimestamp(e){return`${e.toLocaleTimeString("en-GB")}:${e.getMilliseconds()}`}getWriter(e){switch(e){case"debug":case"success":case"info":return $;case"warning":return B;case"error":return F}}},_=class{startTime;endTime;deltaTime;constructor(){this.startTime=performance.now()}measure(){this.endTime=performance.now();const e=this.endTime-this.startTime;this.deltaTime=e.toFixed(2)}},U=()=>{};function $(e,...t){D?f.stdout.write(v(e,...t)+"\n"):console.log(e,...t)}function B(e,...t){D?f.stderr.write(v(e,...t)+"\n"):console.warn(e,...t)}function F(e,...t){D?f.stderr.write(v(e,...t)+"\n"):console.error(e,...t)}function G(e){return D?f.env[e]:globalThis[e]?.toString()}function X(e,t){return void 0!==e&&e!==t}function V(e){return void 0===e?"undefined":null===e?"null":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):e.toString()}var K=class extends Error{constructor(e,t,s){super(`Possible EventEmitter memory leak detected. ${s} ${t.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`),this.emitter=e,this.type=t,this.count=s,this.name="MaxListenersExceededWarning"}},J=class{static listenerCount(e,t){return e.listenerCount(t)}constructor(){this.events=new Map,this.maxListeners=J.defaultMaxListeners,this.hasWarnedAboutPotentialMemoryLeak=!1}_emitInternalEvent(e,t,s){this.emit(e,t,s)}_getListeners(e){return Array.prototype.concat.apply([],this.events.get(e))||[]}_removeListener(e,t){const s=e.indexOf(t);return s>-1&&e.splice(s,1),[]}_wrapOnceListener(e,t){const s=(...r)=>(this.removeListener(e,s),t.apply(this,r));return Object.defineProperty(s,"name",{value:t.name}),s}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}eventNames(){return Array.from(this.events.keys())}emit(e,...t){const s=this._getListeners(e);return s.forEach((e=>{e.apply(this,t)})),s.length>0}addListener(e,t){this._emitInternalEvent("newListener",e,t);const s=this._getListeners(e).concat(t);if(this.events.set(e,s),this.maxListeners>0&&this.listenerCount(e)>this.maxListeners&&!this.hasWarnedAboutPotentialMemoryLeak){this.hasWarnedAboutPotentialMemoryLeak=!0;const t=new K(this,e,this.listenerCount(e));console.warn(t)}return this}on(e,t){return this.addListener(e,t)}once(e,t){return this.addListener(e,this._wrapOnceListener(e,t))}prependListener(e,t){const s=this._getListeners(e);if(s.length>0){const r=[t].concat(s);this.events.set(e,r)}else this.events.set(e,s.concat(t));return this}prependOnceListener(e,t){return this.prependListener(e,this._wrapOnceListener(e,t))}removeListener(e,t){const s=this._getListeners(e);return s.length>0&&(this._removeListener(s,t),this.events.set(e,s),this._emitInternalEvent("removeListener",e,t)),this}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return e?this.events.delete(e):this.events.clear(),this}listeners(e){return Array.from(this._getListeners(e))}listenerCount(e){return this._getListeners(e).length}rawListeners(e){return this.listeners(e)}},Q=J;Q.defaultMaxListeners=10;function Y(e){return globalThis[e]||void 0}var z=class{constructor(e){this.symbol=e,this.readyState="INACTIVE",this.emitter=new Q,this.subscriptions=[],this.logger=new N(e.description),this.emitter.setMaxListeners(0),this.logger.info("constructing the interceptor...")}checkEnvironment(){return!0}apply(){const e=this.logger.extend("apply");if(e.info("applying the interceptor..."),"APPLIED"===this.readyState)return void e.info("intercepted already applied!");if(!this.checkEnvironment())return void e.info("the interceptor cannot be applied in this environment!");this.readyState="APPLYING";const t=this.getInstance();if(t)return e.info("found a running instance, reusing..."),this.on=(s,r)=>(e.info('proxying the "%s" listener',s),t.emitter.addListener(s,r),this.subscriptions.push((()=>{t.emitter.removeListener(s,r),e.info('removed proxied "%s" listener!',s)})),this),void(this.readyState="APPLIED");e.info("no running instance found, setting up a new instance..."),this.setup(),this.setInstance(),this.readyState="APPLIED"}setup(){}on(e,t){const s=this.logger.extend("on");return"DISPOSING"===this.readyState||"DISPOSED"===this.readyState?(s.info("cannot listen to events, already disposed!"),this):(s.info('adding "%s" event listener:',e,t),this.emitter.on(e,t),this)}once(e,t){return this.emitter.once(e,t),this}off(e,t){return this.emitter.off(e,t),this}removeAllListeners(e){return this.emitter.removeAllListeners(e),this}dispose(){const e=this.logger.extend("dispose");if("DISPOSED"!==this.readyState)if(e.info("disposing the interceptor..."),this.readyState="DISPOSING",this.getInstance()){if(this.clearInstance(),e.info("global symbol deleted:",Y(this.symbol)),this.subscriptions.length>0){e.info("disposing of %d subscriptions...",this.subscriptions.length);for(const e of this.subscriptions)e();this.subscriptions=[],e.info("disposed of all subscriptions!",this.subscriptions.length)}this.emitter.removeAllListeners(),e.info("destroyed the listener!"),this.readyState="DISPOSED"}else e.info("no interceptors running, skipping dispose...");else e.info("cannot dispose, already disposed!")}getInstance(){var e;const t=Y(this.symbol);return this.logger.info("retrieved global instance:",null==(e=null==t?void 0:t.constructor)?void 0:e.name),t}setInstance(){var e,t;e=this.symbol,t=this,globalThis[e]=t,this.logger.info("set global instance!",this.symbol.description)}clearInstance(){var e;e=this.symbol,delete globalThis[e],this.logger.info("cleared global instance!",this.symbol.description)}};function Z(){return Math.random().toString(16).slice(2)}var ee=class extends z{constructor(e){ee.symbol=Symbol(e.name),super(ee.symbol),this.interceptors=e.interceptors}setup(){const e=this.logger.extend("setup");e.info("applying all %d interceptors...",this.interceptors.length);for(const t of this.interceptors)e.info('applying "%s" interceptor...',t.constructor.name),t.apply(),e.info("adding interceptor dispose subscription"),this.subscriptions.push((()=>t.dispose()))}on(e,t){for(const s of this.interceptors)s.on(e,t);return this}once(e,t){for(const s of this.interceptors)s.once(e,t);return this}off(e,t){for(const s of this.interceptors)s.off(e,t);return this}removeAllListeners(e){for(const t of this.interceptors)t.removeAllListeners(e);return this}};var te=e=>function(t,s){const n=(async()=>{e.events.removeAllListeners(),e.workerChannel.on("REQUEST",x(e,t)),e.workerChannel.on("RESPONSE",function(e){return(t,s)=>{const{payload:r}=s,{requestId:n}=r,o=e.requests.get(n);if(e.requests.delete(n),r.type?.includes("opaque"))return;const i=0===r.status?Response.error():new Response(P(r.status)?null:r.body,r);i.url||Object.defineProperty(i,"url",{value:o.url,enumerable:!0,writable:!1}),e.emitter.emit(r.isMockedResponse?"response:mocked":"response:bypass",{response:i,request:o,requestId:r.requestId})}}(e));const n=await R(t.serviceWorker.url,t.serviceWorker.options,t.findWorker),[o,i]=n;if(!o){const e=s?.findWorker?r.e.formatMessage('Failed to locate the Service Worker registration using a custom "findWorker" predicate.\n\nPlease ensure that the custom predicate properly locates the Service Worker registration at "%s".\nMore details: https://mswjs.io/docs/api/setup-worker/start#findworker\n',t.serviceWorker.url):r.e.formatMessage('Failed to locate the Service Worker registration.\n\nThis most likely means that the worker script URL "%s" cannot resolve against the actual public hostname (%s). This may happen if your application runs behind a proxy, or has a dynamic hostname.\n\nPlease consider using a custom "serviceWorker.url" option to point to the actual worker script location, or a custom "findWorker" option to resolve the Service Worker registration manually. More details: https://mswjs.io/docs/api/setup-worker/start',t.serviceWorker.url,location.host);throw new Error(e)}return e.worker=o,e.registration=i,e.events.addListener(window,"beforeunload",(()=>{"redundant"!==o.state&&e.workerChannel.send("CLIENT_CLOSED"),window.clearInterval(e.keepAliveInterval)})),await async function(e){e.workerChannel.send("INTEGRITY_CHECK_REQUEST");const{payload:t}=await e.events.once("INTEGRITY_CHECK_RESPONSE");"26357c79639bfa20d64c0efca2a87423"!==t.checksum&&r.e.warn(`The currently registered Service Worker has been generated by a different version of MSW (${t.packageVersion}) and may not be fully compatible with the installed version.\n\nIt's recommended you update your worker script by running this command:\n\n \u2022 npx msw init \n\nYou can also automate this process and make the worker script update automatically upon the library installations. Read more: https://mswjs.io/docs/cli/init.`)}(e).catch((e=>{r.e.error("Error while checking the worker script integrity. Please report this on GitHub (https://github.com/mswjs/msw/issues), including the original error below."),console.error(e)})),e.keepAliveInterval=window.setInterval((()=>e.workerChannel.send("KEEPALIVE_REQUEST")),5e3),function(e,t){t?.quiet||location.href.startsWith(e.scope)||r.e.warn(`Cannot intercept requests on this page because it's outside of the worker's scope ("${e.scope}"). If you wish to mock API requests on this page, you must resolve this scope issue.\n\n- (Recommended) Register the worker at the root level ("/") of your application.\n- Set the "Service-Worker-Allowed" response header to allow out-of-scope workers.`)}(i,e.startOptions),i})().then((async s=>{const n=s.installing||s.waiting;return n&&await new Promise((e=>{n.addEventListener("statechange",(()=>{if("activated"===n.state)return e()}))})),await async function(e,t){e.workerChannel.send("MOCK_ACTIVATE"),await e.events.once("MOCKING_ENABLED"),e.isMockingEnabled?r.e.warn('Found a redundant "worker.start()" call. Note that starting the worker while mocking is already enabled will have no effect. Consider removing this "worker.start()" call.'):(e.isMockingEnabled=!0,E({quiet:t.quiet,workerScope:e.registration?.scope,workerUrl:e.worker?.scriptURL}))}(e,t).catch((e=>{throw new Error(`Failed to enable mocking: ${e?.message}`)})),s}));return n};function se(e={}){e.quiet||console.log(`%c${r.e.formatMessage("Mocking disabled.")}`,"color:orangered;font-weight:bold;")}var re={serviceWorker:{url:"/mockServiceWorker.js",options:null},quiet:!1,waitUntilReady:!0,onUnhandledRequest:"warn",findWorker:(e,t)=>e===t};var ne=class extends Promise{#e;resolve;reject;constructor(e=null){const t=function(){const e=(t,s)=>{e.state="pending",e.resolve=s=>{if("pending"===e.state)return e.result=s,t(s instanceof Promise?s:Promise.resolve(s).then((t=>(e.state="fulfilled",t))))},e.reject=t=>{if("pending"===e.state)return queueMicrotask((()=>{e.state="rejected"})),s(e.rejectionReason=t)}};return e}();super(((s,r)=>{t(s,r),e?.(t.resolve,t.reject)})),this.#e=t,this.resolve=this.#e.resolve,this.reject=this.#e.reject}get state(){return this.#e.state}get rejectionReason(){return this.#e.rejectionReason}then(e,t){return this.#t(super.then(e,t))}catch(e){return this.#t(super.catch(e))}finally(e){return this.#t(super.finally(e))}#t(e){return Object.defineProperties(e,{resolve:{configurable:!0,value:this.resolve},reject:{configurable:!0,value:this.reject}})}};function oe(e){const t=new class{constructor(e){this.request=e,this.responsePromise=new ne}respondWith(e){w("pending"===this.responsePromise.state,'Failed to respond to "%s %s" request: the "request" event has already been responded to.',this.request.method,this.request.url),this.responsePromise.resolve(e)}}(e);return Reflect.set(e,"respondWith",t.respondWith.bind(t)),{interactiveRequest:e,requestController:t}}async function ie(e,t,...s){const r=e.listeners(t);if(0!==r.length)for(const n of r)await n.apply(e,s)}var ae=class extends z{constructor(){super(ae.symbol)}checkEnvironment(){return"undefined"!=typeof globalThis&&void 0!==globalThis.fetch}async setup(){const e=globalThis.fetch;w(!e[I],'Failed to patch the "fetch" module: already patched.'),globalThis.fetch=async(t,s)=>{var r;const n=Z(),o="string"!=typeof t||"undefined"==typeof location||function(e){try{return new URL(e),!0}catch(t){return!1}}(t)?t:new URL(t,location.origin),i=new Request(o,s);this.logger.info("[%s] %s",i.method,i.url);const{interactiveRequest:a,requestController:l}=oe(i);this.logger.info('emitting the "request" event for %d listener(s)...',this.emitter.listenerCount("request")),this.emitter.once("request",(({requestId:e})=>{e===n&&"pending"===l.responsePromise.state&&l.responsePromise.resolve(void 0)})),this.logger.info("awaiting for the mocked response...");const c=a.signal,u=new ne;c&&c.addEventListener("abort",(()=>{u.reject(c.reason)}),{once:!0});const h=await q((async()=>{const e=ie(this.emitter,"request",{request:a,requestId:n});await Promise.race([u,e,l.responsePromise]),this.logger.info("all request listeners have been resolved!");const t=await l.responsePromise;return this.logger.info("event.respondWith called with:",t),t}));if("rejected"===u.state)return Promise.reject(u.rejectionReason);if(h.error)return Promise.reject(ce(h.error));const d=h.data;if(d&&!(null==(r=i.signal)?void 0:r.aborted)){if(this.logger.info("received mocked response:",d),function(e,t){try{return e[t],!0}catch(s){return!1}}(d,"type")&&"error"===d.type)return this.logger.info("received a network error response, rejecting the request promise..."),Promise.reject(ce(d));const e=d.clone();return this.emitter.emit("response",{response:e,isMockedResponse:!0,request:a,requestId:n}),Object.defineProperty(d,"url",{writable:!1,enumerable:!0,configurable:!1,value:i.url}),d}return this.logger.info("no mocked response received!"),e(i).then((e=>{const t=e.clone();return this.logger.info("original fetch performed",t),this.emitter.emit("response",{response:t,isMockedResponse:!1,request:a,requestId:n}),e}))},Object.defineProperty(globalThis.fetch,I,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push((()=>{Object.defineProperty(globalThis.fetch,I,{value:void 0}),globalThis.fetch=e,this.logger.info('restored native "globalThis.fetch"!',globalThis.fetch.name)}))}},le=ae;function ce(e){return Object.assign(new TypeError("Failed to fetch"),{cause:e})}le.symbol=Symbol("fetch");var ue=class{constructor(e,t){this.AT_TARGET=0,this.BUBBLING_PHASE=0,this.CAPTURING_PHASE=0,this.NONE=0,this.type="",this.srcElement=null,this.currentTarget=null,this.eventPhase=0,this.isTrusted=!0,this.composed=!1,this.cancelable=!0,this.defaultPrevented=!1,this.bubbles=!0,this.lengthComputable=!0,this.loaded=0,this.total=0,this.cancelBubble=!1,this.returnValue=!0,this.type=e,this.target=(null==t?void 0:t.target)||null,this.currentTarget=(null==t?void 0:t.currentTarget)||null,this.timeStamp=Date.now()}composedPath(){return[]}initEvent(e,t,s){this.type=e,this.bubbles=!!t,this.cancelable=!!s}preventDefault(){this.defaultPrevented=!0}stopPropagation(){}stopImmediatePropagation(){}},he=class extends ue{constructor(e,t){super(e),this.lengthComputable=(null==t?void 0:t.lengthComputable)||!1,this.composed=(null==t?void 0:t.composed)||!1,this.loaded=(null==t?void 0:t.loaded)||0,this.total=(null==t?void 0:t.total)||0}},de="undefined"!=typeof ProgressEvent;function pe(e,t){if(!(t in e))return null;if(Object.prototype.hasOwnProperty.call(e,t))return e;const s=Reflect.getPrototypeOf(e);return s?pe(s,t):null}function ge(e,t){const s=new Proxy(e,function(e){const{constructorCall:t,methodCall:s,getProperty:r,setProperty:n}=e,o={};void 0!==t&&(o.construct=function(e,s,r){const n=Reflect.construct.bind(null,e,s,r);return t.call(r,s,n)});return o.set=function(e,t,s){const r=()=>{const r=pe(e,t)||e,n=Reflect.getOwnPropertyDescriptor(r,t);return void 0!==(null==n?void 0:n.set)?(n.set.apply(e,[s]),!0):Reflect.defineProperty(r,t,{writable:!0,enumerable:!0,configurable:!0,value:s})};return void 0!==n?n.call(e,[t,s],r):r()},o.get=function(e,t,n){const o=()=>e[t],i=void 0!==r?r.call(e,[t,n],o):o();return"function"==typeof i?(...r)=>{const n=i.bind(e,...r);return void 0!==s?s.call(e,[t,r],n):n()}:i},o}(t));return s}function fe(e){const t=new Headers,s=e.split(/[\r\n]+/);for(const r of s){if(""===r.trim())continue;const[e,...s]=r.split(": "),n=s.join(": ");t.append(e,n)}return t}var me=Symbol("isMockedResponse"),ve=b();function ye(e){return"undefined"==typeof location?new URL(e):new URL(e.toString(),location.href)}function we(e,t,s){Reflect.defineProperty(e,t,{writable:!0,enumerable:!0,value:s})}function be({emitter:e,logger:t}){return new Proxy(globalThis.XMLHttpRequest,{construct(s,r,n){t.info("constructed new XMLHttpRequest");const o=Reflect.construct(s,r,n),i=Object.getOwnPropertyDescriptors(s.prototype);for(const e in i)Reflect.defineProperty(o,e,i[e]);const a=new class{constructor(e,t){this.initialRequest=e,this.logger=t,this.method="GET",this.url=null,this.events=new Map,this.requestId=Z(),this.requestHeaders=new Headers,this.responseBuffer=new Uint8Array,this.request=ge(e,{setProperty:([e,t],s)=>{if("ontimeout"===e){const r=e.slice(2);return this.request.addEventListener(r,t),s()}return s()},methodCall:([e,t],s)=>{var r,n;switch(e){case"open":{const[e,r]=t;return void 0===r?(this.method="GET",this.url=ye(e)):(this.method=e,this.url=ye(r)),this.logger=this.logger.extend(`${this.method} ${this.url.href}`),this.logger.info("open",this.method,this.url.href),s()}case"addEventListener":{const[e,r]=t;return this.registerEvent(e,r),this.logger.info("addEventListener",e,r),s()}case"setRequestHeader":{const[e,r]=t;return this.requestHeaders.set(e,r),this.logger.info("setRequestHeader",e,r),s()}case"send":{const[e]=t;null!=e&&(this.requestBody="string"==typeof e?(n=e,T.encode(n)):e),this.request.addEventListener("load",(()=>{if(void 0!==this.onResponse){const e=function(e,t){const s=P(e.status)?null:t;return new Response(s,{status:e.status,statusText:e.statusText,headers:fe(e.getAllResponseHeaders())})}(this.request,this.request.response);this.onResponse.call(this,{response:e,isMockedResponse:me in this.request,request:o,requestId:this.requestId})}}));const o=this.toFetchApiRequest();((null==(r=this.onRequest)?void 0:r.call(this,{request:o,requestId:this.requestId}))||Promise.resolve()).finally((()=>{if(this.request.readyState{if(this.logger.info("getResponseHeader",r[0]),this.request.readyState{if(this.logger.info("getAllResponseHeaders"),this.request.readyState`${e}: ${t}`)).join("\r\n");return this.logger.info("resolved all response headers to",t),t}}),Object.defineProperties(this.request,{response:{enumerable:!0,configurable:!1,get:()=>this.response},responseText:{enumerable:!0,configurable:!1,get:()=>this.responseText},responseXML:{enumerable:!0,configurable:!1,get:()=>this.responseXML}});const t=e.headers.has("Content-Length")?Number(e.headers.get("Content-Length")):void 0;this.logger.info("calculated response body length",t),this.trigger("loadstart",{loaded:0,total:t}),this.setReadyState(this.request.HEADERS_RECEIVED),this.setReadyState(this.request.LOADING);const s=()=>{this.logger.info("finalizing the mocked response..."),this.setReadyState(this.request.DONE),this.trigger("load",{loaded:this.responseBuffer.byteLength,total:t}),this.trigger("loadend",{loaded:this.responseBuffer.byteLength,total:t})};if(e.body){this.logger.info("mocked response has body, streaming...");const r=e.body.getReader(),n=async()=>{const{value:e,done:o}=await r.read();if(o)return this.logger.info("response body stream done!"),void s();e&&(this.logger.info("read response body chunk:",e),this.responseBuffer=function(e,t){const s=new Uint8Array(e.byteLength+t.byteLength);return s.set(e,0),s.set(t,e.byteLength),s}(this.responseBuffer,e),this.trigger("progress",{loaded:this.responseBuffer.byteLength,total:t})),n()};n()}else s()}responseBufferToText(){return e=this.responseBuffer,new TextDecoder(t).decode(e);var e,t}get response(){if(this.logger.info("getResponse (responseType: %s)",this.request.responseType),this.request.readyState!==this.request.DONE)return null;switch(this.request.responseType){case"json":{const e=function(e){try{return JSON.parse(e)}catch(t){return null}}(this.responseBufferToText());return this.logger.info("resolved response JSON",e),e}case"arraybuffer":{const t=(e=this.responseBuffer).buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return this.logger.info("resolved response ArrayBuffer",t),t}case"blob":{const e=this.request.getResponseHeader("Content-Type")||"text/plain",t=new Blob([this.responseBufferToText()],{type:e});return this.logger.info("resolved response Blob (mime type: %s)",t,e),t}default:{const e=this.responseBufferToText();return this.logger.info('resolving "%s" response type as text',this.request.responseType,e),e}}var e}get responseText(){if(w(""===this.request.responseType||"text"===this.request.responseType,"InvalidStateError: The object is in invalid state."),this.request.readyState!==this.request.LOADING&&this.request.readyState!==this.request.DONE)return"";const e=this.responseBufferToText();return this.logger.info('getResponseText: "%s"',e),e}get responseXML(){if(w(""===this.request.responseType||"document"===this.request.responseType,"InvalidStateError: The object is in invalid state."),this.request.readyState!==this.request.DONE)return null;const e=this.request.getResponseHeader("Content-Type")||"";return"undefined"==typeof DOMParser?(console.warn("Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly."),null):(t=e,["application/xhtml+xml","application/xml","image/svg+xml","text/html","text/xml"].some((e=>t.startsWith(e)))?(new DOMParser).parseFromString(this.responseBufferToText(),e):null);var t}errorWith(e){this.logger.info("responding with an error"),this.setReadyState(this.request.DONE),this.trigger("error"),this.trigger("loadend")}setReadyState(e){this.logger.info("setReadyState: %d -> %d",this.request.readyState,e),this.request.readyState!==e?(we(this.request,"readyState",e),this.logger.info("set readyState to: %d",e),e!==this.request.UNSENT&&(this.logger.info('triggerring "readystatechange" event...'),this.trigger("readystatechange"))):this.logger.info("ready state identical, skipping transition...")}trigger(e,t){const s=this.request[`on${e}`],r=function(e,t,s){const r=de?ProgressEvent:he;return["error","progress","loadstart","loadend","load","timeout","abort"].includes(t)?new r(t,{lengthComputable:!0,loaded:(null==s?void 0:s.loaded)||0,total:(null==s?void 0:s.total)||0}):new ue(t,{target:e,currentTarget:e})}(this.request,e,t);this.logger.info('trigger "%s"',e,t||""),"function"==typeof s&&(this.logger.info('found a direct "%s" callback, calling...',e),s.call(this.request,r));for(const[n,o]of this.events)n===e&&(this.logger.info('found %d listener(s) for "%s" event, calling...',o.length,e),o.forEach((e=>e.call(this.request,r))))}toFetchApiRequest(){this.logger.info("converting request to a Fetch API Request...");const e=new Request(this.url.href,{method:this.method,headers:this.requestHeaders,credentials:this.request.withCredentials?"include":"same-origin",body:["GET","HEAD"].includes(this.method)?null:this.requestBody}),t=ge(e.headers,{methodCall:([t,s],r)=>{switch(t){case"append":case"set":{const[e,t]=s;this.request.setRequestHeader(e,t);break}case"delete":{const[t]=s;console.warn(`XMLHttpRequest: Cannot remove a "${t}" header from the Fetch API representation of the "${e.method} ${e.url}" request. XMLHttpRequest headers cannot be removed.`);break}}return r()}});return we(e,"headers",t),this.logger.info("converted request to a Fetch API Request!",e),e}}(o,t);return a.onRequest=async function({request:t,requestId:s}){const{interactiveRequest:r,requestController:n}=oe(t);this.logger.info("awaiting mocked response..."),e.once("request",(({requestId:e})=>{e===s&&"pending"===n.responsePromise.state&&n.respondWith(void 0)}));const o=await q((async()=>{this.logger.info('emitting the "request" event for %s listener(s)...',e.listenerCount("request")),await ie(e,"request",{request:r,requestId:s}),this.logger.info('all "request" listeners settled!');const t=await n.responsePromise;return this.logger.info("event.respondWith called with:",t),t}));if(o.error)return this.logger.info("request listener threw an exception, aborting request...",o.error),void a.errorWith(o.error);const i=o.data;if(void 0!==i)return this.logger.info("received mocked response: %d %s",i.status,i.statusText),"error"===i.type?(this.logger.info("received a network error response, rejecting the request promise..."),void a.errorWith(new TypeError("Network error"))):a.respondWith(i);this.logger.info("no mocked response received, performing request as-is...")},a.onResponse=async function({response:t,isMockedResponse:s,request:r,requestId:n}){this.logger.info('emitting the "response" event for %s listener(s)...',e.listenerCount("response")),e.emit("response",{response:t,isMockedResponse:s,request:r,requestId:n})},a.request}})}var qe=class extends z{constructor(){super(qe.interceptorSymbol)}checkEnvironment(){return void 0!==globalThis.XMLHttpRequest}setup(){const e=this.logger.extend("setup");e.info('patching "XMLHttpRequest" module...');const t=globalThis.XMLHttpRequest;w(!t[I],'Failed to patch the "XMLHttpRequest" module: already patched.'),globalThis.XMLHttpRequest=be({emitter:this.emitter,logger:this.logger}),e.info('native "XMLHttpRequest" module patched!',globalThis.XMLHttpRequest.name),Object.defineProperty(globalThis.XMLHttpRequest,I,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push((()=>{Object.defineProperty(globalThis.XMLHttpRequest,I,{value:void 0}),globalThis.XMLHttpRequest=t,e.info('native "XMLHttpRequest" module restored!',globalThis.XMLHttpRequest.name)}))}},ke=qe;function Re(e){return async function(t){e.fallbackInterceptor=function(e,t){const s=new ee({name:"fallback",interceptors:[new le,new ke]});return s.on("request",(async({request:s,requestId:r})=>{const n=s.clone(),o=await a(s,r,e.getRequestHandlers(),t,e.emitter,{onMockedResponse(s,{handler:r,parsedResult:o}){t.quiet||e.emitter.once("response:mocked",(({response:e})=>{r.log({request:n,response:e,parsedResult:o})}))}});o&&s.respondWith(o)})),s.on("response",(({response:t,isMockedResponse:s,request:r,requestId:n})=>{e.emitter.emit(s?"response:mocked":"response:bypass",{response:t,request:r,requestId:n})})),s.apply(),s}(e,t),E({message:"Mocking enabled (fallback mode).",quiet:t.quiet})}}function Ee(){try{const e=new ReadableStream({start:e=>e.close()});return(new MessageChannel).port1.postMessage(e,[e]),!0}catch(e){return!1}}ke.interceptorSymbol=Symbol("xhr");var Le=class extends d{context;startHandler=null;stopHandler=null;listeners;constructor(...e){super(...e),w(!b(),r.e.formatMessage("Failed to execute `setupWorker` in a non-browser environment. Consider using `setupServer` for Node.js environment instead.")),this.listeners=[],this.context=this.createWorkerContext()}createWorkerContext(){const e={isMockingEnabled:!1,startOptions:null,worker:null,getRequestHandlers:()=>this.handlersController.currentHandlers(),registration:null,requests:new Map,emitter:this.emitter,workerChannel:{on:(e,t)=>{this.context.events.addListener(navigator.serviceWorker,"message",(s=>{if(s.source!==this.context.worker)return;const r=s.data;r&&r.type===e&&t(s,r)}))},send:e=>{this.context.worker?.postMessage(e)}},events:{addListener:(e,t,s)=>(e.addEventListener(t,s),this.listeners.push({eventType:t,target:e,callback:s}),()=>{e.removeEventListener(t,s)}),removeAllListeners:()=>{for(const{target:e,eventType:t,callback:s}of this.listeners)e.removeEventListener(t,s);this.listeners=[]},once:e=>{const t=[];return new Promise(((s,r)=>{t.push(this.context.events.addListener(navigator.serviceWorker,"message",(t=>{try{const r=t.data;r.type===e&&s(r)}catch(n){r(n)}})),this.context.events.addListener(navigator.serviceWorker,"messageerror",r))})).finally((()=>{t.forEach((e=>e()))}))}},supports:{serviceWorkerApi:!("serviceWorker"in navigator)||"file:"===location.protocol,readableStreamTransfer:Ee()}};return this.startHandler=e.supports.serviceWorkerApi?Re(e):te(e),this.stopHandler=e.supports.serviceWorkerApi?function(e){return function(){e.fallbackInterceptor?.dispose(),se({quiet:e.startOptions?.quiet})}}(e):(e=>function(){e.isMockingEnabled?(e.workerChannel.send("MOCK_DEACTIVATE"),e.isMockingEnabled=!1,window.clearInterval(e.keepAliveInterval),se({quiet:e.startOptions?.quiet})):r.e.warn('Found a redundant "worker.stop()" call. Note that stopping the worker while mocking already stopped has no effect. Consider removing this "worker.stop()" call.')})(e),e}async start(e={}){return!0===e.waitUntilReady&&r.e.warn('The "waitUntilReady" option has been deprecated. Please remove it from this "worker.start()" call. Follow the recommended Browser integration (https://mswjs.io/docs/integrations/browser) to eliminate any race conditions between the Service Worker registration and any requests made by your application on initial render.'),this.context.startOptions=g(re,e),await this.startHandler(this.context.startOptions,e)}stop(){super.dispose(),this.context.events.removeAllListeners(),this.context.emitter.removeAllListeners(),this.stopHandler()}};function xe(...e){return new Le(...e)}}}]); \ No newline at end of file diff --git a/assets/js/29694922.b8af4a05.js b/assets/js/29694922.b8af4a05.js deleted file mode 100644 index 18a8ec7d9..000000000 --- a/assets/js/29694922.b8af4a05.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6178],{3905:(n,e,t)=>{t.d(e,{Zo:()=>s,kt:()=>m});var r=t(67294);function a(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function i(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function o(n){for(var e=1;e=0||(a[t]=n[t]);return a}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}var c=r.createContext({}),p=function(n){var e=r.useContext(c),t=e;return n&&(t="function"==typeof n?n(e):o(o({},e),n)),t},s=function(n){var e=p(n.components);return r.createElement(c.Provider,{value:e},n.children)},g={inlineCode:"code",wrapper:function(n){var e=n.children;return r.createElement(r.Fragment,{},e)}},u=r.forwardRef((function(n,e){var t=n.components,a=n.mdxType,i=n.originalType,c=n.parentName,s=l(n,["components","mdxType","originalType","parentName"]),u=p(t),m=a,d=u["".concat(c,".").concat(m)]||u[m]||g[m]||i;return t?r.createElement(d,o(o({ref:e},s),{},{components:t})):r.createElement(d,o({ref:e},s))}));function m(n,e){var t=arguments,a=e&&e.mdxType;if("string"==typeof n||a){var i=t.length,o=new Array(i);o[0]=u;var l={};for(var c in e)hasOwnProperty.call(e,c)&&(l[c]=e[c]);l.originalType=n,l.mdxType="string"==typeof n?n:a,o[1]=l;for(var p=2;p{t.r(e),t.d(e,{assets:()=>c,contentTitle:()=>o,default:()=>g,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var r=t(87462),a=(t(67294),t(3905));const i={title:"Organization components",description:"Vocdoni Chakra components for Organizations"},o=void 0,l={unversionedId:"ui-components/Organization",id:"ui-components/Organization",title:"Organization components",description:"Vocdoni Chakra components for Organizations",source:"@site/docs/ui-components/02-Organization.mdx",sourceDirName:"ui-components",slug:"/ui-components/Organization",permalink:"/ui-components/Organization",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Organization components",description:"Vocdoni Chakra components for Organizations"},sidebar:"defaultSidebar",previous:{title:"UI Components",permalink:"/ui-components/"},next:{title:"Election components",permalink:"/ui-components/Election"}},c={},p=[{value:"Organization provider",id:"organization-provider",level:2},{value:"Organization Avatar",id:"organization-avatar",level:2},{value:"Organization Header",id:"organization-header",level:2},{value:"Organization Name",id:"organization-name",level:2},{value:"Organization Description",id:"organization-description",level:2}],s={toc:p};function g(n){let{components:e,...t}=n;return(0,a.kt)("wrapper",(0,r.Z)({},s,t,{components:e,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"organization-provider"},"Organization provider"),(0,a.kt)("p",null,"To use organization components you have to wrap them using the ",(0,a.kt)("inlineCode",{parentName:"p"},"OrganizationProvider")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx"},"\n \n \n \n \n\n")),(0,a.kt)("h2",{id:"organization-avatar"},"Organization Avatar"),(0,a.kt)("p",null,"Show a avatar organization."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")),(0,a.kt)("h2",{id:"organization-header"},"Organization Header"),(0,a.kt)("p",null,"Show organization header image."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")),(0,a.kt)("h2",{id:"organization-name"},"Organization Name"),(0,a.kt)("p",null,"Show organization name."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")),(0,a.kt)("h2",{id:"organization-description"},"Organization Description"),(0,a.kt)("p",null,"Show organization description."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:"live",live:!0},"\n")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2dbb09aa.055c8460.js b/assets/js/2dbb09aa.055c8460.js deleted file mode 100644 index ef33c3ef9..000000000 --- a/assets/js/2dbb09aa.055c8460.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5378],{40611:(e,t,o)=>{"use strict";o.d(t,{Z:()=>b});var n=o(87462),i=o(67294),a=o(86390),s=o(18694);const r={React:i,...i,Image:s.Ee,ElectionProvider:s.qT,ElectionHeader:s.UE,ElectionTitle:s.hi,ElectionSchedule:s.vE,ElectionResults:s.Hj,ElectionStatusBadge:s.QW,ElectionDescription:s.I3,ElectionQuestions:s.Vx,OrganizationProvider:s.f0,OrganizationAvatar:s.ld,OrganizationDescription:s.G9,OrganizationHeader:s.sC,OrganizationName:s.X5,Organization:s.cp};var c=o(170),l=o(39805),d=o(14902),u=o(23537);const p="f752b527e2aba395d1ba4c0de9c1471234567890",h="https://picsum.photos/seed/{seed}/1400/300",m={address:p,balance:0,nonce:123,electionIndex:13,account:new u.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:h.replace("{seed}",p),avatar:`https://picsum.photos/seed/${p}/300`,meta:[]})},v=`c5d2460186f7${p}020000000000`,f={electionCount:0,electionId:v,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:u.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:u.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:h.replace("{seed}",v)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},g=u.u_.build({census:new u.pT(f.census.censusRoot,f.census.censusURL,u.oN.censusTypeFromCensusOrigin(f.census.censusOrigin),4,BigInt("40")),creationTime:f.creationTime,electionCount:0,endDate:f.endDate,finalResults:f.finalResults,id:f.electionId,metadataURL:f.metadataURL,organizationId:f.organizationId,raw:f,results:f.result,status:f.status,title:f.metadata.title,description:f.metadata.description,voteCount:f.voteCount,header:f.metadata.media.header,questions:f.metadata.questions,startDate:f.startDate,voteType:f.voteMode,electionType:{autoStart:f.electionMode.autoStart,interruptible:f.electionMode.interruptible,dynamicCensus:f.electionMode.dynamicCensus,secretUntilTheEnd:f.voteMode.encryptedVotes,anonymous:f.voteMode.anonymous}}),b=(y=c.Z,function(e){return e.live?i.createElement(l.x,{theme:(0,d.B1)(s.rS),resetCSS:!1},i.createElement(s.de,{env:"stg"},i.createElement(s.f0,{organization:m},i.createElement(s.qT,{election:g},i.createElement(a.Z,(0,n.Z)({scope:r},e)))))):i.createElement(y,e)});var y},14010:(e,t,o)=>{"use strict";o.r(t),o.d(t,{assets:()=>v,contentTitle:()=>h,default:()=>b,frontMatter:()=>p,metadata:()=>m,toc:()=>f});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),u=(o(75035),o(85162));const p={id:"count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",sidebar_label:"Count election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{type:"number"}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Get the number of votes for an election",method:"get",path:"/elections/{electionID}/votes/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count election votes",description:{content:"Get the number of votes for an election",type:"text/plain"},url:{path:["elections",":electionID","votes","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,m={unversionedId:"vocdoni-api/count-election-votes",id:"vocdoni-api/count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",source:"@site/docs/vocdoni-api/count-election-votes.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-election-votes",permalink:"/vocdoni-api/count-election-votes",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",sidebar_label:"Count election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{type:"number"}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Get the number of votes for an election",method:"get",path:"/elections/{electionID}/votes/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count election votes",description:{content:"Get the number of votes for an election",type:"text/plain"},url:{path:["elections",":electionID","votes","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Election results",permalink:"/vocdoni-api/election-results"},next:{title:"List election votes",permalink:"/vocdoni-api/list-election-votes"}},v={},f=[{value:"Count election votes",id:"count-election-votes",level:2}],g={toc:f};function b(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},g,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-election-votes"},"Count election votes"),(0,i.kt)("p",null,"Get the number of votes for an election"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(l.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "count": 0\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/2dbb09aa.24dc82e5.js b/assets/js/2dbb09aa.24dc82e5.js new file mode 100644 index 000000000..49664cf1a --- /dev/null +++ b/assets/js/2dbb09aa.24dc82e5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[5378],{12128:(e,t,o)=>{o.d(t,{Z:()=>g});var n=o(87462),i=o(39805),a=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),u=o(204),h=o(23100),p=o(16393);const m={React:d,...d,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var v=o(22457),f=o(37489);const g=(b=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(i.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:v.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},14010:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>v,contentTitle:()=>p,default:()=>b,frontMatter:()=>h,metadata:()=>m,toc:()=>f});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),u=(o(75035),o(85162));const h={id:"count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",sidebar_label:"Count election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{type:"number"}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Get the number of votes for an election",method:"get",path:"/elections/{electionID}/votes/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count election votes",description:{content:"Get the number of votes for an election",type:"text/plain"},url:{path:["elections",":electionID","votes","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/count-election-votes",id:"vocdoni-api/count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",source:"@site/docs/vocdoni-api/count-election-votes.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-election-votes",permalink:"/vocdoni-api/count-election-votes",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-election-votes",title:"Count election votes",description:"Get the number of votes for an election",sidebar_label:"Count election votes",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{type:"number"}},type:"object"}}},description:"OK"}},tags:["Elections"],description:"Get the number of votes for an election",method:"get",path:"/elections/{electionID}/votes/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count election votes",description:{content:"Get the number of votes for an election",type:"text/plain"},url:{path:["elections",":electionID","votes","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Election id",type:"text/plain"},type:"any",value:"",key:"electionID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Election results",permalink:"/vocdoni-api/election-results"},next:{title:"List election votes",permalink:"/vocdoni-api/list-election-votes"}},v={},f=[{value:"Count election votes",id:"count-election-votes",level:2}],g={toc:f};function b(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},g,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-election-votes"},"Count election votes"),(0,i.kt)("p",null,"Get the number of votes for an election"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Election id",in:"path",name:"electionID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(l.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"number",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "count": 0\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2eb5a7fb.cc3ef669.js b/assets/js/2eb5a7fb.cc3ef669.js new file mode 100644 index 000000000..1d51777dd --- /dev/null +++ b/assets/js/2eb5a7fb.cc3ef669.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2360],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),s=o(39805),i=o(14902),a=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),u=o(204),h=o(23100),p=o(16393);const m={React:d,...d,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=o(22457),g=o(37489);const v=(y=a.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(s.x,{theme:(0,i.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:f.yG.STG,signer:g.Lp.wallet},d.createElement(l.f0,{id:g.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(y,e)});var y},17728:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>y,frontMatter:()=>h,metadata:()=>m,toc:()=>g});var n=o(87462),s=(o(67294),o(3905)),i=o(26389),a=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),u=(o(75035),o(85162));const h={id:"census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",sidebar_label:"Census Merkle Root",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{root:{type:"string"}},type:"object"}}},description:"Merkle root of the census"}},tags:["Censuses"],description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",method:"get",path:"/censuses/{censusID}/root",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census Merkle Root",description:{content:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",type:"text/plain"},url:{path:["censuses",":censusID","root"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/census-merkle-root",id:"vocdoni-api/census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",source:"@site/docs/vocdoni-api/census-merkle-root.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/census-merkle-root",permalink:"/vocdoni-api/census-merkle-root",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",sidebar_label:"Census Merkle Root",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{root:{type:"string"}},type:"object"}}},description:"Merkle root of the census"}},tags:["Censuses"],description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required",method:"get",path:"/censuses/{censusID}/root",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census Merkle Root",description:{content:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required",type:"text/plain"},url:{path:["censuses",":censusID","root"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Publish census at root",permalink:"/vocdoni-api/publish-census-at-root"},next:{title:"Census size",permalink:"/vocdoni-api/census-size"}},f={},g=[{value:"Census Merkle Root",id:"census-merkle-root",level:2}],v={toc:g};function y(e){let{components:t,...o}=e;return(0,s.kt)("wrapper",(0,n.Z)({},v,o,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"census-merkle-root"},"Census Merkle Root"),(0,s.kt)("p",null,"Get census ",(0,s.kt)("a",{parentName:"p",href:"https://docs.vocdoni.io/architecture/census/off-chain-tree.html"},"Merkle Tree root")," hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required"),(0,s.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{}},(0,s.kt)("strong",null,"Path Parameters")),(0,s.kt)("div",null,(0,s.kt)("ul",null,(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,s.kt)("div",null,(0,s.kt)(i.Z,{mdxType:"ApiTabs"},(0,s.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"Merkle root of the census")),(0,s.kt)("div",null,(0,s.kt)(a.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(d.Z,{mdxType:"SchemaTabs"},(0,s.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(l.Z,{collapsible:!1,name:"root",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(c.Z,{responseExample:'{\n "root": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2eb5a7fb.ce5744dd.js b/assets/js/2eb5a7fb.ce5744dd.js deleted file mode 100644 index fda522f57..000000000 --- a/assets/js/2eb5a7fb.ce5744dd.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2360],{40611:(e,t,o)=>{"use strict";o.d(t,{Z:()=>y});var s=o(87462),n=o(67294),i=o(86390),a=o(18694);const r={React:n,...n,Image:a.Ee,ElectionProvider:a.qT,ElectionHeader:a.UE,ElectionTitle:a.hi,ElectionSchedule:a.vE,ElectionResults:a.Hj,ElectionStatusBadge:a.QW,ElectionDescription:a.I3,ElectionQuestions:a.Vx,OrganizationProvider:a.f0,OrganizationAvatar:a.ld,OrganizationDescription:a.G9,OrganizationHeader:a.sC,OrganizationName:a.X5,Organization:a.cp};var c=o(170),l=o(39805),d=o(14902),u=o(23537);const h="f752b527e2aba395d1ba4c0de9c1471234567890",p="https://picsum.photos/seed/{seed}/1400/300",m={address:h,balance:0,nonce:123,electionIndex:13,account:new u.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:p.replace("{seed}",h),avatar:`https://picsum.photos/seed/${h}/300`,meta:[]})},f=`c5d2460186f7${h}020000000000`,g={electionCount:0,electionId:f,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:u.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:u.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:p.replace("{seed}",f)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},v=u.u_.build({census:new u.pT(g.census.censusRoot,g.census.censusURL,u.oN.censusTypeFromCensusOrigin(g.census.censusOrigin),4,BigInt("40")),creationTime:g.creationTime,electionCount:0,endDate:g.endDate,finalResults:g.finalResults,id:g.electionId,metadataURL:g.metadataURL,organizationId:g.organizationId,raw:g,results:g.result,status:g.status,title:g.metadata.title,description:g.metadata.description,voteCount:g.voteCount,header:g.metadata.media.header,questions:g.metadata.questions,startDate:g.startDate,voteType:g.voteMode,electionType:{autoStart:g.electionMode.autoStart,interruptible:g.electionMode.interruptible,dynamicCensus:g.electionMode.dynamicCensus,secretUntilTheEnd:g.voteMode.encryptedVotes,anonymous:g.voteMode.anonymous}}),y=(b=c.Z,function(e){return e.live?n.createElement(l.x,{theme:(0,d.B1)(a.rS),resetCSS:!1},n.createElement(a.de,{env:"stg"},n.createElement(a.f0,{organization:m},n.createElement(a.qT,{election:v},n.createElement(i.Z,(0,s.Z)({scope:r},e)))))):n.createElement(b,e)});var b},17728:(e,t,o)=>{"use strict";o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>y,frontMatter:()=>h,metadata:()=>m,toc:()=>g});var s=o(87462),n=(o(67294),o(3905)),i=o(26389),a=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),u=(o(75035),o(85162));const h={id:"census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",sidebar_label:"Census Merkle Root",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{root:{type:"string"}},type:"object"}}},description:"Merkle root of the census"}},tags:["Censuses"],description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",method:"get",path:"/censuses/{censusID}/root",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census Merkle Root",description:{content:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",type:"text/plain"},url:{path:["censuses",":censusID","root"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/census-merkle-root",id:"vocdoni-api/census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",source:"@site/docs/vocdoni-api/census-merkle-root.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/census-merkle-root",permalink:"/vocdoni-api/census-merkle-root",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"census-merkle-root",title:"Census Merkle Root",description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\n\n- Bearer token not required",sidebar_label:"Census Merkle Root",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{root:{type:"string"}},type:"object"}}},description:"Merkle root of the census"}},tags:["Censuses"],description:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required",method:"get",path:"/censuses/{censusID}/root",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census Merkle Root",description:{content:"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required",type:"text/plain"},url:{path:["censuses",":censusID","root"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Publish census at root",permalink:"/vocdoni-api/publish-census-at-root"},next:{title:"Census size",permalink:"/vocdoni-api/census-size"}},f={},g=[{value:"Census Merkle Root",id:"census-merkle-root",level:2}],v={toc:g};function y(e){let{components:t,...o}=e;return(0,n.kt)("wrapper",(0,s.Z)({},v,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"census-merkle-root"},"Census Merkle Root"),(0,n.kt)("p",null,"Get census ",(0,n.kt)("a",{parentName:"p",href:"https://docs.vocdoni.io/architecture/census/off-chain-tree.html"},"Merkle Tree root")," hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required"),(0,n.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"Path Parameters")),(0,n.kt)("div",null,(0,n.kt)("ul",null,(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,n.kt)("div",null,(0,n.kt)(i.Z,{mdxType:"ApiTabs"},(0,n.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"Merkle root of the census")),(0,n.kt)("div",null,(0,n.kt)(a.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(d.Z,{mdxType:"SchemaTabs"},(0,n.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(l.Z,{collapsible:!1,name:"root",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(c.Z,{responseExample:'{\n "root": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/335f69d6.6cf91469.js b/assets/js/335f69d6.6cf91469.js new file mode 100644 index 000000000..082bba748 --- /dev/null +++ b/assets/js/335f69d6.6cf91469.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[4540],{12128:(e,t,i)=>{i.d(t,{Z:()=>v});var n=i(87462),s=i(39805),o=i(14902),a=i(170),r=i(86390),c=i(65429),l=i(14758),d=i(67294),h=i(204),u=i(23100),p=i(16393);const m={React:d,...d,Flex:h.k,Box:u.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=i(22457),f=i(37489);const v=(b=a.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(s.x,{theme:(0,o.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},37888:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>b,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var n=i(87462),s=(i(67294),i(3905)),o=i(26389),a=i(94891),r=i(75190),c=i(47507),l=i(24310),d=i(63303),h=(i(75035),i(85162));const u={id:"census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",sidebar_label:"Census total weight",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{weight:{type:"string"}},type:"object"}}},description:"Sum of weight son a stringfied big int format"}},tags:["Censuses"],description:"It sums all weights added to the census. Weight is a stringified bigInt",method:"get",path:"/censuses/{censusID}/weight",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census total weight",description:{content:"It sums all weights added to the census. Weight is a stringified bigInt",type:"text/plain"},url:{path:["censuses",":censusID","weight"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/census-total-weight",id:"vocdoni-api/census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",source:"@site/docs/vocdoni-api/census-total-weight.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/census-total-weight",permalink:"/vocdoni-api/census-total-weight",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",sidebar_label:"Census total weight",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{weight:{type:"string"}},type:"object"}}},description:"Sum of weight son a stringfied big int format"}},tags:["Censuses"],description:"It sums all weights added to the census. Weight is a stringified bigInt",method:"get",path:"/censuses/{censusID}/weight",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census total weight",description:{content:"It sums all weights added to the census. Weight is a stringified bigInt",type:"text/plain"},url:{path:["censuses",":censusID","weight"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Verify merkle proof",permalink:"/vocdoni-api/verify-merkle-proof"},next:{title:"Create a new census",permalink:"/vocdoni-api/create-a-new-census"}},g={},f=[{value:"Census total weight",id:"census-total-weight",level:2}],v={toc:f};function b(e){let{components:t,...i}=e;return(0,s.kt)("wrapper",(0,n.Z)({},v,i,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"census-total-weight"},"Census total weight"),(0,s.kt)("p",null,"It sums all weights added to the census. Weight is a stringified bigInt"),(0,s.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{}},(0,s.kt)("strong",null,"Path Parameters")),(0,s.kt)("div",null,(0,s.kt)("ul",null,(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,s.kt)("div",null,(0,s.kt)(o.Z,{mdxType:"ApiTabs"},(0,s.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"Sum of weight son a stringfied big int format")),(0,s.kt)("div",null,(0,s.kt)(a.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(d.Z,{mdxType:"SchemaTabs"},(0,s.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(l.Z,{collapsible:!1,name:"weight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(c.Z,{responseExample:'{\n "weight": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/335f69d6.898366dc.js b/assets/js/335f69d6.898366dc.js deleted file mode 100644 index db8d4837a..000000000 --- a/assets/js/335f69d6.898366dc.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[4540],{40611:(e,t,s)=>{"use strict";s.d(t,{Z:()=>b});var n=s(87462),i=s(67294),o=s(86390),a=s(18694);const r={React:i,...i,Image:a.Ee,ElectionProvider:a.qT,ElectionHeader:a.UE,ElectionTitle:a.hi,ElectionSchedule:a.vE,ElectionResults:a.Hj,ElectionStatusBadge:a.QW,ElectionDescription:a.I3,ElectionQuestions:a.Vx,OrganizationProvider:a.f0,OrganizationAvatar:a.ld,OrganizationDescription:a.G9,OrganizationHeader:a.sC,OrganizationName:a.X5,Organization:a.cp};var c=s(170),l=s(39805),d=s(14902),u=s(23537);const h="f752b527e2aba395d1ba4c0de9c1471234567890",p="https://picsum.photos/seed/{seed}/1400/300",m={address:h,balance:0,nonce:123,electionIndex:13,account:new u.mR({languages:["en"],name:"Awesome Organization",description:"Description of Awesome organization",header:p.replace("{seed}",h),avatar:`https://picsum.photos/seed/${h}/300`,meta:[]})},g=`c5d2460186f7${h}020000000000`,f={electionCount:0,electionId:g,organizationId:"9b821aa92de2efc28ad6391fede437a92ce696d1",status:u.LD.RESULTS,startDate:"2023-06-27T03:01:10.621236881Z",endDate:"2023-07-17T05:49:16.598037746Z",voteCount:8,finalResults:!0,result:[["80","0","0"]],census:{censusOrigin:u.CU.OFF_CHAIN_TREE_WEIGHTED,censusRoot:"31755e98a4b7f6d0be2bb4071f05d45bbdb1c7871d37b1f93eb39d248d88ec9a",postRegisterCensusRoot:"",censusURL:"http://localhost:8080/census"},metadataURL:"ipfs://bafybeieo6pbbqvd4qhcsk4pdrv53tdkrdmtbjl273cumel27jurotdgszi",creationTime:"2023-06-27T03:01:00Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!0,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:2,maxVoteOverwrites:0,maxTotalCost:2,costExponent:1e4},metadata:{title:{default:"My awesome election"},version:"1.1",description:{default:"My awesome election description"},media:{header:p.replace("{seed}",g)},questions:[{choices:[{title:{default:"Yes"},value:0},{title:{default:"No"},value:1}],description:{default:"Test question 1 description"},title:{default:"Test question 1"}}],results:{aggregation:"discrete-counting",display:"multiple-choice"},meta:void 0}},v=u.u_.build({census:new u.pT(f.census.censusRoot,f.census.censusURL,u.oN.censusTypeFromCensusOrigin(f.census.censusOrigin),4,BigInt("40")),creationTime:f.creationTime,electionCount:0,endDate:f.endDate,finalResults:f.finalResults,id:f.electionId,metadataURL:f.metadataURL,organizationId:f.organizationId,raw:f,results:f.result,status:f.status,title:f.metadata.title,description:f.metadata.description,voteCount:f.voteCount,header:f.metadata.media.header,questions:f.metadata.questions,startDate:f.startDate,voteType:f.voteMode,electionType:{autoStart:f.electionMode.autoStart,interruptible:f.electionMode.interruptible,dynamicCensus:f.electionMode.dynamicCensus,secretUntilTheEnd:f.voteMode.encryptedVotes,anonymous:f.voteMode.anonymous}}),b=(y=c.Z,function(e){return e.live?i.createElement(l.x,{theme:(0,d.B1)(a.rS),resetCSS:!1},i.createElement(a.de,{env:"stg"},i.createElement(a.f0,{organization:m},i.createElement(a.qT,{election:v},i.createElement(o.Z,(0,n.Z)({scope:r},e)))))):i.createElement(y,e)});var y},37888:(e,t,s)=>{"use strict";s.r(t),s.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>b,frontMatter:()=>h,metadata:()=>m,toc:()=>f});var n=s(87462),i=(s(67294),s(3905)),o=s(26389),a=s(94891),r=s(75190),c=s(47507),l=s(24310),d=s(63303),u=(s(75035),s(85162));const h={id:"census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",sidebar_label:"Census total weight",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{weight:{type:"string"}},type:"object"}}},description:"Sum of weight son a stringfied big int format"}},tags:["Censuses"],description:"It sums all weights added to the census. Weight is a stringified bigInt",method:"get",path:"/censuses/{censusID}/weight",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census total weight",description:{content:"It sums all weights added to the census. Weight is a stringified bigInt",type:"text/plain"},url:{path:["censuses",":censusID","weight"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/census-total-weight",id:"vocdoni-api/census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",source:"@site/docs/vocdoni-api/census-total-weight.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/census-total-weight",permalink:"/vocdoni-api/census-total-weight",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"census-total-weight",title:"Census total weight",description:"It sums all weights added to the census. Weight is a stringified bigInt",sidebar_label:"Census total weight",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{weight:{type:"string"}},type:"object"}}},description:"Sum of weight son a stringfied big int format"}},tags:["Censuses"],description:"It sums all weights added to the census. Weight is a stringified bigInt",method:"get",path:"/censuses/{censusID}/weight",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates creating votings using Vocdoni, without the hassle of learning a complex blockchain platform, allowing to perform all the features that enable the voting protocol such as creating an account, entity, voting process, census & vote, abstracting as much as possible the complexity and offering simple and straightforward methods to perform those actions. \n\nYou can review the API endpoints documentation in this section, the main entities are:\n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes in a decentralized and verifiable format. In those endpoints, you can consult the state of the chain, transactions costs, list organizations and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum like address. An account can create and manage elections, transfer tokens, give power to other accounts on his behalf (delegates) and manage its metadata.\n- [**Elections**](elections): Is a rule-set of options and requirements for creating a process in which people vote a series of options. To know more about the params of an election and its lifecycle go [here](../get-started/intro#23-elections). In this section you will find all information related to an election as its information, election keys, submitted votes & how to create a new election.\n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (identified by a public key or address) eligible for participating in an election. To understand more about the Censuses you can check [here](../get-started/intro#21-the-census). Here you will be able to get censuses information like the Merkle root, total weight & size, import/export the censuses and create new ones.\n- [**Votes**](votes): All the information related to the vote issued by a participant in a vote, you can check the validity of the vote, consult your information and send a vote.\n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and they are all stored in a Merkle tree. The `/siks` endpoints help to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Census total weight",description:{content:"It sums all weights added to the census. Weight is a stringified bigInt",type:"text/plain"},url:{path:["censuses",":censusID","weight"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Census id",type:"text/plain"},type:"any",value:"",key:"censusID"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Verify merkle proof",permalink:"/vocdoni-api/verify-merkle-proof"},next:{title:"Create a new census",permalink:"/vocdoni-api/create-a-new-census"}},g={},f=[{value:"Census total weight",id:"census-total-weight",level:2}],v={toc:f};function b(e){let{components:t,...s}=e;return(0,i.kt)("wrapper",(0,n.Z)({},v,s,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"census-total-weight"},"Census total weight"),(0,i.kt)("p",null,"It sums all weights added to the census. Weight is a stringified bigInt"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Census id",in:"path",name:"censusID",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(o.Z,{mdxType:"ApiTabs"},(0,i.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"Sum of weight son a stringfied big int format")),(0,i.kt)("div",null,(0,i.kt)(a.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(l.Z,{collapsible:!1,name:"weight",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "weight": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0},46601:()=>{},55024:()=>{}}]); \ No newline at end of file diff --git a/assets/js/3849.378597b5.js b/assets/js/3849.378597b5.js new file mode 100644 index 000000000..33cf084a7 --- /dev/null +++ b/assets/js/3849.378597b5.js @@ -0,0 +1,2 @@ +/*! For license information please see 3849.378597b5.js.LICENSE.txt */ +(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[3849],{47310:(e,t,n)=>{e.exports=n(71877)},71877:(e,t,n)=>{e.exports={convert:n(31663).convert,getOptions:n(31663).getOptions}},66823:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var r=n(66823),i=n(58135).sanitize;function a(e,t){return Array.isArray(e[e.mode])?e[e.mode].reduce(((e,n)=>(n.disabled||("file"===n.type?e+=`request.AddFile("${i(n.key,t)}", "${i(n.src,t)}");\n`:(!n.value&&(n.value=""),e+=`request.AddParameter("${i(n.key,t)}", "${i(n.value,t)}");\n`)),e)),""):""}function o(e){return e.getHeaders({enabled:!0,ignoreCase:!0})["content-type"]||"text/plain"}e.exports={parseBody:function(e,t){var n=e.body?e.body.toJSON():{};if(!r.isEmpty(n))switch(n.mode){case"urlencoded":case"formdata":return a(n,t);case"raw":return`var body = ${n[n.mode].split("\n").map((e=>'@"'+e.replace(/"/g,'""')+'"')).join(' + "\\n" +\n')};\nrequest.AddParameter("${o(e)}", body, ParameterType.RequestBody);\n`;case"graphql":return function(e,t){let n=e.graphql?e.graphql.query:"",r=e.graphql?e.graphql.variables:"{}";try{r=JSON.parse(r||"{}")}catch(a){r={}}return`request.AddParameter("application/json", "${i(JSON.stringify({query:n||"",variables:r}),t)}",\n ParameterType.RequestBody);\n`}(n,t);case"file":return`request.AddParameter("${o(e)}", "", ParameterType.RequestBody);\n`;default:return""}return""},parseHeader:function(e){return Array.isArray(e.header)?e.header.reduce(((e,t)=>(t.disabled||("user-agent"===i(t.key,!0).toLowerCase()?e+=`client.UserAgent = "${i(t.value)}";\n`:e+=`request.AddHeader("${i(t.key,!0)}", "${i(t.value)}");\n`),e)),""):""},parseContentType:o}},31663:(e,t,n)=>{var r,i=n(66823),a=n(59231),o=n(58135).sanitize,s=n(58135).sanitizeOptions,c=n(58135).addFormParam;r=e.exports={getOptions:function(){return[{name:"Include boilerplate",id:"includeBoilerplate",type:"boolean",default:!1,description:"Include class definition and import statements in snippet"},{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]},convert:function(e,t,n){if(!i.isFunction(n))throw new Error("C#-RestSharp-Converter: Callback is not valid function");var l,u="",p="",h="";return l=(l="Tab"===(t=s(t,r.getOptions())).indentType?"\t":" ").repeat(t.indentCount),t.includeBoilerplate&&(u="using System;\nusing RestSharp;\nnamespace HelloWorldApplication {\n"+l+"class HelloWorld {\n"+l.repeat(2)+"static void Main(string[] args) {\n",p=l.repeat(2)+"}\n"+l+"}\n}\n"),h=function(e,t){const n=["LINK","UNLINK","LOCK","PROPFIND"],r=["PURGE","UNLOCK","VIEW","COPY"];var i=`var client = new RestClient("${o(e.url.toString())}");\n`,s=r.includes(e.method)||n.includes(e.method);if(t.requestTimeout?i+=`client.Timeout = ${t.requestTimeout};\n`:i+="client.Timeout = -1;\n",t.followRedirect||(i+="client.FollowRedirects = false;\n"),i+=`var request = new RestRequest(${s?"":"Method."+e.method});\n`,e.body&&"graphql"===e.body.mode&&!e.headers.has("Content-Type")&&e.addHeader({key:"Content-Type",value:"application/json"}),i+=a.parseHeader(e.toJSON(),t.trimRequestBody),e.body&&"formdata"===e.body.mode){let t=!1,n=e.body.formdata,r=[];e.body.toJSON().formdata.forEach((e=>{e.disabled||"file"!==e.type||(t=!0)})),t||(i+="request.AlwaysMultipartFormData = true;\n"),n.members.forEach((e=>{let t=e.key,n=e.type,i=e.disabled,a=e.contentType;"file"===n?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((n=>{c(r,t,e.type,n,i,a)})):c(r,t,e.type,"/path/to/file",i,a):c(r,t,e.type,e.src,i,a):c(r,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:r})}return i+=a.parseBody(e,t.trimRequestBody),s?(r.includes(e.method)&&(i+=`IRestResponse response = client.ExecuteAsGet(request, "${e.method}");\n`),n.includes(e.method)&&(i+=`IRestResponse response = client.ExecuteAsPost(request, "${e.method}");\n`)):i+="IRestResponse response = client.Execute(request);\n",i+"Console.WriteLine(response.Content);"}(e,t),t.includeBoilerplate&&(h=l.repeat(3)+h.split("\n").join("\n"+l.repeat(3))+"\n"),n(null,u+h+p)}}},58135:e=>{e.exports={sanitize:function(e,t){return"string"!=typeof e?"":(e=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),t?e.trim():e)},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},40185:(e,t,n)=>{e.exports=n(98138)},98138:(e,t,n)=>{var r,i=n(30423).sanitize,a=n(30423).sanitizeOptions,o=n(30423).getUrlStringfromUrlObject,s=n(30423).addFormParam,c=n(30423).form,l=n(12241);r=e.exports={convert:function(e,t,n){if(!l.isFunction(n))throw new Error("Curl-Converter: callback is not valid function");var u,p,h,d,f,m,y,g,v,b,x,_;if(f=(t=a(t,r.getOptions())).followRedirect,m=t.requestTimeoutInSeconds,y=t.multiLine,g=t.longFormat,p=t.trimRequestBody,b=t.silent,_="single"===t.quoteType?"'":'"',x=o(e.url,_),v=b?`curl ${c("-s",g)}`:"curl",f&&(v+=` ${c("-L",g)}`),m>0&&(v+=` ${c("-m",g)} ${m}`),(x.match(/[{[}\]]/g)||[]).length>0&&(v+=" -g"),y?(u="Tab"===t.indentType?"\t":" ",u=" "+t.lineContinuationCharacter+"\n"+u.repeat(t.indentCount)):u=" ","HEAD"===e.method?v+=` ${c("-I",g)} ${_+x+_}`:v+=` ${c("-X",g)} ${e.method} ${_+x+_}`,e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),(h=e.toJSON().header)&&(h=l.reject(h,"disabled"),l.forEach(h,(e=>{e.key&&(v+=u+`${c("-H",g)} ${_}${i(e.key,!0,_)}`,e.value?v+=`: ${i(e.value,!1,_)}${_}`:v+=";"+_)}))),e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{s(n,t,e.type,r,i,a)})):s(n,t,e.type,"/path/to/file",i,a):s(n,t,e.type,e.src,i,a):s(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}if(e.body&&(d=e.body.toJSON(),!l.isEmpty(d)))switch(d.mode){case"urlencoded":l.forEach(d.urlencoded,(function(e){e.disabled||(v+=u+"--data-urlencode",v+=` ${_}${i(e.key,p,_)}=${i(e.value,p,_)}${_}`)}));break;case"raw":v+=u+`--data-raw ${_}${i(d.raw.toString(),p,_)}${_}`;break;case"graphql":let e,t=d.graphql?d.graphql.query:"";try{e=JSON.parse(d.graphql.variables)}catch(k){e={}}v+=u+`--data-raw ${_}${i(JSON.stringify({query:t,variables:e}),p,_)}${_}`;break;case"formdata":l.forEach(d.formdata,(function(e){e.disabled||("file"===e.type?(v+=u+`${c("-F",g)}`,v+=` ${_}${i(e.key,p,_)}=${i(`@"${i(e.src,p,'"',!0)}"`,p,_,'"'===_)}`,v+=_):(v+=u+`${c("-F",g)}`,v+=` ${_}${i(e.key,p,_)}=`+i(`"${i(e.value,p,'"',!0)}"`,p,_,'"'===_),e.contentType&&(v+=`;type=${e.contentType}`),v+=_))}));break;case"file":v+=u+"--data-binary",v+=` ${_}@${i(d[d.mode].src,p)}${_}`;break;default:v+=`${c("-d",g)} ${_}${_}`}n(null,v)},getOptions:function(){return[{name:"Generate multiline snippet",id:"multiLine",type:"boolean",default:!0,description:"Split cURL command across multiple lines"},{name:"Use long form options",id:"longFormat",type:"boolean",default:!0,description:"Use the long form for cURL options (--header instead of -H)"},{name:"Line continuation character",id:"lineContinuationCharacter",availableOptions:["\\","^","`"],type:"enum",default:"\\",description:"Set a character used to mark the continuation of a statement on the next line (generally, \\ for OSX/Linux, ^ for Windows cmd and ` for Powershell)"},{name:"Quote Type",id:"quoteType",availableOptions:["single","double"],type:"enum",default:"single",description:"String denoting the quote type to use (single or double) for URL (Use double quotes when running curl in cmd.exe and single quotes for the rest)"},{name:"Set request timeout (in seconds)",id:"requestTimeoutInSeconds",type:"positiveInteger",default:0,description:"Set number of seconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"},{name:"Use Silent Mode",id:"silent",type:"boolean",default:!1,description:"Display the requested data without showing the cURL progress meter or error messages"}]}}},12241:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var t=e.exports={sanitize:function(e,t,n,r){return"string"!=typeof e?"":(r&&(e=e.replace(/\\/g,"\\\\")),'"'===n?e=e.replace(/"/g,'\\"'):"'"===n&&(e=e.replace(/'/g,"'\\''")),t?e.trim():e)},form:function(e,t){if(!t)return e;switch(e){case"-s":return"--silent";case"-L":return"--location";case"-m":return"--max-time";case"-I":return"--head";case"-X":return"--request";case"-H":return"--header";case"-d":return"--data";case"-F":return"--form";default:return""}},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},getUrlStringfromUrlObject:function(e,n){var r="";if(!e)return r;if(e.protocol&&(r+=e.protocol.endsWith("://")?e.protocol:e.protocol+"://"),e.auth&&e.auth.user&&(r=r+(e.auth.password?e.auth.user+":"+e.auth.password:e.auth.user)+"@"),e.host&&(r+=e.getHost()),e.port&&(r+=":"+e.port.toString()),e.path&&(r+=e.getPath()),e.query&&e.query.count()){let t=e.getQueryString({ignoreDisabled:!0,encode:!0});t&&(r+="?"+t)}return e.hash&&(r+="#"+e.hash),t.sanitize(r,!1,n)},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},97546:(e,t,n)=>{e.exports=n(89287)},89287:(e,t,n)=>{var r,i=n(25085),a=n(40028).sanitize,o=n(40028).sanitizeMultiline,s=n(40028).sanitizeOptions,c=n(40028).addFormParam,l=!1;function u(e,t,n){if(!i.isEmpty(e))switch(e.mode){case"urlencoded":return function(e,t){return`payload := strings.NewReader("${i.reduce(e,(function(e,n){return n.disabled||e.push(`${encodeURIComponent(n.key,t)}=${encodeURIComponent(n.value,t)}`),e}),[]).join("&")}")`}(e.urlencoded,t);case"raw":return function(e,t){return`payload := strings.NewReader(\`${o(e.toString(),t)}\`)`}(e.raw,t);case"graphql":return function(e,t){let n,r,i=e?e.query:"";try{n=JSON.parse(e.variables)}catch(o){n={}}return r=`payload := strings.NewReader("${a(JSON.stringify({query:i||"",variables:n}),t)}")`,r}(e.graphql,t);case"formdata":return function(e,t,n){var r=`payload := &bytes.Buffer{}\n${n}writer := multipart.NewWriter(payload)\n`;return i.forEach(e,(function(e,i){e.disabled||("file"===e.type?(l=!0,r+=`${n}file, errFile${i+1} := os.Open("${e.src}")\n`,r+=`${n}defer file.Close()\n`,r+=`${n}part${i+1},\n errFile${i+1} := writer.CreateFormFile("${a(e.key,t)}",filepath.Base("${e.src}"))\n`,r+=`${n}_, errFile${i+1} = io.Copy(part${i+1}, file)\n`,r+=`${n}if errFile${i+1} != nil {\n${n.repeat(2)}fmt.Println(errFile${i+1})\n${n.repeat(2)}return\n${n}}\n`):e.contentType?(r+=`\n${n}mimeHeader${i+1} := make(map[string][]string)\n`,r+=`${n}mimeHeader${i+1}["Content-Disposition"] = `,r+=`append(mimeHeader${i+1}["Content-Disposition"], "form-data; `,r+=`name=\\"${a(e.key,t)}\\"")\n`,r+=`${n}mimeHeader${i+1}["Content-Type"] = append(`,r+=`mimeHeader${i+1}["Content-Type"], "${e.contentType}")\n`,r+=`${n}fieldWriter${i+1}, _ := writer.CreatePart(mimeHeader${i+1})\n`,r+=`${n}fieldWriter${i+1}.Write([]byte("${a(e.value,t)}"))\n\n`):(r+=`${n}_ = writer.WriteField("${a(e.key,t)}",`,r+=` "${a(e.value,t)}")\n`))})),r+=`${n}err := writer.Close()\n${n}if err != nil {\n${n.repeat(2)}fmt.Println(err)\n${n.repeat(2)}return\n${n}}\n`}(e.formdata,t,n);case"file":return e.file,'payload := strings.NewReader("")\n';default:return""}return""}r=e.exports={convert:function(e,t,n){if(!i.isFunction(n))throw new Error("GoLang-Converter: callback is not valid function");var o,p,h,d,f,m,y="",g="";if(p=(p="Tab"===(t=s(t,r.getOptions())).indentType?"\t":" ").repeat(t.indentCount),d=t.requestTimeout,f=t.followRedirect,h=t.trimRequestBody,e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{c(n,t,e.type,r,i,a)})):c(n,t,e.type,"/path/to/file",i,a):c(n,t,e.type,e.src,i,a):c(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}e.body&&(y=u(e.body.toJSON(),h,p)),o="package main\n\n",o+=`import (\n${p}"fmt"\n`,d>0&&(o+=`${p}"time"\n`),e.body&&"formdata"===e.body.toJSON().mode?o+=`${p}"bytes"\n${p}"mime/multipart"\n`:""!==y&&(o+=`${p}"strings"\n`),l&&(o+=`${p}"os"\n${p}"path/filepath"\n`,o+=`${p}"io"\n`,l=!1),o+=`${p}"net/http"\n${p}"io/ioutil"\n)\n\n`,o+=`func main() {\n\n${p}url := "${encodeURI(e.url.toString())}"\n`,o+=`${p}method := "${e.method}"\n\n`,""!==y&&(o+=p+y+"\n\n"),d>0&&(o+=`${p}timeout := time.Duration(${d/1e3} * time.Second)\n`),o+=p+"client := &http.Client {\n",f||(o+=p.repeat(2)+"CheckRedirect: func(req *http.Request, via []*http.Request) ",o+="error {\n",o+=`${p.repeat(3)}return http.ErrUseLastResponse\n${p.repeat(2)}},\n`),d>0&&(o+=p.repeat(2)+"Timeout: timeout,\n"),o+=p+"}\n",o+=""!==y?`${p}req, err := http.NewRequest(method, url, payload)\n\n`:`${p}req, err := http.NewRequest(method, url, nil)\n\n`,o+=`${p}if err != nil {\n${p.repeat(2)}fmt.Println(err)\n`,o+=`${p.repeat(2)}return\n${p}}\n`,e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),m=function(e,t){var n="";return i.isEmpty(e)||(e=i.reject(e,"disabled"),i.forEach(e,(function(e){n+=`${t}req.Header.Add("${a(e.key,!0)}", "${a(e.value)}")\n`}))),n}(e.toJSON().header,p),""!==m&&(o+=m+"\n"),e.body&&"formdata"===e.body.toJSON().mode&&(o+=`${p}req.Header.Set("Content-Type", writer.FormDataContentType())\n`),g=`${p}res, err := client.Do(req)\n`,g+=`${p}if err != nil {\n${p.repeat(2)}fmt.Println(err)\n`,g+=`${p.repeat(2)}return\n${p}}\n`,g+=`${p}defer res.Body.Close()\n\n${p}body, err := ioutil.ReadAll(res.Body)\n`,g+=`${p}if err != nil {\n${p.repeat(2)}fmt.Println(err)\n`,g+=`${p.repeat(2)}return\n${p}}\n`,n(null,o+=g+=`${p}fmt.Println(string(body))\n}`)},getOptions:function(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]}}},25085:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{e.exports={sanitize:function(e,t){return"string"!=typeof e?"":(e=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t?e.trim():e)},sanitizeMultiline:function(e,t){return"string"!=typeof e?"":(e=e.replace(/`/g,'`+"`"+`').replace(/\r/g,'`+"\r"+`'),t?e.trim():e)},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},19453:(e,t,n)=>{e.exports=n(20666)},20666:(e,t,n)=>{var r=n(81017),i=n(19674).sanitize,a=n(19674).sanitizeOptions,o=n(19674).addFormParam,s=n(62520);const c=["urlencoded","raw","graphql","file","formdata"];function l(e,t,n,r){var a="var raw = ";if(n&&("application/json"===n||n.match(/\+json$/)))try{let t=JSON.parse(e);a+=`JSON.stringify(${JSON.stringify(t,null,r.length)});\n`}catch(o){a+=`"${i(e.toString(),t)}";\n`}else a+=`"${i(e.toString(),t)}";\n`;return a}function u(e,t,n,a){if(!r.isEmpty(e))switch(e.mode){case"urlencoded":return function(e,t){var n="var urlencoded = new URLSearchParams();\n";return r.forEach(e,(function(e){e.disabled||(n+=`urlencoded.append("${i(e.key,t)}", "${i(e.value,t)}");\n`)})),n}(e.urlencoded,t);case"raw":return l(e.raw,t,a,n);case"graphql":return function(e,t,n){let r,a,o=e.query;try{r=JSON.parse(e.variables)}catch(s){r={}}return a="var graphql = JSON.stringify({\n",a+=`${n}query: "${i(o,t)}",\n`,a+=`${n}variables: ${JSON.stringify(r)}\n})`,a}(e.graphql,t,n);case"formdata":return function(e,t){var n="var formdata = new FormData();\n";return r.forEach(e,(function(e){if(!e.disabled)if("file"===e.type){var r=e.src.split(s.sep),a=r[r.length-1];n+=`formdata.append("${i(e.key,t)}", fileInput.files[0], "${a}");\n`}else n+=`formdata.append("${i(e.key,t)}", "${i(e.value,t)}");\n`})),n}(e.formdata,t);case"file":return e.file,'var file = "";\n';default:return l(e[e.mode],t)}return""}function p(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]}e.exports={convert:function(e,t,n){if(!r.isFunction(n))throw new Error("JS-Fetch Converter callback is not a valid function");var s,l,p,h,d="Tab"===(t=a(t,[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}])).indentType?"\t":" ",f=t.trimRequestBody,m="",y="",g="",v="";if(d=d.repeat(t.indentCount),e.body&&"graphql"===e.body.mode&&!e.headers.has("Content-Type")&&e.addHeader({key:"Content-Type",value:"application/json"}),l=function(e){var t="";return r.isEmpty(e)?t="":(t="var myHeaders = new Headers();\n",e=r.reject(e,"disabled"),r.forEach(e,(function(e){t+=`myHeaders.append("${i(e.key,!0)}", "${i(e.value)}");\n`}))),t}(e.toJSON().header),e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{o(n,t,e.type,r,i,a)})):o(n,t,e.type,"/path/to/file",i,a):o(n,t,e.type,e.src,i,a):o(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}p=u(s=e.body&&e.body.toJSON(),f,d,e.headers.get("Content-Type")),y=`var requestOptions = {\n${d}`,y+=`method: '${e.method}',\n${d}`,""!==l&&(y+=`headers: myHeaders,\n${d}`,m+=l+"\n"),""!==p&&(r.includes(c,s.mode)||(s.mode="raw"),y+=`body: ${s.mode},\n${d}`,m+=p+"\n"),m+=(y+=`redirect: '${h=t.followRedirect,h?"follow":"manual"}'\n};\n`)+"\n",v=`fetch("${i(e.url.toString())}", requestOptions)\n${d}`,v+=`.then(response => response.text())\n${d}`,v+=`.then(result => console.log(result))\n${d}`,v+=".catch(error => console.log('error', error));",t.requestTimeout>0?(g=`var promise = Promise.race([\n${d}`,g+=`fetch('${e.url.toString()}', requestOptions)\n${d}${d}`,g+=`.then(response => response.text()),\n${d}`,g+=`new Promise((resolve, reject) =>\n${d}${d}`,g+=`setTimeout(() => reject(new Error('Timeout')), ${t.requestTimeout})\n${d}`,g+=")\n]);\n\n",g+="promise.then(result => console.log(result)),\n",m+=g+="promise.catch(error => console.log(error));"):m+=v,n(null,m)},getOptions:p}},81017:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{e.exports={sanitize:function(e,t){return"string"!=typeof e?"":(e=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t?e.trim():e)},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},190:(e,t,n)=>{e.exports=n(22599)},48550:(e,t,n)=>{const r=n(14246),i=n(21447),a=n(95553).sanitize,o=n(95553).sanitizeOptions,s=n(95553).addFormParam;function c(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"},{name:"Enable ES6 features",id:"ES6_enabled",type:"boolean",default:!1,description:"Modifies code snippet to incorporate ES6 (EcmaScript) features"}]}e.exports={convert:function(e,t,n){if(!r.isFunction(n))throw new Error("NodeJS-Axios-Converter: callback is not valid function");return n(null,function(e,t,n){var o,c,l,u=n.ES6_enabled?"const":"var",p=[];if(u+=" axios = require('axios');\n",e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{s(n,t,e.type,r,i,a)})):s(n,t,e.type,"/path/to/file",i,a):s(n,t,e.type,e.src,i,a):s(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}c=e.body&&e.body.toJSON(),u+=(o=r.isEmpty(c)?"":i.parseBody(c,n.trimRequestBody,t,e.headers.get("Content-Type"),n.ES6_enabled))+"\n",p.push(t+`method: '${e.method.toLowerCase()}'`),p.push(t+`url: '${a(e.url.toString())}'`),l=i.parseHeader(e,t),!r.isEmpty(c)&&c.formdata&&l.push(`${t.repeat(2)}...data.getHeaders()`);let h=t+"headers: { ";return l.length>0?(h+="\n",h+=l.join(", \n")+"\n",h+=t+"}"):h+="}",p.push(h),n.requestTimeout&&p.push(t+`timeout: ${n.requestTimeout}`),!1===n.followRedirect&&p.push(t+"maxRedirects: 0"),""!==o&&p.push(t+"data : data"),n.ES6_enabled?u+="let":u+="var",u+=" config = {\n",u+=p.join(",\n")+"\n",u+="};\n\n",u+="axios(config)\n",n.ES6_enabled?u+=".then((response) => {\n":u+=".then(function (response) {\n",u+=t+"console.log(JSON.stringify(response.data));\n",u+="})\n",n.ES6_enabled?u+=".catch((error) => {\n":u+=".catch(function (error) {\n",u+=t+"console.log(error);\n",u+"});\n"}(e,("Tab"===(t=o(t,[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"},{name:"Enable ES6 features",id:"ES6_enabled",type:"boolean",default:!1,description:"Modifies code snippet to incorporate ES6 (EcmaScript) features"}])).indentType?"\t":" ").repeat(t.indentCount),t))},getOptions:c}},22599:(e,t,n)=>{e.exports={convert:n(48550).convert,getOptions:n(48550).getOptions}},14246:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var r=n(14246),i=n(95553).sanitize;function a(e,t,n){var a=n?"const":"var",o=a+" FormData = require('form-data');\n";return e.filter((function(e){return!e.disabled&&"file"===e.type})).length>0&&(o+=a+" fs = require('fs');\n"),o+=n?"let":"var",o+=" data = new FormData();\n",r.forEach(e,(function(e){if(!e.disabled)if("file"===e.type){var n=`fs.createReadStream('${e.src}')`;o+=`data.append('${i(e.key,t)}', ${n});\n`}else o+=`data.append('${i(e.key,t)}', '${i(e.value,t)}'`,e.contentType&&(o+=`, {contentType: '${i(e.contentType,t)}'}`),o+=");\n"})),o}function o(e,t,n,r,a){var o=(r?"let":"var")+" data = ";if(n&&("application/json"===n||n.match(/\+json$/)))try{let t=JSON.parse(e);o+=`JSON.stringify(${JSON.stringify(t,null,a.length)});\n`}catch(s){o+=`'${i(e.toString(),t)}';\n`}else o+=`'${i(e.toString(),t)}';\n`;return o}e.exports={parseBody:function(e,t,n,s,c){if(e&&!r.isEmpty(e))switch(e.mode){case"urlencoded":return function(e,t,n,a){var o=(n?"const":"var")+" qs = require('qs');\n",s=[];return r.forEach(e,(function(e){e.disabled||s.push(`'${i(e.key,t)}': '${i(e.value,t)}'`)})),o+=n?"let":"var",o+` data = qs.stringify({\n${a}${s.join(",\n"+a)} \n});`}(e.urlencoded,t,c,n);case"raw":return o(e.raw,t,s,c,n);case"graphql":return function(e,t,n,r){var i=r?"let":"var";let a,o=e?e.query:"",s=e?e.variables:"{}";try{s=JSON.parse(s||"{}")}catch(c){s={}}return a=i+" data = JSON.stringify({\n",a+=`${n}query: \`${o?o.trim():""}\`,\n`,a+=`${n}variables: ${JSON.stringify(s)}\n});\n`,a}(e.graphql,0,n,c);case"formdata":return a(e.formdata,t,c);case"file":return function(e){return(e?"let":"var")+" data = '';\n"}(c);default:return o(e[e.mode],t,s,c)}return""},parseHeader:function(e,t){var n=e.getHeaders({enabled:!0}),a=[];return r.isEmpty(n)||(a=r.reduce(Object.keys(n),(function(e,a){if(Array.isArray(n[a])){var o=[];r.forEach(n[a],(e=>{o.push(`${i(e)}`)})),e.push(t.repeat(2)+`'${i(a,!0)}': '${o.join(", ")}'`)}else e.push(t.repeat(2)+`'${i(a,!0)}': '${i(n[a])}'`);return e}),[])),a},parseFormData:a}},95553:e=>{e.exports={sanitize:function(e,t){return"string"!=typeof e?"":(t&&(e=e.trim()),e.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"))},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},76153:(e,t,n)=>{e.exports=n(81686)},81686:(e,t,n)=>{e.exports={convert:n(36127).convert,getOptions:n(36127).getOptions}},337:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var r,i=n(337),a=n(67161),o=n(72875).sanitize,s=n(72875).sanitizeOptions,c=n(72875).addFormParam;r=e.exports={getOptions:function(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]},convert:function(e,t,n){var l,u,p="";if(i.isFunction(t))n=t,t=null;else if(!i.isFunction(n))throw new Error("Php-Curl~convert: Callback is not a function");if(l=("Tab"===(t=s(t,r.getOptions())).indentType?"\t":" ").repeat(t.indentCount),(u=e.url.toString())!==encodeURI(u)&&(u=encodeURI(u)),p=" '${o(u,"url")}',\n`,p+=`${l}CURLOPT_RETURNTRANSFER => true,\n`,p+=`${l}CURLOPT_ENCODING => '',\n`,p+=`${l}CURLOPT_MAXREDIRS => 10,\n`,p+=`${l}CURLOPT_TIMEOUT => ${t.requestTimeout},\n`,p+=`${l}CURLOPT_FOLLOWLOCATION => ${t.followRedirect},\n`,p+=`${l}CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n`,p+=`${l}CURLOPT_CUSTOMREQUEST => '${e.method}',\n`,e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{c(n,t,e.type,r,i,a)})):c(n,t,e.type,"/path/to/file",i,a):c(n,t,e.type,e.src,i,a):c(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}return p+=`${a(e.toJSON(),t.trimRequestBody,l)}`,e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),p+=`${function(e,t){var n,r=e.toJSON().header;return i.isEmpty(r)?"":(r=i.reject(r,"disabled"),n=i.map(r,(function(e){return`${t.repeat(2)}'${o(e.key,"header",!0)}: ${o(e.value,"header")}'`})),`${t}CURLOPT_HTTPHEADER => array(\n${n.join(",\n")}\n${t}),\n`)}(e,l)}`,p+="));\n\n",p+="$response = curl_exec($curl);\n\n",p+="curl_close($curl);\n",n(null,p+="echo $response;\n")}}},67161:(e,t,n)=>{var r=n(337),i=n(72875).sanitize;e.exports=function(e,t,n){if(e.body){var a,o="";switch(e.body.mode){case"raw":return r.isEmpty(e.body[e.body.mode])||(o+=`${n}CURLOPT_POSTFIELDS =>'${i(e.body[e.body.mode],e.body.mode,t)}',\n`),o;case"graphql":let c,l=e.body[e.body.mode].query;try{c=JSON.parse(e.body[e.body.mode].variables)}catch(s){c={}}return o+=`${n}CURLOPT_POSTFIELDS =>'${i(JSON.stringify({query:l,variables:c}),"raw",t)}',\n`;case"urlencoded":return a=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(a)||(o=`${n}CURLOPT_POSTFIELDS => '${r.map(a,(function(n){return`${i(n.key,e.body.mode,t)}=${i(n.value,e.body.mode,t)}`})).join("&")}',\n`),o;case"formdata":return a=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(a)||(o=`${n}CURLOPT_POSTFIELDS => array(${r.map(a,(function(n){return"text"===n.type?`'${i(n.key,e.body.mode,t)}' => '${i(n.value,e.body.mode,t)}'`:"file"===n.type?`'${i(n.key,e.body.mode,t)}'=> new CURLFILE('${i(n.src,e.body.mode,t)}')`:void 0})).join(",")}),\n`),o;case"file":return o=`${n}CURLOPT_POSTFIELDS => "",\n`;default:return o}}return""}},72875:e=>{e.exports={sanitize:function(e,t,n){return"string"!=typeof e?"":(e=n&&"boolean"==typeof n?e.trim():e,t&&"string"==typeof t?"urlencoded"===t?encodeURIComponent(e).replace(/'/g,"\\'"):e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"):e)},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},10739:(e,t,n)=>{e.exports=n(84923)},84923:(e,t,n)=>{e.exports={convert:n(34345).convert,getOptions:n(34345).getOptions}},47011:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var r,i=n(47011),a=n(84526),o=n(20891).sanitize,s=n(20891).sanitizeOptions,c=n(20891).addFormParam;r=e.exports={getOptions:function(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]},convert:function(e,t,n){var l,u,p="";if(i.isFunction(t))n=t,t=null;else if(!i.isFunction(n))throw new Error("Python-Requests~convert: Callback is not a function");if(l=("Tab"===(t=s(t,r.getOptions())).indentType?"\t":" ").repeat(t.indentCount),p+="import requests\n",(u=e.headers.get("Content-Type"))&&("application/json"===u||u.match(/\+json$/))&&(p+="import json\n"),p+="\n",p+=`url = "${o(e.url.toString(),"url")}"\n\n`,e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{c(n,t,e.type,r,i,a)})):c(n,t,e.type,"/path/to/file",i,a):c(n,t,e.type,e.src,i,a):c(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}p+=`${a(e.toJSON(),l,t.trimRequestBody,u)}`,e.body&&!u&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),p+=`${function(e,t){var n=e.toJSON().header;return i.isEmpty(n)?"headers = {}\n":(n=i.reject(n,"disabled"),`headers = {\n${i.map(n,(function(e){return`${t}'${o(e.key,"header",!0)}': '${o(e.value,"header")}'`})).join(",\n")}\n}\n`)}(e,l)}\n`,p+=`response = requests.request("${e.method}", url, headers=headers`,p+=e.body&&e.body.mode&&"formdata"===e.body.mode?", data=payload, files=files":", data=payload",p+=t.followRedirect?"":", allow_redirects=False",p+=0!==t.requestTimeout?`, timeout=${t.requestTimeout}`:"",p+=")\n\n",n(null,p+="print(response.text)\n")}}},84526:(e,t,n)=>{var r=n(47011),i=n(20891).sanitize,a="__PYTHON#%0True__",o="__PYTHON#%0False__",s="__PYTHON#%0NULL__",c={aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gif:"image/gif",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",mid:"audip/midi",midi:"audio/midi",mjs:"text/javascript",mp3:"audio/mpeg",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",otf:"font/otf",png:"image/png",pdf:"application/pdf",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/x-rar-compressed",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",ts:"video/mp2t",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"text/xml",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","3gp":"video/3gpp","7z":"application/x-7z-compressed","7-zip":"application/x-7z-compressed"};function l(e,t){return"boolean"==typeof t?t?a:o:null===t?s:t}e.exports=function(e,t,n,u){if(e.body){var p,h,d,f="";switch(e.body.mode){case"raw":if(r.isEmpty(e.body[e.body.mode])&&(f="payload = {}\n"),u&&("application/json"===u||u.match(/\+json$/)))try{return`payload = json.dumps(${function(e,t){return JSON.stringify(e,l,t).replace(new RegExp(`"${a}"`,"g"),"True").replace(new RegExp(`"${o}"`,"g"),"False").replace(new RegExp(`"${s}"`,"g"),"None")}(JSON.parse(e.body[e.body.mode]),t.length)})\n`}catch(m){}return`payload = ${i(e.body[e.body.mode],e.body.mode,n)}\n`;case"graphql":let g,v=e.body[e.body.mode].query;try{g=JSON.parse(e.body[e.body.mode].variables)}catch(y){g={}}return f+=`payload=${i(JSON.stringify({query:v,variables:g}),"raw",n)}\n`;case"urlencoded":return d=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(d)?f="payload={}\n":f+=`payload='${(p=r.map(d,(function(t){return`${i(t.key,e.body.mode,n)}=${i(t.value,e.body.mode,n)}`}))).join("&")}'\n`,f;case"formdata":return d=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(d)?f="payload={}\nfiles={}\n":(p=r.map(r.filter(d,{type:"text"}),(function(t){return`'${i(t.key,e.body.mode,n)}': '${i(t.value,e.body.mode,n)}'`})),h=r.map(r.filter(d,{type:"file"}),(function(r){var a=r.src,o=a.split(".")[a.split(".").length-1],s=c[o];return s||(s="application/octet-stream"),`${t}('${r.key}',('${a.split("/")[a.split("/").length-1]}',open('${i(a,e.body.mode,n)}','rb'),'${s}'))`})),f=`payload={${p.join(",\n")}}\nfiles=[\n${h.join(",\n")}\n]\n`),f;case"file":return'payload=""\n';default:return"payload={}\n"}}return"payload={}\n"}},20891:e=>{e.exports={sanitize:function(e,t,n){if("string"!=typeof e)return"";if(e=n&&"boolean"==typeof n?e.trim():e,t&&"string"==typeof t)switch(t){case"raw":return JSON.stringify(e);case"urlencoded":return encodeURIComponent(e).replace(/'/g,"\\'");case"formdata":case"file":case"header":return e.replace(/\\/g,"\\\\").replace(/'/g,"\\'");default:return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}return e},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},55078:(e,t,n)=>{e.exports=n(26039)},26039:(e,t,n)=>{e.exports={convert:n(9704).convert,getOptions:n(9704).getOptions}},74366:e=>{e.exports={isEmpty:function(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e||"function"==typeof e.splice)return!e.length;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},isUndefined:function(e){return void 0===e},isFunction:function(e){return"function"==typeof e},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},reduce:function(e,t,n){return e.reduce(t,n)},filter:function(e,t){if("function"==typeof t)return e.filter(t);var n=Object.keys(t),r=t[n],i=[];return e.forEach((function(e){e[n]&&e[n]===r&&i.push(e)})),i},reject:function(e,t){var n=[];return e.forEach((e=>{e[t]||n.push(e)})),n},map:function(e,t){return e.map(t)},forEach:function(e,t){if(null===e)return null;if(Array.isArray(e))return e.forEach(t);const n=Object(e),r=Object.keys(e);var i,a,o=-1;for(a=0;a{e[r][i]&&e[r][i]===t[i]||(n=!1)})),n){a=r;break}return a},get:function(e,t,n){if(null!==e){var r,i=t.split("."),a=e;for(r=0;r{var r,i=n(74366),a=n(44206),o=n(27450).sanitize,s=n(27450).sanitizeOptions,c=n(27450).addFormParam;function l(e){var t="";return i.isEmpty(e)||i.forEach(e,(function(e,n){if(Array.isArray(e)){var r=[];i.forEach(e,(e=>{r.push(`"${o(e,"header")}"`)})),t+=`request["${o(n,"header",!0)}"] = [${r.join(", ")}]\n`}else t+=`request["${o(n,"header",!0)}"] = "${o(e,"header")}"\n`})),t}r=e.exports={getOptions:function(){return[{name:"Set indentation count",id:"indentCount",type:"positiveInteger",default:2,description:"Set the number of indentation characters to add per code level"},{name:"Set indentation type",id:"indentType",type:"enum",availableOptions:["Tab","Space"],default:"Space",description:"Select the character used to indent lines of code"},{name:"Set request timeout",id:"requestTimeout",type:"positiveInteger",default:0,description:"Set number of milliseconds the request should wait for a response before timing out (use 0 for infinity)"},{name:"Follow redirects",id:"followRedirect",type:"boolean",default:!0,description:"Automatically follow HTTP redirects"},{name:"Trim request body fields",id:"trimRequestBody",type:"boolean",default:!1,description:"Remove white space and additional lines that may affect the server's response"}]},convert:function(e,t,n){var u,p,h="",d="";if(i.isFunction(t))n=t,t=null;else if(!i.isFunction(n))throw new Error("Ruby~convert: Callback is not a function");if(u=("Tab"===(t=s(t,r.getOptions())).indentType?"\t":" ").repeat(t.indentCount),h='require "uri"\n',(p=e.headers.get("Content-Type"))&&("application/json"===p||p.match(/\+json$/))&&(h+='require "json"\n'),h+='require "net/http"\n\n',i.includes(["GET","POST","HEAD","DELETE","PATCH","PROPFIND","PROPPATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"],e.method)||(h+=`class Net::HTTP::${i.capitalize(e.method)} < Net::HTTPRequest\n`,h+=`${u}METHOD = "${e.method}"\n`,h+=`${u}REQUEST_HAS_BODY = ${!i.isEmpty(e.body)}\n`,h+=`${u}RESPONSE_HAS_BODY = true\n`,h+="end\n\n"),h+=`url = URI("${o(e.url.toString(),"url")}")\n\n`,o(e.url.toString(),"url").startsWith("https")){if(h+="https = Net::HTTP.new(url.host, url.port)\n",h+="https.use_ssl = true\n\n",t.requestTimeout&&(h+=`https.read_timeout = ${Math.ceil(t.requestTimeout/1e3)}\n`),h+=`request = Net::HTTP::${i.capitalize(e.method)}.new(url)\n`,e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),""!==(d=l(e.getHeaders({enabled:!0})))&&(h+=d),e.body&&"formdata"===e.body.mode){let t=e.body.formdata,n=[];t.members.forEach((e=>{let t=e.key,r=e.type,i=e.disabled,a=e.contentType;"file"===r?"string"!=typeof e.src?Array.isArray(e.src)&&e.src.length?e.src.forEach((r=>{c(n,t,e.type,r,i,a)})):c(n,t,e.type,"/path/to/file",i,a):c(n,t,e.type,e.src,i,a):c(n,t,e.type,e.value,i,a)})),e.body.update({mode:"formdata",formdata:n})}h+=`${a(e.toJSON(),t.trimRequestBody,p,t.indentCount)}\n`,h+="response = https.request(request)\n",h+="puts response.read_body\n"}else h+="http = Net::HTTP.new(url.host, url.port);\n",t.requestTimeout&&(h+=`http.read_timeout = ${Math.ceil(t.requestTimeout/1e3)}\n`),h+=`request = Net::HTTP::${i.capitalize(e.method)}.new(url)\n`,e.body&&!e.headers.has("Content-Type")&&("file"===e.body.mode?e.addHeader({key:"Content-Type",value:"text/plain"}):"graphql"===e.body.mode&&e.addHeader({key:"Content-Type",value:"application/json"})),""!==(d=l(e.getHeaders({enabled:!0})))&&(h+=d),h+=`${a(e.toJSON(),t.trimRequestBody,p,t.indentCount)}\n`,h+="response = http.request(request)\n",h+="puts response.read_body\n";return n(null,h)}}},44206:(e,t,n)=>{var r=n(74366),i=n(27450).sanitize,a="__RUBY#%0NULL__";function o(e,t){return null===t?a:t}e.exports=function(e,t,n,s){if(e.body){var c,l="",u=[];switch(e.body.mode){case"raw":if(r.isEmpty(e.body[e.body.mode]))return"";if(n&&("application/json"===n||n.match(/\+json$/)))try{let t=JSON.parse(e.body[e.body.mode]);return t=JSON.stringify(t,o,s).replace(new RegExp(`"${a}"`,"g"),"nil"),`request.body = JSON.dump(${t})\n`}catch(p){}return l+=`request.body = ${i(e.body[e.body.mode],e.body.mode,t)}\n`;case"graphql":let d,f=e.body[e.body.mode].query;try{d=JSON.parse(e.body[e.body.mode].variables)}catch(h){d={}}return l+=`request.body = ${i(JSON.stringify({query:f,variables:d}),"raw",t)}\n`;case"urlencoded":return c=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(c)||(u=r.map(c,(function(n){return`${i(n.key,e.body.mode,t)}=${i(n.value,e.body.mode,t)}`})),l=`request.body = "${i(u.join("&"),"doubleQuotes")}"\n`),l;case"formdata":return c=r.reject(e.body[e.body.mode],"disabled"),r.isEmpty(c)||(u=r.map(c,(function(e){return"text"===e.type?`['${i(e.key,"formdata",t)}', '${i(e.value,"formdata",t)}']`:`['${i(e.key,"formdata",t)}', File.open('${e.src}')]`}))),l=`form_data = [${u.join(",")}]\n`,l+="request.set_form form_data, 'multipart/form-data'";case"file":return l='request.body = ""\n';default:return l}}return""}},27450:e=>{e.exports={sanitize:function(e,t,n){if("string"!=typeof e)return"";if(e=n&&"boolean"==typeof n?e.trim():e,t&&"string"==typeof t)switch(t){case"raw":return JSON.stringify(e);case"urlencoded":return encodeURIComponent(e);case"formdata":case"file":return e.replace(/\\/g,"\\\\").replace(/'/g,"\\'");case"header":return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');default:return e.replace(/"/g,'\\"')}return e},sanitizeOptions:function(e,t){var n,r={},i={};for(n in t.forEach((e=>{i[e.id]={default:e.default,type:e.type},"enum"===e.type&&(i[e.id].availableOptions=e.availableOptions)})),e)if(e.hasOwnProperty(n)){if(void 0===i[n])continue;switch(i[n].type){case"boolean":"boolean"!=typeof e[n]?r[n]=i[n].default:r[n]=e[n];break;case"positiveInteger":"number"!=typeof e[n]||e[n]<0?r[n]=i[n].default:r[n]=e[n];break;case"enum":i[n].availableOptions.includes(e[n])?r[n]=e[n]:r[n]=i[n].default;break;default:r[n]=e[n]}}for(n in i)i.hasOwnProperty(n)&&void 0===r[n]&&(r[n]=i[n].default);return r},addFormParam:function(e,t,n,r,i,a){"file"===n?e.push({key:t,type:n,src:r,disabled:i,contentType:a}):e.push({key:t,type:n,value:r,disabled:i,contentType:a})}}},96308:(e,t,n)=>{e.exports=n(16534)},695:(e,t,n)=>{var r=[{type:"code_generator",lang:"csharp",variant:"RestSharp",syntax_mode:"csharp",author:"Postman Labs ",homepage:"",main:n(47310)},{type:"code_generator",lang:"curl",variant:"cURL",syntax_mode:"powershell",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/curl",main:n(40185)},{type:"code_generator",lang:"go",variant:"Native",syntax_mode:"golang",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/golang",main:n(97546)},{type:"code_generator",lang:"JavaScript",variant:"Fetch",syntax_mode:"javascript",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/js-fetch",main:n(19453)},{type:"code_generator",lang:"nodejs",variant:"Axios",syntax_mode:"javascript",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/nodejs-axios",main:n(190)},{type:"code_generator",lang:"php",variant:"cURL",syntax_mode:"php",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/php-curl",main:n(76153)},{type:"code_generator",lang:"python",variant:"Requests",syntax_mode:"python",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/python-requests",main:n(10739)},{type:"code_generator",lang:"Ruby",variant:"Net::HTTP",syntax_mode:"ruby",author:"Postman Labs ",homepage:"https://github.com/postmanlabs/code-generators/tree/master/codegens/ruby",main:n(55078)}];e.exports=r},16534:(e,t,n)=>{var r=n(62186),i=n(95117),a=n(695);e.exports={getOptions(e,t,n){a.filter((n=>{var r=n.lang.trim(),i=n.variant.trim();return e===r.toLowerCase()&&t.toLowerCase()===i.toLowerCase()})).forEach((e=>(main=e.main,"function"!=typeof main.getOptions?n("Codegen~getOptions: getOptions is not a function"):main.getOptions?n(null,main.getOptions()):n("Codegen~convert: Could not find codegen corresponding to provided language, variant pair"))))},getLanguageList(){var e={};return a.forEach((t=>{var n=t.lang.trim(),r=t.syntax_mode.trim(),a=t.variant.trim();n=n.toLowerCase(),e[n]?e[n].variants.push({key:a}):e[n]={key:n,label:i[n]?i[n]:n,syntax_mode:r.toLowerCase(),variants:[{key:a}]}})),Object.keys(e).map((function(t){return e[t]}))},convert(e,t,n,i,o){var s,c;if(!r.Request.isRequest(n))return o("Codegen~convert: Invalid request");if(a.forEach((n=>{var r=n.lang.trim(),i=n.variant.trim();if(e.toLowerCase()===r.toLowerCase()&&t.toLowerCase()===i.toLowerCase()&&(c=n.main,"function"!=typeof(s=c.convert)))return o("Codegen~convert: Convert is not a function")})),!s)return o("Codegen~convert: Could not find codegen corresponding to provided language, variant pair");try{s(n,i,(function(e,t){return e?o(e):o(null,t)}))}catch(l){return o(l)}}}},62186:(e,t,n)=>{e.exports=n(91339)},19041:(e,t,n)=>{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(70197).Url,s=n(45265).Certificate;i.inherit(r=function(e,t){r.super_.call(this,s,e,t)},a),i.assign(r.prototype,{resolveOne(e){if(i.isString(e)||o.isUrl(e))return this.find((function(t){return t.canApplyTo(e)}))}}),i.assign(r,{_postman_propertyName:"CertificateList",isCertificateList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={CertificateList:r}},45265:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(44204).PropertyBase,s=n(70197).Url,c=n(12321).UrlMatchPatternList;i.inherit(r=function e(t){e.super_.apply(this,arguments),this.update(t)},a),i.assign(r.prototype,{_postman_propertyRequiresId:!0,update:function(e){i.isObject(e)&&i.mergeDefined(this,{id:e.id,name:e.name,matches:e.matches&&new c({},e.matches),key:i.isObject(e.key)?e.key:{src:e.key},cert:i.isObject(e.cert)?e.cert:{src:e.cert},pfx:i.isObject(e.pfx)?e.pfx:{src:e.pfx},passphrase:e.passphrase})},canApplyTo:function(e){return!i.isEmpty(e)&&("string"==typeof e&&(e=new s(e)),"https"===e.protocol&&this.matches.test(e))},toJSON:function(){var e=o.toJSON(this);return i.unset(e,"key.value"),i.unset(e,"cert.value"),i.unset(e,"pfx.value"),e}}),i.assign(r,{_postman_propertyName:"Certificate",_postman_propertyIndexKey:"id",isCertificate:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Certificate:r}},59803:(e,t,n)=>{var r,i=n(76201).lodash,a=n(92373).ItemGroup,o=n(77714).VariableList,s=n(98357).Version;i.inherit(r=function(e,t){r.super_.call(this,e),i.assign(this,{variables:new o(this,e&&e.variable,t),version:e&&e.info&&e.info.version?new s(e.info.version):void 0})},a),i.assign(r.prototype,{syncVariablesFrom(e,t){return this.variables.syncFromObject(e,t)},syncVariablesTo(e){return this.variables.syncToObject(e)},toJSON(){var e=a.prototype.toJSON.apply(this);return e.info={_postman_id:this.id,name:this.name,version:this.version,schema:"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},delete e.id,delete e.name,delete e.version,i.has(e,"description")&&(e.info.description=this.description,delete e.description),e}}),i.assign(r,{_postman_propertyName:"Collection",isCollection:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Collection:r}},19531:(e,t,n)=>{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(29220).Cookie;i.inherit(r=function(e,t){r.super_.call(this,o,e,t)},a),i.assign(r,{_postman_propertyName:"CookieList",isCookieList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={CookieList:r}},29220:(e,t,n)=>{var r,i=n(76201).lodash,a=n(44204).PropertyBase,o=n(51523).PropertyList,s=/; */,c={httponly:"httpOnly",secure:"secure",domain:"domain",path:"path","max-age":"maxAge",session:"session",expires:"expires"};i.inherit(r=function(e){r.super_.call(this,e),i.isString(e)&&(e=r.parse(e)),e&&this.update(e)},a),i.assign(r.prototype,{update(e){i.mergeDefined(this,{name:i.choose(e.name,e.key),expires:i.isString(e.expires)?new Date(e.expires):e.expires,maxAge:i.has(e,"maxAge")?Number(e.maxAge):void 0,domain:e.domain,path:e.path,secure:i.has(e,"secure")?Boolean(e.secure):void 0,httpOnly:i.has(e,"httpOnly")?Boolean(e.httpOnly):void 0,hostOnly:i.has(e,"hostOnly")?Boolean(e.hostOnly):void 0,session:i.has(e,"session")?Boolean(e.session):void 0,value:e.value?i.ensureEncoded(e.value):void 0,extensions:e.extensions||void 0})},valueOf(){try{return decodeURIComponent(this.value)}catch(e){return this.value}},toString(){var e=r.unparseSingle(this);return this.expires&&this.expires instanceof Date?Number.isNaN(this.expires.getTime())||(e+="; Expires="+this.expires.toUTCString()):this.expires&&(e+="; Expires="+this.expires),this.maxAge&&this.maxAge!==1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach((({key:t,value:n})=>{e+=`; ${t}`,e+=!0===n?"":`=${n}`})),e}}),i.assign(r,{_postman_propertyName:"Cookie",_postman_propertyIndexKey:"name",_postman_propertyIndexCaseInsensitive:!0,_postman_propertyAllowsMultipleValues:!0,isCookie:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))},unparse:function(e){return i.isArray(e)||o.isPropertyList(e)?e.map(r.unparseSingle).join("; "):""},unparseSingle:function(e){if(!i.isObject(e))return"";var t=i.isNil(e.value)?"":e.value;return e.name?e.name+"="+t:t},parse:function(e){if(!i.isString(e))return e;var t,n={},a=e.split(s);return t=r.splitParam(a.shift()),n.key=t.key,n.value=t.value,a.forEach((function(e){var t=r.splitParam(e),i=t.value,a=t.key.toLowerCase();c[a]?n[c[a]]=i:(n.extensions=n.extensions||[],n.extensions.push(t))})),n.domain||(n.hostOnly=!0),n},stringify:function(e){return r.prototype.toString.call(e)},splitParam:function(e){var t,n,r=e.split("=");return t=r[0].trim(),n=!i.isString(r[1])||r[1].trim(),i.isString(n)&&'"'===n[0]&&(n=n.slice(1,-1)),{key:t,value:n}}}),e.exports={Cookie:r}},95289:(e,t,n)=>{var r,i=n(76201).lodash,a="text/plain";r=function(e){i.isString(e)&&(e={content:e,type:a}),e&&this.update(e)},i.assign(r.prototype,{update(e,t){i.isObject(e)&&(t=e.type,e=e.content),i.assign(this,{content:e,type:t||a})},toString(){return this.content||""},toJSON(){return{content:this.content,type:this.type}}}),i.assign(r,{_postman_propertyName:"Description",isDescription:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Description:r}},51605:(e,t,n)=>{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(14761).Event;i.inherit(r=function(e,t){r.super_.call(this,o,e,t)},a),i.assign(r.prototype,{listeners(e){var t;return t=this.listenersOwn(e),this.eachParent((function(n){var i;n!==this.__parent&&r.isEventList(n.events)&&(i=n.events.listenersOwn(e))&&i.length&&t.unshift.apply(t,i)}),this),t},listenersOwn(e){return this.filter((function(t){return!t.disabled&&t.listen===e}))}}),i.assign(r,{_postman_propertyName:"EventList",isEventList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={EventList:r}},14761:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(43888).Script;i.inherit(r=function(e){r.super_.call(this,e),e&&this.update(e)},a),i.assign(r.prototype,{update(e){if(e){var t,n=e.script;o.isScript(n)?t=n:i.isArray(n)||i.isString(n)?t=new o({exec:n}):i.isObject(n)&&(t=new o(n)),i.mergeDefined(this,{listen:i.isString(e.listen)?e.listen.toLowerCase():void 0,script:t})}}}),i.assign(r,{_postman_propertyName:"Event"}),e.exports={Event:r}},45312:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(44204).PropertyBase;i.inherit(r=function(e={}){r.super_.apply(this,arguments),this.key=e.key||"",this.value=e.value||"",this.type=e.type,this.src=e.src,this.contentType=e.contentType},a),i.assign(r.prototype,{toString(){return this.key+"="+this.value},valueOf(){return this.value},toJSON(){var e=o.toJSON(this);return"file"===e.type&&i.unset(e,"value"),e}}),i.assign(r,{_postman_propertyName:"FormParam",_postman_propertyIndexKey:"key",_postman_propertyAllowsMultipleValues:!0,parse:i.noop}),e.exports={FormParam:r}},20309:(e,t,n)=>{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(43730).Header;i.inherit(r=function(e,t){r.super_.call(this,o,e,t)},a),i.assign(r.prototype,{contentSize(){return this.count()?o.unparse(this).length:0}}),i.assign(r,{_postman_propertyName:"HeaderList",isHeaderList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={HeaderList:r}},43730:(e,t,n)=>{var r,i=n(76201).lodash,a="",o=n(82297).Property,s=n(51523).PropertyList;i.inherit(r=function(e,t){i.isString(e)&&(e=i.isString(t)?{key:t,value:e}:r.parseSingle(e)),r.super_.apply(this,arguments),this.update(e)},o),i.assign(r.prototype,{toString(){return this.key+": "+this.value},valueOf(){return this.value},update(e){this.key=i.get(e,"key")||a,this.value=i.get(e,"value",a),i.has(e,"system")&&(this.system=e.system),i.has(e,"disabled")&&(this.disabled=e.disabled)}}),i.assign(r,{_postman_propertyName:"Header",_postman_propertyIndexKey:"key",_postman_propertyIndexCaseInsensitive:!0,_postman_propertyAllowsMultipleValues:!0,parse:function(e){var t=[],n={header:/^(\S+):(.*)$/gm,fold:/\r\n([ \t])/g,trim:/^\s*(.*\S)?\s*$/},r=n.header.exec(e);for(e=e.toString().replace(n.fold,"$1");r;)t.push({key:r[1],value:r[2].replace(n.trim,"$1")}),r=n.header.exec(e);return t},parseSingle:function(e){if(!i.isString(e))return{key:a,value:a};var t,n,r=e.indexOf(":");return r<0&&(r=e.length),t=e.substr(0,r),n=e.substr(r+1),{key:i.trim(t),value:i.trim(n)}},unparse:function(e,t="\r\n"){return i.isArray(e)||s.isPropertyList(e)?e.reduce((function(e,n){return n&&!n.disabled&&(e+=r.unparseSingle(n)+t),e}),a):a},unparseSingle:function(e){return i.isObject(e)?e.key+": "+e.value:a},isHeader:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))},create:function(){var e=Array.prototype.slice.call(arguments);return e.unshift(r),new(r.bind.apply(r,e))}}),e.exports={Header:r}},92373:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(51523).PropertyList,s=n(51605).EventList,c=n(74702).Item,l=n(54573).Request,u=n(47950).RequestAuth,p="object";i.inherit(r=function(e){r.super_.apply(this,arguments),i.mergeDefined(this,{items:new o(r._createNewGroupOrItem,this,e&&e.item),auth:e&&e.auth?new u(e.auth):void 0,events:new s(this,e&&e.event),protocolProfileBehavior:e&&typeof e.protocolProfileBehavior===p?e.protocolProfileBehavior:void 0})},a),i.assign(r.prototype,{_postman_propertyRequiresId:!0,forEachItem:function(e){this.items.each((function(t){return r.isItemGroup(t)?t.forEachItem(e):e(t,this)}),this)},forEachItemGroup:function(e){this.items.each((function(t){r.isItemGroup(t)&&(t.forEachItemGroup(e),e(t,this))}),this)},oneDeep:function(e){var t;if(i.isString(e))return this.items.each((function(n){return n.id===e||n.name===e?(t=n,!1):r.isItemGroup(n)?!(t=n.oneDeep(e)):void 0})),t},getProtocolProfileBehavior:c.prototype.getProtocolProfileBehavior,getProtocolProfileBehaviorResolved:c.prototype.getProtocolProfileBehaviorResolved,setProtocolProfileBehavior:c.prototype.setProtocolProfileBehavior,unsetProtocolProfileBehavior:c.prototype.unsetProtocolProfileBehavior,authorizeRequestsUsing:l.prototype.authorizeUsing}),i.assign(r,{_postman_propertyName:"ItemGroup",_createNewGroupOrItem:function(e){return c.isItem(e)||r.isItemGroup(e)?e:e&&e.item?new r(e):new c(e)},isItemGroup:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={ItemGroup:r}},74702:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(51523).PropertyList,s=n(51605).EventList,c=n(54573).Request,l=n(47950).RequestAuth,u=n(70651).Response,p="object",h="string",d=function(e){var t;return e&&(t=e.auth)&&l.isValidType(t.type)?t:void 0},f=function(e){var t=e&&e.protocolProfileBehavior;return typeof t===p?t:{}};i.inherit(r=function(e){r.super_.apply(this,arguments),i.mergeDefined(this,{request:e&&new c(e.request),responses:new o(u,this,e&&e.response),events:new s(this,e&&e.event),protocolProfileBehavior:e&&typeof e.protocolProfileBehavior===p?e.protocolProfileBehavior:void 0})},a),i.assign(r.prototype,{_postman_propertyRequiresId:!0,getAuth:function(){var e;return(e=d(this.request))?e:this.findInParents("auth",d)},getProtocolProfileBehavior:function(){return f(this)},getProtocolProfileBehaviorResolved:function(){var e=f(this);return this.forEachParent({withRoot:!0},(function(t){e={...f(t),...e}})),e},setProtocolProfileBehavior:function(e,t){return typeof e!==h||(!this.protocolProfileBehavior&&(this.protocolProfileBehavior={}),this.protocolProfileBehavior[e]=t),this},unsetProtocolProfileBehavior:function(e){return typeof this.protocolProfileBehavior!==p||typeof e!==h||i.has(this.protocolProfileBehavior,e)&&delete this.protocolProfileBehavior[e],this},getEvents:function(e){return e?this.events.filter((function(t){return t.listen===e})):this.events.all()},authorizeRequestUsing:function(e,t){return this.request||(this.request=new c),this.request.authorizeUsing(e,t)}}),i.assign(r,{_postman_propertyName:"Item",isItem:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Item:r}},66930:(e,t,n)=>{var r,i=n(76201).lodash,a=n(44204).PropertyBase,o="set",s="unset",c=function(e){return e&&e.length<=2};i.inherit(r=function e(t){e.super_.call(this,t),t=t||{},this.autoCompact=Boolean(t.autoCompact),this.stream=Array.isArray(t.stream)?t.stream:[],this.compacted=i.isPlainObject(t.compacted)?t.compacted:{}},a),i.assign(r.prototype,{addMutation(e){e&&c(e)&&(this.autoCompact?this.addAndCompact(e):this.stream.push(e))},addAndCompact(e){var t=e[0];t=Array.isArray(t)?t.join("."):t,this.compacted[t]=e},track(e,...t){e&&t&&(e!==o&&e!==s||this.addMutation(t))},compact(){this.stream.forEach(this.addAndCompact.bind(this)),this.stream=[]},count(){var e=this.stream.length;return e+=Object.keys(this.compacted).length},applyOn(e){if(e&&e.applyMutation){var t=function(t){!function(e,t){if(c(t)){var n=t.length>1?o:s;e.applyMutation(n,...t)}}(e,t)};i.forEach(this.compacted,t),i.forEach(this.stream,t)}}}),i.assign(r,{_postman_propertyName:"MutationTracker",isMutationTracker:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={MutationTracker:r}},44204:(e,t,n)=>{var r,i=n(76201).lodash;r=function e(t){if(t&&"string"!=typeof t){var n=t&&t.info||t,r=i(n).pickBy(e.propertyIsMeta).mapKeys(e.propertyUnprefixMeta).value();i.keys(r).length&&(this._=i.isObject(this._)?i.mergeDefined(this._,r):r)}},i.assign(r.prototype,{forEachParent(e,t){if(i.isFunction(e)&&(t=e,e={}),i.isFunction(t)&&i.isObject(e))for(var n=this.parent(),r=n&&i.isFunction(n.parent)&&n.parent();n&&(r||e.withRoot);)t(n),n=r,r=r&&i.isFunction(r.parent)&&r.parent()},findInParents(e,t){var n=this.findParentContaining(e,t);return n?n[e]:void 0},findParentContaining(e,t){var n=this;if(t){t=t.bind(this);do{if(t(n))return n;n=n.__parent}while(n)}else do{if(n[e])return n;n=n.__parent}while(n)},toJSON(){return i.reduce(this,(function(e,t,n){return void 0===t?e:(t&&t._postman_propertyIsList&&!t._postman_proprtyIsSerialisedAsPlural&&i.endsWith(n,"s")&&(n=n.slice(0,-1)),t&&i.isFunction(t.toJSON)?(e[n]=t.toJSON(),e):i.isString(t)?(e[n]=t,e):(e[n]=i.cloneElement(t),e))}),{})},meta(){return arguments.length?i.pick(this._,Array.prototype.slice.apply(arguments)):i.cloneDeep(this._)},parent(){return this&&this.__parent&&(this.__parent.__parent||this.__parent)||void 0},setParent(e){i.assignHidden(this,"__parent",e)}}),i.assign(r,{_postman_propertyName:"PropertyBase",propertyIsMeta:function(e,t){return i.startsWith(t,"_")&&"_"!==t},propertyUnprefixMeta:function(e,t){return i.trimStart(t,"_")},toJSON:function(e){return r.prototype.toJSON.call(e)}}),e.exports={PropertyBase:r}},51523:(e,t,n)=>{var r,i=n(76201).lodash,a=n(44204).PropertyBase,o="__parent";i.inherit(r=function(e,t,n){r.super_.call(this),this.setParent(t),i.assign(this,{members:this.members||[],reference:this.reference||{},Type:e}),i.getOwn(e,"_postman_propertyIndexKey")&&(this._postman_listIndexKey=e._postman_propertyIndexKey),i.getOwn(e,"_postman_propertyIndexCaseInsensitive")&&(this._postman_listIndexCaseInsensitive=e._postman_propertyIndexCaseInsensitive),i.getOwn(e,"_postman_propertyAllowsMultipleValues")&&(this._postman_listAllowsMultipleValues=e._postman_propertyAllowsMultipleValues),n&&this.populate(n)},a),i.assign(r.prototype,{_postman_propertyIsList:!0,_postman_listIndexKey:"id",_postman_listIndexCaseInsensitive:!1,_postman_listAllowsMultipleValues:!1,insert:function(e,t){if(i.isObject(e)){var n,a=this.indexOf(e);r.isPropertyList(e.__parent)&&e.__parent!==this&&e.__parent.remove(e),i.assignHidden(e,o,this),a>-1&&this.members.splice(a,1),t&&(t=this.indexOf(t)),t>-1?this.members.splice(t,0,e):this.members.push(e),(n=e[this._postman_listIndexKey])&&(n=String(n))&&(this._postman_listIndexCaseInsensitive&&(n=n.toLowerCase()),this._postman_listAllowsMultipleValues&&Object.hasOwnProperty.call(this.reference,n)?(!i.isArray(this.reference[n])&&(this.reference[n]=[this.reference[n]]),this.reference[n].push(e)):this.reference[n]=e)}},insertAfter:function(e,t){return this.insert(e,this.idx(this.indexOf(t)+1))},append:function(e){return this.insert(e)},prepend:function(e){return this.insert(e,this.idx(0))},add:function(e){i.isNull(e)||i.isUndefined(e)||i.isNaN(e)||this.insert(e.constructor===this.Type?e:i.has(this.Type,"create")?this.Type.create.apply(this.Type,arguments):new this.Type(e))},upsert:function(e){if(i.isNil(e)||i.isNaN(e))return null;var t=this._postman_listIndexKey,n=this.one(e[t]);if(n){if(!i.isFunction(n.update))throw new Error("collection: unable to upsert into a list of Type that does not support .update()");return n.update(e),!1}return this.add(e),!0},remove:function(e,t){var n;!t&&(t=this),i.isString(e)?(n=this._postman_listIndexCaseInsensitive?e.toLowerCase():e,e=function(e){var t=e[this._postman_listIndexKey];return this._postman_listIndexCaseInsensitive&&(t=t.toLowerCase()),t===n}.bind(this)):e instanceof this.Type&&(n=e,e=function(e){return e===n}),i.isFunction(e)&&i.remove(this.members,function(n){var r;if(e.apply(t,arguments))return(r=n[this._postman_listIndexKey])&&(r=String(r))&&(this._postman_listIndexCaseInsensitive&&(r=r.toLowerCase()),this._postman_listAllowsMultipleValues&&i.isArray(this.reference[r])?(i.remove(this.reference[r],(function(e){return e===n})),0===this.reference[r].length&&delete this.reference[r],1===this.reference[r].length&&(this.reference[r]=this.reference[r][0])):delete this.reference[r]),delete n.__parent,!0}.bind(this))},clear:function(){this.all().forEach(r._unlinkItemFromParent),this.members.length=0,Object.keys(this.reference).forEach(function(e){delete this.reference[e]}.bind(this))},populate:function(e){i.isString(e)&&i.isFunction(this.Type.parse)&&(e=this.Type.parse(e)),i.forEach(i.isArray(e)||i.isPlainObject(e)&&i.has(this.Type,"create")?e:[e],this.add.bind(this))},repopulate:function(e){this.clear(),this.populate(e)},assimilate:function(e,t){var n=r.isPropertyList(e)?e.members:e,a=this,o=a._postman_listIndexKey,s={};i.isArray(n)&&(n.forEach((function(e){e&&i.has(e,o)&&(a.upsert(e),s[e[o]]=!0)})),t&&i.forEach(a.reference,(function(e,t){i.has(s,t)||a.remove(t)})))},all:function(){return i.clone(this.members)},one:function(e){var t=this.reference[this._postman_listIndexCaseInsensitive?String(e).toLowerCase():e];return this._postman_listAllowsMultipleValues&&Array.isArray(t)?t.length?t[t.length-1]:void 0:t},get:function(e){var t=this.one(e);if(t)return t.valueOf()},each:function(e,t){i.forEach(this.members,i.isFunction(e)?e.bind(t||this.__parent):e)},filter:function(e,t){return i.filter(this.members,i.isFunction(e)&&i.isObject(t)?e.bind(t):e)},find:function(e,t){return i.find(this.members,i.isFunction(e)&&i.isObject(t)?e.bind(t):e)},map:function(e,t){return i.map(this.members,i.isFunction(e)?e.bind(t||this):e)},reduce:function(e,t,n){return i.reduce(this.members,i.isFunction(e)?e.bind(n||this):e,t)},count:function(){return this.members.length},idx:function(e){return this.members[e]},indexOf:function(e){return this.members.indexOf(i.isString(e)?e=this.one(e):e)},has:function(e,t){var n,r;if(!(n=i.isString(e)?this.reference[this._postman_listIndexCaseInsensitive?e.toLowerCase():e]:this.filter((function(t){return t===e}))))return!1;if(1===arguments.length)return Boolean(i.isArray(n)?n.length:n);if(this._postman_listAllowsMultipleValues&&i.isArray(n)){for(r=0;r{var r,i=n(76201).lodash,a=n(97466),o=n(44204).PropertyBase,s=n(95289).Description,c=n(81402).Substitutor,l="disabled",u="description",p=c.REGEX_EXTRACT_VARS;function h(e,t=new Set,n=new Set){if(!e||t.has(e))return n;if(Array.isArray(e)){t.add(e);for(let r=0,i=e.length;r{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(61293).ProxyConfig,s=n(70197).Url;i.inherit(r=function(e,t){r.super_.call(this,o,e,t)},a),i.assign(r.prototype,{resolve(e){if(i.isString(e)||s.isUrl(e))return this.find((function(t){return!t.disabled&&t.test(e)}))}}),i.assign(r,{_postman_propertyName:"ProxyConfigList",isProxyConfigList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={ProxyConfigList:r}},61293:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(51523).PropertyList,s=n(70197).Url,c=n(36396).UrlMatchPattern,l=n(12321).UrlMatchPatternList,u=c.PROTOCOL_DELIMITER,p="://",h="http",d=["http","https"],f=d.join(u)+p+"*:*/*";i.inherit(r=function e(t){e.super_.call(this,t),i.assign(this,{host:"",match:new c(f),port:8080,tunnel:!1,bypass:void 0,authenticate:!1,username:void 0,password:void 0}),this.update(t)},a),i.assign(r.prototype,{_postman_propertyRequiresId:!0,update:function(e){if(i.isObject(e)){var t,n=i.get(e,"port")>>0;i.isString(e.host)&&(t=new s(e.host),this.host=t.getHost()),i.isString(e.match)&&(this.match=new c(e.match)),i.isString(i.get(e,"match.pattern"))&&(this.match=new c(e.match.pattern)),n&&(this.port=n),i.isBoolean(e.tunnel)&&(this.tunnel=e.tunnel),i.isBoolean(e.disabled)&&(this.disabled=e.disabled),i.isBoolean(e.authenticate)&&(this.authenticate=e.authenticate),i.isString(e.username)&&(this.username=e.username),i.isString(e.password)&&(this.password=e.password),Array.isArray(e.bypass)?this.bypass=new l(null,e.bypass):o.isPropertyList(e.bypass)&&(this.bypass=new l(null,e.bypass.all()))}},updateProtocols:function(e){if(e){var t,n=i.split(this.match.pattern,p)[1];n&&(t=i.intersection(d,i.castArray(e)),i.isEmpty(t)&&(t=d),this.match.update({pattern:t.join(u)+p+n}))}},test:function(e){var t=s.isUrl(e)?e.protocol:s.parse(e||"").protocol||"";return i.isEmpty(t)&&(e=(t=h)+p+e),!!i.includes(d,t)&&((!this.bypass||!this.bypass.test(e))&&this.match.test(e))},getProxyUrl:function(){var e="";return this.authenticate&&(e=encodeURIComponent(this.username||""),this.password&&(e+=":"+encodeURIComponent(this.password)),e&&(e+="@")),"http://"+e+this.host+":"+this.port},getProtocols:function(){return this.match.getProtocols()}}),i.assign(r,{_postman_propertyName:"ProxyConfig",isProxyConfig:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={ProxyConfig:r,ALLOWED_PROTOCOLS:d,DEFAULT_PATTERN:f}},40114:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(51523).PropertyList,s="&",c="string",l="=",u="",p=/#/g,h=/=/g,d=/&/g,f=/{{[^{}]*[&#=][^{}]*}}/g,m=function(e,t){return e?(-1!==e.indexOf(s)&&(e=e.replace(d,"%26")),-1!==e.indexOf("#")&&(e=e.replace(p,"%23")),t&&-1!==e.indexOf(l)&&(e=e.replace(h,"%3D")),e):e},y=function(e,t){if(!e||typeof e!==c)return e;if(-1===e.indexOf(s)&&-1===e.indexOf("#")&&(!t||-1===e.indexOf(l)))return e;for(var n,r,i,a="",o=0;null!==(r=f.exec(e));)n=r[0],i=r.index,a+=m(e.slice(o,i),t)+n,o=i+n.length;return o{var r,i=n(76201).lodash,a=n(82297).Property,o=n(77714).VariableList;i.inherit(r=function(e,t){r.super_.call(this,e),t&&this.setParent(t),i.has(e,"type")&&this.use(e.type),i.forEach(i.omit(e,"type"),this.update.bind(this))},a),i.assign(r.prototype,{update(e,t){if(i.isObject(e)&&(t||(t=this.type),r.isValidType(t))){var n=this[t];o.isVariableList(n)||((n=this[t]=new o(this))._postman_requestAuthType=t),i.isArray(e)||o.isVariableList(e)?n.assimilate(e):n.syncFromObject(e,!1,!1)}},use(e,t){if(r.isValidType(e)){this.type=e;var n=this[e];o.isVariableList(n)||(n=this[e]=new o(this)),i.isArray(t)||o.isVariableList(t)?n.assimilate(t):n.syncFromObject(t,!1,!1)}},current(){throw new Error("`Request#current` has been discontinued, use `Request#parameters` instead.")},parameters(){return this[this.type]},clear(e){r.isValidType(e)&&o.isVariableList(this[e])&&(this[e].clear(),e!==this.type&&delete this[e])}}),i.assign(r,{_postman_propertyName:"RequestAuth",isValidType:function(e){return i.isString(e)&&"type"!==e}}),e.exports={RequestAuth:r}},56362:(e,t,n)=>{var r,i=n(76201).lodash,a=n(44204).PropertyBase,o=n(51523).PropertyList,s=n(40114).QueryParam,c=n(45312).FormParam;i.inherit(r=function(e){r.super_.apply(this,arguments),e&&this.update(e)},a),i.assign(r.prototype,{update(e){if(i.isString(e)&&(e={mode:"raw",raw:e}),e.mode){var t=r.MODES[e.mode.toString().toLowerCase()]||r.MODES.raw,n=e.urlencoded,a=e.formdata,l=e.graphql,u=e.file,p=e.raw;e.urlencoded&&(i.isString(e.urlencoded)&&(n=s.parse(e.urlencoded)),n=new o(s,this,n)),e.formdata&&(a=new o(c,this,e.formdata)),e.graphql&&(l={query:l.query,operationName:l.operationName,variables:l.variables}),i.isString(e.file)&&(u={src:u}),t===r.MODES.raw&&!p&&(p=""),t===r.MODES.urlencoded&&!n&&(n=new o(s,this,[])),t===r.MODES.formdata&&!a&&(a=new o(c,this,[])),t===r.MODES.graphql&&!l&&(l={}),i.assign(this,{mode:t,raw:p,urlencoded:n,formdata:a,file:u,graphql:l,options:i.isObject(e.options)?e.options:void 0,disabled:e.disabled})}},toString(){return this.mode===r.MODES.formdata||this.mode===r.MODES.file?"":this.mode===r.MODES.urlencoded?o.isPropertyList(this.urlencoded)?s.unparse(this.urlencoded.all()):this.urlencoded&&i.isFunction(this.urlencoded.toString)?this.urlencoded.toString():"":this.mode===r.MODES.raw&&this.raw&&i.isFunction(this.raw.toString)?this.raw.toString():""},isEmpty(){var e=this.mode,t=e&&this[e];return!t||(e===r.MODES.file?!(t.src||t.content):i.isString(t)?0===t.length:i.isFunction(t.count)?0===t.count():i.isEmpty(t))},toJSON(){var e=a.toJSON(this);return i.unset(e,"file.content"),e}}),i.assign(r,{_postman_propertyName:"RequestBody",MODES:{file:"file",formdata:"formdata",graphql:"graphql",raw:"raw",urlencoded:"urlencoded"}}),e.exports={RequestBody:r}},54573:(e,t,n)=>{var r,i=n(48764).Buffer,a=n(76201),o=a.lodash,s=n(44204).PropertyBase,c=n(82297).Property,l=n(70197).Url,u=n(61293).ProxyConfig,p=n(45265).Certificate,h=n(20309).HeaderList,d=n(56362).RequestBody,f=n(47950).RequestAuth,m="GET",y=void 0!==typeof i&&o.isFunction(i.byteLength),g="COMPUTED",v="CONTENT-LENGTH";o.inherit(r=function(e){r.super_.apply(this,arguments),"string"==typeof e&&(e={url:e}),o.assign(this,{url:new l,headers:new h(this,e&&e.header),method:o.has(e,"method")&&!o.isNil(e.method)?String(e.method).toUpperCase():m}),this.update(e)},c),o.assign(r.prototype,{update:function(e){e&&(o.has(e,"url")&&this.url.update(e.url),e.header&&this.headers.repopulate(e.header),o.has(e,"method")&&(this.method=o.isNil(e.method)?m:String(e.method).toUpperCase()),o.mergeDefined(this,{body:o.createDefined(e,"body",d),auth:e.auth?new f(e.auth):void 0,proxy:e.proxy&&new u(e.proxy),certificate:e.certificate&&new p(e.certificate)}))},authorizeUsing:function(e,t){o.isObject(e)&&o.isNil(t)&&(t=o.omit(e,"type"),e=e.type),null!==e?f.isValidType(e)&&(this.auth?this.auth.clear(e):this.auth=new f(null,this),this.auth.use(e,t)):o.has(this,"auth")&&delete this.auth},getHeaders:function(e){return!e&&(e={}),this.headers.toObject(e.enabled,!e.ignoreCase,e.multiValue,e.sanitizeKeys)},forEachHeader:function(e){this.headers.all().forEach((function(t){return e(t,this)}),this)},addHeader:function(e){this.headers.add(e)},removeHeader:function(e,t){e=o.isString(e)?e:e.key,t=t||{},e&&(t.ignoreCase&&(e=e.toLowerCase()),this.headers.remove((function(n){return(t.ignoreCase?n.key.toLowerCase():n.key)===e})))},upsertHeader:function(e){if(e&&e.key){var t=this.headers.find({key:e.key});if(!t)return this.headers.add(e);t.value=e.value}},addQueryParams:function(e){this.url.addQueryParams(e)},removeQueryParams:function(e){this.url.removeQueryParams(e)},size:function(){var e,t=this.headers.get("Content-Length"),n=this.url.getPathWithQuery(),r={body:0,header:0,total:0,source:g};return t&&a.isNumeric(t)?(r.body=parseInt(t,10),r.source=v):this.body&&(e=this.body.toString(),r.body=y?i.byteLength(e):e.length),r.header=(this.method+" "+n+" HTTP/X.X\r\n\r\n").length+this.headers.contentSize(),r.total=(r.body||0)+r.header,r},toJSON:function(){var e=s.toJSON(this);return o.isArray(e.header)&&!e.header.length&&delete e.header,e},clone:function(){return new r(this.toJSON())}}),o.assign(r,{_postman_propertyName:"Request",isRequest:function(e){return Boolean(e)&&(e instanceof r||o.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Request:r}},70651:(e,t,n)=>{var r,i=n(48764).Buffer,a=n(76201),o=a.lodash,s=n(62693),c=n(10800),l=n(82297).Property,u=n(44204).PropertyBase,p=n(54573).Request,h=n(19531).CookieList,d=n(20309).HeaderList,f=n(27892).contentInfo,m="Content-Encoding",y=/^[^{(].*\(/,g=/\)[^}].*$|\)$/,v=void 0!==typeof i&&o.isFunction(i.byteLength);o.inherit(r=function(e){r.super_.apply(this,arguments),this.update(e||{})},l),o.assign(r.prototype,{update(e){var t=function(e){if(e)return"Buffer"===e.type&&o.isArray(e.data)?"function"==typeof i?i.from(e.data):new Uint8Array(e.data).buffer:"Base64"===e.type&&"string"==typeof e.data?i.from(e.data,"base64"):e}(e.stream);o.mergeDefined(this._details=o.clone(s.lookup(e.code)),{name:o.choose(e.reason,e.status),code:e.code,standardName:this._details.name}),o.mergeDefined(this,{originalRequest:e.originalRequest?new p(e.originalRequest):void 0,status:this._details.name,code:e.code,headers:new d(this,e.header),body:e.body,stream:e.body&&o.isObject(e.body)?e.body:t,cookies:new h(this,e.cookie),responseTime:e.responseTime,responseSize:t&&t.byteLength})}}),o.assign(r.prototype,{_postman_propertyRequiresId:!0,toJSON:function(){var e=u.toJSON(this);return e._details&&delete e._details,e},reason:function(){return this.status||s.lookup(this.code).name},details:function(){return this._details&&this._details.code===this.code||(this._details=o.clone(s.lookup(this.code)),this._details.code=this.code,this._details.standardName=this._details.name),o.clone(this._details)},text:function(){return this.stream?a.bufferOrArrayBufferToString(this.stream,this.contentInfo().charset):this.body},json:function(e,t){return c.parse(this.text(),e,t)},jsonp:function(e,t){return c.parse((this.text()||"").replace(y,"").replace(g,""),e,t)},contentInfo:function(){return f(this)},mime:function(){throw new Error("`Response#mime` has been discontinued, use `Response#contentInfo` instead.")},dataURI:function(){const{contentType:e}=this.contentInfo();return e?`data:${e};base64, `+(!o.isNil(this.stream)&&a.bufferOrArrayBufferToBase64(this.stream)||!o.isNil(this.body)&&a.btoa(this.body)||""):""},size:function(){var e,t={body:0,header:0,total:0},n=this.headers.get(m),r=this.headers.get("Content-Length"),s=!1;return o.isString(n)&&(s=(n=n.toLowerCase()).indexOf("gzip")>-1||n.indexOf("deflate")>-1),r&&s&&a.isNumeric(r)?t.body=o.parseInt(r,10):this.stream?(e=this.stream.byteLength,t.body=a.isNumeric(e)?e:0):o.isNil(this.body)||(t.body=v?i.byteLength(this.body.toString()):this.body.toString().length),t.header=("HTTP/X.X "+this.code+" "+this.reason()+"\r\n\r\n").length+this.headers.contentSize(),t.total=(t.body||0)+t.header,t},encoding:function(){var e,t=this.headers.get(m),n=this.stream||this.body;return t?e="header":n&&(31===n[0]&&139===n[1]&&8===n[2]&&(t="gzip"),t&&(e="body")),{format:t,source:e}}}),o.assign(r,{_postman_propertyName:"Response",isResponse:function(e){return Boolean(e)&&(e instanceof r||o.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))},createFromNode:function(e,t){return new r({cookie:t,body:e.body.toString(),stream:e.body,header:e.headers,code:e.statusCode,status:e.statusMessage,responseTime:e.elapsedTime})},mimeInfo:function(){throw new Error("`Response.mimeInfo` has been discontinued, use `Response#contentInfo` instead.")},timingPhases:function(e){if(e&&e.offset){var t,n=e.offset;return t={prepare:n.request,wait:n.socket-n.request,dns:n.lookup-n.socket,tcp:n.connect-n.lookup,firstByte:n.response-n.connect,download:n.end-n.response,process:n.done-n.end,total:n.done},n.secureConnect&&(t.secureHandshake=n.secureConnect-n.connect,t.firstByte=n.response-n.secureConnect),t}}}),e.exports={Response:r}},43888:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(70197).Url,s=/\r?\n/g;i.inherit(r=function(e){r.super_.apply(this,arguments),e&&this.update(e)},a),i.assign(r.prototype,{_postman_propertyRequiresId:!0,toSource:function(){return this.exec?this.exec.join("\n"):void 0},update:function(e){(i.isString(e)||i.isArray(e))&&(e={exec:e}),e&&(this.type=e.type||"text/javascript",i.has(e,"src")&&(this.src=new o(e.src)),!this.src&&i.has(e,"exec")&&(this.exec=i.isString(e.exec)?e.exec.split(s):i.isArray(e.exec)?e.exec:void 0))}}),i.assign(r,{_postman_propertyName:"Script",isScript:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Script:r}},70197:(e,t,n)=>{var r,i=n(76201).lodash,a=n(61491).parse,o=n(44204).PropertyBase,s=n(40114).QueryParam,c=n(51523).PropertyList,l=n(77714).VariableList,u="",p="string",h="http",d="/",f=":",m="://",y=/^\/((.+))$/,g=/\.(?![^{]*\}{2})/g;i.inherit(r=function(e){r.super_.apply(this,arguments),this.update(e)},o),i.assign(r.prototype,{update(e){!e&&(e=u);var t=i.isString(e)?r.parse(e):e,n=t.auth,a=t.protocol,o=t.port,p=t.path,h=t.hash,f=t.host,m=t.query,v=t.variable;m&&(i.isString(m)&&(m=s.parse(m)),!i.isArray(m)&&i.keys(m).length&&(m=i.map(i.keys(m),(function(e){return{key:e,value:m[e]}})))),i.isArray(v)&&(v=i.map(v,(function(e){return i.isObject(e)&&(e.key=e.key||e.id),e}))),i.isString(p)&&(p&&(p=p.replace(y,"$1")),p=p?p===d?[u]:p.split(d):void 0),i.isString(f)&&(f=f.split(g)),i.assign(this,{auth:n,protocol:a,port:o,path:p,hash:h,host:f,query:new c(s,this,m||[]),variables:new l(this,v||[])})},addQueryParams(e){e=i.isString(e)?s.parse(e):e,this.query.populate(e)},removeQueryParams(e){e=i.isArray(e)?i.map(e,(function(e){return e.key?e.key:e})):[e],this.query.remove((function(t){return i.includes(e,t.key)}))},getRaw(){throw new Error("`Url#getRaw` has been discontinued, use `Url#toString` instead.")},toString(e){var t,n,r=u,a=this.protocol;return e&&!a&&(a="http://"),a&&(r+=i.endsWith(a,m)?a:a+m),this.auth&&(typeof this.auth.user===p&&(n=this.auth.user),typeof this.auth.password===p&&(!n&&(n=u),n+=":"+this.auth.password),typeof n===p&&(r+=n+"@")),this.host&&(r+=this.getHost()),"function"==typeof i.get(this.port,"toString")&&(r+=":"+this.port.toString()),this.path&&(r+=this.getPath()),this.query&&this.query.count()&&((t=this.getQueryString())===u&&(t=this.query.find((function(e){return!(e&&e.disabled)}))&&u),typeof t===p&&(r+="?"+t)),typeof this.hash===p&&(r+="#"+this.hash),r},getPath(e){if(e)return d+this.path.join(d);var t,n=this;return t=i.transform(this.path,(function(e,t){var r;i.startsWith(t,f)&&t!==f&&(r=n.variables.one(t.slice(1))),r=r&&r.valueOf&&r.valueOf(),e.push(i.isString(r)?r:t)}),[]),d+t.join(d)},getQueryString(){return this.query.count()?s.unparse(this.query.all()):u},getPathWithQuery(){var e=this.getPath(),t=this.getQueryString();return t&&(e+="?"+t),e},getHost(){return this.host?i.isArray(this.host)?this.host.join("."):this.host.toString():u},getRemote(e){var t=this.getHost(),n=this.port&&this.port.toString();return e&&!n&&(n=this.protocol&&"https"===this.protocol?"443":"80"),n?t+":"+n:t},getOAuth1BaseUrl(){var e=this.protocol||h,t=this.port?this.port.toString():void 0,n=("80"===t||"443"===t||void 0===t)&&this.host.join(".")||this.host.join(".")+":"+t,r=this.getPath();return(e=i.endsWith(e,m)?e:e+m).toLowerCase()+n.toLowerCase()+r}}),i.assign(r,{_postman_propertyName:"Url",parse:function(e){e=a(e);var t,n={};return e.auth&&(e.auth={user:e.auth[0],password:e.auth[1]}),e.query&&(e.query=e.query.map(s.parseSingle)),t=i.transform(e.path,(function(e,t){i.startsWith(t,f)&&t!==f&&!n[t]&&(n[t]=!0,e.push({key:t.slice(1)}))}),[]),e.variable=t.length?t:void 0,e},isUrl:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Url:r}},77714:(e,t,n)=>{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(82297).Property,s=n(79553).Variable;i.inherit(r=function(e,t){r.super_.call(this,s,e,t)},a),i.assign(r.prototype,{replace(e,t){return o.replaceSubstitutions(e,this,t)},substitute(e,t,n){var r=[],a={variables:this,__parent:this.__parent};do{a.variables&&r.push(a.variables),a=a.__parent}while(a);return a=null,o.replaceSubstitutionsIn(e,i.union(r,t),n)},syncFromObject(e,t,n){var r,a=this,o=t&&{created:[],updated:[],deleted:[]},s=a._postman_listIndexKey;return i.isObject(e)?(i.forOwn(e,(function(e,t){a.has(t)?(a.one(t).set(e),o&&o.updated.push(t)):((r={value:e})[s]=t,a.add(r),r=null,o&&o.created.push(t))})),!1!==n&&i.forEach(a.reference,(function(t,n){i.has(e,n)||(a.remove(n),o&&o.deleted.push(n))})),o):o},syncToObject(e){var t=this;return!i.isObject(e)&&(e={}),i.forEach(e,(function(n,r){!i.has(t.reference,r)&&delete e[r]})),t.each((function(t){e[t.key]=t.valueOf()})),e},oneNormalizedVariable(e){var t,n=this._postman_listIndexKey,r=this.reference[e];if(r&&!r.disabled)return r;for(t=this.members.length-1;t>=0;t--)if((r=this.members[t])[n]===e&&!r.disabled){this.reference[e]=r;break}return this.reference[e]}}),i.assign(r,{_postman_propertyName:"VariableList",isVariableList:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={VariableList:r}},77552:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(44204).PropertyBase,s=n(77714).VariableList,c=n(66930).MutationTracker,l="set",u="unset";i.inherit(r=function(e,t){(i.isArray(e)||s.isVariableList(e))&&(e={values:e}),t&&!i.isArray(t)&&(t=[t]),r.super_.call(this,e);var n,a,o=e&&e.values,l=e&&e.mutations;if(this.values=new s(this,s.isVariableList(o)?o.toJSON():o),t)for(this._layers=[],a=0,n=t.length;a{var r,i=n(76201).lodash,a=n(82297).Property,o="any",s="null",c="string";i.inherit(r=function(e){r.super_.apply(this,arguments);var t=this.constructor._postman_propertyIndexKey;i.assign(this,{type:o,value:void 0}),i.isNil(e)||(i.has(e,t)&&(this[t]=e[t]),this.update(e))},a),i.assign(r.prototype,{get(){return i.isFunction(this.value)?this.castOut(this.value()):this.castOut(this.value)},set(e){this.value=i.isFunction(e)?e:this.castIn(e)},valueOf(e){return arguments.length&&this.set(e),this.get()},toString(){var e=this.valueOf();return null===e?s:!i.isNil(e)&&i.isFunction(e.toString)?e.toString():""},cast(e){return this.castOut(e)},castIn(e){var t=r.types[this.type]||r.types.any;return i.isFunction(t)?t(e):t.in(e)},castOut(e){var t=r.types[this.type]||r.types.any;return i.isFunction(t)?t(e):t.out(e)},valueType(e,t){return!i.isNil(e)&&(e=e.toString().toLowerCase()),r.types[e]?(this.type=e,t||i.isFunction(this.value)||(n=this.get(),this.set(n),n=null),this.type):this.type||o;var n},update(e){i.isObject(e)&&(i.has(e,"type")&&this.valueType(e.type,i.has(e,"value")),i.has(e,"value")&&this.set(e.value),i.has(e,"system")&&(this.system=e.system),i.has(e,"disabled")&&(this.disabled=e.disabled))}}),i.assign(r,{_postman_propertyName:"Variable",_postman_propertyIndexKey:"key",types:{string:String,boolean:Boolean,number:Number,array:{in(e){var t;try{t=typeof e===c?e:JSON.stringify(e)}catch(n){t=s}return t},out(e){var t;try{t=JSON.parse(e)}catch(n){t=void 0}return Array.isArray(t)?t:void 0}},object:{in(e){var t;try{t=typeof e===c?e:JSON.stringify(e)}catch(n){t=s}return t},out(e){var t;try{t=JSON.parse(e)}catch(n){t=void 0}return t instanceof Object&&!Array.isArray(t)?t:void 0}},any:{in:e=>e,out:e=>e}},isVariable:function(e){return Boolean(e)&&(e instanceof r||i.inSuperChain(e.constructor,"_postman_propertyName",r._postman_propertyName))}}),e.exports={Variable:r}},98357:(e,t,n)=>{var r,i=n(76201).lodash,a=n(66942),o=n(44204).PropertyBase;i.inherit(r=function(e){e&&this.set(e)},o),i.assign(r.prototype,{set(e){var t=a.parse(e)||e||{};i.assign(this,{raw:t.raw,major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease&&t.prerelease.join&&t.prerelease.join()||t.prerelease,build:t.build&&t.build.join&&t.build.join()||t.build,string:t.version})},toString(){return this.string||this.raw}}),i.assign(r,{_postman_propertyName:"Version"}),e.exports={Version:r}},27892:(e,t,n)=>{var r=n(48764).Buffer,i=n(76201).lodash,a=n(97769),o=n(74786),s=n(94400),c="utf8",l="Content-Type",u="Content-Disposition",p=void 0!==typeof r&&i.isFunction(r.byteLength),h={fileNameRegex:/;[ \t]*(?:filename)[ \t]*=[ \t]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[ \t]*/,encodedFileNameRegex:/;[ \t]*(?:filename\*)[ \t]*=[ \t]*([A-Za-z0-9!#$%&+\-^_`{}~]+)'.*'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)[ \t]*/,quotedPairRegex:/\\([ -~])/g,hexCharMatchRegex:/%([0-9A-Fa-f]{2})/g,nonLatinCharMatchRegex:/[^\x20-\x7e\xa0-\xff]/g},d=function(e,t){return String.fromCharCode(parseInt(t,16))},f={"iso-8859-1":e=>e.replace(h.nonLatinCharMatchRegex,"?"),"utf-8"(e){if(p)return r.from(e,"binary").toString(c)}},m=function(e){var t,n;if(e)return(t=h.encodedFileNameRegex.exec(e))&&(n=function(e,t){if(e&&f[t])return f[t](e.replace(h.hexCharMatchRegex,d))}(t[2],t[1])),n||((n=h.fileNameRegex.exec(e))&&(n=n[1]),n&&'"'===n[0]&&(n=n.substr(1,n.length-2).replace(h.quotedPairRegex,"$1"))),n};e.exports={contentInfo(e){var t=e.headers.get(l),n=e.headers.get(u),r=function(e,t){var n,r,i;return e||(r=a(t))&&(e=r.mime)&&(i=r.ext),e||(e="text/plain"),{contentType:(n=s.lookup(e)).source,mimeType:n.type,mimeFormat:n.format,charset:n.charset||c,extension:i||o.extension(n.source)||""}}(t,e.stream||e.body),i=m(n),p=r.extension,h={};return i||(i="response",p&&(i+="."+p)),r.contentType&&(h.contentType=r.contentType),r.mimeType&&(h.mimeType=r.mimeType),r.mimeFormat&&(h.mimeFormat=r.mimeFormat),r.charset&&(h.charset=r.charset),p&&(h.fileExtension=p),i&&(h.fileName=i),h},regexes:h}},91339:(e,t,n)=>{e.exports={PropertyBase:n(44204).PropertyBase,Certificate:n(45265).Certificate,CertificateList:n(19041).CertificateList,Collection:n(59803).Collection,Cookie:n(29220).Cookie,CookieList:n(19531).CookieList,Description:n(95289).Description,Event:n(14761).Event,EventList:n(51605).EventList,FormParam:n(45312).FormParam,Header:n(43730).Header,HeaderList:n(20309).HeaderList,Item:n(74702).Item,ItemGroup:n(92373).ItemGroup,MutationTracker:n(66930).MutationTracker,PropertyList:n(51523).PropertyList,Property:n(82297).Property,QueryParam:n(40114).QueryParam,Request:n(54573).Request,RequestAuth:n(47950).RequestAuth,RequestBody:n(56362).RequestBody,Response:n(70651).Response,Script:n(43888).Script,Url:n(70197).Url,UrlMatchPattern:n(36396).UrlMatchPattern,UrlMatchPatternList:n(12321).UrlMatchPatternList,Variable:n(79553).Variable,VariableList:n(77714).VariableList,VariableScope:n(77552).VariableScope,ProxyConfig:n(61293).ProxyConfig,ProxyConfigList:n(66094).ProxyConfigList,Version:n(98357).Version}},9674:e=>{e.exports={}},81402:(e,t,n)=>{var r,i,a=n(76201).lodash,o=n(9674);r=function(e){this.value=a.isString(e)?e:a.isFunction(e.toString)&&e.toString()||"",this.substitutions=0,this.replacements=0},a.assign(r.prototype,{replace(e,t){var n=0;return this.value=this.value.replace(e,a.isFunction(t)?function(){return n+=1,t.apply(this,arguments)}:function(){return n+=1,t}),this.replacements=n,n&&(this.substitutions+=1),this},toString(){return this.value},valueOf(){return this.value}}),i=function(e,t){t&&e.push(t),this.variables=e},a.assign(i.prototype,{find(e){var t,n,r,i,o=this.variables;for(r=0,i=o.length;r{var r,i=n(76201).lodash,a=n(51523).PropertyList,o=n(70197).Url,s=n(36396).UrlMatchPattern,c=s.MATCH_ALL_URLS;i.inherit(r=function(e,t){r.super_.call(this,s,e,t)},a),i.assign(r.prototype,{_postman_proprtyIsSerialisedAsPlural:!0,test:function(e){var t,n,r;return n=this.find((function(e){return e.pattern===c})),!!i.isObject(n)||(t=new o(e),r=this.find((function(e){var n=e._matchPatternObject;return!i.isEmpty(n)&&(e.testProtocol(t.protocol)&&e.testHost(t.getHost())&&e.testPort(t.port,t.protocol)&&e.testPath(t.getPath()))})),Boolean(r))}}),i.assign(r,{_postman_propertyName:"UrlMatchPatternList"}),e.exports={UrlMatchPatternList:r}},36396:(e,t,n)=>{var r,i=n(76201).lodash,a=n(82297).Property,o=n(70197).Url,s="undefined",c="*",l="",u=["http","https","file","ftp"],p=u.join("|"),h={ftp:"21",http:"80",https:"443"},d={escapeMatcher:/[.+^${}()|[\]\\]/g,escapeMatchReplacement:"\\$&",questionmarkMatcher:/\?/g,questionmarkReplacment:".",starMatcher:"*",starReplacement:".*",patternSplit:"^(("+p+"|\\*)(\\+("+p+"))*)://(\\*|\\*\\.[^*/:]+|[^*/:]+)(:\\*|:\\d+)?(/.*)$"};i.inherit(r=function e(t){i.isString(t)&&(t={pattern:t}),e.super_.apply(this,arguments),i.assign(this,{pattern:l}),this.update(t)},a),i.assign(r.prototype,{update(e){i.has(e,"pattern")&&i.isString(e.pattern)&&!i.isEmpty(e.pattern)&&(this.pattern=e.pattern),this._matchPatternObject=this.createMatchPattern()},createMatchPattern(){var e=this.pattern.match(d.patternSplit);if(e)return{protocols:i.uniq(e[1].split("+")),host:e[5],port:e[6]&&e[6].substr(1),path:this.globPatternToRegexp(e[7])}},globPatternToRegexp:e=>(e=(e=(e=e.replace(d.escapeMatcher,d.escapeMatchReplacement)).replace(d.questionmarkMatcher,d.questionmarkReplacment)).replace(d.starMatcher,d.starReplacement),new RegExp("^"+e+"$")),testProtocol(e){var t=this._matchPatternObject;return i.includes(u,e)&&(i.includes(t.protocols,c)||i.includes(t.protocols,e))},getProtocols(){return i.get(this,"_matchPatternObject.protocols")||[]},testHost(e){var t=this._matchPatternObject;return this.matchAnyHost(t)||this.matchAbsoluteHostPattern(t,e)||this.matchSuffixHostPattern(t,e)},matchAnyHost:e=>e.host===c,matchSuffixHostPattern(e,t){var n=e.host.substr(2);return e.host[0]===c&&(t===n||t.endsWith("."+n))},matchAbsoluteHostPattern:(e,t)=>e.host===t,testPort(e,t){var n=this._matchPatternObject.port,r=t&&h[t];return typeof e===s&&typeof n===s||(e&&"string"!=typeof e&&(e=String(e)),!e&&(e=r),!n&&(n=r),n===c||n===e)},testPath(e){var t=this._matchPatternObject;return!i.isEmpty(e.match(t.path))},test(e){if(this.pattern===l)return!0;if(i.isEmpty(this._matchPatternObject))return!1;const t=new o(e);return this.testProtocol(t.protocol)&&this.testHost(t.getHost())&&this.testPort(t.port,t.protocol)&&this.testPath(t.getPath())},toString(){return String(this.pattern)},toJSON(){return{pattern:this.toString()}}}),i.assign(r,{_postman_propertyName:"UrlMatchPattern",PROTOCOL_DELIMITER:"+",MATCH_ALL_URLS:l}),e.exports={UrlMatchPattern:r}},76201:(e,t,n)=>{var r,i=n(48764).Buffer,a=n(96486).noConflict(),o=n(81981),s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",c=s.length;a.mixin({inherit:(e,t)=>(Object.defineProperty(e,"super_",{value:a.isFunction(t)?t:a.noop,configurable:!1,enumerable:!1,writable:!1}),e.prototype=Object.create(a.isFunction(t)?t.prototype:t,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),e),args:e=>Array.prototype.slice.call(e),ensureEncoded(e){try{e=decodeURIComponent(e)}catch(t){}try{return encodeURIComponent(e)}catch(n){return e}},assignLocked:(e,t,n)=>(Object.defineProperty(e,t,{value:n,configurable:!1,enumerable:!1,writable:!1}),e),assignHidden:(e,t,n)=>(Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!1,writable:!0}),e),createDefined:(e,t,n,r)=>a.has(e,t)?new n(e[t]):r,mergeDefined(e,t){var n;for(n in t)a.has(t,n)&&!a.isUndefined(t[n])&&(e[n]=t[n]);return e},getOwn:(e,t,n)=>a.has(e,t)?e[t]:n,cloneElement:e=>a.cloneDeepWith(e,(function(e){if(e&&a.isFunction(e.toJSON))return e.toJSON()})),inSuperChain:(e,t,n)=>!!e&&(e[t]===n||a.inSuperChain(e.super_,t,n)),randomString(e){e=e||6;var t,n=[];for(t=0;t{"use strict";var r=n(2399).Buffer;t._dbcs=l;for(var i=-1,a=-10,o=-1e3,s=new Array(256),c=0;c<256;c++)s[c]=i;function l(e,t){if(this.encodingName=e.encodingName,!e)throw new Error("DBCS codec is called without the data.");if(!e.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var n=e.table();this.decodeTables=[],this.decodeTables[0]=s.slice(0),this.decodeTableSeq=[];for(var r=0;ro)throw new Error("gb18030 decode tables conflict at byte 2");for(var h=this.decodeTables[o-u[p]],d=129;d<=254;d++){if(h[d]===i)h[d]=o-c;else{if(h[d]===o-c)continue;if(h[d]>o)throw new Error("gb18030 decode tables conflict at byte 3")}for(var f=this.decodeTables[o-h[d]],m=48;m<=57;m++)f[m]===i&&(f[m]=-2)}}}this.defaultCharUnicode=t.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var y={};if(e.encodeSkipVals)for(r=0;rt)return-1;for(var n=0,r=e.length;n>1);e[i]<=t?n=i:r=i}return n}l.prototype.encoder=u,l.prototype.decoder=p,l.prototype._getDecodeTrieNode=function(e){for(var t=[];e>0;e>>>=8)t.push(255&e);0==t.length&&t.push(0);for(var n=this.decodeTables[0],r=t.length-1;r>0;r--){var a=n[t[r]];if(a==i)n[t[r]]=o-this.decodeTables.length,this.decodeTables.push(n=s.slice(0));else{if(!(a<=o))throw new Error("Overwrite byte in "+this.encodingName+", addr: "+e.toString(16));n=this.decodeTables[o-a]}}return n},l.prototype._addDecodeChunk=function(e){var t=parseInt(e[0],16),n=this._getDecodeTrieNode(t);t&=255;for(var r=1;r255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+e[0]+": too long"+t)},l.prototype._getEncodeBucket=function(e){var t=e>>8;return void 0===this.encodeTable[t]&&(this.encodeTable[t]=s.slice(0)),this.encodeTable[t]},l.prototype._setEncodeChar=function(e,t){var n=this._getEncodeBucket(e),r=255&e;n[r]<=a?this.encodeTableSeq[a-n[r]][-1]=t:n[r]==i&&(n[r]=t)},l.prototype._setEncodeSequence=function(e,t){var n,r=e[0],o=this._getEncodeBucket(r),s=255&r;o[s]<=a?n=this.encodeTableSeq[a-o[s]]:(n={},o[s]!==i&&(n[-1]=o[s]),o[s]=a-this.encodeTableSeq.length,this.encodeTableSeq.push(n));for(var c=1;c=0)this._setEncodeChar(l,u),i=!0;else if(l<=o){var p=o-l;if(!s[p]){var h=u<<8>>>0;this._fillEncodeTable(p,h,n)?i=!0:s[p]=!0}}else l<=a&&(this._setEncodeSequence(this.decodeTableSeq[a-l],u),i=!0)}return i},u.prototype.write=function(e){for(var t=r.alloc(e.length*(this.gb18030?4:3)),n=this.leadSurrogate,o=this.seqObj,s=-1,c=0,l=0;;){if(-1===s){if(c==e.length)break;var u=e.charCodeAt(c++)}else{u=s;s=-1}if(55296<=u&&u<57344)if(u<56320){if(-1===n){n=u;continue}n=u,u=i}else-1!==n?(u=65536+1024*(n-55296)+(u-56320),n=-1):u=i;else-1!==n&&(s=u,u=i,n=-1);var p=i;if(void 0!==o&&u!=i){var d=o[u];if("object"==typeof d){o=d;continue}"number"==typeof d?p=d:null==d&&void 0!==(d=o[-1])&&(p=d,s=u),o=void 0}else if(u>=0){var f=this.encodeTable[u>>8];if(void 0!==f&&(p=f[255&u]),p<=a){o=this.encodeTableSeq[a-p];continue}if(p==i&&this.gb18030){var m=h(this.gb18030.uChars,u);if(-1!=m){p=this.gb18030.gbChars[m]+(u-this.gb18030.uChars[m]);t[l++]=129+Math.floor(p/12600),p%=12600,t[l++]=48+Math.floor(p/1260),p%=1260,t[l++]=129+Math.floor(p/10),p%=10,t[l++]=48+p;continue}}}p===i&&(p=this.defaultCharSingleByte),p<256?t[l++]=p:p<65536?(t[l++]=p>>8,t[l++]=255&p):p<16777216?(t[l++]=p>>16,t[l++]=p>>8&255,t[l++]=255&p):(t[l++]=p>>>24,t[l++]=p>>>16&255,t[l++]=p>>>8&255,t[l++]=255&p)}return this.seqObj=o,this.leadSurrogate=n,t.slice(0,l)},u.prototype.end=function(){if(-1!==this.leadSurrogate||void 0!==this.seqObj){var e=r.alloc(10),t=0;if(this.seqObj){var n=this.seqObj[-1];void 0!==n&&(n<256?e[t++]=n:(e[t++]=n>>8,e[t++]=255&n)),this.seqObj=void 0}return-1!==this.leadSurrogate&&(e[t++]=this.defaultCharSingleByte,this.leadSurrogate=-1),e.slice(0,t)}},u.prototype.findIdx=h,p.prototype.write=function(e){for(var t=r.alloc(2*e.length),n=this.nodeIdx,s=this.prevBytes,c=this.prevBytes.length,l=-this.prevBytes.length,u=0,p=0;u=0?e[u]:s[u+c];if((d=this.decodeTables[n][f])>=0);else if(d===i)d=this.defaultCharUnicode.charCodeAt(0),u=l;else if(-2===d){if(u>=3)var m=12600*(e[u-3]-129)+1260*(e[u-2]-48)+10*(e[u-1]-129)+(f-48);else m=12600*(s[u-3+c]-129)+1260*((u-2>=0?e[u-2]:s[u-2+c])-48)+10*((u-1>=0?e[u-1]:s[u-1+c])-129)+(f-48);var y=h(this.gb18030.gbChars,m);d=this.gb18030.uChars[y]+m-this.gb18030.gbChars[y]}else{if(d<=o){n=o-d;continue}if(!(d<=a))throw new Error("iconv-lite internal error: invalid decoding table value "+d+" at "+n+"/"+f);for(var g=this.decodeTableSeq[a-d],v=0;v>8;d=g[g.length-1]}if(d>=65536){var b=55296|(d-=65536)>>10;t[p++]=255&b,t[p++]=b>>8,d=56320|1023&d}t[p++]=255&d,t[p++]=d>>8,n=0,l=u+1}return this.nodeIdx=n,this.prevBytes=l>=0?Array.prototype.slice.call(e,l):s.slice(l+c).concat(Array.prototype.slice.call(e)),t.slice(0,p).toString("ucs2")},p.prototype.end=function(){for(var e="";this.prevBytes.length>0;){e+=this.defaultCharUnicode;var t=this.prevBytes.slice(1);this.prevBytes=[],this.nodeIdx=0,t.length>0&&(e+=this.write(t))}return this.prevBytes=[],this.nodeIdx=0,e}},40131:(e,t,n)=>{"use strict";e.exports={shiftjis:{type:"_dbcs",table:function(){return n(66647)},encodeAdd:{"\xa5":92,"\u203e":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return n(69078)},encodeAdd:{"\xa5":92,"\u203e":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return n(77104)}},gbk:{type:"_dbcs",table:function(){return n(77104).concat(n(35497))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return n(77104).concat(n(35497))},gb18030:function(){return n(95872)},encodeSkipVals:[128],encodeAdd:{"\u20ac":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return n(5815)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return n(87574)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return n(87574).concat(n(57813))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},96264:(e,t,n)=>{"use strict";for(var r=[n(57169),n(95766),n(2293),n(69949),n(49321),n(56588),n(13286),n(71407),n(40131)],i=0;i{"use strict";var r=n(2399).Buffer;function i(e,t){this.enc=e.encodingName,this.bomAware=e.bomAware,"base64"===this.enc?this.encoder=c:"cesu8"===this.enc&&(this.enc="utf8",this.encoder=l,"\ud83d\udca9"!==r.from("eda0bdedb2a9","hex").toString()&&(this.decoder=u,this.defaultCharUnicode=t.defaultCharUnicode))}e.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:i},i.prototype.encoder=s,i.prototype.decoder=o;var a=n(32553).StringDecoder;function o(e,t){this.decoder=new a(t.enc)}function s(e,t){this.enc=t.enc}function c(e,t){this.prevStr=""}function l(e,t){}function u(e,t){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=t.defaultCharUnicode}a.prototype.end||(a.prototype.end=function(){}),o.prototype.write=function(e){return r.isBuffer(e)||(e=r.from(e)),this.decoder.write(e)},o.prototype.end=function(){return this.decoder.end()},s.prototype.write=function(e){return r.from(e,this.enc)},s.prototype.end=function(){},c.prototype.write=function(e){var t=(e=this.prevStr+e).length-e.length%4;return this.prevStr=e.slice(t),e=e.slice(0,t),r.from(e,"base64")},c.prototype.end=function(){return r.from(this.prevStr,"base64")},l.prototype.write=function(e){for(var t=r.alloc(3*e.length),n=0,i=0;i>>6),t[n++]=128+(63&a)):(t[n++]=224+(a>>>12),t[n++]=128+(a>>>6&63),t[n++]=128+(63&a))}return t.slice(0,n)},l.prototype.end=function(){},u.prototype.write=function(e){for(var t=this.acc,n=this.contBytes,r=this.accBytes,i="",a=0;a0&&(i+=this.defaultCharUnicode,n=0),o<128?i+=String.fromCharCode(o):o<224?(t=31&o,n=1,r=1):o<240?(t=15&o,n=2,r=1):i+=this.defaultCharUnicode):n>0?(t=t<<6|63&o,r++,0===--n&&(i+=2===r&&t<128&&t>0||3===r&&t<2048?this.defaultCharUnicode:String.fromCharCode(t))):i+=this.defaultCharUnicode}return this.acc=t,this.contBytes=n,this.accBytes=r,i},u.prototype.end=function(){var e=0;return this.contBytes>0&&(e+=this.defaultCharUnicode),e}},49321:(e,t,n)=>{"use strict";var r=n(2399).Buffer;function i(e,t){if(!e)throw new Error("SBCS codec is called without the data.");if(!e.chars||128!==e.chars.length&&256!==e.chars.length)throw new Error("Encoding '"+e.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(128===e.chars.length){for(var n="",i=0;i<128;i++)n+=String.fromCharCode(i);e.chars=n+e.chars}this.decodeBuf=r.from(e.chars,"ucs2");var a=r.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(i=0;i{"use strict";e.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"\u20ac\ufffd\ufffd\ufffd\ufffd\u2026\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\xa0\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\ufffd\ufffd\ufffd\ufffd\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b\ufffd\ufffd\ufffd\ufffd"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\ufffd\u201e\u2026\u2020\u2021\ufffd\u2030\u0160\u2039\u015a\u0164\u017d\u0179\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\u0161\u203a\u015b\u0165\u017e\u017a\xa0\u02c7\u02d8\u0141\xa4\u0104\xa6\xa7\xa8\xa9\u015e\xab\xac\xad\xae\u017b\xb0\xb1\u02db\u0142\xb4\xb5\xb6\xb7\xb8\u0105\u015f\xbb\u013d\u02dd\u013e\u017c\u0154\xc1\xc2\u0102\xc4\u0139\u0106\xc7\u010c\xc9\u0118\xcb\u011a\xcd\xce\u010e\u0110\u0143\u0147\xd3\xd4\u0150\xd6\xd7\u0158\u016e\xda\u0170\xdc\xdd\u0162\xdf\u0155\xe1\xe2\u0103\xe4\u013a\u0107\xe7\u010d\xe9\u0119\xeb\u011b\xed\xee\u010f\u0111\u0144\u0148\xf3\xf4\u0151\xf6\xf7\u0159\u016f\xfa\u0171\xfc\xfd\u0163\u02d9"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"\u0402\u0403\u201a\u0453\u201e\u2026\u2020\u2021\u20ac\u2030\u0409\u2039\u040a\u040c\u040b\u040f\u0452\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\u0459\u203a\u045a\u045c\u045b\u045f\xa0\u040e\u045e\u0408\xa4\u0490\xa6\xa7\u0401\xa9\u0404\xab\xac\xad\xae\u0407\xb0\xb1\u0406\u0456\u0491\xb5\xb6\xb7\u0451\u2116\u0454\xbb\u0458\u0405\u0455\u0457\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\ufffd\u017d\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\ufffd\u017e\u0178\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\u0192\u201e\u2026\u2020\u2021\ufffd\u2030\ufffd\u2039\ufffd\ufffd\ufffd\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\ufffd\u203a\ufffd\ufffd\ufffd\ufffd\xa0\u0385\u0386\xa3\xa4\xa5\xa6\xa7\xa8\xa9\ufffd\xab\xac\xad\xae\u2015\xb0\xb1\xb2\xb3\u0384\xb5\xb6\xb7\u0388\u0389\u038a\xbb\u038c\xbd\u038e\u038f\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\ufffd\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03aa\u03ab\u03ac\u03ad\u03ae\u03af\u03b0\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c2\u03c3\u03c4\u03c5\u03c6\u03c7\u03c8\u03c9\u03ca\u03cb\u03cc\u03cd\u03ce\ufffd"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\ufffd\ufffd\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\ufffd\ufffd\u0178\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u011e\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\u0130\u015e\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\u011f\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\u0131\u015f\xff"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\ufffd\u2039\ufffd\ufffd\ufffd\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\ufffd\u203a\ufffd\ufffd\ufffd\ufffd\xa0\xa1\xa2\xa3\u20aa\xa5\xa6\xa7\xa8\xa9\xd7\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xf7\xbb\xbc\xbd\xbe\xbf\u05b0\u05b1\u05b2\u05b3\u05b4\u05b5\u05b6\u05b7\u05b8\u05b9\u05ba\u05bb\u05bc\u05bd\u05be\u05bf\u05c0\u05c1\u05c2\u05c3\u05f0\u05f1\u05f2\u05f3\u05f4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5\u05d6\u05d7\u05d8\u05d9\u05da\u05db\u05dc\u05dd\u05de\u05df\u05e0\u05e1\u05e2\u05e3\u05e4\u05e5\u05e6\u05e7\u05e8\u05e9\u05ea\ufffd\ufffd\u200e\u200f\ufffd"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"\u20ac\u067e\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06af\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u06a9\u2122\u0691\u203a\u0153\u200c\u200d\u06ba\xa0\u060c\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\u06be\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\u061b\xbb\xbc\xbd\xbe\u061f\u06c1\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\xd7\u0637\u0638\u0639\u063a\u0640\u0641\u0642\u0643\xe0\u0644\xe2\u0645\u0646\u0647\u0648\xe7\xe8\xe9\xea\xeb\u0649\u064a\xee\xef\u064b\u064c\u064d\u064e\xf4\u064f\u0650\xf7\u0651\xf9\u0652\xfb\xfc\u200e\u200f\u06d2"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\ufffd\u201e\u2026\u2020\u2021\ufffd\u2030\ufffd\u2039\ufffd\xa8\u02c7\xb8\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\ufffd\u203a\ufffd\xaf\u02db\ufffd\xa0\ufffd\xa2\xa3\xa4\ufffd\xa6\xa7\xd8\xa9\u0156\xab\xac\xad\xae\xc6\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xf8\xb9\u0157\xbb\xbc\xbd\xbe\xe6\u0104\u012e\u0100\u0106\xc4\xc5\u0118\u0112\u010c\xc9\u0179\u0116\u0122\u0136\u012a\u013b\u0160\u0143\u0145\xd3\u014c\xd5\xd6\xd7\u0172\u0141\u015a\u016a\xdc\u017b\u017d\xdf\u0105\u012f\u0101\u0107\xe4\xe5\u0119\u0113\u010d\xe9\u017a\u0117\u0123\u0137\u012b\u013c\u0161\u0144\u0146\xf3\u014d\xf5\xf6\xf7\u0173\u0142\u015b\u016b\xfc\u017c\u017e\u02d9"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"\u20ac\ufffd\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\ufffd\u2039\u0152\ufffd\ufffd\ufffd\ufffd\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\ufffd\u203a\u0153\ufffd\ufffd\u0178\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\u0102\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\u0300\xcd\xce\xcf\u0110\xd1\u0309\xd3\xd4\u01a0\xd6\xd7\xd8\xd9\xda\xdb\xdc\u01af\u0303\xdf\xe0\xe1\xe2\u0103\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\u0301\xed\xee\xef\u0111\xf1\u0323\xf3\xf4\u01a1\xf6\xf7\xf8\xf9\xfa\xfb\xfc\u01b0\u20ab\xff"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0104\u02d8\u0141\xa4\u013d\u015a\xa7\xa8\u0160\u015e\u0164\u0179\xad\u017d\u017b\xb0\u0105\u02db\u0142\xb4\u013e\u015b\u02c7\xb8\u0161\u015f\u0165\u017a\u02dd\u017e\u017c\u0154\xc1\xc2\u0102\xc4\u0139\u0106\xc7\u010c\xc9\u0118\xcb\u011a\xcd\xce\u010e\u0110\u0143\u0147\xd3\xd4\u0150\xd6\xd7\u0158\u016e\xda\u0170\xdc\xdd\u0162\xdf\u0155\xe1\xe2\u0103\xe4\u013a\u0107\xe7\u010d\xe9\u0119\xeb\u011b\xed\xee\u010f\u0111\u0144\u0148\xf3\xf4\u0151\xf6\xf7\u0159\u016f\xfa\u0171\xfc\xfd\u0163\u02d9"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0126\u02d8\xa3\xa4\ufffd\u0124\xa7\xa8\u0130\u015e\u011e\u0134\xad\ufffd\u017b\xb0\u0127\xb2\xb3\xb4\xb5\u0125\xb7\xb8\u0131\u015f\u011f\u0135\xbd\ufffd\u017c\xc0\xc1\xc2\ufffd\xc4\u010a\u0108\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\ufffd\xd1\xd2\xd3\xd4\u0120\xd6\xd7\u011c\xd9\xda\xdb\xdc\u016c\u015c\xdf\xe0\xe1\xe2\ufffd\xe4\u010b\u0109\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\ufffd\xf1\xf2\xf3\xf4\u0121\xf6\xf7\u011d\xf9\xfa\xfb\xfc\u016d\u015d\u02d9"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0104\u0138\u0156\xa4\u0128\u013b\xa7\xa8\u0160\u0112\u0122\u0166\xad\u017d\xaf\xb0\u0105\u02db\u0157\xb4\u0129\u013c\u02c7\xb8\u0161\u0113\u0123\u0167\u014a\u017e\u014b\u0100\xc1\xc2\xc3\xc4\xc5\xc6\u012e\u010c\xc9\u0118\xcb\u0116\xcd\xce\u012a\u0110\u0145\u014c\u0136\xd4\xd5\xd6\xd7\xd8\u0172\xda\xdb\xdc\u0168\u016a\xdf\u0101\xe1\xe2\xe3\xe4\xe5\xe6\u012f\u010d\xe9\u0119\xeb\u0117\xed\xee\u012b\u0111\u0146\u014d\u0137\xf4\xf5\xf6\xf7\xf8\u0173\xfa\xfb\xfc\u0169\u016b\u02d9"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040a\u040b\u040c\xad\u040e\u040f\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045a\u045b\u045c\xa7\u045e\u045f"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\ufffd\ufffd\ufffd\xa4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u060c\xad\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u061b\ufffd\ufffd\ufffd\u061f\ufffd\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\ufffd\ufffd\ufffd\ufffd\ufffd\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u2018\u2019\xa3\u20ac\u20af\xa6\xa7\xa8\xa9\u037a\xab\xac\xad\ufffd\u2015\xb0\xb1\xb2\xb3\u0384\u0385\u0386\xb7\u0388\u0389\u038a\xbb\u038c\xbd\u038e\u038f\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\ufffd\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03aa\u03ab\u03ac\u03ad\u03ae\u03af\u03b0\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c2\u03c3\u03c4\u03c5\u03c6\u03c7\u03c8\u03c9\u03ca\u03cb\u03cc\u03cd\u03ce\ufffd"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\ufffd\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xd7\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xf7\xbb\xbc\xbd\xbe\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u2017\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5\u05d6\u05d7\u05d8\u05d9\u05da\u05db\u05dc\u05dd\u05de\u05df\u05e0\u05e1\u05e2\u05e3\u05e4\u05e5\u05e6\u05e7\u05e8\u05e9\u05ea\ufffd\ufffd\u200e\u200f\ufffd"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u011e\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\u0130\u015e\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\u011f\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\u0131\u015f\xff"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0104\u0112\u0122\u012a\u0128\u0136\xa7\u013b\u0110\u0160\u0166\u017d\xad\u016a\u014a\xb0\u0105\u0113\u0123\u012b\u0129\u0137\xb7\u013c\u0111\u0161\u0167\u017e\u2015\u016b\u014b\u0100\xc1\xc2\xc3\xc4\xc5\xc6\u012e\u010c\xc9\u0118\xcb\u0116\xcd\xce\xcf\xd0\u0145\u014c\xd3\xd4\xd5\xd6\u0168\xd8\u0172\xda\xdb\xdc\xdd\xde\xdf\u0101\xe1\xe2\xe3\xe4\xe5\xe6\u012f\u010d\xe9\u0119\xeb\u0117\xed\xee\xef\xf0\u0146\u014d\xf3\xf4\xf5\xf6\u0169\xf8\u0173\xfa\xfb\xfc\xfd\xfe\u0138"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\ufffd\ufffd\ufffd\ufffd\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b\ufffd\ufffd\ufffd\ufffd"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u201d\xa2\xa3\xa4\u201e\xa6\xa7\xd8\xa9\u0156\xab\xac\xad\xae\xc6\xb0\xb1\xb2\xb3\u201c\xb5\xb6\xb7\xf8\xb9\u0157\xbb\xbc\xbd\xbe\xe6\u0104\u012e\u0100\u0106\xc4\xc5\u0118\u0112\u010c\xc9\u0179\u0116\u0122\u0136\u012a\u013b\u0160\u0143\u0145\xd3\u014c\xd5\xd6\xd7\u0172\u0141\u015a\u016a\xdc\u017b\u017d\xdf\u0105\u012f\u0101\u0107\xe4\xe5\u0119\u0113\u010d\xe9\u017a\u0117\u0123\u0137\u012b\u013c\u0161\u0144\u0146\xf3\u014d\xf5\xf6\xf7\u0173\u0142\u015b\u016b\xfc\u017c\u017e\u2019"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u1e02\u1e03\xa3\u010a\u010b\u1e0a\xa7\u1e80\xa9\u1e82\u1e0b\u1ef2\xad\xae\u0178\u1e1e\u1e1f\u0120\u0121\u1e40\u1e41\xb6\u1e56\u1e81\u1e57\u1e83\u1e60\u1ef3\u1e84\u1e85\u1e61\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u0174\xd1\xd2\xd3\xd4\xd5\xd6\u1e6a\xd8\xd9\xda\xdb\xdc\xdd\u0176\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\u0175\xf1\xf2\xf3\xf4\xf5\xf6\u1e6b\xf8\xf9\xfa\xfb\xfc\xfd\u0177\xff"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\u20ac\xa5\u0160\xa7\u0161\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\u017d\xb5\xb6\xb7\u017e\xb9\xba\xbb\u0152\u0153\u0178\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0104\u0105\u0141\u20ac\u201e\u0160\xa7\u0161\xa9\u0218\xab\u0179\xad\u017a\u017b\xb0\xb1\u010c\u0142\u017d\u201d\xb6\xb7\u017e\u010d\u0219\xbb\u0152\u0153\u0178\u017c\xc0\xc1\xc2\u0102\xc4\u0106\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u0110\u0143\xd2\xd3\xd4\u0150\xd6\u015a\u0170\xd9\xda\xdb\xdc\u0118\u021a\xdf\xe0\xe1\xe2\u0103\xe4\u0107\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\u0111\u0144\xf2\xf3\xf4\u0151\xf6\u015b\u0171\xf9\xfa\xfb\xfc\u0119\u021b\xff"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xa2\xa3\xa5\u20a7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\u2310\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c3\u03c2\u03c4\u03c5\u03c6\u03c7\u03c8\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03c9\u03ac\u03ad\u03ae\u03ca\u03af\u03cc\u03cd\u03cb\u03ce\u0386\u0388\u0389\u038a\u038c\u038e\u038f\xb1\u2265\u2264\u03aa\u03ab\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"\u0106\xfc\xe9\u0101\xe4\u0123\xe5\u0107\u0142\u0113\u0156\u0157\u012b\u0179\xc4\xc5\xc9\xe6\xc6\u014d\xf6\u0122\xa2\u015a\u015b\xd6\xdc\xf8\xa3\xd8\xd7\xa4\u0100\u012a\xf3\u017b\u017c\u017a\u201d\xa6\xa9\xae\xac\xbd\xbc\u0141\xab\xbb\u2591\u2592\u2593\u2502\u2524\u0104\u010c\u0118\u0116\u2563\u2551\u2557\u255d\u012e\u0160\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u0172\u016a\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u017d\u0105\u010d\u0119\u0117\u012f\u0161\u0173\u016b\u017e\u2518\u250c\u2588\u2584\u258c\u2590\u2580\xd3\xdf\u014c\u0143\xf5\xd5\xb5\u0144\u0136\u0137\u013b\u013c\u0146\u0112\u0145\u2019\xad\xb1\u201c\xbe\xb6\xa7\xf7\u201e\xb0\u2219\xb7\xb9\xb3\xb2\u25a0\xa0"},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xf8\xa3\xd8\xd7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\xae\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\xc1\xc2\xc0\xa9\u2563\u2551\u2557\u255d\xa2\xa5\u2510\u2514\u2534\u252c\u251c\u2500\u253c\xe3\xc3\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\xf0\xd0\xca\xcb\xc8\u0131\xcd\xce\xcf\u2518\u250c\u2588\u2584\xa6\xcc\u2580\xd3\xdf\xd4\xd2\xf5\xd5\xb5\xfe\xde\xda\xdb\xd9\xfd\xdd\xaf\xb4\xad\xb1\u2017\xbe\xb6\xa7\xf7\xb8\xb0\xa8\xb7\xb9\xb3\xb2\u25a0\xa0"},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\u016f\u0107\xe7\u0142\xeb\u0150\u0151\xee\u0179\xc4\u0106\xc9\u0139\u013a\xf4\xf6\u013d\u013e\u015a\u015b\xd6\xdc\u0164\u0165\u0141\xd7\u010d\xe1\xed\xf3\xfa\u0104\u0105\u017d\u017e\u0118\u0119\xac\u017a\u010c\u015f\xab\xbb\u2591\u2592\u2593\u2502\u2524\xc1\xc2\u011a\u015e\u2563\u2551\u2557\u255d\u017b\u017c\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u0102\u0103\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\u0111\u0110\u010e\xcb\u010f\u0147\xcd\xce\u011b\u2518\u250c\u2588\u2584\u0162\u016e\u2580\xd3\xdf\xd4\u0143\u0144\u0148\u0160\u0161\u0154\xda\u0155\u0170\xfd\xdd\u0163\xb4\xad\u02dd\u02db\u02c7\u02d8\xa7\xf7\xb8\xb0\xa8\u02d9\u0171\u0158\u0159\u25a0\xa0"},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"\u0452\u0402\u0453\u0403\u0451\u0401\u0454\u0404\u0455\u0405\u0456\u0406\u0457\u0407\u0458\u0408\u0459\u0409\u045a\u040a\u045b\u040b\u045c\u040c\u045e\u040e\u045f\u040f\u044e\u042e\u044a\u042a\u0430\u0410\u0431\u0411\u0446\u0426\u0434\u0414\u0435\u0415\u0444\u0424\u0433\u0413\xab\xbb\u2591\u2592\u2593\u2502\u2524\u0445\u0425\u0438\u0418\u2563\u2551\u2557\u255d\u0439\u0419\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u043a\u041a\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\u043b\u041b\u043c\u041c\u043d\u041d\u043e\u041e\u043f\u2518\u250c\u2588\u2584\u041f\u044f\u2580\u042f\u0440\u0420\u0441\u0421\u0442\u0422\u0443\u0423\u0436\u0416\u0432\u0412\u044c\u042c\u2116\xad\u044b\u042b\u0437\u0417\u0448\u0428\u044d\u042d\u0449\u0429\u0447\u0427\xa7\u25a0\xa0"},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5\u05d6\u05d7\u05d8\u05d9\u05da\u05db\u05dc\u05dd\u05de\u05df\u05e0\u05e1\u05e2\u05e3\u05e4\u05e5\u05e6\u05e7\u05e8\u05e9\u05ea\ufffd\xa3\ufffd\xd7\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\xae\xac\xbd\xbc\ufffd\xab\xbb\u2591\u2592\u2593\u2502\u2524\ufffd\ufffd\ufffd\xa9\u2563\u2551\u2557\u255d\xa2\xa5\u2510\u2514\u2534\u252c\u251c\u2500\u253c\ufffd\ufffd\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u2518\u250c\u2588\u2584\xa6\ufffd\u2580\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\xb5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\xaf\xb4\xad\xb1\u2017\xbe\xb6\xa7\xf7\xb8\xb0\xa8\xb7\xb9\xb3\xb2\u25a0\xa0"},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\u0131\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\u0130\xd6\xdc\xf8\xa3\xd8\u015e\u015f\xe1\xed\xf3\xfa\xf1\xd1\u011e\u011f\xbf\xae\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\xc1\xc2\xc0\xa9\u2563\u2551\u2557\u255d\xa2\xa5\u2510\u2514\u2534\u252c\u251c\u2500\u253c\xe3\xc3\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\xba\xaa\xca\xcb\xc8\ufffd\xcd\xce\xcf\u2518\u250c\u2588\u2584\xa6\xcc\u2580\xd3\xdf\xd4\xd2\xf5\xd5\xb5\ufffd\xd7\xda\xdb\xd9\xec\xff\xaf\xb4\xad\xb1\ufffd\xbe\xb6\xa7\xf7\xb8\xb0\xa8\xb7\xb9\xb3\xb2\u25a0\xa0"},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xf8\xa3\xd8\xd7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\xae\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\xc1\xc2\xc0\xa9\u2563\u2551\u2557\u255d\xa2\xa5\u2510\u2514\u2534\u252c\u251c\u2500\u253c\xe3\xc3\u255a\u2554\u2569\u2566\u2560\u2550\u256c\xa4\xf0\xd0\xca\xcb\xc8\u20ac\xcd\xce\xcf\u2518\u250c\u2588\u2584\xa6\xcc\u2580\xd3\xdf\xd4\xd2\xf5\xd5\xb5\xfe\xde\xda\xdb\xd9\xfd\xdd\xaf\xb4\xad\xb1\u2017\xbe\xb6\xa7\xf7\xb8\xb0\xa8\xb7\xb9\xb3\xb2\u25a0\xa0"},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe3\xe0\xc1\xe7\xea\xca\xe8\xcd\xd4\xec\xc3\xc2\xc9\xc0\xc8\xf4\xf5\xf2\xda\xf9\xcc\xd5\xdc\xa2\xa3\xd9\u20a7\xd3\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\xd2\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xd0\xf0\xde\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xfe\xfb\xdd\xfd\xd6\xdc\xf8\xa3\xd8\u20a7\u0192\xe1\xed\xf3\xfa\xc1\xcd\xd3\xda\xbf\u2310\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5\u05d6\u05d7\u05d8\u05d9\u05da\u05db\u05dc\u05dd\u05de\u05df\u05e0\u05e1\u05e2\u05e3\u05e4\u05e5\u05e6\u05e7\u05e8\u05e9\u05ea\xa2\xa3\xa5\u20a7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\u2310\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xc2\xe0\xb6\xe7\xea\xeb\xe8\xef\xee\u2017\xc0\xa7\xc9\xc8\xca\xf4\xcb\xcf\xfb\xf9\xa4\xd4\xdc\xa2\xa3\xd9\xdb\u0192\xa6\xb4\xf3\xfa\xa8\xb8\xb3\xaf\xce\u2310\xac\xbd\xbc\xbe\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$\u066a&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\xb0\xb7\u2219\u221a\u2592\u2500\u2502\u253c\u2524\u252c\u251c\u2534\u2510\u250c\u2514\u2518\u03b2\u221e\u03c6\xb1\xbd\xbc\u2248\xab\xbb\ufef7\ufef8\ufffd\ufffd\ufefb\ufefc\ufffd\xa0\xad\ufe82\xa3\xa4\ufe84\ufffd\ufffd\ufe8e\ufe8f\ufe95\ufe99\u060c\ufe9d\ufea1\ufea5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\ufed1\u061b\ufeb1\ufeb5\ufeb9\u061f\xa2\ufe80\ufe81\ufe83\ufe85\ufeca\ufe8b\ufe8d\ufe91\ufe93\ufe97\ufe9b\ufe9f\ufea3\ufea7\ufea9\ufeab\ufead\ufeaf\ufeb3\ufeb7\ufebb\ufebf\ufec1\ufec5\ufecb\ufecf\xa6\xac\xf7\xd7\ufec9\u0640\ufed3\ufed7\ufedb\ufedf\ufee3\ufee7\ufeeb\ufeed\ufeef\ufef3\ufebd\ufecc\ufece\ufecd\ufee1\ufe7d\u0651\ufee5\ufee9\ufeec\ufef0\ufef2\ufed0\ufed5\ufef5\ufef6\ufedd\ufed9\ufef1\u25a0\ufffd"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xf8\xa3\xd8\u20a7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\u2310\xac\xbd\xbc\xa1\xab\xa4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u0401\u0451\u0404\u0454\u0407\u0457\u040e\u045e\xb0\u2219\xb7\u221a\u2116\xa4\u25a0\xa0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0386\ufffd\xb7\xac\xa6\u2018\u2019\u0388\u2015\u0389\u038a\u03aa\u038c\ufffd\ufffd\u038e\u03ab\xa9\u038f\xb2\xb3\u03ac\xa3\u03ad\u03ae\u03af\u03ca\u0390\u03cc\u03cd\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xbd\u0398\u0399\xab\xbb\u2591\u2592\u2593\u2502\u2524\u039a\u039b\u039c\u039d\u2563\u2551\u2557\u255d\u039e\u039f\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u03a0\u03a1\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03b1\u03b2\u03b3\u2518\u250c\u2588\u2584\u03b4\u03b5\u2580\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c3\u03c2\u03c4\u0384\xad\xb1\u03c5\u03c6\u03c7\xa7\u03c8\u0385\xb0\xa8\u03c9\u03cb\u03b0\u03ce\u25a0\xa0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\u203e\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u0160\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\u017d\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\u0161\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\u017e\xff"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\ufe88\xd7\xf7\uf8f6\uf8f5\uf8f4\uf8f7\ufe71\x88\u25a0\u2502\u2500\u2510\u250c\u2514\u2518\ufe79\ufe7b\ufe7d\ufe7f\ufe77\ufe8a\ufef0\ufef3\ufef2\ufece\ufecf\ufed0\ufef6\ufef8\ufefa\ufefc\xa0\uf8fa\uf8f9\uf8f8\xa4\uf8fb\ufe8b\ufe91\ufe97\ufe9b\ufe9f\ufea3\u060c\xad\ufea7\ufeb3\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\ufeb7\u061b\ufebb\ufebf\ufeca\u061f\ufecb\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\ufec7\u0639\u063a\ufecc\ufe82\ufe84\ufe8e\ufed3\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\ufed7\ufedb\ufedf\uf8fc\ufef5\ufef7\ufef9\ufefb\ufee3\ufee7\ufeec\ufee9\ufffd"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0401\u0402\u0490\u0404\u0405\u0406\u0407\u0408\u0409\u040a\u040b\u040c\xad\u040e\u040f\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u2116\u0451\u0452\u0491\u0454\u0455\u0456\u0457\u0458\u0459\u045a\u045b\u045c\xa7\u045e\u045f"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u0401\u0451\u0490\u0491\u0404\u0454\u0406\u0456\u0407\u0457\xb7\u221a\u2116\xa4\u25a0\xa0"},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\u0153\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\u0178\xb5\xb6\xb7\u0152\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\u0102\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\u0300\xcd\xce\xcf\u0110\xd1\u0309\xd3\xd4\u01a0\xd6\xd7\xd8\xd9\xda\xdb\xdc\u01af\u0303\xdf\xe0\xe1\xe2\u0103\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\u0301\xed\xee\xef\u0111\xf1\u0323\xf3\xf4\u01a1\xf6\xf7\xf8\xf9\xfa\xfb\xfc\u01b0\u20ab\xff"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0e81\u0e82\u0e84\u0e87\u0e88\u0eaa\u0e8a\u0e8d\u0e94\u0e95\u0e96\u0e97\u0e99\u0e9a\u0e9b\u0e9c\u0e9d\u0e9e\u0e9f\u0ea1\u0ea2\u0ea3\u0ea5\u0ea7\u0eab\u0ead\u0eae\ufffd\ufffd\ufffd\u0eaf\u0eb0\u0eb2\u0eb3\u0eb4\u0eb5\u0eb6\u0eb7\u0eb8\u0eb9\u0ebc\u0eb1\u0ebb\u0ebd\ufffd\ufffd\ufffd\u0ec0\u0ec1\u0ec2\u0ec3\u0ec4\u0ec8\u0ec9\u0eca\u0ecb\u0ecc\u0ecd\u0ec6\ufffd\u0edc\u0edd\u20ad\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0ed0\u0ed1\u0ed2\u0ed3\u0ed4\u0ed5\u0ed6\u0ed7\u0ed8\u0ed9\ufffd\ufffd\xa2\xac\xa6\ufffd"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0e48\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\u0e49\u0e4a\u0e4b\u20ac\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b\xa2\xac\xa6\xa0"},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"\u20ac\x81\x82\x83\x84\u2026\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\u2018\u2019\u201c\u201d\u2022\u2013\u2014\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\ufffd\ufffd\ufffd\ufffd\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b\ufffd\ufffd\ufffd\ufffd"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\u20ac\xa5\xa6\xa7\u0153\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\u0178\xb5\xb6\xb7\u0152\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\u0102\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\u0300\xcd\xce\xcf\u0110\xd1\u0309\xd3\xd4\u01a0\xd6\xd7\xd8\xd9\xda\xdb\xdc\u01af\u0303\xdf\xe0\xe1\xe2\u0103\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\u0301\xed\xee\xef\u0111\xf1\u0323\xf3\xf4\u01a1\xf6\xf7\xf8\xf9\xfa\xfb\xfc\u01b0\u20ab\xff"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\u0160\u2122\xb4\xa8\u2260\u017d\xd8\u221e\xb1\u2264\u2265\u2206\xb5\u2202\u2211\u220f\u0161\u222b\xaa\xba\u2126\u017e\xf8\xbf\xa1\xac\u221a\u0192\u2248\u0106\xab\u010c\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u0110\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\ufffd\xa9\u2044\xa4\u2039\u203a\xc6\xbb\u2013\xb7\u201a\u201e\u2030\xc2\u0107\xc1\u010d\xc8\xcd\xce\xcf\xcc\xd3\xd4\u0111\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u03c0\xcb\u02da\xb8\xca\xe6\u02c7"},maccyrillic:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u2020\xb0\xa2\xa3\xa7\u2022\xb6\u0406\xae\xa9\u2122\u0402\u0452\u2260\u0403\u0453\u221e\xb1\u2264\u2265\u0456\xb5\u2202\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040a\u045a\u0458\u0405\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\u040b\u045b\u040c\u045c\u0455\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u201e\u040e\u045e\u040f\u045f\u2116\u0401\u0451\u044f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\xa4"},macgreek:{type:"_sbcs",chars:"\xc4\xb9\xb2\xc9\xb3\xd6\xdc\u0385\xe0\xe2\xe4\u0384\xa8\xe7\xe9\xe8\xea\xeb\xa3\u2122\xee\xef\u2022\xbd\u2030\xf4\xf6\xa6\xad\xf9\xfb\xfc\u2020\u0393\u0394\u0398\u039b\u039e\u03a0\xdf\xae\xa9\u03a3\u03aa\xa7\u2260\xb0\u0387\u0391\xb1\u2264\u2265\xa5\u0392\u0395\u0396\u0397\u0399\u039a\u039c\u03a6\u03ab\u03a8\u03a9\u03ac\u039d\xac\u039f\u03a1\u2248\u03a4\xab\xbb\u2026\xa0\u03a5\u03a7\u0386\u0388\u0153\u2013\u2015\u201c\u201d\u2018\u2019\xf7\u0389\u038a\u038c\u038e\u03ad\u03ae\u03af\u03cc\u038f\u03cd\u03b1\u03b2\u03c8\u03b4\u03b5\u03c6\u03b3\u03b7\u03b9\u03be\u03ba\u03bb\u03bc\u03bd\u03bf\u03c0\u03ce\u03c1\u03c3\u03c4\u03b8\u03c9\u03c2\u03c7\u03c5\u03b6\u03ca\u03cb\u0390\u03b0\ufffd"},maciceland:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\xdd\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u2126\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\xa4\xd0\xf0\xde\xfe\xfd\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\ufffd\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},macroman:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u2126\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\xa4\u2039\u203a\ufb01\ufb02\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\ufffd\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},macromania:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\u0102\u015e\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u2126\u0103\u015f\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\xa4\u2039\u203a\u0162\u0163\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\ufffd\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},macthai:{type:"_sbcs",chars:"\xab\xbb\u2026\uf88c\uf88f\uf892\uf895\uf898\uf88b\uf88e\uf891\uf894\uf897\u201c\u201d\uf899\ufffd\u2022\uf884\uf889\uf885\uf886\uf887\uf888\uf88a\uf88d\uf890\uf893\uf896\u2018\u2019\ufffd\xa0\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\ufeff\u200b\u2013\u2014\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u2122\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\xae\xa9\ufffd\ufffd\ufffd\ufffd"},macturkish:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u2126\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u011e\u011f\u0130\u0131\u015e\u015f\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\ufffd\xd2\xda\xdb\xd9\ufffd\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},macukraine:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u2020\xb0\u0490\xa3\xa7\u2022\xb6\u0406\xae\xa9\u2122\u0402\u0452\u2260\u0403\u0453\u221e\xb1\u2264\u2265\u0456\xb5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040a\u045a\u0458\u0405\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\u040b\u045b\u040c\u045c\u0455\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u201e\u040e\u045e\u040f\u045f\u2116\u0401\u0451\u044f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\xa4"},koi8r:{type:"_sbcs",chars:"\u2500\u2502\u250c\u2510\u2514\u2518\u251c\u2524\u252c\u2534\u253c\u2580\u2584\u2588\u258c\u2590\u2591\u2592\u2593\u2320\u25a0\u2219\u221a\u2248\u2264\u2265\xa0\u2321\xb0\xb2\xb7\xf7\u2550\u2551\u2552\u0451\u2553\u2554\u2555\u2556\u2557\u2558\u2559\u255a\u255b\u255c\u255d\u255e\u255f\u2560\u2561\u0401\u2562\u2563\u2564\u2565\u2566\u2567\u2568\u2569\u256a\u256b\u256c\xa9\u044e\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u044f\u0440\u0441\u0442\u0443\u0436\u0432\u044c\u044b\u0437\u0448\u044d\u0449\u0447\u044a\u042e\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u042f\u0420\u0421\u0422\u0423\u0416\u0412\u042c\u042b\u0417\u0428\u042d\u0429\u0427\u042a"},koi8u:{type:"_sbcs",chars:"\u2500\u2502\u250c\u2510\u2514\u2518\u251c\u2524\u252c\u2534\u253c\u2580\u2584\u2588\u258c\u2590\u2591\u2592\u2593\u2320\u25a0\u2219\u221a\u2248\u2264\u2265\xa0\u2321\xb0\xb2\xb7\xf7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255a\u255b\u0491\u255d\u255e\u255f\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256a\u0490\u256c\xa9\u044e\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u044f\u0440\u0441\u0442\u0443\u0436\u0432\u044c\u044b\u0437\u0448\u044d\u0449\u0447\u044a\u042e\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u042f\u0420\u0421\u0422\u0423\u0416\u0412\u042c\u042b\u0417\u0428\u042d\u0429\u0427\u042a"},koi8ru:{type:"_sbcs",chars:"\u2500\u2502\u250c\u2510\u2514\u2518\u251c\u2524\u252c\u2534\u253c\u2580\u2584\u2588\u258c\u2590\u2591\u2592\u2593\u2320\u25a0\u2219\u221a\u2248\u2264\u2265\xa0\u2321\xb0\xb2\xb7\xf7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255a\u255b\u0491\u045e\u255e\u255f\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256a\u0490\u040e\xa9\u044e\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u044f\u0440\u0441\u0442\u0443\u0436\u0432\u044c\u044b\u0437\u0448\u044d\u0449\u0447\u044a\u042e\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u042f\u0420\u0421\u0422\u0423\u0416\u0412\u042c\u042b\u0417\u0428\u042d\u0429\u0427\u042a"},koi8t:{type:"_sbcs",chars:"\u049b\u0493\u201a\u0492\u201e\u2026\u2020\u2021\ufffd\u2030\u04b3\u2039\u04b2\u04b7\u04b6\ufffd\u049a\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\ufffd\u203a\ufffd\ufffd\ufffd\ufffd\ufffd\u04ef\u04ee\u0451\xa4\u04e3\xa6\xa7\ufffd\ufffd\ufffd\xab\xac\xad\xae\ufffd\xb0\xb1\xb2\u0401\ufffd\u04e2\xb6\xb7\ufffd\u2116\ufffd\xbb\ufffd\ufffd\ufffd\xa9\u044e\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u044f\u0440\u0441\u0442\u0443\u0436\u0432\u044c\u044b\u0437\u0448\u044d\u0449\u0447\u044a\u042e\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u042f\u0420\u0421\u0422\u0423\u0416\u0412\u042c\u042b\u0417\u0428\u042d\u0429\u0427\u042a"},armscii8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\ufffd\u0587\u0589)(\xbb\xab\u2014.\u055d,-\u058a\u2026\u055c\u055b\u055e\u0531\u0561\u0532\u0562\u0533\u0563\u0534\u0564\u0535\u0565\u0536\u0566\u0537\u0567\u0538\u0568\u0539\u0569\u053a\u056a\u053b\u056b\u053c\u056c\u053d\u056d\u053e\u056e\u053f\u056f\u0540\u0570\u0541\u0571\u0542\u0572\u0543\u0573\u0544\u0574\u0545\u0575\u0546\u0576\u0547\u0577\u0548\u0578\u0549\u0579\u054a\u057a\u054b\u057b\u054c\u057c\u054d\u057d\u054e\u057e\u054f\u057f\u0550\u0580\u0551\u0581\u0552\u0582\u0553\u0583\u0554\u0584\u0555\u0585\u0556\u0586\u055a\ufffd"},rk1048:{type:"_sbcs",chars:"\u0402\u0403\u201a\u0453\u201e\u2026\u2020\u2021\u20ac\u2030\u0409\u2039\u040a\u049a\u04ba\u040f\u0452\u2018\u2019\u201c\u201d\u2022\u2013\u2014\ufffd\u2122\u0459\u203a\u045a\u049b\u04bb\u045f\xa0\u04b0\u04b1\u04d8\xa4\u04e8\xa6\xa7\u0401\xa9\u0492\xab\xac\xad\xae\u04ae\xb0\xb1\u0406\u0456\u04e9\xb5\xb6\xb7\u0451\u2116\u0493\xbb\u04d9\u04a2\u04a3\u04af\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f"},tcvn:{type:"_sbcs",chars:"\0\xda\u1ee4\x03\u1eea\u1eec\u1eee\x07\b\t\n\v\f\r\x0e\x0f\x10\u1ee8\u1ef0\u1ef2\u1ef6\u1ef8\xdd\u1ef4\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\xc0\u1ea2\xc3\xc1\u1ea0\u1eb6\u1eac\xc8\u1eba\u1ebc\xc9\u1eb8\u1ec6\xcc\u1ec8\u0128\xcd\u1eca\xd2\u1ece\xd5\xd3\u1ecc\u1ed8\u1edc\u1ede\u1ee0\u1eda\u1ee2\xd9\u1ee6\u0168\xa0\u0102\xc2\xca\xd4\u01a0\u01af\u0110\u0103\xe2\xea\xf4\u01a1\u01b0\u0111\u1eb0\u0300\u0309\u0303\u0301\u0323\xe0\u1ea3\xe3\xe1\u1ea1\u1eb2\u1eb1\u1eb3\u1eb5\u1eaf\u1eb4\u1eae\u1ea6\u1ea8\u1eaa\u1ea4\u1ec0\u1eb7\u1ea7\u1ea9\u1eab\u1ea5\u1ead\xe8\u1ec2\u1ebb\u1ebd\xe9\u1eb9\u1ec1\u1ec3\u1ec5\u1ebf\u1ec7\xec\u1ec9\u1ec4\u1ebe\u1ed2\u0129\xed\u1ecb\xf2\u1ed4\u1ecf\xf5\xf3\u1ecd\u1ed3\u1ed5\u1ed7\u1ed1\u1ed9\u1edd\u1edf\u1ee1\u1edb\u1ee3\xf9\u1ed6\u1ee7\u0169\xfa\u1ee5\u1eeb\u1eed\u1eef\u1ee9\u1ef1\u1ef3\u1ef7\u1ef9\xfd\u1ef5\u1ed0"},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\x8d\x8e\x8f\x90\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\x9d\x9e\u0178\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\u10d0\u10d1\u10d2\u10d3\u10d4\u10d5\u10d6\u10d7\u10d8\u10d9\u10da\u10db\u10dc\u10dd\u10de\u10df\u10e0\u10e1\u10e2\u10e3\u10e4\u10e5\u10e6\u10e7\u10e8\u10e9\u10ea\u10eb\u10ec\u10ed\u10ee\u10ef\u10f0\u10f1\u10f2\u10f3\u10f4\u10f5\u10f6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\x8d\x8e\x8f\x90\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\x9d\x9e\u0178\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\u10d0\u10d1\u10d2\u10d3\u10d4\u10d5\u10d6\u10f1\u10d7\u10d8\u10d9\u10da\u10db\u10dc\u10f2\u10dd\u10de\u10df\u10e0\u10e1\u10e2\u10f3\u10e3\u10e4\u10e5\u10e6\u10e7\u10e8\u10e9\u10ea\u10eb\u10ec\u10ed\u10ee\u10f4\u10ef\u10f0\u10f5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04ee\u0493\u201e\u2026\u04b6\u04ae\u04b2\u04af\u04a0\u04e2\u04a2\u049a\u04ba\u04b8\u0497\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u04b3\u04b7\u04a1\u04e3\u04a3\u049b\u04bb\u04b9\xa0\u040e\u045e\u0408\u04e8\u0498\u04b0\xa7\u0401\xa9\u04d8\xab\xac\u04ef\xae\u049c\xb0\u04b1\u0406\u0456\u0499\u04e9\xb6\xb7\u0451\u2116\u04d9\xbb\u0458\u04aa\u04ab\u049d\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f"},viscii:{type:"_sbcs",chars:"\0\x01\u1eb2\x03\x04\u1eb4\u1eaa\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\u1ef6\x15\x16\x17\x18\u1ef8\x1a\x1b\x1c\x1d\u1ef4\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\u1ea0\u1eae\u1eb0\u1eb6\u1ea4\u1ea6\u1ea8\u1eac\u1ebc\u1eb8\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1ee2\u1eda\u1edc\u1ede\u1eca\u1ece\u1ecc\u1ec8\u1ee6\u0168\u1ee4\u1ef2\xd5\u1eaf\u1eb1\u1eb7\u1ea5\u1ea7\u1ea9\u1ead\u1ebd\u1eb9\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ed1\u1ed3\u1ed5\u1ed7\u1ee0\u01a0\u1ed9\u1edd\u1edf\u1ecb\u1ef0\u1ee8\u1eea\u1eec\u01a1\u1edb\u01af\xc0\xc1\xc2\xc3\u1ea2\u0102\u1eb3\u1eb5\xc8\xc9\xca\u1eba\xcc\xcd\u0128\u1ef3\u0110\u1ee9\xd2\xd3\xd4\u1ea1\u1ef7\u1eeb\u1eed\xd9\xda\u1ef9\u1ef5\xdd\u1ee1\u01b0\xe0\xe1\xe2\xe3\u1ea3\u0103\u1eef\u1eab\xe8\xe9\xea\u1ebb\xec\xed\u0129\u1ec9\u0111\u1ef1\xf2\xf3\xf4\xf5\u1ecf\u1ecd\u1ee5\xf9\xfa\u0169\u1ee7\xfd\u1ee3\u1eee"},iso646cn:{type:"_sbcs",chars:"\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#\xa5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}\u203e\x7f\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"},iso646jp:{type:"_sbcs",chars:"\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xa5]^_`abcdefghijklmnopqrstuvwxyz{|}\u203e\x7f\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"},hproman8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xc0\xc2\xc8\xca\xcb\xce\xcf\xb4\u02cb\u02c6\xa8\u02dc\xd9\xdb\u20a4\xaf\xdd\xfd\xb0\xc7\xe7\xd1\xf1\xa1\xbf\xa4\xa3\xa5\xa7\u0192\xa2\xe2\xea\xf4\xfb\xe1\xe9\xf3\xfa\xe0\xe8\xf2\xf9\xe4\xeb\xf6\xfc\xc5\xee\xd8\xc6\xe5\xed\xf8\xe6\xc4\xec\xd6\xdc\xc9\xef\xdf\xd4\xc1\xc3\xe3\xd0\xf0\xcd\xcc\xd3\xd2\xd5\xf5\u0160\u0161\xda\u0178\xff\xde\xfe\xb7\xb5\xb6\xbe\u2014\xbc\xbd\xaa\xba\xab\u25a0\xbb\xb1\ufffd"},macintosh:{type:"_sbcs",chars:"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u2126\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026\xa0\xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\xa4\u2039\u203a\ufb01\ufb02\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\ufffd\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},ascii:{type:"_sbcs",chars:"\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"},tis620:{type:"_sbcs",chars:"\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\ufffd\ufffd\ufffd\ufffd\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b\ufffd\ufffd\ufffd\ufffd"}}},56588:e=>{"use strict";e.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"\xc4\u0100\u0101\xc9\u0104\xd6\xdc\xe1\u0105\u010c\xe4\u010d\u0106\u0107\xe9\u0179\u017a\u010e\xed\u010f\u0112\u0113\u0116\xf3\u0117\xf4\xf6\xf5\xfa\u011a\u011b\xfc\u2020\xb0\u0118\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\u0119\xa8\u2260\u0123\u012e\u012f\u012a\u2264\u2265\u012b\u0136\u2202\u2211\u0142\u013b\u013c\u013d\u013e\u0139\u013a\u0145\u0146\u0143\xac\u221a\u0144\u0147\u2206\xab\xbb\u2026\xa0\u0148\u0150\xd5\u0151\u014c\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\u014d\u0154\u0155\u0158\u2039\u203a\u0159\u0156\u0157\u0160\u201a\u201e\u0161\u015a\u015b\xc1\u0164\u0165\xcd\u017d\u017e\u016a\xd3\xd4\u016b\u016e\xda\u016f\u0170\u0171\u0172\u0173\xdd\xfd\u0137\u017b\u0141\u017c\u0122\u02c7"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u0401\u0451\u0404\u0454\u0407\u0457\u040e\u045e\xb0\u2219\xb7\u221a\u2116\u20ac\u25a0\xa0"},mik:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u2514\u2534\u252c\u251c\u2500\u253c\u2563\u2551\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2510\u2591\u2592\u2593\u2502\u2524\u2116\xa7\u2557\u255d\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},cp720:{type:"_sbcs",chars:"\x80\x81\xe9\xe2\x84\xe0\x86\xe7\xea\xeb\xe8\xef\xee\x8d\x8e\x8f\x90\u0651\u0652\xf4\xa4\u0640\xfb\xf9\u0621\u0622\u0623\u0624\xa3\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u0636\u0637\u0638\u0639\u063a\u0641\xb5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u2261\u064b\u064c\u064d\u064e\u064f\u0650\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0\xa0"},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},2293:(e,t,n)=>{"use strict";var r=n(2399).Buffer;function i(){}function a(){}function o(){this.overflowByte=-1}function s(e,t){this.iconv=t}function c(e,t){void 0===(e=e||{}).addBOM&&(e.addBOM=!0),this.encoder=t.iconv.getEncoder("utf-16le",e)}function l(e,t){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=e||{},this.iconv=t.iconv}function u(e,t){var n=[],r=0,i=0,a=0;e:for(var o=0;o=100)break e}return a>i?"utf-16be":a{"use strict";var r=n(2399).Buffer;function i(e,t){this.iconv=t,this.bomAware=!0,this.isLE=e.isLE}function a(e,t){this.isLE=t.isLE,this.highSurrogate=0}function o(e,t){this.isLE=t.isLE,this.badChar=t.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}function s(e,t,n,r){if((n<0||n>1114111)&&(n=r),n>=65536){var i=55296|(n-=65536)>>10;e[t++]=255&i,e[t++]=i>>8;n=56320|1023&n}return e[t++]=255&n,e[t++]=n>>8,t}function c(e,t){this.iconv=t}function l(e,t){void 0===(e=e||{}).addBOM&&(e.addBOM=!0),this.encoder=t.iconv.getEncoder(e.defaultEncoding||"utf-32le",e)}function u(e,t){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=e||{},this.iconv=t.iconv}function p(e,t){var n=[],r=0,i=0,a=0,o=0,s=0;e:for(var c=0;c16)&&a++,(0!==n[3]||n[2]>16)&&i++,0!==n[0]||0!==n[1]||0===n[2]&&0===n[3]||s++,0===n[0]&&0===n[1]||0!==n[2]||0!==n[3]||o++,n.length=0,++r>=100)break e}return s-a>o-i?"utf-32be":s-a0){for(;t{"use strict";var r=n(2399).Buffer;function i(e,t){this.iconv=t}t.utf7=i,t.unicode11utf7="utf7",i.prototype.encoder=o,i.prototype.decoder=s,i.prototype.bomAware=!0;var a=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function o(e,t){this.iconv=t.iconv}function s(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}o.prototype.write=function(e){return r.from(e.replace(a,function(e){return"+"+("+"===e?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))},o.prototype.end=function(){};for(var c=/[A-Za-z0-9\/+]/,l=[],u=0;u<256;u++)l[u]=c.test(String.fromCharCode(u));var p="+".charCodeAt(0),h="-".charCodeAt(0),d="&".charCodeAt(0);function f(e,t){this.iconv=t}function m(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=r.alloc(6),this.base64AccumIdx=0}function y(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}s.prototype.write=function(e){for(var t="",n=0,i=this.inBase64,a=this.base64Accum,o=0;o0&&(e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e},t.utf7imap=f,f.prototype.encoder=m,f.prototype.decoder=y,f.prototype.bomAware=!0,m.prototype.write=function(e){for(var t=this.inBase64,n=this.base64Accum,i=this.base64AccumIdx,a=r.alloc(5*e.length+10),o=0,s=0;s0&&(o+=a.write(n.slice(0,i).toString("base64").replace(/\//g,",").replace(/=+$/,""),o),i=0),a[o++]=h,t=!1),t||(a[o++]=c,c===d&&(a[o++]=h))):(t||(a[o++]=d,t=!0),t&&(n[i++]=c>>8,n[i++]=255&c,i==n.length&&(o+=a.write(n.toString("base64").replace(/\//g,","),o),i=0)))}return this.inBase64=t,this.base64AccumIdx=i,a.slice(0,o)},m.prototype.end=function(){var e=r.alloc(10),t=0;return this.inBase64&&(this.base64AccumIdx>0&&(t+=e.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t),this.base64AccumIdx=0),e[t++]=h,this.inBase64=!1),e.slice(0,t)};var g=l.slice();g[",".charCodeAt(0)]=!0,y.prototype.write=function(e){for(var t="",n=0,i=this.inBase64,a=this.base64Accum,o=0;o0&&(e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e}},254:(e,t)=>{"use strict";function n(e,t){this.encoder=e,this.addBOM=!0}function r(e,t){this.decoder=e,this.pass=!1,this.options=t||{}}t.PrependBOM=n,n.prototype.write=function(e){return this.addBOM&&(e="\ufeff"+e,this.addBOM=!1),this.encoder.write(e)},n.prototype.end=function(){return this.encoder.end()},t.StripBOM=r,r.prototype.write=function(e){var t=this.decoder.write(e);return this.pass||!t||("\ufeff"===t[0]&&(t=t.slice(1),"function"==typeof this.options.stripBOM&&this.options.stripBOM()),this.pass=!0),t},r.prototype.end=function(){return this.decoder.end()}},81981:(e,t,n)=>{"use strict";var r,i=n(2399).Buffer,a=n(254),o=e.exports;o.encodings=null,o.defaultCharUnicode="\ufffd",o.defaultCharSingleByte="?",o.encode=function(e,t,n){e=""+(e||"");var r=o.getEncoder(t,n),a=r.write(e),s=r.end();return s&&s.length>0?i.concat([a,s]):a},o.decode=function(e,t,n){"string"==typeof e&&(o.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),o.skipDecodeWarning=!0),e=i.from(""+(e||""),"binary"));var r=o.getDecoder(t,n),a=r.write(e),s=r.end();return s?a+s:a},o.encodingExists=function(e){try{return o.getCodec(e),!0}catch(t){return!1}},o.toEncoding=o.encode,o.fromEncoding=o.decode,o._codecDataCache={},o.getCodec=function(e){o.encodings||(o.encodings=n(96264));for(var t=o._canonicalizeEncoding(e),r={};;){var i=o._codecDataCache[t];if(i)return i;var a=o.encodings[t];switch(typeof a){case"string":t=a;break;case"object":for(var s in a)r[s]=a[s];r.encodingName||(r.encodingName=t),t=a.type;break;case"function":return r.encodingName||(r.encodingName=t),i=new a(r,o),o._codecDataCache[r.encodingName]=i,i;default:throw new Error("Encoding not recognized: '"+e+"' (searched as: '"+t+"')")}}},o._canonicalizeEncoding=function(e){return(""+e).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},o.getEncoder=function(e,t){var n=o.getCodec(e),r=new n.encoder(t,n);return n.bomAware&&t&&t.addBOM&&(r=new a.PrependBOM(r,t)),r},o.getDecoder=function(e,t){var n=o.getCodec(e),r=new n.decoder(t,n);return!n.bomAware||t&&!1===t.stripBOM||(r=new a.StripBOM(r,t)),r},o.enableStreamingAPI=function(e){if(!o.supportsStreams){var t=n(92226)(e);o.IconvLiteEncoderStream=t.IconvLiteEncoderStream,o.IconvLiteDecoderStream=t.IconvLiteDecoderStream,o.encodeStream=function(e,t){return new o.IconvLiteEncoderStream(o.getEncoder(e,t),t)},o.decodeStream=function(e,t){return new o.IconvLiteDecoderStream(o.getDecoder(e,t),t)},o.supportsStreams=!0}};try{r=n(44616)}catch(s){}r&&r.Transform?o.enableStreamingAPI(r):o.encodeStream=o.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}},92226:(e,t,n)=>{"use strict";var r=n(2399).Buffer;e.exports=function(e){var t=e.Transform;function n(e,n){this.conv=e,(n=n||{}).decodeStrings=!1,t.call(this,n)}function i(e,n){this.conv=e,(n=n||{}).encoding=this.encoding="utf8",t.call(this,n)}return n.prototype=Object.create(t.prototype,{constructor:{value:n}}),n.prototype._transform=function(e,t,n){if("string"!=typeof e)return n(new Error("Iconv encoding stream needs strings as its input."));try{var r=this.conv.write(e);r&&r.length&&this.push(r),n()}catch(i){n(i)}},n.prototype._flush=function(e){try{var t=this.conv.end();t&&t.length&&this.push(t),e()}catch(n){e(n)}},n.prototype.collect=function(e){var t=[];return this.on("error",e),this.on("data",(function(e){t.push(e)})),this.on("end",(function(){e(null,r.concat(t))})),this},i.prototype=Object.create(t.prototype,{constructor:{value:i}}),i.prototype._transform=function(e,t,n){if(!(r.isBuffer(e)||e instanceof Uint8Array))return n(new Error("Iconv decoding stream needs buffers as its input."));try{var i=this.conv.write(e);i&&i.length&&this.push(i,this.encoding),n()}catch(a){n(a)}},i.prototype._flush=function(e){try{var t=this.conv.end();t&&t.length&&this.push(t,this.encoding),e()}catch(n){e(n)}},i.prototype.collect=function(e){var t="";return this.on("error",e),this.on("data",(function(e){t+=e})),this.on("end",(function(){e(null,t)})),this},{IconvLiteEncoderStream:n,IconvLiteDecoderStream:i}}},37860:(e,t,n)=>{e.exports=n(58330)},74786:(e,t,n)=>{"use strict";var r,i,a,o=n(37860),s=n(62520).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,l=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!l.test(t[1]))&&"UTF-8"}t.charset=u,t.charsets={lookup:u},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),r=t.extensions,i=t.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){r[e]=n;for(var s=0;su||l===u&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},34559:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=a(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(t){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||a&&o||s||l}}e.exports=i;const a=n(37983),{re:o,t:s}=n(66947),c=n(27739),l=n(57782),u=n(17049),p=n(89133)},89133:(e,t,n)=>{class r{constructor(e,t){if(t=a(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=i.get(t);if(n)return n;const r=this.options.loose,a=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(a,S(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],p),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],h)).replace(l[u.CARETTRIM],d)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>C(e,this.options))).filter(this.options.loose?e=>!!e.match(c):()=>!0).map((e=>new o(e,this.options))),y=(m.length,new Map);for(const i of m){if(f(i))return[i];y.set(i.value,i)}y.size>1&&y.has("")&&y.delete("");const v=[...y.values()];return i.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>y(n,t)&&e.set.some((e=>y(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,m=e=>""===e.value,y=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},g=(e,t)=>(s("comp",e,t),e=_(e,t),s("caret",e),e=b(e,t),s("tildes",e),e=w(e,t),s("xrange",e),e=T(e,t),s("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,((t,n,r,i,a)=>{let o;return s("tilde",e,t,n,r,i,a),v(n)?o="":v(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:v(i)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(s("replaceTilde pr",a),o=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,s("tilde return",o),o}))},_=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,a,o)=>{let c;return s("caret",e,t,n,i,a,o),v(n)?c="":v(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:v(a)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(s("replaceCaret pr",o),c="0"===n?"0"===i?`>=${n}.${i}.${a}-${o} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${o} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),s("caret return",c),c}))},w=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>E(e,t))).join(" ")),E=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,((n,r,i,a,o,c)=>{s("xRange",e,n,r,i,a,o,c);const l=v(i),u=l||v(a),p=u||v(o),h=p;return"="===r&&h&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&h?(u&&(a=0),o=0,">"===r?(r=">=",u?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(c="-0"),n=`${r+i}.${a}.${o}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:p&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),s("xRange return",n),n}))},T=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),S=e=>(t,n,r,i,a,o,s,c,l,u,p,h,d)=>`${n=v(r)?"":v(i)?`>=${r}.0.0${e?"-0":""}`:v(a)?`>=${r}.${i}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=v(l)?"":v(u)?`<${+l+1}.0.0-0`:v(p)?`<${l}.${+u+1}.0-0`:h?`<=${l}.${u}.${p}-${h}`:e?`<${l}.${u}.${+p+1}-0`:`<=${c}`}`.trim(),A=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},17049:(e,t,n)=>{const r=n(57782),{MAX_LENGTH:i,MAX_SAFE_INTEGER:a}=n(19762),{re:o,t:s}=n(66947),c=n(37983),{compareIdentifiers:l}=n(80604);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},38022:(e,t,n)=>{const r=n(25802);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},27739:(e,t,n)=>{const r=n(51591),i=n(10363),a=n(35016),o=n(31260),s=n(23576),c=n(79356);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return i(e,n,l);case">":return a(e,n,l);case">=":return o(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},22694:(e,t,n)=>{const r=n(17049),i=n(25802),{re:a,t:o}=n(66947);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=a[o.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),a[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;a[o.COERCERTL].lastIndex=-1}else n=e.match(a[o.COERCE]);return null===n?null:i(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},97545:(e,t,n)=>{const r=n(17049);e.exports=(e,t,n)=>{const i=new r(e,n),a=new r(t,n);return i.compare(a)||i.compareBuild(a)}},34638:(e,t,n)=>{const r=n(41417);e.exports=(e,t)=>r(e,t,!0)},41417:(e,t,n)=>{const r=n(17049);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},57624:(e,t,n)=>{const r=n(25802),i=n(51591);e.exports=(e,t)=>{if(i(e,t))return null;{const n=r(e),i=r(t),a=n.prerelease.length||i.prerelease.length,o=a?"pre":"",s=a?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==i[e])return o+e;return s}}},51591:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>0===r(e,t,n)},35016:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>r(e,t,n)>0},31260:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>r(e,t,n)>=0},84767:(e,t,n)=>{const r=n(17049);e.exports=(e,t,n,i)=>{"string"==typeof n&&(i=n,n=void 0);try{return new r(e,n).inc(t,i).version}catch(a){return null}}},23576:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>r(e,t,n)<0},79356:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>r(e,t,n)<=0},24689:(e,t,n)=>{const r=n(17049);e.exports=(e,t)=>new r(e,t).major},95093:(e,t,n)=>{const r=n(17049);e.exports=(e,t)=>new r(e,t).minor},10363:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>0!==r(e,t,n)},25802:(e,t,n)=>{const{MAX_LENGTH:r}=n(19762),{re:i,t:a}=n(66947),o=n(17049),s=n(37983);e.exports=(e,t)=>{if(t=s(t),e instanceof o)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[a.LOOSE]:i[a.FULL]).test(e))return null;try{return new o(e,t)}catch(n){return null}}},39316:(e,t,n)=>{const r=n(17049);e.exports=(e,t)=>new r(e,t).patch},66560:(e,t,n)=>{const r=n(25802);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},23657:(e,t,n)=>{const r=n(41417);e.exports=(e,t,n)=>r(t,e,n)},77397:(e,t,n)=>{const r=n(97545);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},88222:(e,t,n)=>{const r=n(89133);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(i){return!1}return t.test(e)}},47015:(e,t,n)=>{const r=n(97545);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},50062:(e,t,n)=>{const r=n(25802);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},66942:(e,t,n)=>{const r=n(66947);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(19762).SEMVER_SPEC_VERSION,SemVer:n(17049),compareIdentifiers:n(80604).compareIdentifiers,rcompareIdentifiers:n(80604).rcompareIdentifiers,parse:n(25802),valid:n(50062),clean:n(38022),inc:n(84767),diff:n(57624),major:n(24689),minor:n(95093),patch:n(39316),prerelease:n(66560),compare:n(41417),rcompare:n(23657),compareLoose:n(34638),compareBuild:n(97545),sort:n(47015),rsort:n(77397),gt:n(35016),lt:n(23576),eq:n(51591),neq:n(10363),gte:n(31260),lte:n(79356),cmp:n(27739),coerce:n(22694),Comparator:n(34559),Range:n(89133),satisfies:n(88222),toComparators:n(17841),maxSatisfying:n(37014),minSatisfying:n(70238),minVersion:n(40768),validRange:n(1756),outside:n(82147),gtr:n(58306),ltr:n(14445),intersects:n(76575),simplifyRange:n(64175),subset:n(71730)}},19762:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},57782:(e,t,n)=>{var r=n(34155);const i="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},80604:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:en(t,e)}},37983:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},66947:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(19762),i=n(57782),a=(t=e.exports={}).re=[],o=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;i(r,t),s[e]=r,o[r]=t,a[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${o[s.NUMERICIDENTIFIER]}|${o[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${o[s.NUMERICIDENTIFIERLOOSE]}|${o[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${o[s.PRERELEASEIDENTIFIER]}(?:\\.${o[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${o[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${o[s.BUILDIDENTIFIER]}(?:\\.${o[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${o[s.MAINVERSION]}${o[s.PRERELEASE]}?${o[s.BUILD]}?`),l("FULL",`^${o[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${o[s.MAINVERSIONLOOSE]}${o[s.PRERELEASELOOSE]}?${o[s.BUILD]}?`),l("LOOSE",`^${o[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${o[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${o[s.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:${o[s.PRERELEASE]})?${o[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:${o[s.PRERELEASELOOSE]})?${o[s.BUILD]}?)?)?`),l("XRANGE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",o[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${o[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${o[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${o[s.LONECARET]}${o[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${o[s.LONECARET]}${o[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${o[s.GTLT]}\\s*(${o[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]}|${o[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${o[s.XRANGEPLAIN]})\\s+-\\s+(${o[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${o[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},58306:(e,t,n)=>{const r=n(82147);e.exports=(e,t,n)=>r(e,t,">",n)},76575:(e,t,n)=>{const r=n(89133);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},14445:(e,t,n)=>{const r=n(82147);e.exports=(e,t,n)=>r(e,t,"<",n)},37014:(e,t,n)=>{const r=n(17049),i=n(89133);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(a&&-1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},70238:(e,t,n)=>{const r=n(17049),i=n(89133);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(c){return null}return e.forEach((e=>{s.test(e)&&(a&&1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},40768:(e,t,n)=>{const r=n(17049),i=n(89133),a=n(35016);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let i=0;i{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!a(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!a(n,o)||(n=o)}return n&&e.test(n)?n:null}},82147:(e,t,n)=>{const r=n(17049),i=n(34559),{ANY:a}=i,o=n(89133),s=n(88222),c=n(35016),l=n(23576),u=n(79356),p=n(31260);e.exports=(e,t,n,h)=>{let d,f,m,y,g;switch(e=new r(e,h),t=new o(t,h),n){case">":d=c,f=u,m=l,y=">",g=">=";break;case"<":d=l,f=p,m=c,y="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,h))return!1;for(let r=0;r{e.semver===a&&(e=new i(">=0.0.0")),o=o||e,s=s||e,d(e.semver,o.semver,h)?o=e:m(e.semver,s.semver,h)&&(s=e)})),o.operator===y||o.operator===g)return!1;if((!s.operator||s.operator===y)&&f(e,s.semver))return!1;if(s.operator===g&&m(e,s.semver))return!1}return!0}},64175:(e,t,n)=>{const r=n(88222),i=n(41417);e.exports=(e,t,n)=>{const a=[];let o=null,s=null;const c=e.sort(((e,t)=>i(e,t,n)));for(const i of c){r(i,t,n)?(s=i,o||(o=i)):(s&&a.push([o,s]),s=null,o=null)}o&&a.push([o,null]);const l=[];for(const[r,i]of a)r===i?l.push(r):i||r!==c[0]?i?r===c[0]?l.push(`<=${i}`):l.push(`${r} - ${i}`):l.push(`>=${r}`):l.push("*");const u=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length{const r=n(89133),i=n(34559),{ANY:a}=i,o=n(88222),s=n(41417),c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a){if(1===t.length&&t[0].semver===a)return!0;e=n.includePrerelease?[new i(">=0.0.0-0")]:[new i(">=0.0.0")]}if(1===t.length&&t[0].semver===a){if(n.includePrerelease)return!0;t=[new i(">=0.0.0")]}const r=new Set;let c,p,h,d,f,m,y;for(const i of e)">"===i.operator||">="===i.operator?c=l(c,i,n):"<"===i.operator||"<="===i.operator?p=u(p,i,n):r.add(i.semver);if(r.size>1)return null;if(c&&p){if(h=s(c.semver,p.semver,n),h>0)return null;if(0===h&&(">="!==c.operator||"<="!==p.operator))return null}for(const i of r){if(c&&!o(i,String(c),n))return null;if(p&&!o(i,String(p),n))return null;for(const e of t)if(!o(i,String(e),n))return!1;return!0}let g=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver;g&&1===g.prerelease.length&&"<"===p.operator&&0===g.prerelease[0]&&(g=!1);for(const i of t){if(y=y||">"===i.operator||">="===i.operator,m=m||"<"===i.operator||"<="===i.operator,c)if(v&&i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===v.major&&i.semver.minor===v.minor&&i.semver.patch===v.patch&&(v=!1),">"===i.operator||">="===i.operator){if(d=l(c,i,n),d===i&&d!==c)return!1}else if(">="===c.operator&&!o(c.semver,String(i),n))return!1;if(p)if(g&&i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===g.major&&i.semver.minor===g.minor&&i.semver.patch===g.patch&&(g=!1),"<"===i.operator||"<="===i.operator){if(f=u(p,i,n),f===i&&f!==p)return!1}else if("<="===p.operator&&!o(p.semver,String(i),n))return!1;if(!i.operator&&(p||c)&&0!==h)return!1}return!(c&&m&&!p&&0!==h)&&(!(p&&y&&!c&&0!==h)&&(!v&&!g))},l=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},17841:(e,t,n)=>{const r=n(89133);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},1756:(e,t,n)=>{const r=n(89133);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(n){return null}}},31986:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(87462),i=n(67294),a=n(86010),o=n(35281),s=n(53438),c=n(48596),l=n(39960),u=n(44996),p=n(95999);function h(e){return i.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},e),i.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const d={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function f(e){let{children:t,href:n,isLast:r}=e;const a="breadcrumbs__link";return r?i.createElement("span",{className:a,itemProp:"name"},t):n?i.createElement(l.Z,{className:a,href:n,itemProp:"item"},i.createElement("span",{itemProp:"name"},t)):i.createElement("span",{className:a},t)}function m(e){let{children:t,active:n,index:o,addMicrodata:s}=e;return i.createElement("li",(0,r.Z)({},s&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,a.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,i.createElement("meta",{itemProp:"position",content:String(o+1)}))}function y(){const e=(0,u.Z)("/");return i.createElement("li",{className:"breadcrumbs__item"},i.createElement(l.Z,{"aria-label":(0,p.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,a.Z)("breadcrumbs__link",d.breadcrumbsItemLink),href:e},i.createElement(h,{className:d.breadcrumbHomeIcon})))}function g(){const e=(0,s.s1)(),t=(0,c.Ns)();return e?i.createElement("nav",{className:(0,a.Z)(o.k.docs.docBreadcrumbs,d.breadcrumbsContainer),"aria-label":(0,p.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},i.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&i.createElement(y,null),e.map(((t,n)=>{const r=n===e.length-1;return i.createElement(m,{key:n,active:r,index:n,addMicrodata:!!t.href},i.createElement(f,{href:t.href,isLast:r},t.label))})))):null}},61510:(e,t,n)=>{"use strict";n.d(t,{Z:()=>U});var r=n(67294),i=n(86010),a=n(35281),o=n(65130),s=n(87462),c=n(95999),l=n(86668);const u="anchorWithStickyNavbar_LWe7",p="anchorWithHideOnScrollNavbar_WYt5";function h(e){let{as:t,id:n,...a}=e;const{navbar:{hideOnScroll:o}}=(0,l.L)();return"h1"!==t&&n?r.createElement(t,(0,s.Z)({},a,{className:(0,i.Z)("anchor",o?p:u),id:n}),a.children,r.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,c.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):r.createElement(t,(0,s.Z)({},a,{id:void 0}))}var d=n(3905),f=n(35742);var m=n(12128);var y=n(39960);var g=n(72389),v=n(86043);const b="details_lb9f",x="isBrowser_bmU9",_="collapsibleContent_i85q";function k(e){return!!e&&("SUMMARY"===e.tagName||k(e.parentElement))}function w(e,t){return!!e&&(e===t||w(e.parentElement,t))}function E(e){let{summary:t,children:n,...a}=e;const o=(0,g.Z)(),c=(0,r.useRef)(null),{collapsed:l,setCollapsed:u}=(0,v.u)({initialState:!a.open}),[p,h]=(0,r.useState)(a.open);return r.createElement("details",(0,s.Z)({},a,{ref:c,open:p,"data-collapsed":l,className:(0,i.Z)(b,o&&x,a.className),onMouseDown:e=>{k(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;k(t)&&w(t,c.current)&&(e.preventDefault(),l?(u(!1),h(!0)):u(!0))}}),t??r.createElement("summary",null,"Details"),r.createElement(v.z,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{u(e),h(!e)}},r.createElement("div",{className:_},n)))}const T="details_b_Ee";function C(e){let{...t}=e;return r.createElement(E,(0,s.Z)({},t,{className:(0,i.Z)("alert alert--info",T,t.className)}))}function S(e){return r.createElement(h,e)}const A="containsTaskList_mC6p";const O="img_ev3q";const I="admonition_LlT9",N="admonitionHeading_tbUL",B="admonitionIcon_kALy",D="admonitionContent_S0QG";const L={note:{infimaClassName:"secondary",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:r.createElement(c.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 12 16"},r.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:r.createElement(c.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 12 16"},r.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:r.createElement(c.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:r.createElement(c.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 16 16"},r.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:r.createElement(c.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},M={secondary:"note",important:"info",success:"tip",warning:"danger"};function R(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=r.Children.toArray(e),n=t.find((e=>r.isValidElement(e)&&"mdxAdmonitionTitle"===e.props?.mdxType)),i=r.createElement(r.Fragment,null,t.filter((e=>e!==n)));return{mdxAdmonitionTitle:n,rest:i}}(e.children);return{...e,title:e.title??t,children:n}}var F=n(91262),P=n(45357);const j="container_lyt7";function $(e){let{value:t}=e;const n=(0,P.pv)(t);return r.createElement("div",{className:`${P.ZE} ${j}`,dangerouslySetInnerHTML:{__html:n}})}const q={head:function(e){const t=r.Children.map(e.children,(e=>r.isValidElement(e)?function(e){if(e.props?.mdxType&&e.props.originalType){const{mdxType:t,originalType:n,...i}=e.props;return r.createElement(e.props.originalType,i)}return e}(e):e));return r.createElement(f.Z,e,t)},code:function(e){const t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return r.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")||(0,r.isValidElement)(e)&&t.includes(e.props?.mdxType)))?r.createElement("code",e):r.createElement(m.Z,e)},a:function(e){return r.createElement(y.Z,e)},pre:function(e){return r.createElement(m.Z,(0,r.isValidElement)(e.children)&&"code"===e.children.props?.originalType?e.children.props:{...e})},details:function(e){const t=r.Children.toArray(e.children),n=t.find((e=>r.isValidElement(e)&&"summary"===e.props?.mdxType)),i=r.createElement(r.Fragment,null,t.filter((e=>e!==n)));return r.createElement(C,(0,s.Z)({},e,{summary:n}),i)},ul:function(e){return r.createElement("ul",(0,s.Z)({},e,{className:(t=e.className,(0,i.Z)(t,t?.includes("contains-task-list")&&A))}));var t},img:function(e){return r.createElement("img",(0,s.Z)({loading:"lazy"},e,{className:(t=e.className,(0,i.Z)(t,O))}));var t},h1:e=>r.createElement(S,(0,s.Z)({as:"h1"},e)),h2:e=>r.createElement(S,(0,s.Z)({as:"h2"},e)),h3:e=>r.createElement(S,(0,s.Z)({as:"h3"},e)),h4:e=>r.createElement(S,(0,s.Z)({as:"h4"},e)),h5:e=>r.createElement(S,(0,s.Z)({as:"h5"},e)),h6:e=>r.createElement(S,(0,s.Z)({as:"h6"},e)),admonition:function(e){const{children:t,type:n,title:o,icon:s}=R(e),c=function(e){const t=M[e]??e;return L[t]||(console.warn(`No admonition config found for admonition type "${t}". Using Info as fallback.`),L.info)}(n),l=o??c.label,{iconComponent:u}=c,p=s??r.createElement(u,null);return r.createElement("div",{className:(0,i.Z)(a.k.common.admonition,a.k.common.admonitionType(e.type),"alert",`alert--${c.infimaClassName}`,I)},r.createElement("div",{className:N},r.createElement("span",{className:B},p),l),r.createElement("div",{className:D},t))},mermaid:function(e){return r.createElement(F.Z,null,(()=>r.createElement($,e)))}};function z(e){let{children:t}=e;return r.createElement(d.Zo,{components:q},t)}function U(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=(0,o.k)();return t.hide_title||void 0!==n?null:e.title}();return r.createElement("div",{className:(0,i.Z)(a.k.docs.docMarkdown,"markdown")},n&&r.createElement("header",null,r.createElement(h,{as:"h1"},n)),r.createElement(z,null,t))}},97887:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r=n(67294),i=n(86010),a=n(35281),o=n(65130),s=n(95999);function c(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return r.createElement(s.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:r.createElement("b",null,r.createElement("time",{dateTime:new Date(1e3*t).toISOString()},n))}}," on {date}")}function l(e){let{lastUpdatedBy:t}=e;return r.createElement(s.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:r.createElement("b",null,t)}}," by {user}")}function u(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:i}=e;return r.createElement("span",{className:a.k.common.lastUpdated},r.createElement(s.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?r.createElement(c,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:i?r.createElement(l,{lastUpdatedBy:i}):""}},"Last updated{atDate}{byUser}"),!1)}var p=n(87462);const h="iconEdit_Z9Sw";function d(e){let{className:t,...n}=e;return r.createElement("svg",(0,p.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,i.Z)(h,t),"aria-hidden":"true"},n),r.createElement("g",null,r.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function f(e){let{editUrl:t}=e;return r.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:a.k.common.editThisPage},r.createElement(d,null),r.createElement(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var m=n(39960);const y="tag_zVej",g="tagRegular_sFm0",v="tagWithCount_h2kH";function b(e){let{permalink:t,label:n,count:a}=e;return r.createElement(m.Z,{href:t,className:(0,i.Z)(y,a?v:g)},n,a&&r.createElement("span",null,a))}const x="tags_jXut",_="tag_QGVx";function k(e){let{tags:t}=e;return r.createElement(r.Fragment,null,r.createElement("b",null,r.createElement(s.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),r.createElement("ul",{className:(0,i.Z)(x,"padding--none","margin-left--sm")},t.map((e=>{let{label:t,permalink:n}=e;return r.createElement("li",{key:n,className:_},r.createElement(b,{label:t,permalink:n}))}))))}const w="lastUpdated_vwxv";function E(e){return r.createElement("div",{className:(0,i.Z)(a.k.docs.docFooterTagsRow,"row margin-bottom--sm")},r.createElement("div",{className:"col"},r.createElement(k,e)))}function T(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:o,formattedLastUpdatedAt:s}=e;return r.createElement("div",{className:(0,i.Z)(a.k.docs.docFooterEditMetaRow,"row")},r.createElement("div",{className:"col"},t&&r.createElement(f,{editUrl:t})),r.createElement("div",{className:(0,i.Z)("col",w)},(n||o)&&r.createElement(u,{lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:o})))}function C(){const{metadata:e}=(0,o.k)(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:c,tags:l}=e,u=l.length>0,p=!!(t||n||c);return u||p?r.createElement("footer",{className:(0,i.Z)(a.k.docs.docFooter,"docusaurus-mt-lg")},u&&r.createElement(E,{tags:l}),p&&r.createElement(T,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:c,formattedLastUpdatedAt:s})):null}},82400:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(67294),i=n(65130),a=n(87462),o=n(95999),s=n(86010),c=n(39960);function l(e){const{permalink:t,title:n,subLabel:i,isNext:a}=e;return r.createElement(c.Z,{className:(0,s.Z)("pagination-nav__link",a?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},i&&r.createElement("div",{className:"pagination-nav__sublabel"},i),r.createElement("div",{className:"pagination-nav__label"},n))}function u(e){const{previous:t,next:n}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,o.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&r.createElement(l,(0,a.Z)({},t,{subLabel:r.createElement(o.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&r.createElement(l,(0,a.Z)({},n,{subLabel:r.createElement(o.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}function p(){const{metadata:e}=(0,i.k)();return r.createElement(u,{previous:e.previous,next:e.next})}},28832:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(67294),i=n(35281),a=n(65130),o=n(87462),s=n(86010),c=n(38011);const l="tableOfContents_bqdL";function u(e){let{className:t,...n}=e;return r.createElement("div",{className:(0,s.Z)(l,"thin-scrollbar",t)},r.createElement(c.Z,(0,o.Z)({},n,{linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})))}function p(){const{toc:e,frontMatter:t}=(0,a.k)();return r.createElement(u,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:i.k.docs.docTocDesktop})}},6781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(67294),i=n(86010),a=n(35281),o=n(65130),s=n(86043),c=n(38011),l=n(87462),u=n(95999);const p="tocCollapsibleButton_TO0P",h="tocCollapsibleButtonExpanded_MG3E";function d(e){let{collapsed:t,...n}=e;return r.createElement("button",(0,l.Z)({type:"button"},n,{className:(0,i.Z)("clean-btn",p,!t&&h,n.className)}),r.createElement(u.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const f="tocCollapsible_ETCw",m="tocCollapsibleContent_vkbj",y="tocCollapsibleExpanded_sAul";function g(e){let{toc:t,className:n,minHeadingLevel:a,maxHeadingLevel:o}=e;const{collapsed:l,toggleCollapsed:u}=(0,s.u)({initialState:!0});return r.createElement("div",{className:(0,i.Z)(f,!l&&y,n)},r.createElement(d,{collapsed:l,onClick:u}),r.createElement(s.z,{lazy:!0,className:m,collapsed:l},r.createElement(c.Z,{toc:t,minHeadingLevel:a,maxHeadingLevel:o})))}const v="tocMobile_ITEo";function b(){const{toc:e,frontMatter:t}=(0,o.k)();return r.createElement(g,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,i.Z)(a.k.docs.docTocMobile,v)})}},44364:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(67294),i=n(86010),a=n(95999),o=n(35281),s=n(74477);function c(e){let{className:t}=e;const n=(0,s.E)();return n.badge?r.createElement("span",{className:(0,i.Z)(t,o.k.docs.docVersionBadge,"badge badge--secondary")},r.createElement(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},23120:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(67294),i=n(86010),a=n(52263),o=n(39960),s=n(95999),c=n(80143),l=n(35281),u=n(60373),p=n(74477);const h={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return r.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:r.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return r.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:r.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function d(e){const t=h[e.versionMetadata.banner];return r.createElement(t,e)}function f(e){let{versionLabel:t,to:n,onClick:i}=e;return r.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:r.createElement("b",null,r.createElement(o.Z,{to:n,onClick:i},r.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function m(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:o}}=(0,a.Z)(),{pluginId:s}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:p}=(0,u.J)(s),{latestDocSuggestion:h,latestVersionSuggestion:m}=(0,c.Jo)(s),y=h??(g=m).docs.find((e=>e.id===g.mainDocId));var g;return r.createElement("div",{className:(0,i.Z)(t,l.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},r.createElement("div",null,r.createElement(d,{siteTitle:o,versionMetadata:n})),r.createElement("div",{className:"margin-top--md"},r.createElement(f,{versionLabel:m.label,to:y.path,onClick:()=>p(m.name)})))}function y(e){let{className:t}=e;const n=(0,p.E)();return n.banner?r.createElement(m,{className:t,versionMetadata:n}):null}},38011:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(87462),i=n(67294),a=n(86668),o=n(39665),s=n(96841);function c(e){let{toc:t,className:n,linkClassName:r,isChild:a}=e;return t.length?i.createElement("ul",{className:a?void 0:n},t.map((e=>i.createElement("li",{key:e.id},i.createElement("a",{href:`#${e.id}`,className:r??void 0,dangerouslySetInnerHTML:{__html:e.value}}),i.createElement(c,{isChild:!0,toc:e.children,className:n,linkClassName:r}))))):null}const l=i.memo(c);function u(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:c="table-of-contents__link",linkActiveClassName:u,minHeadingLevel:p,maxHeadingLevel:h,...d}=e;const f=(0,a.L)(),m=p??f.tableOfContents.minHeadingLevel,y=h??f.tableOfContents.maxHeadingLevel,g=(0,o.b)({toc:t,minHeadingLevel:m,maxHeadingLevel:y}),v=(0,i.useMemo)((()=>{if(c&&u)return{linkClassName:c,linkActiveClassName:u,minHeadingLevel:m,maxHeadingLevel:y}}),[c,u,m,y]);return(0,s.S)(v),i.createElement(l,(0,r.Z)({toc:g,className:n,linkClassName:c},d))}},45357:(e,t,n)=>{"use strict";t.pv=t.ZE=void 0;const r=n(70655),i=n(67294),a=n(29656),o=r.__importDefault(n(75854));function s(){return(0,a.useThemeConfig)().mermaid}function c(){const{colorMode:e}=(0,a.useColorMode)(),t=s(),n=t.theme[e],{options:r}=t;return(0,i.useMemo)((()=>({startOnLoad:!1,...r,theme:n})),[n,r])}t.ZE="docusaurus-mermaid-container",t.pv=function(e,t){const n=c(),r=t??n;return(0,i.useMemo)((()=>{o.default.mermaidAPI.initialize(r);const t=`mermaid-svg-${Math.round(1e7*Math.random())}`;return o.default.render(t,e)}),[e,r])}},67047:(e,t,n)=>{"use strict";n.d(t,{lh:()=>o,ZP:()=>u,A3:()=>c,Rr:()=>l});var r=n(77236),i=n(91130);function a(e){return"http"===e.type&&"bearer"===e.scheme||"oauth2"===e.type?["token"]:"http"===e.type&&"basic"===e.scheme?["username","password"]:"apiKey"===e.type?["apiKey"]:[]}function o(e){let{security:t,securitySchemes:n,options:r}=e;const o=(0,i.o)("sessionStorage");let s,c={},l={};for(const i of t??[]){const e=Object.keys(i).join(" and ");for(const[t,r]of Object.entries(i)){const i=n?.[t];if(i){void 0===l[e]&&(l[e]=[]);const n=a(i);for(const e of n){let n;void 0===c[t]&&(c[t]={});try{n=JSON.parse(o.getItem(t)??"")[e]}catch{}c[t][e]=n}l[e].push({...i,key:t,scopes:r})}}}try{s=o.getItem((0,i.q)(Object.keys(l)))??void 0}catch{}return{data:c,options:l,selected:s??Object.keys(l)[0]}}const s=(0,r.oM)({name:"auth",initialState:{},reducers:{setAuthData:(e,t)=>{const{scheme:n,key:r,value:i}=t.payload;e.data[n][r]=i},setSelectedAuth:(e,t)=>{e.selected=t.payload}}}),{setAuthData:c,setSelectedAuth:l}=s.actions,u=s.reducer},55316:(e,t,n)=>{"use strict";n.d(t,{$W:()=>c,HO:()=>l,Tj:()=>a,UL:()=>i,Z0:()=>s,ZP:()=>u,sb:()=>o});const r=(0,n(77236).oM)({name:"body",initialState:{},reducers:{clearRawBody:e=>({type:"empty"}),setStringRawBody:(e,t)=>({type:"raw",content:{type:"string",value:t.payload}}),setFileRawBody:(e,t)=>({type:"raw",content:{type:"file",value:t.payload}}),clearFormBodyKey:(e,t)=>{"form"===e?.type&&delete e.content[t.payload]},setStringFormBody:(e,t)=>"form"!==e?.type?{type:"form",content:{[t.payload.key]:{type:"string",value:t.payload.value}}}:(e.content[t.payload.key]={type:"string",value:t.payload.value},e),setFileFormBody:(e,t)=>"form"!==e?.type?{type:"form",content:{[t.payload.key]:{type:"file",value:t.payload.value}}}:(e.content[t.payload.key]={type:"file",value:t.payload.value},e)}}),{clearRawBody:i,setStringRawBody:a,setFileRawBody:o,clearFormBodyKey:s,setStringFormBody:c,setFileFormBody:l}=r.actions,u=r.reducer},44744:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a,t4:()=>i});const r=(0,n(77236).oM)({name:"params",initialState:{},reducers:{setParam:(e,t)=>{const n=t.payload,r=e[t.payload.in],i=r.findIndex((e=>e.name===n.name));r[i]=n}}}),{setParam:i}=r.actions,a=r.reducer},61575:(e,t,n)=>{"use strict";n.d(t,{Dz:()=>a,ZP:()=>o,aX:()=>i});const r=(0,n(77236).oM)({name:"response",initialState:{},reducers:{setResponse:(e,t)=>{e.value=t.payload},clearResponse:e=>{e.value=void 0}}}),{setResponse:i,clearResponse:a}=r.actions,o=r.reducer},55584:(e,t,n)=>{"use strict";n.d(t,{CD:()=>i,FA:()=>a,ZP:()=>o});const r=(0,n(77236).oM)({name:"server",initialState:{},reducers:{setServer:(e,t)=>{e.value=e.options.find((e=>e.url===JSON.parse(t.payload).url))},setServerVariable:(e,t)=>{if(e.value?.variables){const n=JSON.parse(t.payload);e.value.variables[n.key].default=n.value}}}}),{setServer:i,setServerVariable:a}=r.actions,o=r.reducer},32059:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Ro});var r=n(67294),i=n(62186),a=n.n(i),o=n(52263),s=n(96308),c=n.n(s),l=n(50361),u=n.n(l);const p=function(e,t){let{queryParams:n,pathParams:r,cookieParams:i,contentType:o,accept:s,headerParams:c,body:l,server:p,auth:h}=t;const d=u()(e);if(d.url.protocol=void 0,d.url.host=[window.location.origin],p){let e=p.url.replace(/\/$/,"");const t=p.variables;t&&Object.keys(t).forEach((n=>{e=e.replace(`{${n}}`,t[n].default)})),d.url.host=[e]}!function(e,t){e.url.query.clear();const n=t.map((e=>{if(e.value)return Array.isArray(e.value)?new(a().QueryParam)({key:e.name,value:e.value.join(",")}):e.allowEmptyValue?"true"===e.value?new(a().QueryParam)({key:e.name,value:null}):void 0:new(a().QueryParam)({key:e.name,value:e.value})})).filter((e=>void 0!==e));n.length>0&&e.addQueryParams(n)}(d,n),function(e,t){const n=t.map((e=>new(a().Variable)({key:e.name,value:e.value||`:${e.name}`})));e.url.variables.assimilate(n,!1)}(d,r);const f=function(e){const t=e.map((e=>{if(e.value&&!Array.isArray(e.value))return new(a().Cookie)({path:"",domain:"",key:e.name,value:e.value})})).filter((e=>void 0!==e));return new(a().CookieList)(null,t).toString()}(i);let m=[],y=[];void 0!==h.selected&&(y=h.options[h.selected]);for(const a of y)if("http"!==a.type||"bearer"!==a.scheme)if("oauth2"!==a.type)if("http"!==a.type||"basic"!==a.scheme)if("apiKey"!==a.type||"header"!==a.in);else{const{apiKey:e}=h.data[a.key];if(void 0===e){m.push({key:a.name,value:""});continue}m.push({key:a.name,value:e})}else{const{username:e,password:t}=h.data[a.key];if(void 0===e||void 0===t)continue;m.push({key:"Authorization",value:`Basic ${window.btoa(`${e}:${t}`)}`})}else{let e;if(h.data[a.key]&&(e=h.data[a.key].token),void 0===e){m.push({key:"Authorization",value:"Bearer "});continue}m.push({key:"Authorization",value:`Bearer ${e}`})}else{const{token:e}=h.data[a.key];if(void 0===e){m.push({key:"Authorization",value:"Bearer "});continue}m.push({key:"Authorization",value:`Bearer ${e}`})}return function(e,t,n,r,i,a){e.headers.clear(),t&&e.addHeader({key:"Content-Type",value:t}),n&&e.addHeader({key:"Accept",value:n}),i.forEach((t=>{t.value&&!Array.isArray(t.value)&&e.addHeader({key:t.name,value:t.value})})),a.forEach((t=>{e.addHeader(t)})),r&&e.addHeader({key:"Cookie",value:r})}(d,o,s,f,c,m),function(e,t){if(void 0!==e.body)if("empty"!==t.type){if("raw"===t.type&&"file"===t.content?.type)return e.body.mode="file",void(e.body.file={src:t.content.value.src});switch(e.body.mode){case"raw":return"raw"!==t.type||"file"===t.content?.type?void(e.body=void 0):void(e.body.raw=t.content?.value??"");case"formdata":{if(e.body.formdata?.clear(),"form"!==t.type)return e.body.mode="raw",void(e.body.raw=`${t.content?.value}`);const n=Object.entries(t.content).filter((e=>!!e[1])).map((e=>{let[t,n]=e;return"file"===n.type?new(a().FormParam)({key:t,...n}):new(a().FormParam)({key:t,value:n.value})}));return void e.body.formdata?.assimilate(n,!1)}case"urlencoded":{if(e.body.urlencoded?.clear(),"form"!==t.type)return e.body.mode="raw",void(e.body.raw=`${t.content?.value}`);const n=Object.entries(t.content).filter((e=>!!e[1])).map((e=>{let[t,n]=e;if("file"!==n.type&&n.value)return new(a().QueryParam)({key:t,value:n.value})})).filter((e=>void 0!==e));return void e.body.urlencoded?.assimilate(n,!1)}default:;}}else e.body=void 0}(d,l),d};var h=n(87462),d=n(67392),f=n(72389),m=n(86010);const y="tabList_OQG4",g="tabItem_kzG2",v="code__tabs_vqEd",{useScrollPositionBlocker:b,useTabGroupChoice:x}=n(12974);function _(e){const{lazy:t,block:n,defaultValue:i,values:a,groupId:o,className:s,action:c}=e,l=r.Children.map(e.children,(e=>{if((0,r.isValidElement)(e)&&"value"in e.props)return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)})),u=a??l.map((e=>{let{props:{value:t,label:n,attributes:r}}=e;return{value:t,label:n,attributes:r}})),p=(0,d.l)(u,((e,t)=>e.value===t.value));if(p.length>0)throw new Error(`Docusaurus error: Duplicate values "${p.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`);const f=null===i?i:i??l.find((e=>e.props.default))?.props.value??l[0].props.value;if(null!==f&&!u.some((e=>e.value===f)))throw new Error(`Docusaurus error: The has a defaultValue "${f}" but none of its children has the corresponding value. Available values are: ${u.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);const{tabGroupChoices:_,setTabGroupChoices:k}=x(),[w,E]=(0,r.useState)(f),T=[],{blockElementScrollPositionUntilNextRender:S}=b();if(null!=o){const e=_[o];null!=e&&e!==w&&u.some((t=>t.value===e))&&E(e)}const A=e=>{const t=e.currentTarget,n=T.indexOf(t),r=u[n].value;if(r!==w){if(S(t),E(r),c){const e=C.filter((e=>e.language===r));c(e[0])}null!=o&&k(o,String(r))}},O=e=>{let t=null;switch(e.key){case"ArrowRight":{const n=T.indexOf(e.currentTarget)+1;t=T[n]??T[0];break}case"ArrowLeft":{const n=T.indexOf(e.currentTarget)-1;t=T[n]??T[T.length-1];break}}t?.focus()};return r.createElement("div",{className:(0,m.Z)("tabs-container",y)},r.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,m.Z)("tabs",{"tabs--block":n},v,s)},u.map((e=>{let{value:t,label:n,attributes:i}=e;return r.createElement("li",(0,h.Z)({role:"tab",tabIndex:w===t?0:-1,"aria-selected":w===t,key:t,ref:e=>T.push(e),onKeyDown:O,onFocus:A,onClick:A},i,{className:(0,m.Z)("tabs__item",g,i?.className,{"tabs__item--active":w===t})}),n??t)}))),t?(0,r.cloneElement)(l.filter((e=>e.props.value===w))[0],{className:"margin-top--md"}):r.createElement("div",{className:"margin-top--md"},l.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==w})))))}function k(e){const t=(0,f.Z)();return r.createElement(_,(0,h.Z)({key:String(t)},e))}var w=n(23211),E=n(12128);const T={buttonGroup:"buttonGroup_SdX7",selected:"selected_VHjy"},C=[{highlight:"bash",language:"curl",logoClass:"bash",options:{longFormat:!1,followRedirect:!0,trimRequestBody:!0},variant:"cURL"},{highlight:"python",language:"python",logoClass:"python",options:{followRedirect:!0,trimRequestBody:!0},variant:"requests"},{highlight:"go",language:"go",logoClass:"go",options:{followRedirect:!0,trimRequestBody:!0},variant:"native"},{highlight:"javascript",language:"nodejs",logoClass:"nodejs",options:{ES6_enabled:!0,followRedirect:!0,trimRequestBody:!0},variant:"axios"},{highlight:"ruby",language:"ruby",logoClass:"ruby",options:{followRedirect:!0,trimRequestBody:!0},variant:"Net::HTTP"},{highlight:"csharp",language:"csharp",logoClass:"csharp",options:{followRedirect:!0,trimRequestBody:!0},variant:"RestSharp"},{highlight:"php",language:"php",logoClass:"php",options:{followRedirect:!0,trimRequestBody:!0},variant:"cURL"}];function S(e){let{children:t,hidden:n,className:i,onClick:a}=e;return r.createElement("div",{role:"tabpanel",className:(0,m.Z)(T.tabItem,i),hidden:n},t)}const A=function(e){let{postman:t,codeSamples:n}=e;const{siteConfig:i}=(0,o.Z)(),a=(0,w.i)((e=>e.contentType.value)),s=(0,w.i)((e=>e.accept.value)),l=(0,w.i)((e=>e.server.value)),u=(0,w.i)((e=>e.body)),h=(0,w.i)((e=>e.params.path)),d=(0,w.i)((e=>e.params.query)),f=(0,w.i)((e=>e.params.cookie)),m=(0,w.i)((e=>e.params.header)),y=(0,w.i)((e=>e.auth)),g=[...i?.themeConfig?.languageTabs??C,...n],v=C.filter((e=>e.language===localStorage.getItem("docusaurus.tab.code-samples"))),[b,x]=(0,r.useState)((()=>1===g.length?g[0]:v[0]??g[0])),[_,T]=(0,r.useState)("");return(0,r.useEffect)((()=>{if(b&&b.options){const e=p(t,{queryParams:d,pathParams:h,cookieParams:f,contentType:a,accept:s,headerParams:m,body:u,server:l,auth:y});c().convert(b.language,b.variant,e,b.options,((e,t)=>{e||T(t)}))}else if(b&&b.source)T(b.source);else if(b&&!b.options){const e={...C.filter((e=>e.language===b.language))[0],...b},n=p(t,{queryParams:d,pathParams:h,cookieParams:f,contentType:a,accept:s,headerParams:m,body:u,server:l,auth:y});c().convert(e.language,e.variant,n,e.options,((e,t)=>{e||T(t)}))}else T("")}),[s,u,a,f,m,b,h,t,d,l,y]),void 0===b?null:r.createElement(r.Fragment,null,r.createElement(k,{groupId:"code-samples",action:x},g.map((e=>r.createElement(S,{value:e.language,label:"",key:e.variant?`${e.language}-${e.variant}`:e.language,attributes:{className:`code__tab--${e.logoClass}`}},r.createElement(E.Z,{language:e.highlight},_))))))},O={borderRadius:"var(--ifm-global-radius)"};function I(e){switch(e.toLowerCase()){case"get":return"primary";case"post":return"success";case"delete":return"danger";case"put":return"info";case"patch":return"warning";case"head":return"secondary";default:return}}const N=function(e){let{method:t,path:n}=e;return r.createElement("pre",{style:{background:"var(--openapi-card-background-color)",borderRadius:"var(--openapi-card-border-radius)"}},r.createElement("span",{style:O,className:"badge badge--"+I(t)},t.toUpperCase())," ",r.createElement("span",null,n.replace(/{([a-z0-9-_]+)}/gi,":$1")))};var B=n(65130);const D="formItem_WgRa",L="required_cVzG";const M=function(e){let{label:t,type:n,required:i,children:a}=e;return r.createElement("div",{className:D},r.createElement("code",null,t),n&&r.createElement("span",{style:{opacity:.6}}," ","\u2014 ",n),i&&r.createElement("span",null," ",r.createElement("small",null,r.createElement("strong",{className:L}," required"))),r.createElement("div",null,a))},R="selectInput__VTP inputBase_kdtO";const F=function(e){let{value:t,options:n,onChange:i}=e;return Array.isArray(n)&&0!==n.length?r.createElement("select",{className:R,value:t,onChange:i},n.map((e=>r.createElement("option",{key:e,value:e},e)))):null};var P=n(17937);const j=function(){const e=(0,w.i)((e=>e.accept.value)),t=(0,w.i)((e=>e.accept.options)),n=(0,w.z)();return t.length<=1?null:r.createElement(M,{label:"Accept"},r.createElement(F,{value:e,options:t,onChange:e=>n((0,P.ZS)(e.target.value))}))},$="input_Ru3N inputBase_a3Vd";const q=function(e){let{value:t,placeholder:n,password:i,onChange:a}=e;return n=n?.split("\n")[0],r.createElement("input",{className:$,type:i?"password":"text",placeholder:n,title:n,value:t,onChange:a,autoComplete:"off"})};var z=n(67047);const U=function(){const e=(0,w.i)((e=>e.auth.data)),t=(0,w.i)((e=>e.auth.options)),n=(0,w.i)((e=>e.auth.selected)),i=(0,w.z)();if(void 0===n)return null;const a=t[n],o=Object.keys(t);return r.createElement("div",null,o.length>1&&r.createElement(M,{label:"Security Scheme"},r.createElement(F,{options:o,value:n,onChange:e=>{i((0,z.Rr)(e.target.value))}})),a.map((t=>"http"===t.type&&"bearer"===t.scheme?r.createElement(M,{label:"Bearer Token",key:t.key+"-bearer"},r.createElement(q,{placeholder:"Bearer Token",value:e[t.key].token??"",onChange:e=>{const n=e.target.value;i((0,z.A3)({scheme:t.key,key:"token",value:n||void 0}))}})):"oauth2"===t.type?r.createElement(M,{label:"Bearer Token",key:t.key+"-oauth2"},r.createElement(q,{placeholder:"Bearer Token",value:e[t.key].token??"",onChange:e=>{const n=e.target.value;i((0,z.A3)({scheme:t.key,key:"token",value:n||void 0}))}})):"http"===t.type&&"basic"===t.scheme?r.createElement(r.Fragment,{key:t.key+"-basic"},r.createElement(M,{label:"Username"},r.createElement(q,{placeholder:"Username",value:e[t.key].username??"",onChange:e=>{const n=e.target.value;i((0,z.A3)({scheme:t.key,key:"username",value:n||void 0}))}})),r.createElement(M,{label:"Password"},r.createElement(q,{placeholder:"Password",password:!0,value:e[t.key].password??"",onChange:e=>{const n=e.target.value;i((0,z.A3)({scheme:t.key,key:"password",value:n||void 0}))}}))):"apiKey"===t.type?r.createElement(M,{label:`${t.key}`,key:t.key+"-apikey"},r.createElement(q,{placeholder:`${t.key}`,value:e[t.key].apiKey??"",onChange:e=>{const n=e.target.value;i((0,z.A3)({scheme:t.key,key:"apiKey",value:n||void 0}))}})):null)))};function H(e,t){var n=function(e,t,r){var i="";if(e instanceof Array)for(var a=0,o=e.length;a":"/>",s){for(var l in e)"#text"===l?i+=e[l]:"#cdata"===l?i+="":"@"!==l.charAt(0)&&(i+=n(e[l],l,r+"\t"));i+=("\n"===i.charAt(i.length-1)?r:"")+""}}else i+=r+"<"+t+">"+e.toString()+"";return i},r="";for(var i in e)r+=n(e[i],i,"");return t?r.replace(/\t/g,t):r.replace(/\t|\n/g,"")}var Y=n(10661);const W=function(){const e=(0,w.i)((e=>e.contentType.value)),t=(0,w.i)((e=>e.contentType.options)),n=(0,w.z)();return t.length<=1?null:r.createElement(M,{label:"Content-Type"},r.createElement(F,{value:e,options:t,onChange:e=>n((0,Y.OG)(e.target.value))}))},V="floatingButton_oJlZ";const G=function(e){let{label:t,onClick:n,children:i}=e;return r.createElement("div",{tabIndex:0,className:V},t&&r.createElement("button",{tabIndex:0,onClick:n},t),i)};var X=n(46839);const Z="dropzone_Y7D0",K="dropzoneHover_IkP6",J="dropzoneContent_CEnm",Q="filename_FaIo";function ee(e){let{file:t}=e;switch(t.type){case"image/png":case"image/jpeg":case"image/jpg":case"image/svg+xml":return r.createElement("img",{style:{borderRadius:"4px"},src:t.preview,alt:""});default:return r.createElement("div",{style:{display:"flex",alignItems:"center",minWidth:0}},r.createElement("svg",{viewBox:"0 0 100 120",style:{width:"50px",height:"60px"}},r.createElement("path",{fillRule:"evenodd",fill:"#b3beca",d:"M100.000,39.790 L100.000,105.000 C100.000,113.284 93.284,120.000 85.000,120.000 L15.000,120.000 C6.716,120.000 -0.000,113.284 -0.000,105.000 L-0.000,15.000 C-0.000,6.716 6.716,-0.000 15.000,-0.000 L60.210,-0.000 L100.000,39.790 Z"}),r.createElement("path",{fillRule:"evenodd",fill:"#90a1b1",transform:"translate(60, 0)",d:"M0.210,-0.000 L40.000,39.790 L40.000,40.000 L15.000,40.000 C6.716,40.000 0.000,33.284 0.000,25.000 L0.000,-0.000 L0.210,-0.000 Z"})),r.createElement("div",{className:Q},t.name))}}const te=function(e){let{placeholder:t,onChange:n}=e;const[i,a]=(0,r.useState)(!1),[o,s]=(0,r.useState)();function c(e){s(e),n?.(e)}return r.createElement(G,null,r.createElement(X.Z,{className:i?K:Z,onDrop:function(e){const[t]=e;c(t),a(!1)},onDragEnter:()=>a(!0),onDragLeave:()=>a(!1),multiple:!1,style:{marginTop:"calc(var(--ifm-pre-padding) / 2)"}},o?r.createElement(r.Fragment,null,r.createElement("button",{style:{marginTop:"calc(var(--ifm-pre-padding) / 2)"},onClick:e=>{e.stopPropagation(),c(void 0)}},"Clear"),r.createElement(ee,{file:o})):r.createElement("div",{className:J},t)))};var ne,re,ie,ae=n(66412),oe=n(55316),se=n(23746),ce=n(87410);!function(e){e[e.NONE=0]="NONE";e[e._abstract=1]="_abstract";e[e._accessor=2]="_accessor";e[e._as=3]="_as";e[e._assert=4]="_assert";e[e._asserts=5]="_asserts";e[e._async=6]="_async";e[e._await=7]="_await";e[e._checks=8]="_checks";e[e._constructor=9]="_constructor";e[e._declare=10]="_declare";e[e._enum=11]="_enum";e[e._exports=12]="_exports";e[e._from=13]="_from";e[e._get=14]="_get";e[e._global=15]="_global";e[e._implements=16]="_implements";e[e._infer=17]="_infer";e[e._interface=18]="_interface";e[e._is=19]="_is";e[e._keyof=20]="_keyof";e[e._mixins=21]="_mixins";e[e._module=22]="_module";e[e._namespace=23]="_namespace";e[e._of=24]="_of";e[e._opaque=25]="_opaque";e[e._out=26]="_out";e[e._override=27]="_override";e[e._private=28]="_private";e[e._protected=29]="_protected";e[e._proto=30]="_proto";e[e._public=31]="_public";e[e._readonly=32]="_readonly";e[e._require=33]="_require";e[e._set=34]="_set";e[e._static=35]="_static";e[e._symbol=36]="_symbol";e[e._type=37]="_type";e[e._unique=38]="_unique"}(ne||(ne={})),function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";e[e.IS_KEYWORD=16]="IS_KEYWORD";e[e.IS_ASSIGN=32]="IS_ASSIGN";e[e.IS_RIGHT_ASSOCIATIVE=64]="IS_RIGHT_ASSOCIATIVE";e[e.IS_PREFIX=128]="IS_PREFIX";e[e.IS_POSTFIX=256]="IS_POSTFIX";e[e.IS_EXPRESSION_START=512]="IS_EXPRESSION_START";e[e.num=512]="num";e[e.bigint=1536]="bigint";e[e.decimal=2560]="decimal";e[e.regexp=3584]="regexp";e[e.string=4608]="string";e[e.name=5632]="name";e[e.eof=6144]="eof";e[e.bracketL=7680]="bracketL";e[e.bracketR=8192]="bracketR";e[e.braceL=9728]="braceL";e[e.braceBarL=10752]="braceBarL";e[e.braceR=11264]="braceR";e[e.braceBarR=12288]="braceBarR";e[e.parenL=13824]="parenL";e[e.parenR=14336]="parenR";e[e.comma=15360]="comma";e[e.semi=16384]="semi";e[e.colon=17408]="colon";e[e.doubleColon=18432]="doubleColon";e[e.dot=19456]="dot";e[e.question=20480]="question";e[e.questionDot=21504]="questionDot";e[e.arrow=22528]="arrow";e[e.template=23552]="template";e[e.ellipsis=24576]="ellipsis";e[e.backQuote=25600]="backQuote";e[e.dollarBraceL=27136]="dollarBraceL";e[e.at=27648]="at";e[e.hash=29184]="hash";e[e.eq=29728]="eq";e[e.assign=30752]="assign";e[e.preIncDec=32640]="preIncDec";e[e.postIncDec=33664]="postIncDec";e[e.bang=34432]="bang";e[e.tilde=35456]="tilde";e[e.pipeline=35841]="pipeline";e[e.nullishCoalescing=36866]="nullishCoalescing";e[e.logicalOR=37890]="logicalOR";e[e.logicalAND=38915]="logicalAND";e[e.bitwiseOR=39940]="bitwiseOR";e[e.bitwiseXOR=40965]="bitwiseXOR";e[e.bitwiseAND=41990]="bitwiseAND";e[e.equality=43015]="equality";e[e.lessThan=44040]="lessThan";e[e.greaterThan=45064]="greaterThan";e[e.relationalOrEqual=46088]="relationalOrEqual";e[e.bitShiftL=47113]="bitShiftL";e[e.bitShiftR=48137]="bitShiftR";e[e.plus=49802]="plus";e[e.minus=50826]="minus";e[e.modulo=51723]="modulo";e[e.star=52235]="star";e[e.slash=53259]="slash";e[e.exponent=54348]="exponent";e[e.jsxName=55296]="jsxName";e[e.jsxText=56320]="jsxText";e[e.jsxEmptyText=57344]="jsxEmptyText";e[e.jsxTagStart=58880]="jsxTagStart";e[e.jsxTagEnd=59392]="jsxTagEnd";e[e.typeParameterStart=60928]="typeParameterStart";e[e.nonNullAssertion=61440]="nonNullAssertion";e[e._break=62480]="_break";e[e._case=63504]="_case";e[e._catch=64528]="_catch";e[e._continue=65552]="_continue";e[e._debugger=66576]="_debugger";e[e._default=67600]="_default";e[e._do=68624]="_do";e[e._else=69648]="_else";e[e._finally=70672]="_finally";e[e._for=71696]="_for";e[e._function=73232]="_function";e[e._if=73744]="_if";e[e._return=74768]="_return";e[e._switch=75792]="_switch";e[e._throw=77456]="_throw";e[e._try=77840]="_try";e[e._var=78864]="_var";e[e._let=79888]="_let";e[e._const=80912]="_const";e[e._while=81936]="_while";e[e._with=82960]="_with";e[e._new=84496]="_new";e[e._this=85520]="_this";e[e._super=86544]="_super";e[e._class=87568]="_class";e[e._extends=88080]="_extends";e[e._export=89104]="_export";e[e._import=90640]="_import";e[e._yield=91664]="_yield";e[e._null=92688]="_null";e[e._true=93712]="_true";e[e._false=94736]="_false";e[e._in=95256]="_in";e[e._instanceof=96280]="_instanceof";e[e._typeof=97936]="_typeof";e[e._void=98960]="_void";e[e._delete=99984]="_delete";e[e._async=100880]="_async";e[e._get=101904]="_get";e[e._set=102928]="_set";e[e._declare=103952]="_declare";e[e._readonly=104976]="_readonly";e[e._abstract=106e3]="_abstract";e[e._static=107024]="_static";e[e._public=107536]="_public";e[e._private=108560]="_private";e[e._protected=109584]="_protected";e[e._override=110608]="_override";e[e._as=112144]="_as";e[e._enum=113168]="_enum";e[e._type=114192]="_type";e[e._implements=115216]="_implements"}(re||(re={}));class le{constructor(e,t,n){this.startTokenIndex=e,this.endTokenIndex=t,this.isFunctionScope=n}}class ue{constructor(e,t,n,r,i,a,o,s,c,l,u,p,h){this.potentialArrowAt=e,this.noAnonFunctionType=t,this.inDisallowConditionalTypesContext=n,this.tokensLength=r,this.scopesLength=i,this.pos=a,this.type=o,this.contextualKeyword=s,this.start=c,this.end=l,this.isType=u,this.scopeDepth=p,this.error=h}}class pe{constructor(){pe.prototype.__init.call(this),pe.prototype.__init2.call(this),pe.prototype.__init3.call(this),pe.prototype.__init4.call(this),pe.prototype.__init5.call(this),pe.prototype.__init6.call(this),pe.prototype.__init7.call(this),pe.prototype.__init8.call(this),pe.prototype.__init9.call(this),pe.prototype.__init10.call(this),pe.prototype.__init11.call(this),pe.prototype.__init12.call(this),pe.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=re.eof}__init8(){this.contextualKeyword=ne.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new ue(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(e){this.potentialArrowAt=e.potentialArrowAt,this.noAnonFunctionType=e.noAnonFunctionType,this.inDisallowConditionalTypesContext=e.inDisallowConditionalTypesContext,this.tokens.length=e.tokensLength,this.scopes.length=e.scopesLength,this.pos=e.pos,this.type=e.type,this.contextualKeyword=e.contextualKeyword,this.start=e.start,this.end=e.end,this.isType=e.isType,this.scopeDepth=e.scopeDepth,this.error=e.error}}let he,de,fe,me,ye,ge;function ve(){return ge++}function be(e){if("pos"in e){const t=function(e){let t=1,n=1;for(let r=0;r";case re.template:return"template";case re.ellipsis:return"...";case re.backQuote:return"`";case re.dollarBraceL:return"${";case re.at:return"@";case re.hash:return"#";case re.eq:return"=";case re.assign:return"_=";case re.preIncDec:case re.postIncDec:return"++/--";case re.bang:return"!";case re.tilde:return"~";case re.pipeline:return"|>";case re.nullishCoalescing:return"??";case re.logicalOR:return"||";case re.logicalAND:return"&&";case re.bitwiseOR:return"|";case re.bitwiseXOR:return"^";case re.bitwiseAND:return"&";case re.equality:return"==/!=";case re.lessThan:return"<";case re.greaterThan:return">";case re.relationalOrEqual:return"<=/>=";case re.bitShiftL:return"<<";case re.bitShiftR:return">>/>>>";case re.plus:return"+";case re.minus:return"-";case re.modulo:return"%";case re.star:return"*";case re.slash:return"/";case re.exponent:return"**";case re.jsxName:return"jsxName";case re.jsxText:return"jsxText";case re.jsxEmptyText:return"jsxEmptyText";case re.jsxTagStart:return"jsxTagStart";case re.jsxTagEnd:return"jsxTagEnd";case re.typeParameterStart:return"typeParameterStart";case re.nonNullAssertion:return"nonNullAssertion";case re._break:return"break";case re._case:return"case";case re._catch:return"catch";case re._continue:return"continue";case re._debugger:return"debugger";case re._default:return"default";case re._do:return"do";case re._else:return"else";case re._finally:return"finally";case re._for:return"for";case re._function:return"function";case re._if:return"if";case re._return:return"return";case re._switch:return"switch";case re._throw:return"throw";case re._try:return"try";case re._var:return"var";case re._let:return"let";case re._const:return"const";case re._while:return"while";case re._with:return"with";case re._new:return"new";case re._this:return"this";case re._super:return"super";case re._class:return"class";case re._extends:return"extends";case re._export:return"export";case re._import:return"import";case re._yield:return"yield";case re._null:return"null";case re._true:return"true";case re._false:return"false";case re._in:return"in";case re._instanceof:return"instanceof";case re._typeof:return"typeof";case re._void:return"void";case re._delete:return"delete";case re._async:return"async";case re._get:return"get";case re._set:return"set";case re._declare:return"declare";case re._readonly:return"readonly";case re._abstract:return"abstract";case re._static:return"static";case re._public:return"public";case re._private:return"private";case re._protected:return"protected";case re._override:return"override";case re._as:return"as";case re._enum:return"enum";case re._type:return"type";case re._implements:return"implements";default:return""}}(e)}"`)}function Ne(e="Unexpected token",t=me.start){if(me.error)return;const n=new SyntaxError(e);n.pos=t,me.error=n,me.pos=ye.length,ht(re.eof)}const Be=[9,11,12,ie.space,ie.nonBreakingSpace,ie.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],De=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Le=new Uint8Array(65536);for(const Fo of Be)Le[Fo]=1;function Me(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const Re=new Uint8Array(65536);for(let Fo=0;Fo<128;Fo++)Re[Fo]=Me(Fo)?1:0;for(let Fo=128;Fo<65536;Fo++)Re[Fo]=1;for(const Fo of Be)Re[Fo]=0;Re[8232]=0,Re[8233]=0;const Fe=Re.slice();for(let Fo=ie.digit0;Fo<=ie.digit9;Fo++)Fe[Fo]=0;const Pe=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7533,7965,8127,8289,-1,8505,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,ne._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,ne._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,ne._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,ne._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,ne._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._break<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._case<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._catch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,ne._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,1+(re._class<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,1+(re._const<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,ne._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._continue<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._debugger<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,1+(re._default<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._delete<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._do<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._else<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,1+(re._export<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,ne._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,1+(re._extends<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._false<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,1+(re._finally<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._for<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._function<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,ne._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,1+(re._if<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,ne._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,1+(re._import<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._in<<1),-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,ne._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._instanceof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,1+(re._let<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,ne._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,1+(re._new<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._null<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,ne._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,ne._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,ne._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._return<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,7155,-1,7263,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,ne._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._super<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7371,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._switch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7479,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7614,-1,-1,-1,-1,-1,-1,-1,1+(re._this<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,1+(re._throw<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7749,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._true<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._try<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._typeof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ne._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8181,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._var<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._void<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._while<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8451,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._with<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8613,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(re._yield<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);var je,$e;function qe(e){const t=e.identifierRole;return t===je.TopLevelDeclaration||t===je.FunctionScopedDeclaration||t===je.BlockScopedDeclaration||t===je.ObjectShorthandTopLevelDeclaration||t===je.ObjectShorthandFunctionScopedDeclaration||t===je.ObjectShorthandBlockScopedDeclaration}function ze(e){const t=e.identifierRole;return t===je.FunctionScopedDeclaration||t===je.BlockScopedDeclaration||t===je.ObjectShorthandFunctionScopedDeclaration||t===je.ObjectShorthandBlockScopedDeclaration}function Ue(e){const t=e.identifierRole;return t===je.TopLevelDeclaration||t===je.ObjectShorthandTopLevelDeclaration||t===je.ImportDeclaration}function He(e){const t=e.identifierRole;return t===je.TopLevelDeclaration||t===je.BlockScopedDeclaration||t===je.ObjectShorthandTopLevelDeclaration||t===je.ObjectShorthandBlockScopedDeclaration}function Ye(e){const t=e.identifierRole;return t===je.FunctionScopedDeclaration||t===je.ObjectShorthandFunctionScopedDeclaration}function We(e){return e.identifierRole===je.ObjectShorthandTopLevelDeclaration||e.identifierRole===je.ObjectShorthandBlockScopedDeclaration||e.identifierRole===je.ObjectShorthandFunctionScopedDeclaration}!function(e){e[e.Access=0]="Access";e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";e[e.FunctionScopedDeclaration=3]="FunctionScopedDeclaration";e[e.BlockScopedDeclaration=4]="BlockScopedDeclaration";e[e.ObjectShorthandTopLevelDeclaration=5]="ObjectShorthandTopLevelDeclaration";e[e.ObjectShorthandFunctionScopedDeclaration=6]="ObjectShorthandFunctionScopedDeclaration";e[e.ObjectShorthandBlockScopedDeclaration=7]="ObjectShorthandBlockScopedDeclaration";e[e.ObjectShorthand=8]="ObjectShorthand";e[e.ImportDeclaration=9]="ImportDeclaration";e[e.ObjectKey=10]="ObjectKey";e[e.ImportAccess=11]="ImportAccess"}(je||(je={})),function(e){e[e.NoChildren=0]="NoChildren";e[e.OneChild=1]="OneChild";e[e.StaticChildren=2]="StaticChildren";e[e.KeyAfterPropSpread=3]="KeyAfterPropSpread"}($e||($e={}));class Ve{constructor(){this.type=me.type,this.contextualKeyword=me.contextualKeyword,this.start=me.start,this.end=me.end,this.scopeDepth=me.scopeDepth,this.isType=me.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function Ge(){me.tokens.push(new Ve),ct()}function Xe(){me.tokens.push(new Ve),me.start=me.pos,function(){for(;;){if(me.pos>=ye.length)return void Ne("Unterminated template");const e=ye.charCodeAt(me.pos);if(e===ie.graveAccent||e===ie.dollarSign&&ye.charCodeAt(me.pos+1)===ie.leftCurlyBrace)return me.pos===me.start&&tt(re.template)?e===ie.dollarSign?(me.pos+=2,void ht(re.dollarBraceL)):(++me.pos,void ht(re.backQuote)):void ht(re.template);e===ie.backslash&&me.pos++,me.pos++}}()}function Ze(){me.type===re.assign&&--me.pos,function(){const e=me.pos;let t=!1,n=!1;for(;;){if(me.pos>=ye.length)return void Ne("Unterminated regular expression",e);const r=ye.charCodeAt(me.pos);if(t)t=!1;else{if(r===ie.leftSquareBracket)n=!0;else if(r===ie.rightSquareBracket&&n)n=!1;else if(r===ie.slash&&!n)break;t=r===ie.backslash}++me.pos}++me.pos,function(){for(;me.pos=ye.length){const e=me.tokens;return e.length>=2&&e[e.length-1].start>=ye.length&&e[e.length-2].start>=ye.length&&Ne("Unexpectedly reached the end of input."),void ht(re.eof)}var e;e=ye.charCodeAt(me.pos),Fe[e]||e===ie.backslash||e===ie.atSign&&ye.charCodeAt(me.pos+1)===ie.atSign?function(){let e=0,t=0,n=me.pos;for(;nie.lowercaseZ));){const r=Pe[e+(t-ie.lowercaseA)+1];if(-1===r)break;e=r,n++}const r=Pe[e];if(r>-1&&!Re[t])return me.pos=n,void(1&r?ht(r>>>1):ht(re.name,r>>>1));for(;nye.length)return void Ne("Unterminated comment",me.pos-2);me.pos+=2}function ut(e){let t=ye.charCodeAt(me.pos+=e);if(me.pos=ie.digit0&&e<=ie.digit9?gt(!0):e===ie.dot&&ye.charCodeAt(me.pos+2)===ie.dot?(me.pos+=3,ht(re.ellipsis)):(++me.pos,ht(re.dot))}();case ie.leftParenthesis:return++me.pos,void ht(re.parenL);case ie.rightParenthesis:return++me.pos,void ht(re.parenR);case ie.semicolon:return++me.pos,void ht(re.semi);case ie.comma:return++me.pos,void ht(re.comma);case ie.leftSquareBracket:return++me.pos,void ht(re.bracketL);case ie.rightSquareBracket:return++me.pos,void ht(re.bracketR);case ie.leftCurlyBrace:return void(fe&&ye.charCodeAt(me.pos+1)===ie.verticalBar?mt(re.braceBarL,2):(++me.pos,ht(re.braceL)));case ie.rightCurlyBrace:return++me.pos,void ht(re.braceR);case ie.colon:return void(ye.charCodeAt(me.pos+1)===ie.colon?mt(re.doubleColon,2):(++me.pos,ht(re.colon)));case ie.questionMark:return void function(){const e=ye.charCodeAt(me.pos+1),t=ye.charCodeAt(me.pos+2);e!==ie.questionMark||fe&&me.isType?e!==ie.dot||t>=ie.digit0&&t<=ie.digit9?(++me.pos,ht(re.question)):(me.pos+=2,ht(re.questionDot)):t===ie.equalsTo?mt(re.assign,3):mt(re.nullishCoalescing,2)}();case ie.atSign:return++me.pos,void ht(re.at);case ie.graveAccent:return++me.pos,void ht(re.backQuote);case ie.digit0:{const e=ye.charCodeAt(me.pos+1);if(e===ie.lowercaseX||e===ie.uppercaseX||e===ie.lowercaseO||e===ie.uppercaseO||e===ie.lowercaseB||e===ie.uppercaseB)return void function(){me.pos+=2;for(;;){const e=ye.charCodeAt(me.pos);if(!(e>=ie.digit0&&e<=ie.digit9||e>=ie.lowercaseA&&e<=ie.lowercaseF||e>=ie.uppercaseA&&e<=ie.uppercaseF||e===ie.underscore))break;me.pos++}ye.charCodeAt(me.pos)===ie.lowercaseN?(++me.pos,ht(re.bigint)):ht(re.num)}()}case ie.digit1:case ie.digit2:case ie.digit3:case ie.digit4:case ie.digit5:case ie.digit6:case ie.digit7:case ie.digit8:case ie.digit9:return void gt(!1);case ie.quotationMark:case ie.apostrophe:return void function(e){for(me.pos++;;){if(me.pos>=ye.length)return void Ne("Unterminated string constant");const t=ye.charCodeAt(me.pos);if(t===ie.backslash)me.pos++;else if(t===e)break;me.pos++}me.pos++,ht(re.string)}(e);case ie.slash:return void(ye.charCodeAt(me.pos+1)===ie.equalsTo?mt(re.assign,2):mt(re.slash,1));case ie.percentSign:case ie.asterisk:return void function(e){let t=e===ie.asterisk?re.star:re.modulo,n=1,r=ye.charCodeAt(me.pos+1);e===ie.asterisk&&r===ie.asterisk&&(n++,r=ye.charCodeAt(me.pos+2),t=re.exponent),r===ie.equalsTo&&ye.charCodeAt(me.pos+2)!==ie.greaterThan&&(n++,t=re.assign),mt(t,n)}(e);case ie.verticalBar:case ie.ampersand:return void function(e){const t=ye.charCodeAt(me.pos+1);if(t!==e){if(e===ie.verticalBar){if(t===ie.greaterThan)return void mt(re.pipeline,2);if(t===ie.rightCurlyBrace&&fe)return void mt(re.braceBarR,2)}t!==ie.equalsTo?mt(e===ie.verticalBar?re.bitwiseOR:re.bitwiseAND,1):mt(re.assign,2)}else ye.charCodeAt(me.pos+2)===ie.equalsTo?mt(re.assign,3):mt(e===ie.verticalBar?re.logicalOR:re.logicalAND,2)}(e);case ie.caret:return void(ye.charCodeAt(me.pos+1)===ie.equalsTo?mt(re.assign,2):mt(re.bitwiseXOR,1));case ie.plusSign:case ie.dash:return void function(e){const t=ye.charCodeAt(me.pos+1);t!==e?t===ie.equalsTo?mt(re.assign,2):e===ie.plusSign?mt(re.plus,1):mt(re.minus,1):mt(re.preIncDec,2)}(e);case ie.lessThan:return void function(){const e=ye.charCodeAt(me.pos+1);if(e===ie.lessThan)return ye.charCodeAt(me.pos+2)===ie.equalsTo?void mt(re.assign,3):void mt(re.bitShiftL,2);e===ie.equalsTo?mt(re.relationalOrEqual,2):mt(re.lessThan,1)}();case ie.greaterThan:return void dt();case ie.equalsTo:case ie.exclamationMark:return void function(e){const t=ye.charCodeAt(me.pos+1);if(t!==ie.equalsTo)return e===ie.equalsTo&&t===ie.greaterThan?(me.pos+=2,void ht(re.arrow)):void mt(e===ie.equalsTo?re.eq:re.bang,1);mt(re.equality,ye.charCodeAt(me.pos+2)===ie.equalsTo?3:2)}(e);case ie.tilde:return void mt(re.tilde,1)}Ne(`Unexpected character '${String.fromCharCode(e)}'`,me.pos)}function mt(e,t){me.pos+=t,ht(e)}function yt(){for(;;){const e=ye.charCodeAt(me.pos);if(!(e>=ie.digit0&&e<=ie.digit9||e===ie.underscore))break;me.pos++}}function gt(e){let t=!1,n=!1;e||yt();let r=ye.charCodeAt(me.pos);r===ie.dot&&(++me.pos,yt(),r=ye.charCodeAt(me.pos)),r!==ie.uppercaseE&&r!==ie.lowercaseE||(r=ye.charCodeAt(++me.pos),r!==ie.plusSign&&r!==ie.dash||++me.pos,yt(),r=ye.charCodeAt(me.pos)),r===ie.lowercaseN?(++me.pos,t=!0):r===ie.lowercaseM&&(++me.pos,n=!0),ht(t?re.bigint:n?re.decimal:re.num)}function vt(e,t=e.currentIndex()){let n=t+1;if(bt(e,n)){const r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,bt(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,bt(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,bt(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}function bt(e,t){const n=e.tokens[t];return n.type===re.braceR||n.type===re.comma}const xt=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02c6"],["tilde","\u02dc"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039a"],["Lambda","\u039b"],["Mu","\u039c"],["Nu","\u039d"],["Xi","\u039e"],["Omicron","\u039f"],["Pi","\u03a0"],["Rho","\u03a1"],["Sigma","\u03a3"],["Tau","\u03a4"],["Upsilon","\u03a5"],["Phi","\u03a6"],["Chi","\u03a7"],["Psi","\u03a8"],["Omega","\u03a9"],["alpha","\u03b1"],["beta","\u03b2"],["gamma","\u03b3"],["delta","\u03b4"],["epsilon","\u03b5"],["zeta","\u03b6"],["eta","\u03b7"],["theta","\u03b8"],["iota","\u03b9"],["kappa","\u03ba"],["lambda","\u03bb"],["mu","\u03bc"],["nu","\u03bd"],["xi","\u03be"],["omicron","\u03bf"],["pi","\u03c0"],["rho","\u03c1"],["sigmaf","\u03c2"],["sigma","\u03c3"],["tau","\u03c4"],["upsilon","\u03c5"],["phi","\u03c6"],["chi","\u03c7"],["psi","\u03c8"],["omega","\u03c9"],["thetasym","\u03d1"],["upsih","\u03d2"],["piv","\u03d6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200c"],["zwj","\u200d"],["lrm","\u200e"],["rlm","\u200f"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201a"],["ldquo","\u201c"],["rdquo","\u201d"],["bdquo","\u201e"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203a"],["oline","\u203e"],["frasl","\u2044"],["euro","\u20ac"],["image","\u2111"],["weierp","\u2118"],["real","\u211c"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21b5"],["lArr","\u21d0"],["uArr","\u21d1"],["rArr","\u21d2"],["dArr","\u21d3"],["hArr","\u21d4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220b"],["prod","\u220f"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221a"],["prop","\u221d"],["infin","\u221e"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222a"],["int","\u222b"],["there4","\u2234"],["sim","\u223c"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22a5"],["sdot","\u22c5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230a"],["rfloor","\u230b"],["lang","\u2329"],["rang","\u232a"],["loz","\u25ca"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function _t(e){const[t,n]=kt(e.jsxPragma||"React.createElement"),[r,i]=kt(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:i}}function kt(e){let t=e.indexOf(".");return-1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class wt{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Et extends wt{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,i){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=i,Et.prototype.__init.call(this),Et.prototype.__init2.call(this),Et.prototype.__init3.call(this),Et.prototype.__init4.call(this),Et.prototype.__init5.call(this),this.jsxPragmaInfo=_t(i),this.isAutomaticRuntime="automatic"===i.jsxRuntime,this.jsxImportSource=i.jsxImportSource||"react"}process(){return!!this.tokens.matches1(re.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{const{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);const r=Object.entries(n).map((([e,t])=>`${e} as ${t}`)).join(", ");if(r){e+=`import {${r}} from "${this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime")}";`}}return e}processJSXTag(){const{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==$e.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){return`lineNumber: ${this.getLineNumberForIndex(e)}`}getLineNumberForIndex(e){const t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(t)}r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(re.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(re.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(re.slash,re.jsxTagEnd));else{if(!this.tokens.matches1(re.jsxTagEnd))throw new Error("Expected either /> or > at the end of the tag.");this.tokens.removeToken(),this.processChildren(!0)}for(this.tokens.removeInitialToken();!this.tokens.matches1(re.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:e}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){const n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(this.importProcessor){const n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e]}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,re.jsxName,re.jsxName)&&!this.tokens.matches2AtIndex(e-1,re.greaterThan,re.jsxName)&&!this.tokens.matches1AtIndex(e,re.braceL)&&!this.tokens.matches1AtIndex(e,re.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,re.slash,re.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){const e=this.tokens.identifierName();Tt(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=ie.lowercaseA&&t<=ie.lowercaseZ}function Ct(e){let t=0,n=0;for(const r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function St(e,t){let n,r="",i=0,a=t;if("#"===e[a]){let t,r=10;if(a++,"x"===e[a])for(r=16,a++,t=a;a=ie.digit0&&o<=ie.digit9||o>=ie.lowercaseA&&o<=ie.lowercaseF||o>=ie.uppercaseA&&o<=ie.uppercaseF);)a++;else for(t=a;a=ie.digit0&&e<=ie.digit9}function Ot(e,t){const n=_t(t),r=new Set;for(let i=0;i0||t.namedExports.length>0)continue;[...t.defaultNames,...t.wildcardNames,...t.namedImports.map((({localName:e})=>e))].every((e=>this.isTypeName(e)))&&this.importsToReplace.set(e,"")}}isTypeName(e){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(const[e,t]of this.importInfoByPath.entries()){const{defaultNames:n,wildcardNames:r,namedImports:i,namedExports:a,exportStarNames:o,hasStarExport:s}=t;if(0===n.length&&0===r.length&&0===i.length&&0===a.length&&0===o.length&&!s){this.importsToReplace.set(e,`require('${e}');`);continue}const c=this.getFreeIdentifierForPath(e);let l;l=this.enableLegacyTypeScriptModuleInterop?c:r.length>0?r[0]:this.getFreeIdentifierForPath(e);let u=`var ${c} = require('${e}');`;if(r.length>0)for(const e of r){u+=` var ${e} = ${this.enableLegacyTypeScriptModuleInterop?c:`${this.helperManager.getHelperName("interopRequireWildcard")}(${c})`};`}else o.length>0&&l!==c?u+=` var ${l} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${c});`:n.length>0&&l!==c&&(u+=` var ${l} = ${this.helperManager.getHelperName("interopRequireDefault")}(${c});`);for(const{importedName:e,localName:t}of a)u+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${c}, '${t}', '${e}');`;for(const e of o)u+=` exports.${e} = ${l};`;s&&(u+=` ${this.helperManager.getHelperName("createStarExport")}(${c});`),this.importsToReplace.set(e,u);for(const e of n)this.identifierReplacements.set(e,`${l}.default`);for(const{importedName:e,localName:t}of i)this.identifierReplacements.set(t,`${c}.${e}`)}}getFreeIdentifierForPath(e){const t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){const t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,ne._type)||this.tokens.matches1AtIndex(e,re._typeof))&&!this.tokens.matches1AtIndex(e+1,re.comma)&&!this.tokens.matchesContextualAtIndex(e+1,ne._from))return;if(this.tokens.matches1AtIndex(e,re.parenL))return;if(this.tokens.matches1AtIndex(e,re.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,re.comma)&&e++),this.tokens.matches1AtIndex(e,re.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,re.braceL)){const n=this.getNamedImports(e+1);e=n.newIndex;for(const e of n.namedImports)"default"===e.importedName?t.push(e.localName):r.push(e)}if(this.tokens.matchesContextualAtIndex(e,ne._from)&&e++,!this.tokens.matches1AtIndex(e,re.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(e),a=this.getImportInfo(i);a.defaultNames.push(...t),a.wildcardNames.push(...n),a.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(a.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,re._export,re._var)||this.tokens.matches2AtIndex(e,re._export,re._let)||this.tokens.matches2AtIndex(e,re._export,re._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,re._export,re._function)||this.tokens.matches2AtIndex(e,re._export,re._class)){const t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,re._export,re.name,re._function)){const t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,re._export,re.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,re._export,re.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,re.braceL)||this.tokens.matches1AtIndex(n,re.dollarBraceL)||this.tokens.matches1AtIndex(n,re.bracketL))t++;else if(this.tokens.matches1AtIndex(n,re.braceR)||this.tokens.matches1AtIndex(n,re.bracketR))t--;else{if(0===t&&!this.tokens.matches1AtIndex(n,re.name))break;if(this.tokens.matches1AtIndex(1,re.eq)){const e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw new Error("Expected = token with an end index.");n=e-1}else{if(qe(this.tokens.tokens[n])){const e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}}}preprocessNamedExportAtIndex(e){e+=2;const{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,!this.tokens.matchesContextualAtIndex(e,ne._from)){for(const{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(e++,!this.tokens.matches1AtIndex(e,re.string))throw new Error("Expected string token at the end of import statement.");const r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,re._export,re.star,re._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,re.string))throw new Error("Expected string token at the end of star export statement.");const n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){const t=[];for(;;){if(this.tokens.matches1AtIndex(e,re.braceR)){e++;break}const n=vt(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,re.comma,re.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,re.braceR)){e++;break}if(!this.tokens.matches1AtIndex(e,re.comma))throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`);e++}return{newIndex:e,namedImports:t}}getImportInfo(e){const t=this.importInfoByPath.get(e);if(t)return t;const n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){const t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){const t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map((e=>`exports.${e}`)).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}function Nt(e,t,{compiledFilename:n}){let r="AAAA";for(let i=0;i obj[importedName]});\n }\n ",createStarExport:'\n function createStarExport(obj) {\n Object.keys(obj)\n .filter((key) => key !== "default" && key !== "__esModule")\n .forEach((key) => {\n if (exports.hasOwnProperty(key)) {\n return;\n }\n Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});\n });\n }\n ',nullishCoalesce:"\n function nullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return rhsFn();\n }\n }\n ",asyncNullishCoalesce:"\n async function asyncNullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return await rhsFn();\n }\n }\n ",optionalChain:"\n function optionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",asyncOptionalChain:"\n async function asyncOptionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = await fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = await fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",optionalChainDelete:"\n function optionalChainDelete(ops) {\n const result = OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n ",asyncOptionalChainDelete:"\n async function asyncOptionalChainDelete(ops) {\n const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n "};class Dt{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(e){this.nameManager=e,Dt.prototype.__init.call(this),Dt.prototype.__init2.call(this)}getHelperName(e){let t=this.helperNames[e];return t||(t=this.nameManager.claimFreeName(`_${e}`),this.helperNames[e]=t,t)}emitHelpers(){let e="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[t,n]of Object.entries(Bt)){const r=this.helperNames[t];let i=n;"optionalChainDelete"===t?i=i.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):"asyncOptionalChainDelete"===t?i=i.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):"require"===t&&(null===this.createRequireName&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),i=i.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(e+=" ",e+=i.replace(t,r).replace(/\s+/g," ").trim())}return e}}function Lt(e,t,n){(function(e,t){for(const n of e.tokens)if(n.type===re.name&&ze(n)&&t.has(e.identifierNameForToken(n)))return!0;return!1})(e,n)&&function(e,t,n){const r=[];let i=t.length-1;for(let a=e.tokens.length-1;;a--){for(;r.length>0&&r[r.length-1].startTokenIndex===a+1;)r.pop();for(;i>=0&&t[i].endTokenIndex===a+1;)r.push(t[i]),i--;if(a<0)break;const o=e.tokens[a],s=e.identifierNameForToken(o);if(r.length>1&&o.type===re.name&&n.has(s))if(He(o))Mt(r[r.length-1],e,s);else if(Ye(o)){let t=r.length-1;for(;t>0&&!r[t].isFunctionScope;)t--;if(t<0)throw new Error("Did not find parent function scope.");Mt(r[t],e,s)}}if(r.length>0)throw new Error("Expected empty scope stack after processing file.")}(e,t,n)}function Mt(e,t,n){for(let r=e.startTokenIndex;r0&&!me.error;)tt(re.braceL)||tt(re.bracketL)?e++:(tt(re.braceR)||tt(re.bracketR))&&e--,Ge();return!0}return!1}()){if(tt(re.colon)||tt(re.comma)||tt(re.question)||tt(re.eq))return!0;if(tt(re.parenR)&&(Ge(),tt(re.arrow)))return!0}return!1}();return me.restoreFromSnapshot(e),t}()}function kn(e){const t=Ke(0);Ie(e);(function(){const e=me.snapshot();if(ke(ne._asserts))return Ge(),Ee(ne._is)?(Tn(),!0):Zt()||tt(re._this)?(Ge(),Ee(ne._is)&&Tn(),!0):(me.restoreFromSnapshot(e),!1);if(Zt()||tt(re._this))return Ge(),ke(ne._is)&&!Se()?(Ge(),Tn(),!0):(me.restoreFromSnapshot(e),!1);return!1})()||Tn(),Je(t)}function wn(){tt(re.colon)&&En()}function En(){const e=Ke(0);Ie(re.colon),Tn(),Je(e)}function Tn(){if(Cn(),me.inDisallowConditionalTypesContext||Se()||!Qe(re._extends))return;const e=me.inDisallowConditionalTypesContext;me.inDisallowConditionalTypesContext=!0,Cn(),me.inDisallowConditionalTypesContext=e,Ie(re.question),Tn(),Ie(re.colon),Tn()}function Cn(){_n()?gn(yn.TSFunctionType):tt(re._new)?gn(yn.TSConstructorType):ke(ne._abstract)&&nt()===re._new?gn(yn.TSAbstractConstructorType):function(){if(Qe(re.bitwiseOR),xn(),tt(re.bitwiseOR))for(;Qe(re.bitwiseOR);)xn()}()}function Sn(){for(;!tt(re.braceL)&&!me.error;)An(),Qe(re.comma)}function An(){en(),tt(re.lessThan)&&qn()}function On(){if(tt(re.string)?yr():Br(),Qe(re.eq)){const e=me.tokens.length-1;tr(),me.tokens[e].rhsEndIndex=me.tokens.length}}function In(){for(zt(!1),Ie(re.braceL);!Qe(re.braceR)&&!me.error;)On(),Qe(re.comma)}function Nn(){Ie(re.braceL),yi(re.braceR)}function Bn(){zt(!1),Qe(re.dot)?Bn():Nn()}function Dn(){ke(ne._global)?Br():tt(re.string)?fr():Ne(),tt(re.braceL)?Nn():Oe()}function Ln(){Ut(),Ie(re.eq),ke(ne._require)&&nt()===re.parenL?(Te(ne._require),Ie(re.parenL),tt(re.string)||Ne(),yr(),Ie(re.parenR)):en(),Oe()}function Mn(){return Fn(me.contextualKeyword,!0)}function Rn(e){switch(e){case ne._declare:{const e=me.tokens.length-1,t=function(){if(Ae())return!1;switch(me.type){case re._function:{const e=Ke(1);return Ge(),_i(me.start,!0),Je(e),!0}case re._class:{const e=Ke(1);return wi(!0,!1),Je(e),!0}case re._const:if(tt(re._const)&&we(ne._enum)){const e=Ke(1);return Ie(re._const),Te(ne._enum),me.tokens[me.tokens.length-1].type=re._enum,In(),Je(e),!0}case re._var:case re._let:{const e=Ke(1);return fi(me.type),Je(e),!0}case re.name:{const e=Ke(1),t=me.contextualKeyword;let n=!1;return t===ne._global?(Dn(),n=!0):n=Fn(t,!0),Je(e),n}default:return!1}}();if(t)return me.tokens[e].type=re._declare,!0;break}case ne._global:if(tt(re.braceL))return Nn(),!0;break;default:return Fn(e,!1)}return!1}function Fn(e,t){switch(e){case ne._abstract:if(Pn(t)&&tt(re._class))return me.tokens[me.tokens.length-1].type=re._abstract,wi(!0,!1),!0;break;case ne._enum:if(Pn(t)&&tt(re.name))return me.tokens[me.tokens.length-1].type=re._enum,In(),!0;break;case ne._interface:if(Pn(t)&&tt(re.name)){const e=Ke(t?2:1);return zt(!1),rn(),Qe(re._extends)&&Sn(),hn(),Je(e),!0}break;case ne._module:if(Pn(t)){if(tt(re.string)){const e=Ke(t?2:1);return Dn(),Je(e),!0}if(tt(re.name)){const e=Ke(t?2:1);return Bn(),Je(e),!0}}break;case ne._namespace:if(Pn(t)&&tt(re.name)){const e=Ke(t?2:1);return Bn(),Je(e),!0}break;case ne._type:if(Pn(t)&&tt(re.name)){const e=Ke(t?2:1);return zt(!1),rn(),Ie(re.eq),Tn(),Oe(),Je(e),!0}}return!1}function Pn(e){return e?(Ge(),!0):!Ae()}function jn(){const e=me.snapshot();return an(),ki(),tt(re.colon)&&kn(re.colon),Ie(re.arrow),me.error?(me.restoreFromSnapshot(e),!1):(Or(!0),!0)}function $n(){me.type===re.bitShiftL&&(me.pos-=1,ht(re.lessThan)),qn()}function qn(){const e=Ke(0);for(Ie(re.lessThan);!Qe(re.greaterThan)&&!me.error;)Tn(),Qe(re.comma);Je(e)}function zn(){if(tt(re.name))switch(me.contextualKeyword){case ne._abstract:case ne._declare:case ne._enum:case ne._interface:case ne._module:case ne._namespace:case ne._type:return!0}return!1}function Un(e,t){return he?function(e,t){if(!tt(re.lessThan))return nr(e,t);const n=me.snapshot();let r=nr(e,t);if(!me.error)return r;me.restoreFromSnapshot(n);me.type=re.typeParameterStart,an(),r=nr(e,t),r||Ne();return r}(e,t):function(e,t){if(!tt(re.lessThan))return nr(e,t);const n=me.snapshot();an();const r=nr(e,t);r||Ne();if(!me.error)return r;me.restoreFromSnapshot(n);return nr(e,t)}(e,t)}function Hn(){Kn()}function Yn(e){Hn(),Qe(re.colon)?Hn():me.tokens[me.tokens.length-1].identifierRole=e}function Wn(){for(Yn(je.Access);tt(re.dot);)Kn(),Hn()}function Vn(){switch(me.type){case re.braceL:return Ge(),er(),void Kn();case re.jsxTagStart:return Zn(),void Kn();case re.string:return void Kn();default:Ne("JSX value should be either an expression or a quoted JSX text")}}function Gn(e){if(tt(re.jsxTagEnd))return!1;Wn(),de&&function(){if(Qe(re.jsxTagStart)){me.tokens[me.tokens.length-1].type=re.typeParameterStart;const e=Ke(1);for(;!tt(re.greaterThan)&&!me.error;)Tn(),Qe(re.comma);Kn(),Je(e)}}();let t=!1;for(;!tt(re.slash)&&!tt(re.jsxTagEnd)&&!me.error;)Qe(re.braceL)?(t=!0,Ie(re.ellipsis),tr(),Kn()):(t&&me.end-me.start==3&&ye.charCodeAt(me.start)===ie.lowercaseK&&ye.charCodeAt(me.start+1)===ie.lowercaseE&&ye.charCodeAt(me.start+2)===ie.lowercaseY&&(me.tokens[e].jsxRole=$e.KeyAfterPropSpread),Yn(je.ObjectKey),tt(re.eq)&&(Kn(),Vn()));const n=tt(re.slash);return n&&Kn(),n}function Xn(){const e=me.tokens.length-1;me.tokens[e].jsxRole=$e.NoChildren;let t=0;if(!Gn(e))for(Jn();;)switch(me.type){case re.jsxTagStart:if(Kn(),tt(re.slash))return Kn(),tt(re.jsxTagEnd)||Wn(),void(me.tokens[e].jsxRole!==$e.KeyAfterPropSpread&&(1===t?me.tokens[e].jsxRole=$e.OneChild:t>1&&(me.tokens[e].jsxRole=$e.StaticChildren)));t++,Xn(),Jn();break;case re.jsxText:t++,Jn();break;case re.jsxEmptyText:Jn();break;case re.braceL:Ge(),tt(re.ellipsis)?(Ie(re.ellipsis),er(),Jn(),t+=2):(tt(re.braceR)||(t++,er()),Jn());break;default:return void Ne()}}function Zn(){Kn(),Xn()}function Kn(){me.tokens.push(new Ve),pt(),me.start=me.pos;const e=ye.charCodeAt(me.pos);if(Fe[e])!function(){let e;do{if(me.pos>ye.length)return void Ne("Unexpectedly reached the end of input.");e=ye.charCodeAt(++me.pos)}while(Re[e]||e===ie.dash);ht(re.jsxName)}();else if(e===ie.quotationMark||e===ie.apostrophe)!function(e){for(me.pos++;;){if(me.pos>=ye.length)return void Ne("Unterminated string constant");if(ye.charCodeAt(me.pos)===e){me.pos++;break}me.pos++}ht(re.string)}(e);else switch(++me.pos,e){case ie.greaterThan:ht(re.jsxTagEnd);break;case ie.lessThan:ht(re.jsxTagStart);break;case ie.slash:ht(re.slash);break;case ie.equalsTo:ht(re.eq);break;case ie.leftCurlyBrace:ht(re.braceL);break;case ie.dot:ht(re.dot);break;case ie.colon:ht(re.colon);break;default:Ne()}}function Jn(){me.tokens.push(new Ve),me.start=me.pos,function(){let e=!1,t=!1;for(;;){if(me.pos>=ye.length)return void Ne("Unterminated JSX contents");const n=ye.charCodeAt(me.pos);if(n===ie.lessThan||n===ie.leftCurlyBrace)return me.pos===me.start?n===ie.lessThan?(me.pos++,void ht(re.jsxTagStart)):void ft(n):void ht(e&&!t?re.jsxEmptyText:re.jsxText);n===ie.lineFeed?e=!0:n!==ie.space&&n!==ie.carriageReturn&&n!==ie.tab&&(t=!0),me.pos++}}()}!function(e){e[e.TSFunctionType=0]="TSFunctionType";e[e.TSConstructorType=1]="TSConstructorType";e[e.TSAbstractConstructorType=2]="TSAbstractConstructorType"}(yn||(yn={}));class Qn{constructor(e){this.stop=e}}function er(e=!1){if(tr(e),tt(re.comma))for(;Qe(re.comma);)tr(e)}function tr(e=!1,t=!1){return de?Un(e,t):fe?function(e,t){if(tt(re.lessThan)){const n=me.snapshot();let r=nr(e,t);if(!me.error)return r;me.restoreFromSnapshot(n),me.type=re.typeParameterStart;const i=Ke(0);if(Ur(),Je(i),r=nr(e,t),r)return!0;Ne()}return nr(e,t)}(e,t):nr(e,t)}function nr(e,t){if(tt(re._yield))return Ge(),tt(re.semi)||Ce()||(Qe(re.star),tr()),!1;(tt(re.parenL)||tt(re.name)||tt(re._yield))&&(me.potentialArrowAt=me.start);const n=function(e){if(function(e){const t=me.tokens.length;if(ar())return!0;return ir(t,-1,e),!1}(e))return!0;return function(e){de||fe?function(e){if(tt(re.question)){const e=nt();if(e===re.colon||e===re.comma||e===re.parenR)return}rr(e)}(e):rr(e)}(e),!1}(e);return t&&xr(),me.type&re.IS_ASSIGN?(Ge(),tr(e),!1):n}function rr(e){Qe(re.question)&&(tr(),Ie(re.colon),tr(e))}function ir(e,t,n){if(de&&(re._in&re.PRECEDENCE_MASK)>t&&!Se()&&Ee(ne._as)){me.tokens[me.tokens.length-1].type=re._as;const r=Ke(1);return Tn(),Je(r),me.type===re.greaterThan&&(me.pos-=1,dt()),void ir(e,t,n)}const r=me.type&re.PRECEDENCE_MASK;if(r>0&&(!n||!tt(re._in))&&r>t){const i=me.type;Ge(),i===re.nullishCoalescing&&(me.tokens[me.tokens.length-1].nullishStartIndex=e);const a=me.tokens.length;ar(),ir(a,i&re.IS_RIGHT_ASSOCIATIVE?r-1:r,n),i===re.nullishCoalescing&&(me.tokens[e].numNullishCoalesceStarts++,me.tokens[me.tokens.length-1].numNullishCoalesceEnds++),ir(e,t,n)}}function ar(){if(de&&!he&&Qe(re.lessThan))return function(){const e=Ke(1);Tn(),Ie(re.greaterThan),Je(e),ar()}(),!1;if(ke(ne._module)&&st()===ie.leftCurlyBrace&&!function(){const e=at();for(let t=me.end;te&&me.tokens[e].isOptionalChainStart&&(me.tokens[me.tokens.length-1].isOptionalChainEnd=!0),!1)}function sr(e,t=!1){fe?function(e,t=!1){if(me.tokens[me.tokens.length-1].contextualKeyword===ne._async&&tt(re.lessThan)){const e=me.snapshot(),t=function(){me.scopeDepth++;const e=me.tokens.length;if(ki(),!br())return!1;return Sr(e),!0}();if(t&&!me.error)return;me.restoreFromSnapshot(e)}cr(e,t)}(e,t):cr(e,t)}function cr(e,t=!1){const n=new Qn(!1);do{lr(e,t,n)}while(!n.stop&&!me.error)}function lr(e,t,n){de?function(e,t,n){if(Se()||!Qe(re.bang)){if(tt(re.lessThan)||tt(re.bitShiftL)){const n=me.snapshot();if(!t&&pr()&&jn())return;if($n(),!t&&Qe(re.parenL)?(me.tokens[me.tokens.length-1].subscriptStartIndex=e,hr()):tt(re.backQuote)?_r():(me.type===re.greaterThan||me.type!==re.parenL&&Boolean(me.type&re.IS_EXPRESSION_START)&&!Se())&&Ne(),!me.error)return;me.restoreFromSnapshot(n)}else!t&&tt(re.questionDot)&&nt()===re.lessThan&&(Ge(),me.tokens[e].isOptionalChainStart=!0,me.tokens[me.tokens.length-1].subscriptStartIndex=e,qn(),Ie(re.parenL),hr());ur(e,t,n)}else me.tokens[me.tokens.length-1].type=re.nonNullAssertion}(e,t,n):fe?function(e,t,n){if(tt(re.questionDot)&&nt()===re.lessThan)return t?void(n.stop=!0):(Ge(),Hr(),Ie(re.parenL),void hr());if(!t&&tt(re.lessThan)){const e=me.snapshot();if(Hr(),Ie(re.parenL),hr(),!me.error)return;me.restoreFromSnapshot(e)}ur(e,t,n)}(e,t,n):ur(e,t,n)}function ur(e,t,n){if(!t&&Qe(re.doubleColon))dr(),n.stop=!0,sr(e,t);else if(tt(re.questionDot)){if(me.tokens[e].isOptionalChainStart=!0,t&&nt()===re.parenL)return void(n.stop=!0);Ge(),me.tokens[me.tokens.length-1].subscriptStartIndex=e,Qe(re.bracketL)?(er(),Ie(re.bracketR)):Qe(re.parenL)?hr():mr()}else if(Qe(re.dot))me.tokens[me.tokens.length-1].subscriptStartIndex=e,mr();else if(Qe(re.bracketL))me.tokens[me.tokens.length-1].subscriptStartIndex=e,er(),Ie(re.bracketR);else if(!t&&tt(re.parenL))if(pr()){const t=me.snapshot(),r=me.tokens.length;Ge(),me.tokens[me.tokens.length-1].subscriptStartIndex=e;const i=ve();me.tokens[me.tokens.length-1].contextId=i,hr(),me.tokens[me.tokens.length-1].contextId=i,(tt(re.colon)||tt(re.arrow))&&(me.restoreFromSnapshot(t),n.stop=!0,me.scopeDepth++,ki(),function(e){de?tt(re.colon)&&En():fe&&function(){if(tt(re.colon)){const e=me.noAnonFunctionType;me.noAnonFunctionType=!0,ii(),me.noAnonFunctionType=e}}();Ie(re.arrow),Sr(e)}(r))}else{Ge(),me.tokens[me.tokens.length-1].subscriptStartIndex=e;const t=ve();me.tokens[me.tokens.length-1].contextId=t,hr(),me.tokens[me.tokens.length-1].contextId=t}else tt(re.backQuote)?_r():n.stop=!0}function pr(){return me.tokens[me.tokens.length-1].contextualKeyword===ne._async&&!Ce()}function hr(){let e=!0;for(;!Qe(re.parenR)&&!me.error;){if(e)e=!1;else if(Ie(re.comma),Qe(re.parenR))break;Nr(!1)}}function dr(){const e=me.tokens.length;fr(),sr(e,!0)}function fr(){if(Qe(re.modulo))return Br(),!1;if(tt(re.jsxText)||tt(re.jsxEmptyText))return yr(),!1;if(tt(re.lessThan)&&he)return me.type=re.jsxTagStart,Zn(),Ge(),!1;const e=me.potentialArrowAt===me.start;switch(me.type){case re.slash:case re.assign:Ze();case re._super:case re._this:case re.regexp:case re.num:case re.bigint:case re.decimal:case re.string:case re._null:case re._true:case re._false:return Ge(),!1;case re._import:return Ge(),tt(re.dot)&&(me.tokens[me.tokens.length-1].type=re.name,Ge(),Br()),!1;case re.name:{const t=me.tokens.length,n=me.start,r=me.contextualKeyword;return Br(),r===ne._await?(ar(),!1):r===ne._async&&tt(re._function)&&!Ce()?(Ge(),_i(n,!1),!1):e&&r===ne._async&&!Ce()&&tt(re.name)?(me.scopeDepth++,zt(!1),Ie(re.arrow),Sr(t),!0):tt(re._do)&&!Ce()?(Ge(),mi(),!1):e&&!Ce()&&tt(re.arrow)?(me.scopeDepth++,Ht(!1),Ie(re.arrow),Sr(t),!0):(me.tokens[me.tokens.length-1].identifierRole=je.Access,!1)}case re._do:return Ge(),mi(),!1;case re.parenL:return vr(e);case re.bracketL:return Ge(),Ir(re.bracketR,!0),!1;case re.braceL:return kr(!1,!1),!1;case re._function:return function(){const e=me.start;Br(),Qe(re.dot)&&Br();_i(e,!1)}(),!1;case re.at:pi();case re._class:return wi(!1),!1;case re._new:return function(){if(Ie(re._new),Qe(re.dot))return void Br();dr(),void Qe(re.questionDot),fe&&function(){if(tt(re.lessThan)){const e=me.snapshot();Hr(),me.error&&me.restoreFromSnapshot(e)}}();Qe(re.parenL)&&Ir(re.parenR)}(),!1;case re.backQuote:return _r(),!1;case re.doubleColon:return Ge(),dr(),!1;case re.hash:{const e=st();return Fe[e]||e===ie.backslash?mr():Ge(),!1}default:return Ne(),!1}}function mr(){Qe(re.hash),Br()}function yr(){Ge()}function gr(){Ie(re.parenL),er(),Ie(re.parenR)}function vr(e){const t=me.snapshot(),n=me.tokens.length;Ie(re.parenL);let r=!0;for(;!tt(re.parenR)&&!me.error;){if(r)r=!1;else if(Ie(re.comma),tt(re.parenR))break;if(tt(re.ellipsis)){qt(!1),xr();break}tr(!1,!0)}if(Ie(re.parenR),e&&(tt(re.colon)||!Ce())){if(br())return me.restoreFromSnapshot(t),me.scopeDepth++,ki(),br(),Sr(n),!me.error||(me.restoreFromSnapshot(t),vr(!1),!1)}return!1}function br(){return de?function(){if(tt(re.colon)){const e=me.snapshot();kn(re.colon),Ce()&&Ne(),tt(re.arrow)||Ne(),me.error&&me.restoreFromSnapshot(e)}return Qe(re.arrow)}():fe?function(){if(tt(re.colon)){const e=Ke(0),t=me.snapshot(),n=me.noAnonFunctionType;me.noAnonFunctionType=!0,Mr(),me.noAnonFunctionType=n,Ce()&&Ne(),tt(re.arrow)||Ne(),me.error&&me.restoreFromSnapshot(t),Je(e)}return Qe(re.arrow)}():Qe(re.arrow)}function xr(){(de||fe)&&(et(re.question),tt(re.colon)&&(de?En():fe&&ii()))}function _r(){for(Xe(),Xe();!tt(re.backQuote)&&!me.error;)Ie(re.dollarBraceL),er(),Xe(),Xe();Ge()}function kr(e,t){const n=ve();let r=!0;for(Ge(),me.tokens[me.tokens.length-1].contextId=n;!Qe(re.braceR)&&!me.error;){if(r)r=!1;else if(Ie(re.comma),Qe(re.braceR))break;let i=!1;if(tt(re.ellipsis)){const n=me.tokens.length;if($t(),e&&(me.tokens.length===n+2&&Ht(t),Qe(re.braceR)))break}else e||(i=Qe(re.star)),!e&&ke(ne._async)?(i&&Ne(),Br(),tt(re.colon)||tt(re.parenL)||tt(re.braceR)||tt(re.eq)||tt(re.comma)||(tt(re.star)&&(Ge(),i=!0),Tr(n))):Tr(n),Er(e,t,n)}me.tokens[me.tokens.length-1].contextId=n}function wr(e,t){const n=me.start;return tt(re.parenL)?(e&&Ne(),Cr(n,!1),!0):!!function(e){return!e&&(tt(re.string)||tt(re.num)||tt(re.bracketL)||tt(re.name)||!!(me.type&re.IS_KEYWORD))}(e)&&(Tr(t),Cr(n,!1),!0)}function Er(e,t,n){de?rn():fe&&tt(re.lessThan)&&(Ur(),tt(re.parenL)||Ne());wr(e,n)||function(e,t){if(Qe(re.colon))return void(e?Xt(t):tr(!1));let n;n=e?0===me.scopeDepth?je.ObjectShorthandTopLevelDeclaration:t?je.ObjectShorthandBlockScopedDeclaration:je.ObjectShorthandFunctionScopedDeclaration:je.ObjectShorthand,me.tokens[me.tokens.length-1].identifierRole=n,Xt(t,!0)}(e,t)}function Tr(e){fe&&oi(),Qe(re.bracketL)?(me.tokens[me.tokens.length-1].contextId=e,tr(),Ie(re.bracketR),me.tokens[me.tokens.length-1].contextId=e):(tt(re.num)||tt(re.string)||tt(re.bigint)||tt(re.decimal)?fr():mr(),me.tokens[me.tokens.length-1].identifierRole=je.ObjectKey,me.tokens[me.tokens.length-1].contextId=e)}function Cr(e,t){const n=ve();me.scopeDepth++;const r=me.tokens.length;ki(t,n),Ar(e,n);const i=me.tokens.length;me.scopes.push(new le(r,i,!0)),me.scopeDepth--}function Sr(e){Or(!0);const t=me.tokens.length;me.scopes.push(new le(e,t,!0)),me.scopeDepth--}function Ar(e,t=0){de?function(e,t){if(tt(re.colon)&&kn(re.colon),tt(re.braceL)||!Ae())Or(!1,t);else{let t=me.tokens.length-1;for(;t>=0&&(me.tokens[t].start>=e||me.tokens[t].type===re._default||me.tokens[t].type===re._export);)me.tokens[t].isType=!0,t--}}(e,t):fe?function(e){tt(re.colon)&&Mr();Or(!1,e)}(t):Or(!1,t)}function Or(e,t=0){e&&!tt(re.braceL)?tr():mi(!0,t)}function Ir(e,t=!1){let n=!0;for(;!Qe(e)&&!me.error;){if(n)n=!1;else if(Ie(re.comma),Qe(e))break;Nr(t)}}function Nr(e){e&&tt(re.comma)||(tt(re.ellipsis)?($t(),xr()):tt(re.question)?Ge():tr(!1,!0))}function Br(){Ge(),me.tokens[me.tokens.length-1].type=re.name}function Dr(e){const t=Ke(0);Ie(e||re.colon),ri(),Je(t)}function Lr(){Ie(re.modulo),Te(ne._checks),Qe(re.parenL)&&(er(),Ie(re.parenR))}function Mr(){const e=Ke(0);Ie(re.colon),tt(re.modulo)?Lr():(ri(),tt(re.modulo)&&Lr()),Je(e)}function Rr(){tt(re._class)?(Ge(),Fr(!0)):tt(re._function)?(Ge(),Br(),tt(re.lessThan)&&Ur(),Ie(re.parenL),Jr(),Ie(re.parenR),Mr(),Oe()):tt(re._var)?(Ge(),ai(),Oe()):Ee(ne._module)?Qe(re.dot)?(Te(ne._exports),ii(),Oe()):function(){tt(re.string)?fr():Br();Ie(re.braceL);for(;!tt(re.braceR)&&!me.error;)tt(re._import)?(Ge(),Fi()):Ne();Ie(re.braceR)}():ke(ne._type)?(Ge(),qr()):ke(ne._opaque)?(Ge(),zr(!0)):ke(ne._interface)?(Ge(),Fr()):tt(re._export)?(Ie(re._export),Qe(re._default)?tt(re._function)||tt(re._class)?Rr():(ri(),Oe()):tt(re._var)||tt(re._function)||tt(re._class)||ke(ne._opaque)?Rr():tt(re.star)||tt(re.braceL)||ke(ne._interface)||ke(ne._type)||ke(ne._opaque)?Ni():Ne()):Ne()}function Fr(e=!1){if($r(),tt(re.lessThan)&&Ur(),Qe(re._extends))do{Pr()}while(!e&&Qe(re.comma));if(ke(ne._mixins)){Ge();do{Pr()}while(Qe(re.comma))}if(ke(ne._implements)){Ge();do{Pr()}while(Qe(re.comma))}Vr(e,!1,e)}function Pr(){Zr(!1),tt(re.lessThan)&&Hr()}function jr(){Fr()}function $r(){Br()}function qr(){$r(),tt(re.lessThan)&&Ur(),Dr(re.eq),Oe()}function zr(e){Te(ne._type),$r(),tt(re.lessThan)&&Ur(),tt(re.colon)&&Dr(re.colon),e||Dr(re.eq),Oe()}function Ur(){const e=Ke(0);tt(re.lessThan)||tt(re.typeParameterStart)?Ge():Ne();do{oi(),ai(),Qe(re.eq)&&ri(),tt(re.greaterThan)||Ie(re.comma)}while(!tt(re.greaterThan)&&!me.error);Ie(re.greaterThan),Je(e)}function Hr(){const e=Ke(0);for(Ie(re.lessThan);!tt(re.greaterThan)&&!me.error;)ri(),tt(re.greaterThan)||Ie(re.comma);Ie(re.greaterThan),Je(e)}function Yr(){tt(re.num)||tt(re.string)?fr():Br()}function Wr(){for(tt(re.lessThan)&&Ur(),Ie(re.parenL);!tt(re.parenR)&&!tt(re.ellipsis)&&!me.error;)Kr(),tt(re.parenR)||Ie(re.comma);Qe(re.ellipsis)&&Kr(),Ie(re.parenR),Dr()}function Vr(e,t,n){let r;for(t&&tt(re.braceBarL)?(Ie(re.braceBarL),r=re.braceBarR):(Ie(re.braceL),r=re.braceR);!tt(r)&&!me.error;){if(n&&ke(ne._proto)){const t=nt();t!==re.colon&&t!==re.question&&(Ge(),e=!1)}if(e&&ke(ne._static)){const e=nt();e!==re.colon&&e!==re.question&&Ge()}if(oi(),Qe(re.bracketL))Qe(re.bracketL)?(Yr(),Ie(re.bracketR),Ie(re.bracketR),tt(re.lessThan)||tt(re.parenL)?Wr():(Qe(re.question),Dr())):(nt()===re.colon?(Yr(),Dr()):ri(),Ie(re.bracketR),Dr());else if(tt(re.parenL)||tt(re.lessThan))Wr();else{if(ke(ne._get)||ke(ne._set)){const e=nt();e!==re.name&&e!==re.string&&e!==re.num||Ge()}Gr()}Xr()}Ie(r)}function Gr(){if(tt(re.ellipsis)){if(Ie(re.ellipsis),Qe(re.comma)||Qe(re.semi),tt(re.braceR))return;ri()}else Yr(),tt(re.lessThan)||tt(re.parenL)?Wr():(Qe(re.question),Dr())}function Xr(){Qe(re.semi)||Qe(re.comma)||tt(re.braceR)||tt(re.braceBarR)||Ne()}function Zr(e){for(e||Br();Qe(re.dot);)Br()}function Kr(){const e=nt();e===re.colon||e===re.question?(Br(),Qe(re.question),Dr()):ri()}function Jr(){for(;!tt(re.parenR)&&!tt(re.ellipsis)&&!me.error;)Kr(),tt(re.parenR)||Ie(re.comma);Qe(re.ellipsis)&&Kr()}function Qr(){let e=!1;const t=me.noAnonFunctionType;switch(me.type){case re.name:return ke(ne._interface)?void function(){if(Te(ne._interface),Qe(re._extends))do{Pr()}while(Qe(re.comma));Vr(!1,!1,!1)}():(Br(),Zr(!0),void(tt(re.lessThan)&&Hr()));case re.braceL:return void Vr(!1,!1,!1);case re.braceBarL:return void Vr(!1,!0,!1);case re.bracketL:return void function(){for(Ie(re.bracketL);me.pos0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex0&&t0&&this.tokenAtRelativeIndex(-1).type===re._delete?e.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):e.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const e=this.currentToken();if(e.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),e.numNullishCoalesceEnds&&!this.disableESTransforms)for(let t=0;t require");const e=this.tokens.currentToken().contextId;if(null==e)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(re.parenR,e);)this.rootTransformer.processToken();return void this.tokens.replaceToken("))")}if(this.removeImportAndDetectIfType())this.tokens.removeToken();else{const e=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(e)),this.tokens.appendCode(this.importProcessor.claimImportCode(e))}Ji(this.tokens),this.tokens.matches1(re.semi)&&this.tokens.removeToken()}removeImportAndDetectIfType(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(ne._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,re.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ne._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(re.name)||this.tokens.matches1(re.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(re.string))return!1;let e=!1;for(;!this.tokens.matches1(re.string);)(!e&&this.tokens.matches1(re.braceL)||this.tokens.matches1(re.comma))&&(this.tokens.removeToken(),(this.tokens.matches2(re.name,re.comma)||this.tokens.matches2(re.name,re.braceR)||this.tokens.matches4(re.name,re.name,re.name,re.comma)||this.tokens.matches4(re.name,re.name,re.name,re.braceR))&&(e=!0)),this.tokens.removeToken();return!e}removeRemainingImport(){for(;!this.tokens.matches1(re.string);)this.tokens.removeToken()}processIdentifier(){const e=this.tokens.currentToken();if(e.shadowsGlobal)return!1;if(e.identifierRole===je.ObjectShorthand)return this.processObjectShorthand();if(e.identifierRole!==je.Access)return!1;const t=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(e));if(!t)return!1;let n=this.tokens.currentIndex()+1;for(;n=2&&this.tokens.matches1AtIndex(e-2,re.dot))return!1;if(e>=2&&[re._var,re._let,re._const].includes(this.tokens.tokens[e-2].type))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(t));return!!n&&(this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),!0)}processComplexAssignment(){const e=this.tokens.currentIndex(),t=this.tokens.tokens[e-1];if(t.type!==re.name)return!1;if(t.shadowsGlobal)return!1;if(e>=2&&this.tokens.matches1AtIndex(e-2,re.dot))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(t));return!!n&&(this.tokens.appendCode(` = ${n}`),this.tokens.copyToken(),!0)}processPreIncDec(){const e=this.tokens.currentIndex(),t=this.tokens.tokens[e+1];if(t.type!==re.name)return!1;if(t.shadowsGlobal)return!1;if(e+2=1&&this.tokens.matches1AtIndex(e-1,re.dot))return!1;const r=this.tokens.identifierNameForToken(t),i=this.importProcessor.resolveExportBinding(r);if(!i)return!1;const a=this.tokens.rawCodeForToken(n),o=this.importProcessor.getIdentifierReplacement(r)||r;if("++"===a)this.tokens.replaceToken(`(${o} = ${i} = ${o} + 1, ${o} - 1)`);else{if("--"!==a)throw new Error(`Unexpected operator: ${a}`);this.tokens.replaceToken(`(${o} = ${i} = ${o} - 1, ${o} + 1)`)}return this.tokens.removeToken(),!0}processExportDefault(){if(this.tokens.matches4(re._export,re._default,re._function,re.name)||this.tokens.matches5(re._export,re._default,re.name,re._function,re.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ne._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const e=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${e};`)}else if(this.tokens.matches4(re._export,re._default,re._class,re.name)||this.tokens.matches5(re._export,re._default,re._abstract,re._class,re.name)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(re._abstract)&&this.tokens.removeToken();const e=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${e};`)}else{if(this.tokens.matches3(re._export,re._default,re.at))throw new Error("Export default statements with decorators are not yet supported.");if(Qi(this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const e=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${e}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${e} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(e)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =")}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let e=this.tokens.currentIndex();if(e++,e++,!this.tokens.matches1AtIndex(e,re.name))return!1;for(e++;en.call(t,...e))),t=void 0)}return n}([this,"access",e=>e.importProcessor,"optionalAccess",e=>e.getGlobalNames,"call",e=>e(),"optionalAccess",e=>e.has,"call",e=>e(ra)])&&this.extractHoistedCalls())}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map((e=>`${e}();`)).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let e=!1;for(;this.tokens.matches3(re.dot,re.name,re.parenL);){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(ia.includes(t)){const t=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(t),this.tokens.replaceToken(`function ${t}(){jest.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(re.parenR),this.tokens.appendCode(";}"),e=!1}else e?this.tokens.copyToken():this.tokens.replaceToken("jest."),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(re.parenR),e=!0}return!0}}class oa extends wt{constructor(e){super(),this.tokens=e}process(){if(this.tokens.matches1(re.num)){const e=this.tokens.currentTokenCode();if(e.includes("_"))return this.tokens.replaceToken(e.replace(/_/g,"")),!0}return!1}}class sa extends wt{constructor(e,t){super(),this.tokens=e,this.nameManager=t}process(){return!!this.tokens.matches2(re._catch,re.braceL)&&(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0)}}class ca extends wt{constructor(e,t){super(),this.tokens=e,this.nameManager=t}process(){if(this.tokens.matches1(re.nullishCoalescing)){const e=this.tokens.currentToken();return this.tokens.tokens[e.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(re._delete)){if(this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0}const e=this.tokens.currentToken().subscriptStartIndex;if(null!=e&&this.tokens.tokens[e].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==re._super){const t=this.nameManager.claimFreeName("_");let n;if(n=e>0&&this.tokens.matches1AtIndex(e-1,re._delete)&&this.isLastSubscriptInChain()?`${t} => delete ${t}`:`${t} => ${t}`,this.tokens.tokens[e].isAsyncOperation&&(n=`async ${n}`),this.tokens.matches2(re.questionDot,re.parenL)||this.tokens.matches2(re.questionDot,re.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${n}`);else if(this.tokens.matches2(re.questionDot,re.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}`);else if(this.tokens.matches1(re.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}.`);else if(this.tokens.matches1(re.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}.`);else if(this.tokens.matches1(re.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}[`);else{if(!this.tokens.matches1(re.parenL))throw new Error("Unexpected subscript operator in optional chain.");this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${n}(`)}return!0}return!1}isLastSubscriptInChain(){let e=0;for(let t=this.tokens.currentIndex()+1;;t++){if(t>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[t].isOptionalChainStart?e++:this.tokens.tokens[t].isOptionalChainEnd&&e--,e<0)return!0;if(0===e&&null!=this.tokens.tokens[t].subscriptStartIndex)return!1}}justSkippedSuper(){let e=0,t=this.tokens.currentIndex()-1;for(;;){if(t<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[t].isOptionalChainStart?e--:this.tokens.tokens[t].isOptionalChainEnd&&e++,e<0)return!1;if(0===e&&null!=this.tokens.tokens[t].subscriptStartIndex)return this.tokens.tokens[t-1].type===re._super;t--}}}class la extends wt{constructor(e,t,n,r){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.options=r}process(){const e=this.tokens.currentIndex();if("createReactClass"===this.tokens.identifierName()){const t=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return t?this.tokens.replaceToken(`(0, ${t})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(e),!0}if(this.tokens.matches3(re.name,re.dot,re.name)&&"React"===this.tokens.identifierName()&&"createClass"===this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)){const t=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return t?(this.tokens.replaceToken(t),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(e),!0}return!1}tryProcessCreateClassCall(e){const t=this.findDisplayName(e);t&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(re.parenL),this.tokens.copyExpectedToken(re.braceL),this.tokens.appendCode(`displayName: '${t}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(re.braceR),this.tokens.copyExpectedToken(re.parenR))}findDisplayName(e){return e<2?null:this.tokens.matches2AtIndex(e-2,re.name,re.eq)||e>=2&&this.tokens.tokens[e-2].identifierRole===je.ObjectKey?this.tokens.identifierNameAtIndex(e-2):this.tokens.matches2AtIndex(e-2,re._export,re._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const e=(this.options.filePath||"unknown").split("/"),t=e[e.length-1],n=t.lastIndexOf("."),r=-1===n?t:t.slice(0,n);return"index"===r&&e[e.length-2]?e[e.length-2]:r}classNeedsDisplayName(){let e=this.tokens.currentIndex();if(!this.tokens.matches2(re.parenL,re.braceL))return!1;const t=e+1,n=this.tokens.tokens[t].contextId;if(null==n)throw new Error("Expected non-null context ID on object open-brace.");for(;e({variableName:e,uniqueLocalName:e})));return this.extractedDefaultExportName&&t.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`\n;(function () {\n var reactHotLoader = require('react-hot-loader').default;\n var leaveModule = require('react-hot-loader').leaveModule;\n if (!reactHotLoader) {\n return;\n }\n${t.map((({variableName:e,uniqueLocalName:t})=>` reactHotLoader.register(${e}, "${t}", ${JSON.stringify(this.filePath||"")});`)).join("\n")}\n leaveModule(module);\n})();`}process(){return!1}}const pa=new Set(["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","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function ha(e){if(0===e.length)return!1;if(!Fe[e.charCodeAt(0)])return!1;for(let t=1;t` var ${e};`)).join("");for(const r of this.transformers)e+=r.getHoistedCode();let t="";for(const r of this.transformers)t+=r.getSuffixCode();let n=this.tokens.finish();if(n.startsWith("#!")){let r=n.indexOf("\n");return-1===r&&(r=n.length,n+="\n"),n.slice(0,r+1)+e+n.slice(r+1)+t}return e+this.tokens.finish()+t}processBalancedCode(){let e=0,t=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(re.braceL)||this.tokens.matches1(re.dollarBraceL))e++;else if(this.tokens.matches1(re.braceR)){if(0===e)return;e--}if(this.tokens.matches1(re.parenL))t++;else if(this.tokens.matches1(re.parenR)){if(0===t)return;t--}this.processToken()}}processToken(){if(this.tokens.matches1(re._class))this.processClass();else{for(const e of this.transformers){if(e.process())return}this.tokens.copyToken()}}processNamedClass(){if(!this.tokens.matches2(re._class,re.name))throw new Error("Expected identifier for exported class name.");const e=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),e}processClass(){const e=Hi(this,this.tokens,this.nameManager,this.disableESTransforms),t=(e.headerInfo.isExpression||!e.headerInfo.className)&&e.staticInitializerNames.length+e.instanceInitializerNames.length>0;let n=e.headerInfo.className;t&&(n=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(n),this.tokens.appendCode(` (${n} =`));const r=this.tokens.currentToken().contextId;if(null==r)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(re._class);!this.tokens.matchesContextIdAndLabel(re.braceL,r);)this.processToken();this.processClassBody(e,n);const i=e.staticInitializerNames.map((e=>`${n}.${e}()`));t?this.tokens.appendCode(`, ${i.map((e=>`${e}, `)).join("")}${n})`):e.staticInitializerNames.length>0&&this.tokens.appendCode(` ${i.map((e=>`${e};`)).join(" ")}`)}processClassBody(e,t){const{headerInfo:n,constructorInsertPos:r,constructorInitializerStatements:i,fields:a,instanceInitializerNames:o,rangesToRemove:s}=e;let c=0,l=0;const u=this.tokens.currentToken().contextId;if(null==u)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(re.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const p=i.length+o.length>0;if(null===r&&p){const e=this.makeConstructorInitCode(i,o,t);if(n.hasSuperclass){const t=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${t}) { super(...${t}); ${e}; }`)}else this.tokens.appendCode(`constructor() { ${e}; }`)}for(;!this.tokens.matchesContextIdAndLabel(re.braceR,u);)if(c=s[l].start){for(this.tokens.currentIndex()`${n}.prototype.${e}.call(this)`))].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(re.parenR,re.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType;)e++;if(this.tokens.matches1AtIndex(e,re.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(ne._async)&&!this.tokens.matches1(re._async))return!1;const e=this.tokens.tokenAtRelativeIndex(1);if(e.type!==re.lessThan||!e.isType)return!1;let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,re.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var i,a=0,o=t;i=e[e.length-1];){if(i.nodeType===Node.TEXT_NODE){if(a+i.textContent.length>=o){var s=o-a;if(o===t){if(o=r,s=o){if(o===t){if(s=r,0a?a:0),i.position+(0a-c||o&&o[1]===r?c=a:(n=++u.historyAt,u.history[n]=[i,r],u.history.splice(n+1),500a(!1)},r.createElement(Ha,{key:String(n),className:Va,onChange:t,disabled:i,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),a(!0))}}))}));const Xa=Ya((function(e){let{children:t,transformCode:n,value:i,language:a,action:o,...s}=e;const c=(0,ae.p)(),[l,u]=r.useState(t);return(0,r.useEffect)((()=>{o((0,oe.Tj)(l))}),[o,l]),r.createElement("div",{className:Wa},r.createElement(za,(0,h.Z)({code:t.replace(/\n$/,""),transformCode:n??(e=>`${e};`),theme:c,language:a},s),r.createElement(Ga,{onEdit:u})))}));var Za=n(63303),Ka=n(85162),Ja=n(41465),Qa=n.n(Ja);function eo(e){let{requestBodyMetadata:t,jsonRequestBodyExample:n}=e;const i=(0,w.i)((e=>e.contentType.value)),a=t?.required,o=(0,w.z)(),s=t?.content?.[i]?.schema,c=t?.content?.[i]?.example,l=t?.content?.[i]?.examples;if("binary"===s?.format)return r.createElement(M,{label:"Body",required:a},r.createElement(te,{placeholder:s.description||"Body",onChange:e=>{o(void 0!==e?(0,oe.sb)({src:`/path/to/${e.name}`,content:e}):(0,oe.UL)())}}));if(("multipart/form-data"===i||"application/x-www-form-urlencoded"===i)&&"object"===s?.type)return r.createElement(M,{label:"Body",required:a},r.createElement("div",{style:{marginTop:"calc(var(--ifm-pre-padding) / 2)",borderRadius:"4px",padding:"var(--ifm-pre-padding)",border:"1px solid var(--openapi-monaco-border-color)"}},Object.entries(s.properties??{}).map((e=>{let[t,n]=e;return"binary"===n.format?r.createElement(M,{key:t,label:t,required:Array.isArray(s.required)&&s.required.includes(t)},r.createElement(te,{placeholder:n.description||t,onChange:e=>{o(void 0!==e?(0,oe.HO)({key:t,value:{src:`/path/to/${e.name}`,content:e}}):(0,oe.Z0)(t))}})):n.enum?r.createElement(M,{key:t,label:t,required:Array.isArray(s.required)&&s.required.includes(t)},r.createElement(F,{options:["---",...n.enum],onChange:e=>{const n=e.target.value;o("---"===n?(0,oe.Z0)(t):(0,oe.$W)({key:t,value:n}))}})):r.createElement(M,{key:t,label:t,required:Array.isArray(s.required)&&s.required.includes(t)},r.createElement(q,{placeholder:n.description||t,onChange:e=>{o((0,oe.$W)({key:t,value:e.target.value}))}}))}))));let u,p="plaintext",h="",d=[];if("application/json"===i||i.endsWith("+json")){if(n&&(h=JSON.stringify(n,null,2)),c&&(u=JSON.stringify(c,null,2)),l)for(const[e,t]of Object.entries(l))d.push({label:e,body:JSON.stringify(t.value,null,2),summary:t.summary});p="json"}if("application/xml"===i||i.endsWith("+xml")){if(n)try{h=Qa()(H(n,""),{indentation:" ",lineSeparator:"\n",collapseContent:!0})}catch{h=H(n)}if(c)try{u=Qa()(H(c,""),{indentation:" ",lineSeparator:"\n",collapseContent:!0})}catch{u=H(c)}if(l)for(const[e,t]of Object.entries(l)){let n;try{n=Qa()(t.value,{indentation:" ",lineSeparator:"\n",collapseContent:!0})}catch{n=t.value}d.push({label:e,body:n,summary:t.summary})}p="xml"}return u?r.createElement(M,{label:"Body",required:a},r.createElement(Za.Z,{lazy:!0},r.createElement(Ka.Z,{label:"Default",value:"default",default:!0},r.createElement(Xa,{action:o,language:p},h)),r.createElement(Ka.Z,{label:"Example",value:"example"},u&&r.createElement(Xa,{action:o,language:p},u)))):d&&d.length>0?r.createElement(M,{label:"Body",required:a},r.createElement(Za.Z,{lazy:!0},r.createElement(Ka.Z,{label:"Default",value:"default",default:!0},r.createElement(Xa,{action:o,language:p},h)),d.map((e=>r.createElement(Ka.Z,{label:e.label,value:e.label,key:e.label},e.summary&&r.createElement("p",null,e.summary),e.body&&r.createElement(Xa,{action:o,language:p},e.body)))))):r.createElement(M,{label:"Body",required:a},r.createElement(Xa,{action:o,language:p},h))}const to=function(e){let{requestBodyMetadata:t,jsonRequestBodyExample:n}=e;const i=(0,w.i)((e=>e.contentType.value));return void 0===i?null:r.createElement(r.Fragment,null,r.createElement(W,null),r.createElement(eo,{requestBodyMetadata:t,jsonRequestBodyExample:n}))};var no=n(61575),ro=n(83253),io=n.n(ro);const ao=async function(e,t,n){const r=e.toJSON().header;let i=new Headers;r&&r.forEach((e=>{e.key&&e.value&&i.append(e.key,e.value)}));const a=e.body?.toJSON();let o;if(void 0!==a&&Object.keys(a).length>0)switch(a.mode){case"urlencoded":if(o=new URLSearchParams,Array.isArray(a.urlencoded))for(const e of a.urlencoded)e.key&&e.value&&o.append(e.key,e.value);break;case"raw":o=(a.raw??"").toString();break;case"formdata":if(o=new FormData,Array.isArray(a.formdata))for(const e of a.formdata)e.key&&e.value&&o.append(e.key,e.value);break;case"file":"raw"===n.type&&"file"===n.content?.type&&(o=await async function(e){return new Promise(((t,n)=>{const r=new FileReader;r.onabort=()=>{console.log("file reading was aborted"),n()},r.onerror=()=>{console.log("file reading has failed"),n()},r.onload=()=>{const e=r.result;t(e)},r.readAsArrayBuffer(e)}))}(n.content.value.content))}const s={method:e.method,headers:i,body:o};let c=e.url.toString();if(t){c=t.replace(/\/$/,"")+"/"+e.url.toString()}return await(l=c,u=s,void 0===p&&(p=5e3),Promise.race([fetch(l,u),new Promise(((e,t)=>setTimeout((()=>t(new Error("Request timed out"))),p)))])).then((e=>e.text()));var l,u,p};const oo=function(e){let{postman:t,proxy:n}=e;const i=(0,w.i)((e=>e.params.path)),a=(0,w.i)((e=>e.params.query)),o=(0,w.i)((e=>e.params.cookie)),s=(0,w.i)((e=>e.params.header)),c=(0,w.i)((e=>e.contentType.value)),l=(0,w.i)((e=>e.body)),u=(0,w.i)((e=>e.accept.value)),h=(0,w.i)((e=>e.server.value)),d=(0,w.i)((e=>e.params)),f=(0,w.i)((e=>e.auth)),m=function(e){for(let t of Object.values(e))for(let e of t)if(e.required&&!e.value)return!1;return!0}(d),y=(0,w.z)(),g=p(t,{queryParams:a,pathParams:i,cookieParams:o,contentType:c,accept:u,headerParams:s,body:l,server:h,auth:f});function v(){x(!1)}const[b,x]=r.useState(!1),[_,k]=r.useState(!0),E={overlay:{backdropFilter:"blur(10px)",backgroundColor:"transparent"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",border:"none",padding:"none",borderRadius:"var(--openapi-card-border-radius)",background:"var(--ifm-card-background-color)",transform:"translate(-50%, -50%)",maxWidth:"550px"}};return _?r.createElement("button",{className:"button button--sm button--secondary",disabled:!m,style:m?{}:{pointerEvents:"all"},onClick:async()=>{y((0,no.aX)("Fetching..."));try{await(e=1200,new Promise((t=>setTimeout(t,e))));const t=await ao(g,n,l);y((0,no.aX)(t))}catch(t){console.log(t),y((0,no.aX)("Connection failed"))}var e}},"Send API Request"):r.createElement(r.Fragment,null,r.createElement("button",{className:"button button--sm button--secondary",onClick:function(){x(!0)}},"Send API Request"),r.createElement(io(),{isOpen:b,onRequestClose:v,style:E,contentLabel:"Terms of Use"},r.createElement("form",null,r.createElement("div",{className:"card"},r.createElement("div",{className:"card__header"},r.createElement("h2",null,"Terms of Use"),r.createElement("hr",null)),r.createElement("div",{className:"card__body"},r.createElement("p",null,"By accepting this agreement the end user acknowledges the risks of performing authenticated and non-authenticated API requests from the browser."),r.createElement("p",null,"The end user also accepts the responsibility of safeguarding API credentials and any potentially sensitive data returned by the API."),r.createElement("br",null)),r.createElement("div",{className:"card__footer"},r.createElement("div",{className:"button-group button-group--block"},r.createElement("button",{className:"button button--sm button--outline button--success",onClick:function(){x(!1),k(!0),sessionStorage.setItem("agreement-ack","true")}},"AGREE"),r.createElement("button",{className:"button button--sm button--outline button--danger",onClick:v},"DISAGREE")))))))};var so=n(77236);const co="selectInput_xXUj inputBase_MRMh";const lo=function(e){let t,{value:n,options:i,onChange:a}=e;if(0===i.length)return null;if(i.length<6){const e=24;t=29*i.length+(4*i.length-1)+8+e+1}return r.createElement("select",{style:{height:t},className:co,value:n,onChange:a,size:Math.min(6,i.length+1),multiple:!0},i.map((e=>r.createElement("option",{key:e,value:e},e))))};var uo=n(44744);const po="plus_Swon",ho="plusExpanded_WYvI plus_Swon",fo="showMoreButton_ZGo2",mo="buttonDelete_vlNf",yo="buttonThin_xRd9",go="showOptions_Gv8N",vo="hideOptions_JLDS";function bo(e){let{param:t}=e;return"array"===t.schema?.type&&t.schema.items?.enum?r.createElement(To,{param:t}):"array"===t.schema?.type?r.createElement(ko,{param:t}):t.schema?.enum?r.createElement(wo,{param:t}):"boolean"===t.schema?.type?r.createElement(Eo,{param:t}):r.createElement(Co,{param:t})}function xo(e){let{param:t}=e;return r.createElement(M,{label:t.name,type:t.in,required:t.required},r.createElement(bo,{param:t}))}function _o(e){let{param:t,onChange:n}=e;return"boolean"===t.schema?.items?.type?r.createElement(F,{options:["---","true","false"],onChange:e=>{const t=e.target.value;n("---"===t?void 0:t)}}):r.createElement(q,{placeholder:t.description||t.name,onChange:e=>{n(e.target.value)}})}function ko(e){let{param:t}=e;const[n,i]=(0,r.useState)([]),a=(0,w.z)();return(0,r.useEffect)((()=>{const e=n.map((e=>e.value)).filter((e=>!!e));a((0,uo.t4)({...t,value:e.length>0?e:void 0}))}),[n]),r.createElement(r.Fragment,null,n.map((e=>{return r.createElement("div",{key:e.id,style:{display:"flex"}},r.createElement(_o,{param:t,onChange:(o=e,e=>{const t=n.map((t=>t.id===o.id?{...t,value:e}:t));i(t)})}),r.createElement("button",{className:mo,onClick:(a=e,()=>{const e=n.filter((e=>e.id!==a.id));i(e)})},r.createElement("svg",{focusable:"false",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",width:"16",height:"16",viewBox:"0 0 32 32","aria-hidden":"true"},r.createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"}),r.createElement("title",null,"Delete"))));var a,o})),r.createElement("button",{className:yo,onClick:function(){i((e=>[...e,{id:(0,so.x0)()}]))}},"Add item"))}function wo(e){let{param:t}=e;const n=(0,w.z)(),i=t.schema?.enum??[];return r.createElement(F,{options:["---",...i],onChange:e=>{const r=e.target.value;n((0,uo.t4)({...t,value:"---"===r?void 0:r}))}})}function Eo(e){let{param:t}=e;const n=(0,w.z)();return r.createElement(F,{options:["---","true","false"],onChange:e=>{const r=e.target.value;n((0,uo.t4)({...t,value:"---"===r?void 0:r}))}})}function To(e){let{param:t}=e;const n=(0,w.z)(),i=t.schema?.items?.enum??[];return r.createElement(lo,{options:i,onChange:e=>{const r=Array.prototype.filter.call(e.target.options,(e=>e.selected)).map((e=>e.value));n((0,uo.t4)({...t,value:r.length>0?r:void 0}))}})}function Co(e){let{param:t}=e;const n=(0,w.z)();return r.createElement(q,{placeholder:t.description||t.name,onChange:e=>n((0,uo.t4)({...t,value:"path"===t.in||"query"===t.in?e.target.value.replace(/\s/g,"%20"):e.target.value}))})}const So=function(){const[e,t]=(0,r.useState)(!1),n=(0,w.i)((e=>e.params.path)),i=(0,w.i)((e=>e.params.query)),a=(0,w.i)((e=>e.params.cookie)),o=(0,w.i)((e=>e.params.header)),s=[...n,...i,...a,...o],c=s.filter((e=>e.required)),l=s.filter((e=>!e.required));return r.createElement(r.Fragment,null,c.map((e=>r.createElement(xo,{key:`${e.in}-${e.name}`,param:e}))),l.length>0&&r.createElement(r.Fragment,null,r.createElement("button",{className:fo,onClick:()=>t((e=>!e))},r.createElement("span",{style:{width:"1.5em",display:"inline-block",textAlign:"center"}},r.createElement("span",{className:e?ho:po},r.createElement("div",null,r.createElement("svg",{style:{fill:"currentColor",width:"10px",height:"10px"},height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9 7h6a1 1 0 0 1 0 2H9v6a1 1 0 0 1-2 0V9H1a1 1 0 1 1 0-2h6V1a1 1 0 1 1 2 0z",fillRule:"evenodd"}))))),e?"Hide optional parameters":"Show optional parameters"),r.createElement("div",{className:e?go:vo},l.map((e=>r.createElement(xo,{key:`${e.in}-${e.name}`,param:e}))))))};var Ao=n(55584);const Oo="optionsPanel_tfQ6";const Io=function(){const[e,t]=(0,r.useState)(!1),n=(0,w.i)((e=>e.server.value)),i=(0,w.i)((e=>e.server.options)),a=(0,w.z)();if(i.length<=0)return null;if(i.length<1&&void 0===n?.variables)return null;if(!n){const e=i[0];a((0,Ao.CD)(JSON.stringify(e)))}if(n){if(!i.find((e=>e.url===n.url))){const e=i[0];a((0,Ao.CD)(JSON.stringify(e)))}}if(!e){let e="";return n&&(e=n.url.replace(/\/$/,""),n.variables&&Object.keys(n.variables).forEach((t=>{e=e.replace(`{${t}}`,n.variables?.[t].default??"")}))),r.createElement(G,{onClick:()=>t(!0),label:"Edit"},r.createElement(M,{label:"Base URL"},r.createElement("pre",{style:{background:"var(--openapi-card-background-color)",paddingLeft:"0px"}},r.createElement("code",{title:e},e))))}return r.createElement("div",{className:Oo},r.createElement(G,{onClick:()=>t(!1),label:"Hide"},r.createElement(M,{label:"Base URL"},r.createElement(F,{options:i.map((e=>e.url)),onChange:e=>{a((0,Ao.CD)(JSON.stringify(i.filter((t=>t.url===e.target.value))[0])))},value:n?.url}),r.createElement("small",null,n?.description)),n?.variables&&Object.keys(n.variables).map((e=>void 0!==n.variables?.[e].enum?r.createElement(M,{label:e},r.createElement(F,{options:n.variables[e].enum,onChange:t=>{a((0,Ao.FA)(JSON.stringify({key:e,value:t.target.value})))},value:n?.variables[e].default})):r.createElement(M,{label:e},r.createElement(q,{placeholder:n.variables?.[e].default,onChange:t=>{a((0,Ao.FA)(JSON.stringify({key:e,value:t.target.value})))},value:n?.variables?.[e].default}))))))},No="optionsPanel_s3ok";const Bo=function(e){let{item:t}=e;const n=(0,w.i)((e=>e.response.value)),i=new(a().Request)(t.postman),o=(0,B.k)(),{proxy:s}=o.frontMatter,c={path:[],query:[],header:[],cookie:[]};return t.parameters?.forEach((e=>{const t=e.in;c[t].push(e)})),r.createElement("div",null,r.createElement("details",{className:"details__demo-panel",open:!n},r.createElement("summary",null,r.createElement("div",{className:"details__request-summary"},r.createElement("h4",null,"Request"),t.servers&&r.createElement(oo,{postman:i,proxy:s}))),r.createElement("div",{className:No},r.createElement(Io,null),r.createElement(U,null),r.createElement(So,null),r.createElement(to,{jsonRequestBodyExample:t.jsonRequestBodyExample,requestBodyMetadata:t.requestBody}),r.createElement(j,null))))};const Do=function(){const e=(0,w.i)((e=>e.response.value)),t=(0,w.z)();if(void 0===e)return null;let n=e;try{n=JSON.stringify(JSON.parse(e),null,2)}catch{e.startsWith("<")&&(n=function(e){let t="",n="";return e.split(/>\s*{e.match(/^\/\w/)&&(n=n.substring(" ".length)),t+=n+"<"+e+">\r\n",e.match(/^]*[^/]$/)&&(n+=" ")})),t.substring(1,t.length-3)}(e))}return r.createElement("details",{className:"details__demo-panel",open:!0},r.createElement("summary",null,r.createElement("div",{className:"details__response-summary"},r.createElement("h4",null,"Response"),r.createElement("button",{className:"button button--sm button--secondary",onClick:()=>t((0,no.Dz)())},"Clear"))),r.createElement(E.Z,{language:e.startsWith("<")?"xml":"json"},n||"No Response"))};var Lo=n(39960);const Mo=function(e){const t=(0,w.i)((e=>e.auth.options)),n=(0,w.i)((e=>e.auth.selected)),i=`/${e.infoPath}#authentication`;if(void 0===n)return null;const a=t[n];return r.createElement("details",{className:"details__demo-panel",open:!1},r.createElement("summary",{className:"details__request-summary"},r.createElement("h4",null,"Authorization")),a.map((e=>{const t="apiKey"===e.type,a="http"===e.type&&"Bearer"===e.key,o="oauth2"===e.type;return t||a?r.createElement(r.Fragment,{key:e.key},r.createElement("pre",{style:{display:"flex",flexDirection:"column",background:"var(--openapi-card-background-color)"}},r.createElement("span",null,"type: ",e.type),r.createElement("span",null,"name: ",r.createElement(Lo.Z,{to:i},e.name)),r.createElement("span",null,"in: ",e.in))):o?r.createElement(r.Fragment,{key:n},r.createElement("pre",{style:{display:"flex",flexDirection:"column",background:"var(--openapi-card-background-color)"}},r.createElement("span",null,"type: ",r.createElement(Lo.Z,{to:i},e.type)),Object.keys(e.flows).map((e=>r.createElement("span",{key:e},"flow: ",e))),r.createElement("span",null,"scopes: ",r.createElement("code",null,e.scopes.toString())))):void 0})))};const Ro=function(e){let{item:t,infoPath:n}=e;const i=new(a().Request)(t.postman),{path:o,method:s}=t;return r.createElement("div",null,r.createElement(N,{method:s,path:o}),r.createElement(Mo,{infoPath:n}),r.createElement(Bo,{item:t}),r.createElement(Do,null),r.createElement(A,{postman:i,codeSamples:t["x-code-samples"]??[]}))}},91130:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,q:()=>a});var r=n(81354),i=n.n(r);function a(e){function t(e){return i().SHA1(e).toString()}const n=e.map((e=>t(e)));n.sort();return t(n.join())}function o(e){return!1===e?{getItem:()=>null,setItem:()=>{},clear:()=>{},key:()=>null,removeItem:()=>{},length:0}:"sessionStorage"===e?sessionStorage:localStorage}},46261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(67294),i=n(91262),a=n(10412),o=n(10833),s=n(52263),c=n(72389),l=n(67047),u=n(91130);var p=n(9543),h=n(65130);function d(){const{metadata:e,frontMatter:t,assets:n}=(0,h.k)();return r.createElement(o.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var f=n(86010),m=n(25617),y=n(45217),g=n(77236),v=n(17937),b=n(55316),x=n(10661),_=n(44744),k=n(61575),w=n(55584);const E=(0,y.UY)({accept:v.ZP,contentType:x.ZP,response:k.ZP,server:w.ZP,body:b.ZP,params:_.ZP,auth:l.ZP}),{DocProvider:T}=n(12974);let C=e=>r.createElement("div",null);function S(e){const t=`docs-doc-id-${e.content.metadata.unversionedId}`,n=e.content,{frontMatter:a}=n,{info_path:h}=a,{api:y}=a,{siteConfig:v}=(0,s.Z)(),b=v.themeConfig.api,x=(0,c.Z)(),_=new RegExp("(20[0-9]|2[1-9][0-9])");let k={};const w=e=>t=>n=>{const r=t(n),i=e.getState(),a=(0,u.o)("sessionStorage");if(n.type===l.A3.type)for(const[e,t]of Object.entries(i.auth.data))Object.values(t).filter(Boolean).length>0?a.setItem(e,JSON.stringify(t)):a.removeItem(e);if(n.type===l.Rr.type&&i.auth.selected&&a.setItem((0,u.q)(Object.keys(i.auth.options)),i.auth.selected),"server/setServer"===n.type&&a.setItem("server",n.payload),"server/setServerVariable"===n.type){const e=a.getItem("server")??"{}",t=JSON.parse(n.payload);let r=JSON.parse(e);r.variables[t.key].default=t.value,a.setItem("server",JSON.stringify(r))}return r};var S,A;if(x||(S={},A=[w],k=(0,g.xC)({reducer:E,preloadedState:S,middleware:e=>e().concat(...A)})),x){let e=[];for(const[c,l]of Object.entries(y?.responses??[]))_.test(c)&&e.push(Object.keys(l.content??{}));e=e.flat();const t=y?.requestBody?.content??{},n=Object.keys(t),r=y?.servers??[],i={path:[],query:[],header:[],cookie:[]};y?.parameters?.forEach((e=>{const t=e.in;i[t].push(e)}));const a=(0,l.lh)({security:y?.security,securitySchemes:y?.securitySchemes,options:b}),o=window?.sessionStorage.getItem("server"),s=JSON.parse(o)??{};k=((e,t)=>(0,g.xC)({reducer:E,preloadedState:e,middleware:e=>e().concat(...t)}))({accept:{value:e[0],options:e},contentType:{value:n[0],options:n},server:{value:s.url?s:void 0,options:r},response:{value:void 0},body:{type:"empty"},params:i,auth:a},[w])}return y?r.createElement(T,{content:e.content},r.createElement(o.FG,{className:t},r.createElement(d,null),r.createElement(p.Z,null,r.createElement(m.zt,{store:k},r.createElement("div",{className:(0,f.Z)("row","theme-api-markdown")},r.createElement("div",{className:"col col--7"},r.createElement(n,null)),r.createElement("div",{className:"col col--5"},r.createElement(i.Z,{fallback:r.createElement("div",null,"Loading...")},(()=>r.createElement(C,{item:y,infoPath:h}))))))))):r.createElement(T,{content:e.content},r.createElement(o.FG,{className:t},r.createElement(d,null),r.createElement(p.Z,null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--12"},r.createElement(n,null))))))}a.Z.canUseDOM&&(C=n(32059).Z)},88533:e=>{"use strict";const t=/(?:charset|encoding)\s{0,10}=\s{0,10}['"]? {0,10}([\w\-]{1,100})/i;e.exports=function(e,n,r){let i=null,a=0;n&&(r=r||512,a=n.length>r?r:n.length);let o=e;if(o&&"string"!=typeof o){let t=e;e.headers&&(t=e.headers),o=t["content-type"]||t["Content-Type"]}o&&(i=t.exec(o));!i&&a>0&&(o=n.slice(0,a).toString(),i=t.exec(o));let s=null;i&&(s=i[1].toLowerCase(),"utf-8"===s&&(s="utf8"));return s}},40452:function(e,t,n){var r;e.exports=(r=n(78249),n(98269),n(68214),n(90888),n(75109),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],a=[],o=[],s=[],c=[],l=[],u=[],p=[],h=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var f=r^r<<1^r<<2^r<<3^r<<4;f=f>>>8^255&f^99,i[n]=f,a[f]=n;var m=e[n],y=e[m],g=e[y],v=257*e[f]^16843008*f;o[n]=v<<24|v>>>8,s[n]=v<<16|v>>>16,c[n]=v<<8|v>>>24,l[n]=v,v=16843009*g^65537*y^257*m^16843008*n,u[f]=v<<24|v>>>8,p[f]=v<<16|v>>>16,h[f]=v<<8|v>>>24,d[f]=v,n?(n=m^e[e[e[g^m]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],o=0;o6&&o%n==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=f[o/n|0]<<24),a[o]=a[o-n]^l);for(var s=this._invKeySchedule=[],c=0;c>>24]]^p[i[l>>>16&255]]^h[i[l>>>8&255]]^d[i[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,c,l,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,p,h,d,a),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,a,o,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],p=e[t+2]^n[2],h=e[t+3]^n[3],d=4,f=1;f>>24]^i[u>>>16&255]^a[p>>>8&255]^o[255&h]^n[d++],y=r[u>>>24]^i[p>>>16&255]^a[h>>>8&255]^o[255&l]^n[d++],g=r[p>>>24]^i[h>>>16&255]^a[l>>>8&255]^o[255&u]^n[d++],v=r[h>>>24]^i[l>>>16&255]^a[u>>>8&255]^o[255&p]^n[d++];l=m,u=y,p=g,h=v}m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&h])^n[d++],y=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^n[d++],g=(s[p>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[d++],v=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^n[d++],e[t]=m,e[t+1]=y,e[t+2]=g,e[t+3]=v},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},75109:function(e,t,n){var r;e.exports=(r=n(78249),n(90888),void(r.lib.Cipher||function(e){var t=r,n=t.lib,i=n.Base,a=n.WordArray,o=n.BufferedBlockAlgorithm,s=t.enc,c=(s.Utf8,s.Base64),l=t.algo.EvpKDF,u=n.Cipher=o.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:g}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),p=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),h=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=p.CBC=function(){var t=h.extend();function n(t,n,r){var i,a=this._iv;a?(i=a,this._iv=e):i=this._prevBlock;for(var o=0;o>>2];e.sigBytes-=t}},m=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:d,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?a.create([1398893684,1701076831]).concat(n).concat(t):t).toString(c)},parse:function(e){var t,n=c.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=a.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},g=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),a=i.finalize(t),o=i.cfg;return m.create({ciphertext:a,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(t.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=a.random(8));var i=l.create({keySize:t+n}).compute(e,r),o=a.create(i.words.slice(t),4*n);return i.sigBytes=4*t,m.create({key:i,iv:o,salt:r})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:v}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var a=g.encrypt.call(this,e,t,i.key,r);return a.mixIn(i),a},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=i.iv,g.decrypt.call(this,e,t,i.key,r)}})}()))},78249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(42480)}catch(y){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(y){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(y){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},s=o.lib={},c=s.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=s.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var a=0;a>>2]>>>24-a%4*8&255;t[r+a>>>2]|=o<<24-(r+a)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((a>>>4).toString(16)),r.push((15&a).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},h=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,a=r.sigBytes,o=this.blockSize,s=a/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,u=e.min(4*c,a);if(c){for(var p=0;p>>6-o%4*2;i[a>>>2]|=s<<24-a%4*8,a++}return t.create(i,a)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a>>6-o%4*2;i[a>>>2]|=s<<24-a%4*8,a++}return t.create(i,a)}e.enc.Base64url={stringify:function(e,t=!0){var n=e.words,r=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var a=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(n[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|n[o+2>>>2]>>>24-(o+2)%4*8&255,c=0;c<4&&o+.75*c>>6*(3-c)&63));var l=i.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e,t=!0){var r=e.length,i=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var o=0;o>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var n=e.length,r=[],a=0;a>>1]|=i(e.charCodeAt(a)<<16-a%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},90888:function(e,t,n){var r,i,a,o,s,c,l,u;e.exports=(u=n(78249),n(62783),n(89824),i=(r=u).lib,a=i.Base,o=i.WordArray,s=r.algo,c=s.MD5,l=s.EvpKDF=a.extend({cfg:a.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,i=r.hasher.create(),a=o.create(),s=a.words,c=r.keySize,l=r.iterations;s.lengthr&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,c=a.words,l=0;l>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)},68214:function(e,t,n){var r;e.exports=(r=n(78249),function(e){var t=r,n=t.lib,i=n.WordArray,a=n.Hasher,o=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,o=e[t+0],c=e[t+1],d=e[t+2],f=e[t+3],m=e[t+4],y=e[t+5],g=e[t+6],v=e[t+7],b=e[t+8],x=e[t+9],_=e[t+10],k=e[t+11],w=e[t+12],E=e[t+13],T=e[t+14],C=e[t+15],S=a[0],A=a[1],O=a[2],I=a[3];S=l(S,A,O,I,o,7,s[0]),I=l(I,S,A,O,c,12,s[1]),O=l(O,I,S,A,d,17,s[2]),A=l(A,O,I,S,f,22,s[3]),S=l(S,A,O,I,m,7,s[4]),I=l(I,S,A,O,y,12,s[5]),O=l(O,I,S,A,g,17,s[6]),A=l(A,O,I,S,v,22,s[7]),S=l(S,A,O,I,b,7,s[8]),I=l(I,S,A,O,x,12,s[9]),O=l(O,I,S,A,_,17,s[10]),A=l(A,O,I,S,k,22,s[11]),S=l(S,A,O,I,w,7,s[12]),I=l(I,S,A,O,E,12,s[13]),O=l(O,I,S,A,T,17,s[14]),S=u(S,A=l(A,O,I,S,C,22,s[15]),O,I,c,5,s[16]),I=u(I,S,A,O,g,9,s[17]),O=u(O,I,S,A,k,14,s[18]),A=u(A,O,I,S,o,20,s[19]),S=u(S,A,O,I,y,5,s[20]),I=u(I,S,A,O,_,9,s[21]),O=u(O,I,S,A,C,14,s[22]),A=u(A,O,I,S,m,20,s[23]),S=u(S,A,O,I,x,5,s[24]),I=u(I,S,A,O,T,9,s[25]),O=u(O,I,S,A,f,14,s[26]),A=u(A,O,I,S,b,20,s[27]),S=u(S,A,O,I,E,5,s[28]),I=u(I,S,A,O,d,9,s[29]),O=u(O,I,S,A,v,14,s[30]),S=p(S,A=u(A,O,I,S,w,20,s[31]),O,I,y,4,s[32]),I=p(I,S,A,O,b,11,s[33]),O=p(O,I,S,A,k,16,s[34]),A=p(A,O,I,S,T,23,s[35]),S=p(S,A,O,I,c,4,s[36]),I=p(I,S,A,O,m,11,s[37]),O=p(O,I,S,A,v,16,s[38]),A=p(A,O,I,S,_,23,s[39]),S=p(S,A,O,I,E,4,s[40]),I=p(I,S,A,O,o,11,s[41]),O=p(O,I,S,A,f,16,s[42]),A=p(A,O,I,S,g,23,s[43]),S=p(S,A,O,I,x,4,s[44]),I=p(I,S,A,O,w,11,s[45]),O=p(O,I,S,A,C,16,s[46]),S=h(S,A=p(A,O,I,S,d,23,s[47]),O,I,o,6,s[48]),I=h(I,S,A,O,v,10,s[49]),O=h(O,I,S,A,T,15,s[50]),A=h(A,O,I,S,y,21,s[51]),S=h(S,A,O,I,w,6,s[52]),I=h(I,S,A,O,f,10,s[53]),O=h(O,I,S,A,_,15,s[54]),A=h(A,O,I,S,c,21,s[55]),S=h(S,A,O,I,b,6,s[56]),I=h(I,S,A,O,C,10,s[57]),O=h(O,I,S,A,g,15,s[58]),A=h(A,O,I,S,E,21,s[59]),S=h(S,A,O,I,m,6,s[60]),I=h(I,S,A,O,k,10,s[61]),O=h(O,I,S,A,d,15,s[62]),A=h(A,O,I,S,x,21,s[63]),a[0]=a[0]+S|0,a[1]=a[1]+A|0,a[2]=a[2]+O|0,a[3]=a[3]+I|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var a=e.floor(r/4294967296),o=r;n[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,i,a,o){var s=e+(t&n|~t&r)+i+o;return(s<>>32-a)+t}function u(e,t,n,r,i,a,o){var s=e+(t&r|n&~r)+i+o;return(s<>>32-a)+t}function p(e,t,n,r,i,a,o){var s=e+(t^n^r)+i+o;return(s<>>32-a)+t}function h(e,t,n,r,i,a,o){var s=e+(n^(t|~r))+i+o;return(s<>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),r.MD5)},8568:function(e,t,n){var r;e.exports=(r=n(78249),n(75109),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(e,t,n,r){var i,a=this._iv;a?(i=a.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var o=0;o>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var i=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,a=this._iv,o=this._counter;a&&(o=this._counter=a.slice(0),this._iv=void 0),n(o);var s=o.slice(0);r.encryptBlock(s,0);for(var c=0;c>>2]|=i<<24-a%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},92807:function(e,t,n){var r;e.exports=(r=n(78249),n(75109),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},71077:function(e,t,n){var r;e.exports=(r=n(78249),n(75109),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},16991:function(e,t,n){var r;e.exports=(r=n(78249),n(75109),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},56475:function(e,t,n){var r;e.exports=(r=n(78249),n(75109),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},2112:function(e,t,n){var r,i,a,o,s,c,l,u,p;e.exports=(p=n(78249),n(62783),n(89824),i=(r=p).lib,a=i.Base,o=i.WordArray,s=r.algo,c=s.SHA1,l=s.HMAC,u=s.PBKDF2=a.extend({cfg:a.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=l.create(n.hasher,e),i=o.create(),a=o.create([1]),s=i.words,c=a.words,u=n.keySize,p=n.iterations;s.length>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var a=t.words,o=a[0],s=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=l>>>16|4294901760&u,h=u<<16|65535&l;for(r[0]^=l,r[1]^=p,r[2]^=u,r[3]^=h,r[4]^=l,r[5]^=p,r[6]^=u,r[7]^=h,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);o[n]=c^l}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)},84454:function(e,t,n){var r;e.exports=(r=n(78249),n(98269),n(68214),n(90888),n(75109),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],a=[],o=[],s=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var a=t.words,o=a[0],s=a[1],l=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),p=l>>>16|4294901760&u,h=u<<16|65535&l;for(i[0]^=l,i[1]^=p,i[2]^=u,i[3]^=h,i[4]^=l,i[5]^=p,i[6]^=u,i[7]^=h,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);o[n]=c^l}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)},51857:function(e,t,n){var r;e.exports=(r=n(78249),n(98269),n(68214),n(90888),n(75109),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var a=0;i<256;i++){var o=i%n,s=t[o>>>2]>>>24-o%4*8&255;a=(a+r[i]+s)%256;var c=r[i];r[i]=r[a],r[a]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var a=e[t];e[t]=e[n],e[n]=a,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}e.RC4=t._createHelper(i);var o=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});e.RC4Drop=t._createHelper(o)}(),r.RC4)},30706:function(e,t,n){var r;e.exports=(r=n(78249),function(e){var t=r,n=t.lib,i=n.WordArray,a=n.Hasher,o=t.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=o.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a,o,d,x,_,k,w,E,T,C,S,A=this._hash.words,O=p.words,I=h.words,N=s.words,B=c.words,D=l.words,L=u.words;for(k=a=A[0],w=o=A[1],E=d=A[2],T=x=A[3],C=_=A[4],n=0;n<80;n+=1)S=a+e[t+N[n]]|0,S+=n<16?f(o,d,x)+O[0]:n<32?m(o,d,x)+O[1]:n<48?y(o,d,x)+O[2]:n<64?g(o,d,x)+O[3]:v(o,d,x)+O[4],S=(S=b(S|=0,D[n]))+_|0,a=_,_=x,x=b(d,10),d=o,o=S,S=k+e[t+B[n]]|0,S+=n<16?v(w,E,T)+I[0]:n<32?g(w,E,T)+I[1]:n<48?y(w,E,T)+I[2]:n<64?m(w,E,T)+I[3]:f(w,E,T)+I[4],S=(S=b(S|=0,L[n]))+C|0,k=C,C=T,T=b(E,10),E=w,w=S;S=A[1]+d+T|0,A[1]=A[2]+x+C|0,A[2]=A[3]+_+k|0,A[3]=A[4]+a+w|0,A[4]=A[0]+o+E|0,A[0]=S},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,a=i.words,o=0;o<5;o++){var s=a[o];a[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function y(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function v(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}t.RIPEMD160=a._createHelper(d),t.HmacRIPEMD160=a._createHmacHelper(d)}(Math),r.RIPEMD160)},62783:function(e,t,n){var r,i,a,o,s,c,l,u;e.exports=(u=n(78249),i=(r=u).lib,a=i.WordArray,o=i.Hasher,s=r.algo,c=[],l=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],l=0;l<80;l++){if(l<16)c[l]=0|e[t+l];else{var u=c[l-3]^c[l-8]^c[l-14]^c[l-16];c[l]=u<<1|u>>>31}var p=(r<<5|r>>>27)+s+c[l];p+=l<20?1518500249+(i&a|~i&o):l<40?1859775393+(i^a^o):l<60?(i&a|i&o|a&o)-1894007588:(i^a^o)-899497514,s=o,o=a,a=i<<30|i>>>2,i=r,r=p}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=o._createHelper(l),r.HmacSHA1=o._createHmacHelper(l),u.SHA1)},87792:function(e,t,n){var r,i,a,o,s,c;e.exports=(c=n(78249),n(52153),i=(r=c).lib.WordArray,a=r.algo,o=a.SHA256,s=a.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=o._createHelper(s),r.HmacSHA224=o._createHmacHelper(s),c.SHA224)},52153:function(e,t,n){var r;e.exports=(r=n(78249),function(e){var t=r,n=t.lib,i=n.WordArray,a=n.Hasher,o=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),c[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],u=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],p=n[6],h=n[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var f=l[d-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,y=l[d-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[d]=m+l[d-7]+g+l[d-16]}var v=r&i^r&a^i&a,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),x=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&p)+c[d]+l[d];h=p,p=u,u=s,s=o+x|0,o=a,a=i,i=r,r=x+(b+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+p|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),r.SHA256)},13327:function(e,t,n){var r;e.exports=(r=n(78249),n(64938),function(e){var t=r,n=t.lib,i=n.WordArray,a=n.Hasher,o=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,a=0;a<24;a++){for(var s=0,p=0,h=0;h<7;h++){if(1&i){var d=(1<>>24)|4278255360&(a<<24|a>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(A=n[i]).high^=o,A.low^=a}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var d=0,f=0,m=0;m<5;m++)d^=(A=n[h+5*m]).high,f^=A.low;var y=p[h];y.high=d,y.low=f}for(h=0;h<5;h++){var g=p[(h+4)%5],v=p[(h+1)%5],b=v.high,x=v.low;for(d=g.high^(b<<1|x>>>31),f=g.low^(x<<1|b>>>31),m=0;m<5;m++)(A=n[h+5*m]).high^=d,A.low^=f}for(var _=1;_<25;_++){var k=(A=n[_]).high,w=A.low,E=c[_];E<32?(d=k<>>32-E,f=w<>>32-E):(d=w<>>64-E,f=k<>>64-E);var T=p[l[_]];T.high=d,T.low=f}var C=p[0],S=n[0];for(C.high=S.high,C.low=S.low,h=0;h<5;h++)for(m=0;m<5;m++){var A=n[_=h+5*m],O=p[_],I=p[(h+1)%5+5*m],N=p[(h+2)%5+5*m];A.high=O.high^~I.high&N.high,A.low=O.low^~I.low&N.low}A=n[0];var B=u[s];A.high^=B.high,A.low^=B.low}},_doFinalize:function(){var t=this._data,n=t.words,r=(this._nDataBytes,8*t.sigBytes),a=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/a)*a>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var o=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u>>24)|4278255360&(h<<24|h>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(h)}return new i.init(l,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=a._createHelper(h),t.HmacSHA3=a._createHmacHelper(h)}(Math),r.SHA3)},17460:function(e,t,n){var r,i,a,o,s,c,l,u;e.exports=(u=n(78249),n(64938),n(70034),i=(r=u).x64,a=i.Word,o=i.WordArray,s=r.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=c._createHelper(l),r.HmacSHA384=c._createHmacHelper(l),u.SHA384)},70034:function(e,t,n){var r;e.exports=(r=n(78249),n(64938),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,a=n.WordArray,o=e.algo;function s(){return i.create.apply(i,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=o.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],u=n[5],p=n[6],h=n[7],d=r.high,f=r.low,m=i.high,y=i.low,g=a.high,v=a.low,b=o.high,x=o.low,_=s.high,k=s.low,w=u.high,E=u.low,T=p.high,C=p.low,S=h.high,A=h.low,O=d,I=f,N=m,B=y,D=g,L=v,M=b,R=x,F=_,P=k,j=w,$=E,q=T,z=C,U=S,H=A,Y=0;Y<80;Y++){var W,V,G=l[Y];if(Y<16)V=G.high=0|e[t+2*Y],W=G.low=0|e[t+2*Y+1];else{var X=l[Y-15],Z=X.high,K=X.low,J=(Z>>>1|K<<31)^(Z>>>8|K<<24)^Z>>>7,Q=(K>>>1|Z<<31)^(K>>>8|Z<<24)^(K>>>7|Z<<25),ee=l[Y-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ae=l[Y-7],oe=ae.high,se=ae.low,ce=l[Y-16],le=ce.high,ue=ce.low;V=(V=(V=J+oe+((W=Q+se)>>>0>>0?1:0))+re+((W+=ie)>>>0>>0?1:0))+le+((W+=ue)>>>0>>0?1:0),G.high=V,G.low=W}var pe,he=F&j^~F&q,de=P&$^~P&z,fe=O&N^O&D^N&D,me=I&B^I&L^B&L,ye=(O>>>28|I<<4)^(O<<30|I>>>2)^(O<<25|I>>>7),ge=(I>>>28|O<<4)^(I<<30|O>>>2)^(I<<25|O>>>7),ve=(F>>>14|P<<18)^(F>>>18|P<<14)^(F<<23|P>>>9),be=(P>>>14|F<<18)^(P>>>18|F<<14)^(P<<23|F>>>9),xe=c[Y],_e=xe.high,ke=xe.low,we=U+ve+((pe=H+be)>>>0>>0?1:0),Ee=ge+me;U=q,H=z,q=j,z=$,j=F,$=P,F=M+(we=(we=(we=we+he+((pe+=de)>>>0>>0?1:0))+_e+((pe+=ke)>>>0>>0?1:0))+V+((pe+=W)>>>0>>0?1:0))+((P=R+pe|0)>>>0>>0?1:0)|0,M=D,R=L,D=N,L=B,N=O,B=I,O=we+(ye+fe+(Ee>>>0>>0?1:0))+((I=pe+Ee|0)>>>0>>0?1:0)|0}f=r.low=f+I,r.high=d+O+(f>>>0>>0?1:0),y=i.low=y+B,i.high=m+N+(y>>>0>>0?1:0),v=a.low=v+L,a.high=g+D+(v>>>0>>0?1:0),x=o.low=x+R,o.high=b+M+(x>>>0>>0?1:0),k=s.low=k+P,s.high=_+F+(k>>>0

>>0?1:0),E=u.low=E+$,u.high=w+j+(E>>>0<$>>>0?1:0),C=p.low=C+z,p.high=T+q+(C>>>0>>0?1:0),A=h.low=A+H,h.high=S+U+(A>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},94253:function(e,t,n){var r;e.exports=(r=n(78249),n(98269),n(68214),n(90888),n(75109),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,a=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=a.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=o[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],a=0;a<16;a++){var l=i[a]=[],u=c[a];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var p=this._invSubKeys=[];for(n=0;n<16;n++)p[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),h.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],a=this._lBlock,o=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((o^i[c])&u[c])>>>0];this._lBlock=o,this._rBlock=a^s}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,h.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(n.create(t)),this._des2=p.createEncryptor(n.create(r)),this._des3=p.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(f)}(),r.TripleDES)},64938:function(e,t,n){var r;e.exports=(r=n(78249),function(e){var t=r,n=t.lib,i=n.Base,a=n.WordArray,o=t.x64={};o.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=i.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r{var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},97769:e=>{"use strict";e.exports=function(e){return e&&e.length>1?255===e[0]&&216===e[1]&&255===e[2]?{ext:"jpg",mime:"image/jpeg"}:137===e[0]&&80===e[1]&&78===e[2]&&71===e[3]?{ext:"png",mime:"image/png"}:71===e[0]&&73===e[1]&&70===e[2]?{ext:"gif",mime:"image/gif"}:87===e[8]&&69===e[9]&&66===e[10]&&80===e[11]?{ext:"webp",mime:"image/webp"}:70===e[0]&&76===e[1]&&73===e[2]&&70===e[3]?{ext:"flif",mime:"image/flif"}:(73===e[0]&&73===e[1]&&42===e[2]&&0===e[3]||77===e[0]&&77===e[1]&&0===e[2]&&42===e[3])&&67===e[8]&&82===e[9]?{ext:"cr2",mime:"image/x-canon-cr2"}:73===e[0]&&73===e[1]&&42===e[2]&&0===e[3]||77===e[0]&&77===e[1]&&0===e[2]&&42===e[3]?{ext:"tif",mime:"image/tiff"}:66===e[0]&&77===e[1]?{ext:"bmp",mime:"image/bmp"}:73===e[0]&&73===e[1]&&188===e[2]?{ext:"jxr",mime:"image/vnd.ms-photo"}:56===e[0]&&66===e[1]&&80===e[2]&&83===e[3]?{ext:"psd",mime:"image/vnd.adobe.photoshop"}:80===e[0]&&75===e[1]&&3===e[2]&&4===e[3]&&109===e[30]&&105===e[31]&&109===e[32]&&101===e[33]&&116===e[34]&&121===e[35]&&112===e[36]&&101===e[37]&&97===e[38]&&112===e[39]&&112===e[40]&&108===e[41]&&105===e[42]&&99===e[43]&&97===e[44]&&116===e[45]&&105===e[46]&&111===e[47]&&110===e[48]&&47===e[49]&&101===e[50]&&112===e[51]&&117===e[52]&&98===e[53]&&43===e[54]&&122===e[55]&&105===e[56]&&112===e[57]?{ext:"epub",mime:"application/epub+zip"}:80===e[0]&&75===e[1]&&3===e[2]&&4===e[3]&&77===e[30]&&69===e[31]&&84===e[32]&&65===e[33]&&45===e[34]&&73===e[35]&&78===e[36]&&70===e[37]&&47===e[38]&&109===e[39]&&111===e[40]&&122===e[41]&&105===e[42]&&108===e[43]&&108===e[44]&&97===e[45]&&46===e[46]&&114===e[47]&&115===e[48]&&97===e[49]?{ext:"xpi",mime:"application/x-xpinstall"}:80!==e[0]||75!==e[1]||3!==e[2]&&5!==e[2]&&7!==e[2]||4!==e[3]&&6!==e[3]&&8!==e[3]?117===e[257]&&115===e[258]&&116===e[259]&&97===e[260]&&114===e[261]?{ext:"tar",mime:"application/x-tar"}:82!==e[0]||97!==e[1]||114!==e[2]||33!==e[3]||26!==e[4]||7!==e[5]||0!==e[6]&&1!==e[6]?31===e[0]&&139===e[1]&&8===e[2]?{ext:"gz",mime:"application/gzip"}:66===e[0]&&90===e[1]&&104===e[2]?{ext:"bz2",mime:"application/x-bzip2"}:55===e[0]&&122===e[1]&&188===e[2]&&175===e[3]&&39===e[4]&&28===e[5]?{ext:"7z",mime:"application/x-7z-compressed"}:120===e[0]&&1===e[1]?{ext:"dmg",mime:"application/x-apple-diskimage"}:0===e[0]&&0===e[1]&&0===e[2]&&(24===e[3]||32===e[3])&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]||51===e[0]&&103===e[1]&&112===e[2]&&53===e[3]||0===e[0]&&0===e[1]&&0===e[2]&&28===e[3]&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]&&109===e[8]&&112===e[9]&&52===e[10]&&50===e[11]&&109===e[16]&&112===e[17]&&52===e[18]&&49===e[19]&&109===e[20]&&112===e[21]&&52===e[22]&&50===e[23]&&105===e[24]&&115===e[25]&&111===e[26]&&109===e[27]||0===e[0]&&0===e[1]&&0===e[2]&&28===e[3]&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]&&105===e[8]&&115===e[9]&&111===e[10]&&109===e[11]||0===e[0]&&0===e[1]&&0===e[2]&&28===e[3]&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]&&109===e[8]&&112===e[9]&&52===e[10]&&50===e[11]&&0===e[12]&&0===e[13]&&0===e[14]&&0===e[15]?{ext:"mp4",mime:"video/mp4"}:0===e[0]&&0===e[1]&&0===e[2]&&28===e[3]&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]&&77===e[8]&&52===e[9]&&86===e[10]?{ext:"m4v",mime:"video/x-m4v"}:77===e[0]&&84===e[1]&&104===e[2]&&100===e[3]?{ext:"mid",mime:"audio/midi"}:109===e[31]&&97===e[32]&&116===e[33]&&114===e[34]&&111===e[35]&&115===e[36]&&107===e[37]&&97===e[38]?{ext:"mkv",mime:"video/x-matroska"}:26===e[0]&&69===e[1]&&223===e[2]&&163===e[3]?{ext:"webm",mime:"video/webm"}:0===e[0]&&0===e[1]&&0===e[2]&&20===e[3]&&102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]?{ext:"mov",mime:"video/quicktime"}:82===e[0]&&73===e[1]&&70===e[2]&&70===e[3]&&65===e[8]&&86===e[9]&&73===e[10]?{ext:"avi",mime:"video/x-msvideo"}:48===e[0]&&38===e[1]&&178===e[2]&&117===e[3]&&142===e[4]&&102===e[5]&&207===e[6]&&17===e[7]&&166===e[8]&&217===e[9]?{ext:"wmv",mime:"video/x-ms-wmv"}:0===e[0]&&0===e[1]&&1===e[2]&&"b"===e[3].toString(16)[0]?{ext:"mpg",mime:"video/mpeg"}:73===e[0]&&68===e[1]&&51===e[2]||255===e[0]&&251===e[1]?{ext:"mp3",mime:"audio/mpeg"}:102===e[4]&&116===e[5]&&121===e[6]&&112===e[7]&&77===e[8]&&52===e[9]&&65===e[10]||77===e[0]&&52===e[1]&&65===e[2]&&32===e[3]?{ext:"m4a",mime:"audio/m4a"}:79===e[28]&&112===e[29]&&117===e[30]&&115===e[31]&&72===e[32]&&101===e[33]&&97===e[34]&&100===e[35]?{ext:"opus",mime:"audio/opus"}:79===e[0]&&103===e[1]&&103===e[2]&&83===e[3]?{ext:"ogg",mime:"audio/ogg"}:102===e[0]&&76===e[1]&&97===e[2]&&67===e[3]?{ext:"flac",mime:"audio/x-flac"}:82===e[0]&&73===e[1]&&70===e[2]&&70===e[3]&&87===e[8]&&65===e[9]&&86===e[10]&&69===e[11]?{ext:"wav",mime:"audio/x-wav"}:35===e[0]&&33===e[1]&&65===e[2]&&77===e[3]&&82===e[4]&&10===e[5]?{ext:"amr",mime:"audio/amr"}:37===e[0]&&80===e[1]&&68===e[2]&&70===e[3]?{ext:"pdf",mime:"application/pdf"}:77===e[0]&&90===e[1]?{ext:"exe",mime:"application/x-msdownload"}:67!==e[0]&&70!==e[0]||87!==e[1]||83!==e[2]?123===e[0]&&92===e[1]&&114===e[2]&&116===e[3]&&102===e[4]?{ext:"rtf",mime:"application/rtf"}:119===e[0]&&79===e[1]&&70===e[2]&&70===e[3]&&(0===e[4]&&1===e[5]&&0===e[6]&&0===e[7]||79===e[4]&&84===e[5]&&84===e[6]&&79===e[7])?{ext:"woff",mime:"application/font-woff"}:119===e[0]&&79===e[1]&&70===e[2]&&50===e[3]&&(0===e[4]&&1===e[5]&&0===e[6]&&0===e[7]||79===e[4]&&84===e[5]&&84===e[6]&&79===e[7])?{ext:"woff2",mime:"application/font-woff"}:76===e[34]&&80===e[35]&&(0===e[8]&&0===e[9]&&1===e[10]||1===e[8]&&0===e[9]&&2===e[10]||2===e[8]&&0===e[9]&&2===e[10])?{ext:"eot",mime:"application/octet-stream"}:0===e[0]&&1===e[1]&&0===e[2]&&0===e[3]&&0===e[4]?{ext:"ttf",mime:"application/font-sfnt"}:79===e[0]&&84===e[1]&&84===e[2]&&79===e[3]&&0===e[4]?{ext:"otf",mime:"application/font-sfnt"}:0===e[0]&&0===e[1]&&1===e[2]&&0===e[3]?{ext:"ico",mime:"image/x-icon"}:70===e[0]&&76===e[1]&&86===e[2]&&1===e[3]?{ext:"flv",mime:"video/x-flv"}:37===e[0]&&33===e[1]?{ext:"ps",mime:"application/postscript"}:253===e[0]&&55===e[1]&&122===e[2]&&88===e[3]&&90===e[4]&&0===e[5]?{ext:"xz",mime:"application/x-xz"}:83===e[0]&&81===e[1]&&76===e[2]&&105===e[3]?{ext:"sqlite",mime:"application/x-sqlite3"}:78===e[0]&&69===e[1]&&83===e[2]&&26===e[3]?{ext:"nes",mime:"application/x-nintendo-nes-rom"}:67===e[0]&&114===e[1]&&50===e[2]&&52===e[3]?{ext:"crx",mime:"application/x-google-chrome-extension"}:77===e[0]&&83===e[1]&&67===e[2]&&70===e[3]||73===e[0]&&83===e[1]&&99===e[2]&&40===e[3]?{ext:"cab",mime:"application/vnd.ms-cab-compressed"}:33===e[0]&&60===e[1]&&97===e[2]&&114===e[3]&&99===e[4]&&104===e[5]&&62===e[6]&&10===e[7]&&100===e[8]&&101===e[9]&&98===e[10]&&105===e[11]&&97===e[12]&&110===e[13]&&45===e[14]&&98===e[15]&&105===e[16]&&110===e[17]&&97===e[18]&&114===e[19]&&121===e[20]?{ext:"deb",mime:"application/x-deb"}:33===e[0]&&60===e[1]&&97===e[2]&&114===e[3]&&99===e[4]&&104===e[5]&&62===e[6]?{ext:"ar",mime:"application/x-unix-archive"}:237===e[0]&&171===e[1]&&238===e[2]&&219===e[3]?{ext:"rpm",mime:"application/x-rpm"}:31===e[0]&&160===e[1]||31===e[0]&&157===e[1]?{ext:"Z",mime:"application/x-compress"}:76===e[0]&&90===e[1]&&73===e[2]&&80===e[3]?{ext:"lz",mime:"application/x-lzip"}:208===e[0]&&207===e[1]&&17===e[2]&&224===e[3]&&161===e[4]&&177===e[5]&&26===e[6]&&225===e[7]?{ext:"msi",mime:"application/x-msi"}:null:{ext:"swf",mime:"application/x-shockwave-flash"}:{ext:"rar",mime:"application/x-rar-compressed"}:{ext:"zip",mime:"application/zip"}:null}},62693:(e,t,n)=>{var r=n(54956);e.exports={lookup:function(e){return r[e]||{}}}},18589:(e,t)=>{"use strict";var n="\n",r=function(){function e(e){this.string=e;for(var t=[0],r=0;rthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;return{line:t,column:e-n[t]}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}()},10800:(e,t,n)=>{e.exports=n(79214)},14150:e=>{var t={code:{FEFF:65279,BBBF:48063,FE:254,FF:255,EF:239,BB:187,BF:191},indexOfBOM:function(e){return"string"!=typeof e?0:e.charCodeAt(0)===t.code.FEFF||e.charCodeAt(0)===t.code.BBBF?1:e.charCodeAt(0)===t.code.FE&&e.charCodeAt(1)===t.code.FF||e.charCodeAt(0)===t.code.FF&&e.charCodeAt(1)===t.code.FE?2:e.charCodeAt(0)===t.code.EF&&e.charCodeAt(1)===t.code.BB&&e.charCodeAt(2)===t.code.BF?3:0},trim:function(e){var n=t.indexOfBOM(e);return n?e.slice(n):e}};e.exports=t},79214:(e,t,n)=>{var r,i=n(12179),a=n(14150),o="JSONError";r=function(e,t,n){var r=a.indexOfBOM(e);if(r){if(n)throw SyntaxError("Unexpected byte order mark found in first "+r+" character(s)");e=e.slice(r)}try{return JSON.parse(e,t)}catch(o){throw i.parse(e,{mode:"json",reviver:t}),o}},e.exports={parse:function(e,t,n){"boolean"==typeof t&&null===n&&(n=t,t=null);try{return r(e,t,n)}catch(i){throw i.name=o,i}},stringify:function(){try{return JSON.stringify.apply(JSON,arguments)}catch(e){throw e.name=o,e}}}},12179:(e,t,n)=>{var r=n(72602);function i(e){return e>="0"&&e<="9"||e>="A"&&e<="F"||e>="a"&&e<="f"}function a(e){return e>="0"&&e<="7"}function o(e){return e>="0"&&e<="9"}var s={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v","/":"/"};function c(e,t){var n,c=!("json"===t.mode||t.legacy),l=c?r.isLineTerminator:r.isLineTerminatorJSON,u=c?r.isWhiteSpace:r.isWhiteSpaceJSON,p=e.length,h=0,d=0,f=0,m=[],y=function(){},g=function(e){return e};function v(t){var n=f-d;if(!t)if(f=c&&(u+="^");break}if(l+=h,n===c?u+="^":n>c&&(u+="\t"===e[c]?"\t":" "),l.length>78)break}return s+"\n"+l+"\n"+u}(e,t,f,h,n,c));throw a.row=h+1,a.column=n+1,a}function b(t){"\r"===t&&"\n"===e[f]&&f++,d=f,h++}function x(){for(;f=p||t[i]!=e[f])&&(f=n-1,v()),f++}function T(){for(var n=t.null_prototype?Object.create(null):{},r={},i=!1;f="1"&&n<="9"){for(;f=p&&v(),r=e[f++],s[r]&&(c||"v"!=r&&"'"!=r))n+=s[r];else if(c&&l(r))b(r);else if("u"===r||"x"===r&&c){for(var o="u"===r?4:2,u=0;u=p&&v(),i(e[f])||v("Bad escape sequence"),f++;n+=String.fromCharCode(parseInt(e.substr(f-o,o),16))}else if(c&&a(r)){if(r<"4"&&a(e[f])&&a(e[f+1]))var h=3;else if(a(e[f]))h=2;else h=1;f+=h-1,n+=String.fromCharCode(parseInt(e.substr(f-h,h),8))}else c?n+=r:(f--,v());else l(r)?v():(!c&&r.charCodeAt(0)<32&&(f--,v("Unexpected control character")),n+=r)}v()}t._tokenize&&(n=null,y=function(){if(null!==n)throw Error("internal error, token overlap");n=f},g=function(r,i){if(n!=f){var a={raw:e.substr(n,f-n),type:i,stack:m.slice(0)};void 0!==r&&(a.value=r),t._tokenize.call(null,a)}return n=null,r}),k();var I=x();if(void 0!==I||f=p)return"function"==typeof t.reviver&&(I=t.reviver.call(null,"",I)),I;v()}else v(f?"No data, only a whitespace":"No data, empty input")}e.exports.parse=function(e,t){if("function"==typeof t&&(t={reviver:t}),void 0!==e){"string"!=typeof e&&(e=String(e)),null==t&&(t={}),null==t.reserved_keys&&(t.reserved_keys="ignore"),"throw"!==t.reserved_keys&&"ignore"!==t.reserved_keys||null==t.null_prototype&&(t.null_prototype=!0);try{return c(e,t)}catch(r){if(r instanceof SyntaxError&&null!=r.row&&null!=r.column){var n=r;(r=SyntaxError(n.message)).column=n.column,r.row=n.row}throw r}}},e.exports.tokenize=function(t,n){null==n&&(n={}),n._tokenize=function(e){n._addstack&&e.stack.unshift.apply(e.stack,n._addstack),r.push(e)};var r=[];return r.data=e.exports.parse(t,n),r}},72602:e=>{var t=e.exports;e.exports.isWhiteSpace=function(e){return" "===e||"\xa0"===e||"\ufeff"===e||e>="\t"&&e<="\r"||"\u1680"===e||"\u180e"===e||e>="\u2000"&&e<="\u200a"||"\u2028"===e||"\u2029"===e||"\u202f"===e||"\u205f"===e||"\u3000"===e},e.exports.isWhiteSpaceJSON=function(e){return" "===e||"\t"===e||"\n"===e||"\r"===e},e.exports.isLineTerminator=function(e){return"\n"===e||"\r"===e||"\u2028"===e||"\u2029"===e},e.exports.isLineTerminatorJSON=function(e){return"\n"===e||"\r"===e},e.exports.isIdentifierStart=function(e){return"$"===e||"_"===e||e>="A"&&e<="Z"||e>="a"&&e<="z"||e>="\x80"&&t.NonAsciiIdentifierStart.test(e)},e.exports.isIdentifierPart=function(e){return"$"===e||"_"===e||e>="A"&&e<="Z"||e>="a"&&e<="z"||e>="0"&&e<="9"||e>="\x80"&&t.NonAsciiIdentifierPart.test(e)},e.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,e.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},77412:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{var r=n(89465),i=n(77813),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];a.call(e,t)&&i(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},44037:(e,t,n)=>{var r=n(98363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},63886:(e,t,n)=>{var r=n(98363),i=n(23360);e.exports=function(e,t){return e&&r(t,i(t),e)}},85990:(e,t,n)=>{var r=n(46384),i=n(77412),a=n(34865),o=n(44037),s=n(63886),c=n(64626),l=n(278),u=n(18805),p=n(1911),h=n(58234),d=n(46904),f=n(64160),m=n(43824),y=n(29148),g=n(38517),v=n(1469),b=n(44144),x=n(56688),_=n(13218),k=n(72928),w=n(3674),E=n(23360),T="[object Arguments]",C="[object Function]",S="[object Object]",A={};A[T]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[S]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[C]=A["[object WeakMap]"]=!1,e.exports=function e(t,n,O,I,N,B){var D,L=1&n,M=2&n,R=4&n;if(O&&(D=N?O(t,I,N,B):O(t)),void 0!==D)return D;if(!_(t))return t;var F=v(t);if(F){if(D=m(t),!L)return l(t,D)}else{var P=f(t),j=P==C||"[object GeneratorFunction]"==P;if(b(t))return c(t,L);if(P==S||P==T||j&&!N){if(D=M||j?{}:g(t),!L)return M?p(t,s(D,t)):u(t,o(D,t))}else{if(!A[P])return N?t:{};D=y(t,P,L)}}B||(B=new r);var $=B.get(t);if($)return $;B.set(t,D),k(t)?t.forEach((function(r){D.add(e(r,n,O,r,t,B))})):x(t)&&t.forEach((function(r,i){D.set(i,e(r,n,O,i,t,B))}));var q=F?void 0:(R?M?d:h:M?E:w)(t);return i(q||t,(function(r,i){q&&(r=t[i=r]),a(D,i,e(r,n,O,i,t,B))})),D}},3118:(e,t,n)=>{var r=n(13218),i=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},25588:(e,t,n)=>{var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},29221:(e,t,n)=>{var r=n(64160),i=n(37005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},10313:(e,t,n)=>{var r=n(13218),i=n(25726),a=n(33498),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&o.call(e,s))&&n.push(s);return n}},74318:(e,t,n)=>{var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:(e,t,n)=>{e=n.nmd(e);var r=n(55639),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:(e,t,n)=>{var r=n(62705),i=r?r.prototype:void 0,a=i?i.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},77133:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(34865),i=n(89465);e.exports=function(e,t,n,a){var o=!n;n||(n={});for(var s=-1,c=t.length;++s{var r=n(98363),i=n(99551);e.exports=function(e,t){return r(e,i(e),t)}},1911:(e,t,n)=>{var r=n(98363),i=n(51442);e.exports=function(e,t){return r(e,i(e),t)}},46904:(e,t,n)=>{var r=n(68866),i=n(51442),a=n(23360);e.exports=function(e){return r(e,a,i)}},85924:(e,t,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},51442:(e,t,n)=>{var r=n(62488),i=n(85924),a=n(99551),o=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=i(e);return t}:o;e.exports=s},43824:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:(e,t,n)=>{var r=n(74318),i=n(57157),a=n(93147),o=n(40419),s=n(77133);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Symbol]":return o(e)}}},38517:(e,t,n)=>{var r=n(3118),i=n(85924),a=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(i(e))}},33498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},50361:(e,t,n)=>{var r=n(85990);e.exports=function(e){return r(e,5)}},56688:(e,t,n)=>{var r=n(25588),i=n(7518),a=n(31167),o=a&&a.isMap,s=o?i(o):r;e.exports=s},72928:(e,t,n)=>{var r=n(29221),i=n(7518),a=n(31167),o=a&&a.isSet,s=o?i(o):r;e.exports=s},23360:(e,t,n)=>{var r=n(14636),i=n(10313),a=n(98612);e.exports=function(e){return a(e)?r(e,!0):i(e)}},96486:function(e,t,n){var r;e=n.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,p=128,h=256,d=1/0,f=9007199254740991,m=NaN,y=4294967295,g=[["ary",p],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",h]],v="[object Arguments]",b="[object Array]",x="[object Boolean]",_="[object Date]",k="[object Error]",w="[object Function]",E="[object GeneratorFunction]",T="[object Map]",C="[object Number]",S="[object Object]",A="[object Promise]",O="[object RegExp]",I="[object Set]",N="[object String]",B="[object Symbol]",D="[object WeakMap]",L="[object ArrayBuffer]",M="[object DataView]",R="[object Float32Array]",F="[object Float64Array]",P="[object Int8Array]",j="[object Int16Array]",$="[object Int32Array]",q="[object Uint8Array]",z="[object Uint8ClampedArray]",U="[object Uint16Array]",H="[object Uint32Array]",Y=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Z=RegExp(G.source),K=RegExp(X.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,xe=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Te="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ie="['\u2019]",Ne="[\\ud800-\\udfff]",Be="["+Oe+"]",De="["+Ee+"]",Le="\\d+",Me="[\\u2700-\\u27bf]",Re="["+Ce+"]",Fe="[^\\ud800-\\udfff"+Oe+Le+Te+Ce+Se+"]",Pe="\\ud83c[\\udffb-\\udfff]",je="[^\\ud800-\\udfff]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Se+"]",Ue="(?:"+Re+"|"+Fe+")",He="(?:"+ze+"|"+Fe+")",Ye="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",We="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ve="(?:"+De+"|"+Pe+")"+"?",Ge="[\\ufe0e\\ufe0f]?",Xe=Ge+Ve+("(?:\\u200d(?:"+[je,$e,qe].join("|")+")"+Ge+Ve+")*"),Ze="(?:"+[Me,$e,qe].join("|")+")"+Xe,Ke="(?:"+[je+De+"?",De,$e,qe,Ne].join("|")+")",Je=RegExp(Ie,"g"),Qe=RegExp(De,"g"),et=RegExp(Pe+"(?="+Pe+")|"+Ke+Xe,"g"),tt=RegExp([ze+"?"+Re+"+"+Ye+"(?="+[Be,ze,"$"].join("|")+")",He+"+"+We+"(?="+[Be,ze+Ue,"$"].join("|")+")",ze+"?"+Ue+"+"+Ye,ze+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Ze].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Ee+Ae+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ot={};ot[R]=ot[F]=ot[P]=ot[j]=ot[$]=ot[q]=ot[z]=ot[U]=ot[H]=!0,ot[v]=ot[b]=ot[L]=ot[x]=ot[M]=ot[_]=ot[k]=ot[w]=ot[T]=ot[C]=ot[S]=ot[O]=ot[I]=ot[N]=ot[D]=!1;var st={};st[v]=st[b]=st[L]=st[M]=st[x]=st[_]=st[R]=st[F]=st[P]=st[j]=st[$]=st[T]=st[C]=st[S]=st[O]=st[I]=st[N]=st[B]=st[q]=st[z]=st[U]=st[H]=!0,st[k]=st[w]=st[D]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ut=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,dt=pt||ht||Function("return this")(),ft=t&&!t.nodeType&&t,mt=ft&&e&&!e.nodeType&&e,yt=mt&&mt.exports===ft,gt=yt&&pt.process,vt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(t){}}(),bt=vt&&vt.isArrayBuffer,xt=vt&&vt.isDate,_t=vt&&vt.isMap,kt=vt&&vt.isRegExp,wt=vt&&vt.isSet,Et=vt&&vt.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i-1}function Bt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function tn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=Wt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Wt({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(e){return"\\"+ct[e]}function sn(e){return nt.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,r=e.length,i=0,a=[];++n",""":'"',"'":"'"});var gn=function e(t){var n,r=(t=null==t?dt:gn.defaults(dt.Object(),t,gn.pick(dt,it))).Array,se=t.Date,Ee=t.Error,Te=t.Function,Ce=t.Math,Se=t.Object,Ae=t.RegExp,Oe=t.String,Ie=t.TypeError,Ne=r.prototype,Be=Te.prototype,De=Se.prototype,Le=t["__core-js_shared__"],Me=Be.toString,Re=De.hasOwnProperty,Fe=0,Pe=(n=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=De.toString,$e=Me.call(Se),qe=dt._,ze=Ae("^"+Me.call(Re).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=yt?t.Buffer:i,He=t.Symbol,Ye=t.Uint8Array,We=Ue?Ue.allocUnsafe:i,Ve=ln(Se.getPrototypeOf,Se),Ge=Se.create,Xe=De.propertyIsEnumerable,Ze=Ne.splice,Ke=He?He.isConcatSpreadable:i,et=He?He.iterator:i,nt=He?He.toStringTag:i,ct=function(){try{var e=da(Se,"defineProperty");return e({},"",{}),e}catch(t){}}(),pt=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,ht=se&&se.now!==dt.Date.now&&se.now,ft=t.setTimeout!==dt.setTimeout&&t.setTimeout,mt=Ce.ceil,gt=Ce.floor,vt=Se.getOwnPropertySymbols,Pt=Ue?Ue.isBuffer:i,Wt=t.isFinite,vn=Ne.join,bn=ln(Se.keys,Se),xn=Ce.max,_n=Ce.min,kn=se.now,wn=t.parseInt,En=Ce.random,Tn=Ne.reverse,Cn=da(t,"DataView"),Sn=da(t,"Map"),An=da(t,"Promise"),On=da(t,"Set"),In=da(t,"WeakMap"),Nn=da(Se,"create"),Bn=In&&new In,Dn={},Ln=$a(Cn),Mn=$a(Sn),Rn=$a(An),Fn=$a(On),Pn=$a(In),jn=He?He.prototype:i,$n=jn?jn.valueOf:i,qn=jn?jn.toString:i;function zn(e){if(is(e)&&!Vo(e)&&!(e instanceof Wn)){if(e instanceof Yn)return e;if(Re.call(e,"__wrapped__"))return qa(e)}return new Yn(e)}var Un=function(){function e(){}return function(t){if(!rs(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Hn(){}function Yn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ur(e,t,n,r,a,o){var s,c=1&t,l=2&t,u=4&t;if(n&&(s=a?n(e,r,a,o):n(e)),s!==i)return s;if(!rs(e))return e;var p=Vo(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Ni(e,s)}else{var h=ya(e),d=h==w||h==E;if(Ko(e))return Ti(e,c);if(h==S||h==v||d&&!a){if(s=l||d?{}:va(e),!c)return l?function(e,t){return Bi(e,ma(e),t)}(e,function(e,t){return e&&Bi(t,Ms(t),e)}(s,e)):function(e,t){return Bi(e,fa(e),t)}(e,or(s,e))}else{if(!st[h])return a?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case L:return Ci(e);case x:case _:return new r(+e);case M:return function(e,t){var n=t?Ci(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case R:case F:case P:case j:case $:case q:case z:case U:case H:return Si(e,n);case T:return new r;case C:case N:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new r;case B:return i=e,$n?Se($n.call(i)):{}}var i}(e,h,c)}}o||(o=new Kn);var f=o.get(e);if(f)return f;o.set(e,s),ls(e)?e.forEach((function(r){s.add(ur(r,t,n,r,e,o))})):as(e)&&e.forEach((function(r,i){s.set(i,ur(r,t,n,i,e,o))}));var m=p?i:(u?l?oa:aa:l?Ms:Ls)(e);return St(m||e,(function(r,i){m&&(r=e[i=r]),rr(s,i,ur(r,t,n,i,e,o))})),s}function pr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var a=n[r],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function hr(e,t,n){if("function"!=typeof e)throw new Ie(a);return Da((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,a=Nt,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Dt(t,Kt(n))),r?(a=Bt,o=!1):t.length>=200&&(a=Qt,o=!1,t=new Zn(t));e:for(;++i-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Sn||Gn),string:new Vn}},Xn.prototype.delete=function(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t},Xn.prototype.get=function(e){return pa(this,e).get(e)},Xn.prototype.has=function(e){return pa(this,e).has(e)},Xn.prototype.set=function(e,t){var n=pa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Zn.prototype.add=Zn.prototype.push=function(e){return this.__data__.set(e,o),this},Zn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(e,t),this.size=n.size,this};var fr=Mi(kr),mr=Mi(wr,!0);function yr(e,t){var n=!0;return fr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function gr(e,t,n){for(var r=-1,a=e.length;++r0&&n(s)?t>1?br(s,t-1,n,r,i):Lt(i,s):r||(i[i.length]=s)}return i}var xr=Ri(),_r=Ri(!0);function kr(e,t){return e&&xr(e,t,Ls)}function wr(e,t){return e&&_r(e,t,Ls)}function Er(e,t){return It(t,(function(t){return es(e[t])}))}function Tr(e,t){for(var n=0,r=(t=_i(t,e)).length;null!=e&&nt}function Or(e,t){return null!=e&&Re.call(e,t)}function Ir(e,t){return null!=e&&t in Se(e)}function Nr(e,t,n){for(var a=n?Bt:Nt,o=e[0].length,s=e.length,c=s,l=r(s),u=1/0,p=[];c--;){var h=e[c];c&&t&&(h=Dt(h,Kt(t))),u=_n(h.length,u),l[c]=!n&&(t||o>=120&&h.length>=120)?new Zn(c&&h):i}h=e[0];var d=-1,f=l[0];e:for(;++d=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Vr(e,t,n){for(var r=-1,i=t.length,a={};++r-1;)s!==e&&Ze.call(s,c,1),Ze.call(e,c,1);return e}function Xr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;xa(i)?Ze.call(e,i,1):di(e,i)}}return e}function Zr(e,t){return e+gt(En()*(t-e+1))}function Kr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return La(Aa(e,t,oc),e+"")}function Qr(e){return Qn(Us(e))}function ei(e,t){var n=Us(e);return Fa(n,lr(t,0,n.length))}function ti(e,t,n,r){if(!rs(e))return e;for(var a=-1,o=(t=_i(t,e)).length,s=o-1,c=e;null!=c&&++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=r(a);++i>>1,o=e[a];null!==o&&!ps(o)&&(n?o<=t:o=200){var l=t?null:Ki(e);if(l)return pn(l);o=!1,i=Qt,c=new Zn}else c=t?[]:s;e:for(;++r=r?e:ai(e,t,n)}var Ei=pt||function(e){return dt.clearTimeout(e)};function Ti(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function Ci(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function Si(e,t){var n=t?Ci(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var n=e!==i,r=null===e,a=e==e,o=ps(e),s=t!==i,c=null===t,l=t==t,u=ps(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!a)return 1;if(!r&&!o&&!u&&e1?n[a-1]:i,s=a>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&_a(n[0],n[1],s)&&(o=a<3?i:o,a=1),t=Se(t);++r-1?a[o?t[s]:s]:i}}function qi(e){return ia((function(t){var n=t.length,r=n,o=Yn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ie(a);if(o&&!c&&"wrapper"==ca(s))var c=new Yn([],!0)}for(r=c?r:n;++r1&&b.reverse(),d&&uc))return!1;var u=o.get(e),p=o.get(t);if(u&&p)return u==t&&p==e;var h=-1,d=!0,f=2&n?new Zn:i;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return St(g,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ue):[]}(r),n)))}function Ra(e){var t=0,n=0;return function(){var r=kn(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Fa(e,t){var n=-1,r=e.length,a=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,so(e,n)}));function mo(e){var t=zn(e);return t.__chain__=!0,t}function yo(e,t){return t(e)}var go=ia((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return cr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&xa(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:yo,args:[a],thisArg:i}),new Yn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var vo=Di((function(e,t,n){Re.call(e,n)?++e[n]:sr(e,n,1)}));var bo=$i(Ya),xo=$i(Wa);function _o(e,t){return(Vo(e)?St:fr)(e,ua(t,3))}function ko(e,t){return(Vo(e)?At:mr)(e,ua(t,3))}var wo=Di((function(e,t,n){Re.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Eo=Jr((function(e,t,n){var i=-1,a="function"==typeof t,o=Xo(e)?r(e.length):[];return fr(e,(function(e){o[++i]=a?Tt(t,e,n):Br(e,t,n)})),o})),To=Di((function(e,t,n){sr(e,n,t)}));function Co(e,t){return(Vo(e)?Dt:qr)(e,ua(t,3))}var So=Di((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ao=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_a(e,t[0],t[1])?t=[]:n>2&&_a(t[0],t[1],t[2])&&(t=[t[0]]),Wr(e,br(t,1),[])})),Oo=ht||function(){return dt.Date.now()};function Io(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Qi(e,p,i,i,i,i,t)}function No(e,t){var n;if("function"!=typeof t)throw new Ie(a);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Bo=Jr((function(e,t,n){var r=1;if(n.length){var i=un(n,la(Bo));r|=l}return Qi(e,r,t,n,i)})),Do=Jr((function(e,t,n){var r=3;if(n.length){var i=un(n,la(Do));r|=l}return Qi(t,r,e,n,i)}));function Lo(e,t,n){var r,o,s,c,l,u,p=0,h=!1,d=!1,f=!0;if("function"!=typeof e)throw new Ie(a);function m(t){var n=r,a=o;return r=o=i,p=t,c=e.apply(a,n)}function y(e){return p=e,l=Da(v,t),h?m(e):c}function g(e){var n=e-u;return u===i||n>=t||n<0||d&&e-p>=s}function v(){var e=Oo();if(g(e))return b(e);l=Da(v,function(e){var n=t-(e-u);return d?_n(n,s-(e-p)):n}(e))}function b(e){return l=i,f&&r?m(e):(r=o=i,c)}function x(){var e=Oo(),n=g(e);if(r=arguments,o=this,u=e,n){if(l===i)return y(u);if(d)return Ei(l),l=Da(v,t),m(u)}return l===i&&(l=Da(v,t)),c}return t=bs(t)||0,rs(n)&&(h=!!n.leading,s=(d="maxWait"in n)?xn(bs(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),x.cancel=function(){l!==i&&Ei(l),p=0,r=u=o=l=i},x.flush=function(){return l===i?c:b(Oo())},x}var Mo=Jr((function(e,t){return hr(e,1,t)})),Ro=Jr((function(e,t,n){return hr(e,bs(t)||0,n)}));function Fo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ie(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Fo.Cache||Xn),n}function Po(e){if("function"!=typeof e)throw new Ie(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Fo.Cache=Xn;var jo=ki((function(e,t){var n=(t=1==t.length&&Vo(t[0])?Dt(t[0],Kt(ua())):Dt(br(t,1),Kt(ua()))).length;return Jr((function(r){for(var i=-1,a=_n(r.length,n);++i=t})),Wo=Dr(function(){return arguments}())?Dr:function(e){return is(e)&&Re.call(e,"callee")&&!Xe.call(e,"callee")},Vo=r.isArray,Go=bt?Kt(bt):function(e){return is(e)&&Sr(e)==L};function Xo(e){return null!=e&&ns(e.length)&&!es(e)}function Zo(e){return is(e)&&Xo(e)}var Ko=Pt||bc,Jo=xt?Kt(xt):function(e){return is(e)&&Sr(e)==_};function Qo(e){if(!is(e))return!1;var t=Sr(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ss(e)}function es(e){if(!rs(e))return!1;var t=Sr(e);return t==w||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ts(e){return"number"==typeof e&&e==gs(e)}function ns(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function is(e){return null!=e&&"object"==typeof e}var as=_t?Kt(_t):function(e){return is(e)&&ya(e)==T};function os(e){return"number"==typeof e||is(e)&&Sr(e)==C}function ss(e){if(!is(e)||Sr(e)!=S)return!1;var t=Ve(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==$e}var cs=kt?Kt(kt):function(e){return is(e)&&Sr(e)==O};var ls=wt?Kt(wt):function(e){return is(e)&&ya(e)==I};function us(e){return"string"==typeof e||!Vo(e)&&is(e)&&Sr(e)==N}function ps(e){return"symbol"==typeof e||is(e)&&Sr(e)==B}var hs=Et?Kt(Et):function(e){return is(e)&&ns(e.length)&&!!ot[Sr(e)]};var ds=Gi($r),fs=Gi((function(e,t){return e<=t}));function ms(e){if(!e)return[];if(Xo(e))return us(e)?fn(e):Ni(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=ya(e);return(t==T?cn:t==I?pn:Us)(e)}function ys(e){return e?(e=bs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ys(e),n=t%1;return t==t?n?t-n:t:0}function vs(e){return e?lr(gs(e),0,y):0}function bs(e){if("number"==typeof e)return e;if(ps(e))return m;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ge.test(e);return n||be.test(e)?ut(e.slice(2),n?2:8):ye.test(e)?m:+e}function xs(e){return Bi(e,Ms(e))}function _s(e){return null==e?"":pi(e)}var ks=Li((function(e,t){if(Ta(t)||Xo(t))Bi(t,Ls(t),e);else for(var n in t)Re.call(t,n)&&rr(e,n,t[n])})),ws=Li((function(e,t){Bi(t,Ms(t),e)})),Es=Li((function(e,t,n,r){Bi(t,Ms(t),e,r)})),Ts=Li((function(e,t,n,r){Bi(t,Ls(t),e,r)})),Cs=ia(cr);var Ss=Jr((function(e,t){e=Se(e);var n=-1,r=t.length,a=r>2?t[2]:i;for(a&&_a(t[0],t[1],a)&&(r=1);++n1),t})),Bi(e,oa(e),n),r&&(n=ur(n,7,na));for(var i=t.length;i--;)di(n,t[i]);return n}));var js=ia((function(e,t){return null==e?{}:function(e,t){return Vr(e,t,(function(t,n){return Is(e,n)}))}(e,t)}));function $s(e,t){if(null==e)return{};var n=Dt(oa(e),(function(e){return[e]}));return t=ua(t),Vr(e,n,(function(e,n){return t(e,n[0])}))}var qs=Ji(Ls),zs=Ji(Ms);function Us(e){return null==e?[]:Jt(e,Ls(e))}var Hs=Pi((function(e,t,n){return t=t.toLowerCase(),e+(n?Ys(t):t)}));function Ys(e){return Qs(_s(e).toLowerCase())}function Ws(e){return(e=_s(e))&&e.replace(_e,rn).replace(Qe,"")}var Vs=Pi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Pi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Xs=Fi("toLowerCase");var Zs=Pi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ks=Pi((function(e,t,n){return e+(n?" ":"")+Qs(t)}));var Js=Pi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Fi("toUpperCase");function ec(e,t,n){return e=_s(e),(t=n?i:t)===i?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var tc=Jr((function(e,t){try{return Tt(e,i,t)}catch(n){return Qo(n)?n:new Ee(n)}})),nc=ia((function(e,t){return St(t,(function(t){t=ja(t),sr(e,t,Bo(e[t],e))})),e}));function rc(e){return function(){return e}}var ic=qi(),ac=qi(!0);function oc(e){return e}function sc(e){return Fr("function"==typeof e?e:ur(e,1))}var cc=Jr((function(e,t){return function(n){return Br(n,e,t)}})),lc=Jr((function(e,t){return function(n){return Br(e,n,t)}}));function uc(e,t,n){var r=Ls(t),i=Er(t,r);null!=n||rs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Er(t,Ls(t)));var a=!(rs(n)&&"chain"in n&&!n.chain),o=es(e);return St(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),i=n.__actions__=Ni(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function pc(){}var hc=Yi(Dt),dc=Yi(Ot),fc=Yi(Ft);function mc(e){return ka(e)?Yt(ja(e)):function(e){return function(t){return Tr(t,e)}}(e)}var yc=Vi(),gc=Vi(!0);function vc(){return[]}function bc(){return!1}var xc=Hi((function(e,t){return e+t}),0),_c=Zi("ceil"),kc=Hi((function(e,t){return e/t}),1),wc=Zi("floor");var Ec,Tc=Hi((function(e,t){return e*t}),1),Cc=Zi("round"),Sc=Hi((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ie(a);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Io,zn.assign=ks,zn.assignIn=ws,zn.assignInWith=Es,zn.assignWith=Ts,zn.at=Cs,zn.before=No,zn.bind=Bo,zn.bindAll=nc,zn.bindKey=Do,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Vo(e)?e:[e]},zn.chain=mo,zn.chunk=function(e,t,n){t=(n?_a(e,t,n):t===i)?1:xn(gs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=r(mt(a/t));oa?0:a+n),(r=r===i||r>a?a:gs(r))<0&&(r+=a),r=n>r?0:vs(r);n>>0)?(e=_s(e))&&("string"==typeof t||null!=t&&!cs(t))&&!(t=pi(t))&&sn(e)?wi(fn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ie(a);return t=null==t?0:xn(gs(t),0),Jr((function(n){var r=n[t],i=wi(n,0,t);return r&&Lt(i,r),Tt(e,this,i)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?ai(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?ai(e,0,(t=n||t===i?1:gs(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ai(e,(t=r-(t=n||t===i?1:gs(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mi(e,ua(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mi(e,ua(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ie(a);return rs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Lo(e,t,{leading:r,maxWait:t,trailing:i})},zn.thru=yo,zn.toArray=ms,zn.toPairs=qs,zn.toPairsIn=zs,zn.toPath=function(e){return Vo(e)?Dt(e,ja):ps(e)?[e]:Ni(Pa(_s(e)))},zn.toPlainObject=xs,zn.transform=function(e,t,n){var r=Vo(e),i=r||Ko(e)||hs(e);if(t=ua(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:rs(e)&&es(a)?Un(Ve(e)):{}}return(i?St:kr)(e,(function(e,r,i){return t(n,e,r,i)})),n},zn.unary=function(e){return Io(e,1)},zn.union=ro,zn.unionBy=io,zn.unionWith=ao,zn.uniq=function(e){return e&&e.length?hi(e):[]},zn.uniqBy=function(e,t){return e&&e.length?hi(e,ua(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?hi(e,i,t):[]},zn.unset=function(e,t){return null==e||di(e,t)},zn.unzip=oo,zn.unzipWith=so,zn.update=function(e,t,n){return null==e?e:fi(e,t,xi(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:fi(e,t,xi(n),r)},zn.values=Us,zn.valuesIn=function(e){return null==e?[]:Jt(e,Ms(e))},zn.without=co,zn.words=ec,zn.wrap=function(e,t){return $o(xi(t),e)},zn.xor=lo,zn.xorBy=uo,zn.xorWith=po,zn.zip=ho,zn.zipObject=function(e,t){return vi(e||[],t||[],rr)},zn.zipObjectDeep=function(e,t){return vi(e||[],t||[],ti)},zn.zipWith=fo,zn.entries=qs,zn.entriesIn=zs,zn.extend=ws,zn.extendWith=Es,uc(zn,zn),zn.add=xc,zn.attempt=tc,zn.camelCase=Hs,zn.capitalize=Ys,zn.ceil=_c,zn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=bs(n))==n?n:0),t!==i&&(t=(t=bs(t))==t?t:0),lr(bs(e),t,n)},zn.clone=function(e){return ur(e,4)},zn.cloneDeep=function(e){return ur(e,5)},zn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:i)},zn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:i)},zn.conformsTo=function(e,t){return null==t||pr(e,t,Ls(t))},zn.deburr=Ws,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=kc,zn.endsWith=function(e,t,n){e=_s(e),t=pi(t);var r=e.length,a=n=n===i?r:lr(gs(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},zn.eq=Uo,zn.escape=function(e){return(e=_s(e))&&K.test(e)?e.replace(X,an):e},zn.escapeRegExp=function(e){return(e=_s(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},zn.every=function(e,t,n){var r=Vo(e)?Ot:yr;return n&&_a(e,t,n)&&(t=i),r(e,ua(t,3))},zn.find=bo,zn.findIndex=Ya,zn.findKey=function(e,t){return jt(e,ua(t,3),kr)},zn.findLast=xo,zn.findLastIndex=Wa,zn.findLastKey=function(e,t){return jt(e,ua(t,3),wr)},zn.floor=wc,zn.forEach=_o,zn.forEachRight=ko,zn.forIn=function(e,t){return null==e?e:xr(e,ua(t,3),Ms)},zn.forInRight=function(e,t){return null==e?e:_r(e,ua(t,3),Ms)},zn.forOwn=function(e,t){return e&&kr(e,ua(t,3))},zn.forOwnRight=function(e,t){return e&&wr(e,ua(t,3))},zn.get=Os,zn.gt=Ho,zn.gte=Yo,zn.has=function(e,t){return null!=e&&ga(e,t,Or)},zn.hasIn=Is,zn.head=Ga,zn.identity=oc,zn.includes=function(e,t,n,r){e=Xo(e)?e:Us(e),n=n&&!r?gs(n):0;var i=e.length;return n<0&&(n=xn(i+n,0)),us(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:gs(n);return i<0&&(i=xn(r+i,0)),qt(e,t,i)},zn.inRange=function(e,t,n){return t=ys(t),n===i?(n=t,t=0):n=ys(n),function(e,t,n){return e>=_n(t,n)&&e=-9007199254740991&&e<=f},zn.isSet=ls,zn.isString=us,zn.isSymbol=ps,zn.isTypedArray=hs,zn.isUndefined=function(e){return e===i},zn.isWeakMap=function(e){return is(e)&&ya(e)==D},zn.isWeakSet=function(e){return is(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":vn.call(e,t)},zn.kebabCase=Vs,zn.last=Ja,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=gs(n))<0?xn(r+a,0):_n(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):$t(e,Ut,a,!0)},zn.lowerCase=Gs,zn.lowerFirst=Xs,zn.lt=ds,zn.lte=fs,zn.max=function(e){return e&&e.length?gr(e,oc,Ar):i},zn.maxBy=function(e,t){return e&&e.length?gr(e,ua(t,2),Ar):i},zn.mean=function(e){return Ht(e,oc)},zn.meanBy=function(e,t){return Ht(e,ua(t,2))},zn.min=function(e){return e&&e.length?gr(e,oc,$r):i},zn.minBy=function(e,t){return e&&e.length?gr(e,ua(t,2),$r):i},zn.stubArray=vc,zn.stubFalse=bc,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=Tc,zn.nth=function(e,t){return e&&e.length?Yr(e,gs(t)):i},zn.noConflict=function(){return dt._===this&&(dt._=qe),this},zn.noop=pc,zn.now=Oo,zn.pad=function(e,t,n){e=_s(e);var r=(t=gs(t))?dn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Wi(gt(i),n)+e+Wi(mt(i),n)},zn.padEnd=function(e,t,n){e=_s(e);var r=(t=gs(t))?dn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=En();return _n(e+a*(t-e+lt("1e-"+((a+"").length-1))),t)}return Zr(e,t)},zn.reduce=function(e,t,n){var r=Vo(e)?Mt:Vt,i=arguments.length<3;return r(e,ua(t,4),n,i,fr)},zn.reduceRight=function(e,t,n){var r=Vo(e)?Rt:Vt,i=arguments.length<3;return r(e,ua(t,4),n,i,mr)},zn.repeat=function(e,t,n){return t=(n?_a(e,t,n):t===i)?1:gs(t),Kr(_s(e),t)},zn.replace=function(){var e=arguments,t=_s(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,a=(t=_i(t,e)).length;for(a||(a=1,e=i);++rf)return[];var n=y,r=_n(e,y);t=ua(t),e-=y;for(var i=Xt(r,t);++n=o)return e;var c=n-dn(r);if(c<1)return r;var l=s?wi(s,0,c).join(""):e.slice(0,c);if(a===i)return l+r;if(s&&(c+=l.length-c),cs(a)){if(e.slice(c).search(a)){var u,p=l;for(a.global||(a=Ae(a.source,_s(me.exec(a))+"g")),a.lastIndex=0;u=a.exec(p);)var h=u.index;l=l.slice(0,h===i?c:h)}}else if(e.indexOf(pi(a),c)!=c){var d=l.lastIndexOf(a);d>-1&&(l=l.slice(0,d))}return l+r},zn.unescape=function(e){return(e=_s(e))&&Z.test(e)?e.replace(G,yn):e},zn.uniqueId=function(e){var t=++Fe;return _s(e)+t},zn.upperCase=Js,zn.upperFirst=Qs,zn.each=_o,zn.eachRight=ko,zn.first=Ga,uc(zn,(Ec={},kr(zn,(function(e,t){Re.call(zn.prototype,t)||(Ec[t]=e)})),Ec),{chain:!1}),zn.VERSION="4.17.21",St(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),St(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===i?1:xn(gs(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,y),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),St(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ua(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),St(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),St(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(oc)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Br(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(Po(ua(e)))},Wn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(y)},kr(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=zn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);a&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof Wn,l=s[0],u=c||Vo(t),p=function(e){var t=a.apply(zn,Lt([e],s));return r&&h?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var h=this.__chain__,d=!!this.__actions__.length,f=o&&!h,m=c&&!d;if(!o&&u){t=m?t:new Wn(this);var y=e.apply(t,s);return y.__actions__.push({func:yo,args:[p],thisArg:i}),new Yn(y,h)}return f&&m?e.apply(this,s):(y=this.thru(p),f?r?y.value()[0]:y.value():y)})})),St(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ne[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Vo(i)?i:[],e)}return this[n]((function(n){return t.apply(Vo(n)?n:[],e)}))}})),kr(Wn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Re.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[zi(i,2).name]=[{name:"wrapper",func:i}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Vo(e),r=t<0,i=n?e.length:0,a=function(e,t,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=qa(n);r.__index__=0,r.__values__=i,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:yo,args:[no],thisArg:i}),new Yn(t,this.__chain__)}return this.thru(no)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return yi(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,et&&(zn.prototype[et]=function(){return this}),zn}();dt._=gn,(r=function(){return gn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},39593:(e,t,n)=>{"use strict";const r=n(53908),i=Symbol("max"),a=Symbol("length"),o=Symbol("lengthCalculator"),s=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),h=Symbol("cache"),d=Symbol("updateAgeOnGet"),f=()=>1;const m=(e,t,n)=>{const r=e[h].get(t);if(r){const t=r.value;if(y(e,t)){if(v(e,r),!e[s])return}else n&&(e[d]&&(r.value.now=Date.now()),e[p].unshiftNode(r));return t.value}},y=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[c]&&n>e[c]},g=e=>{if(e[a]>e[i])for(let t=e[p].tail;e[a]>e[i]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[l]&&e[l](n.key,n.value),e[a]-=n.length,e[h].delete(n.key),e[p].removeNode(t)}};class b{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const x=(e,t,n,r)=>{let i=n.value;y(e,i)&&(v(e,n),e[s]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,g(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,g(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[a]=0,this[p].forEach((e=>{e.length=this[o](e.value,e.key),this[a]+=e.length}))),g(this)}get lengthCalculator(){return this[o]}get length(){return this[a]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let n=this[p].tail;null!==n;){const r=n.prev;x(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[p].head;null!==n;){const r=n.next;x(this,e,n,t),n=r}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[l]&&this[p]&&this[p].length&&this[p].forEach((e=>this[l](e.key,e.value))),this[h]=new Map,this[p]=new r,this[a]=0}dump(){return this[p].map((e=>!y(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,n){if((n=n||this[c])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[o](t,e);if(this[h].has(e)){if(s>this[i])return v(this,this[h].get(e)),!1;const o=this[h].get(e).value;return this[l]&&(this[u]||this[l](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[a]+=s-o.length,o.length=s,this.get(e),g(this),!0}const d=new b(e,t,s,r,n);return d.length>this[i]?(this[l]&&this[l](e,t),!1):(this[a]+=d.length,this[p].unshift(d),this[h].set(e,this[p].head),g(this),!0)}has(e){if(!this[h].has(e))return!1;const t=this[h].get(e).value;return!y(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[h].forEach(((e,t)=>m(this,t,!1)))}}},56520:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},53908:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(tthis.length&&(t=this.length);for(var i=0,a=this.head;null!==a&&ithis.length&&(t=this.length);for(var i=this.length,a=this.tail;null!==a&&i>t;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)n.push(a.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,a=this.head;null!==a&&r{var r=n(64588),i="text",a=/(audio|video|image|text)/,o=/(jsonp|json|xml|html|yaml|vml|webml|script)/,s=/\/[^\/]*(audio|video|image|text)/,c=/(application|message|multipart)/;e.exports={guess:function(e){var t,n,r={type:"unknown",format:"raw",guessed:!0};return(t=(n=(n=e.split("/"))&&n[0]||"").match(a))&&t[1]?(r.type=r.format=t[1],r.type===i&&(t=e.match(o),r.format=t&&t[1]||"plain"),r):(t=e.match(o))&&t[1]?(r.type=i,r.format=t[1],r):(t=e.match(s))&&t[1]?(r.type=r.format=t[1],r):(t=n.match(c))&&t[1]?(r.type=t[1],r.format="raw",r):(r.orphan=!0,r)},lookup:function(t){var i,a=n(88533)(t);return t=String(t).toLowerCase().replace(/\s/g,"").replace(/^([^;]+).*$/g,"$1"),(i=(i=r[t])?Object.assign({},i):e.exports.guess(t))&&a&&(i.charset=a),i&&(i.source=t),i}}},62520:(e,t,n)=>{"use strict";var r=n(34155),i="win32"===r.platform,a=n(89539);function o(e,t){for(var n=[],r=0;r=0&&!e[r];r--);return 0===n&&r===t?e:n>r?[]:e.slice(n,r+1)}var c=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,l=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,u={};function p(e){var t=c.exec(e),n=(t[1]||"")+(t[2]||""),r=t[3]||"",i=l.exec(r);return[n,i[1],i[2],i[3]]}function h(e){var t=c.exec(e),n=t[1]||"",r=!!n&&":"!==n[1];return{device:n,isUnc:r,isAbsolute:r||!!t[2],tail:t[3]}}function d(e){return"\\\\"+e.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}u.resolve=function(){for(var e="",t="",n=!1,i=arguments.length-1;i>=-1;i--){var s;if(i>=0?s=arguments[i]:e?(s=r.env["="+e])&&s.substr(0,3).toLowerCase()===e.toLowerCase()+"\\"||(s=e+"\\"):s=r.cwd(),!a.isString(s))throw new TypeError("Arguments to path.resolve must be strings");if(s){var c=h(s),l=c.device,u=c.isUnc,p=c.isAbsolute,f=c.tail;if((!l||!e||l.toLowerCase()===e.toLowerCase())&&(e||(e=l),n||(t=f+"\\"+t,n=p),e&&n))break}}return u&&(e=d(e)),e+(n?"\\":"")+(t=o(t.split(/[\\\/]+/),!n).join("\\"))||"."},u.normalize=function(e){var t=h(e),n=t.device,r=t.isUnc,i=t.isAbsolute,a=t.tail,s=/[\\\/]$/.test(a);return(a=o(a.split(/[\\\/]+/),!i).join("\\"))||i||(a="."),a&&s&&(a+="\\"),r&&(n=d(n)),n+(i?"\\":"")+a},u.isAbsolute=function(e){return h(e).isAbsolute},u.join=function(){for(var e=[],t=0;t=-1&&!t;n--){var i=n>=0?arguments[n]:r.cwd();if(!a.isString(i))throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,t="/"===i[0])}return(t?"/":"")+(e=o(e.split("/"),!t).join("/"))||"."},m.normalize=function(e){var t=m.isAbsolute(e),n=e&&"/"===e[e.length-1];return(e=o(e.split("/"),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},m.isAbsolute=function(e){return"/"===e.charAt(0)},m.join=function(){for(var e="",t=0;t{const r=n(4762),i=/\\/g,a=/^\/+/,o=/{{[^{}]*[.:/?#@&\]][^{}]*}}/g,s="/",c=["protocol","auth","host","port","path","query","hash"];e.exports={parse:function(e){let t,n,l,u,p={protocol:{value:void 0,beginIndex:0,endIndex:0},auth:{value:void 0,beginIndex:0,endIndex:0},host:{value:void 0,beginIndex:0,endIndex:0},port:{value:void 0,beginIndex:0,endIndex:0},path:{value:void 0,beginIndex:0,endIndex:0},query:{value:void 0,beginIndex:0,endIndex:0},hash:{value:void 0,beginIndex:0,endIndex:0}},h={raw:e,protocol:void 0,auth:void 0,host:void 0,port:void 0,path:void 0,query:void 0,hash:void 0},d=new r,f=0;return e&&"string"==typeof e?(h.raw=e=e.trimLeft(),e=function(e,t){let n,r,i,a="",s=0;for(;null!==(r=o.exec(e));)n=r[0],i=r.index,a+=e.slice(s,i)+"_",t.add(n,i),s=i+n.length;return 0===s?e:(s{e.exports=class{constructor(){this.replacements=[],this._offset=0,this._length=0}add(e,t){this.replacements.push({value:e,index:t-this._offset}),this._offset+=e.length-1,this._length++}count(){return this._length}_findLowerIndex(e){let t,n=this.count(),r=0,i=n-1;for(;r<=i;)t=r+i>>1,this.replacements[t].index>=e?i=t-1:r=t+1;return r>=n?-1:r}_applyInString(e,t,n){let r,i,a,o,s=0,c=this.count();if(!e||-1===(r=this._findLowerIndex(t)))return e;do{if(i=this.replacements[r],a=i.index,o=i.value,a>=n)break;a=s+a-t,e=e.slice(0,a)+o+e.slice(a+1),s+=o.length-1}while(++r{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function o(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==s){var c=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>o}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},35862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0||t&&t.call(r,e)},r.onDrop=function(e){var t=r.props,n=t.onDrop,i=t.onDropAccepted,a=t.onDropRejected,o=t.multiple,s=t.disablePreview,l=t.minSize,p=t.maxSize,h=t.accept,d=(0,c.getDataTransferItems)(e),f=[],m=[];e.preventDefault(),0!==d.length?(r.dragTargets=[],r.isFileDialogActive=!1,d.forEach((function(e){if(!s)try{e.preview=window.URL.createObjectURL(e)}catch(t){0}(0,c.fileAccepted)(e,h)&&(0,c.fileMatchSize)(e,p,l)?f.push(e):m.push(e)})),o||m.push.apply(m,u(f.splice(1))),n&&n.call(r,f,m,[],e),m.length>0&&a&&a.call(r,m,e),f.length>0&&i&&i.call(r,f,e)):r.onLink(e)},r.onClick=function(e){var t=r.props,n=t.onClick;t.disableClick||(e.stopPropagation(),n&&n.call(r,e),setTimeout(r.open.bind(r),0))},r.onInputElementClick=function(e){var t=r.props.inputProps;e.stopPropagation(),t&&t.onClick&&t.onClick()},r.onFileDialogCancel=function(){var e=r.props.onFileDialogCancel,t=r.fileInputEl,n=r.isFileDialogActive;e&&n&&setTimeout((function(){t.files.length||(n=!1,e())}),300)},r.setRef=function(e){r.node=e},r.setRefs=function(e){r.fileInputEl=e},r.onLink=function(e){var t=r.props,n=t.onDrop,i=t.accept;if(i){var a=i.match(/(\.[^.]+)(?=[,]|$)/gi);if(a){var o="(https://|http://)((?!http).)*("+a.join("|")+")",s=new RegExp(o,"gi"),c=[];if(e.dataTransfer){var l=decodeURIComponent(e.dataTransfer.getData("text/uri-list")).match(s),p=e.dataTransfer.getData("text/html").match(s);l?c=[].concat(u(l)):p&&(c=[].concat(u(p.filter((function(e){return-1===e.indexOf('"')})).map((function(e){return decodeURIComponent(e)})))))}else c=[].concat(u(decodeURIComponent(e.target.value).match(s)));n&&n([],[],c,e)}else n&&n([],[],[],e)}else n&&n([],[],[],e)},h(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",c.onDocumentDragOver,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),this.fileInputEl.addEventListener("click",this.onInputElementClick,!1),document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",c.onDocumentDragOver),document.removeEventListener("drop",this.onDocumentDrop)),this.fileInputEl.removeEventListener("click",this.onInputElementClick,!1),document.body.onfocus=null}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.disabled,a=e.multiple,o=l(e,["accept","children","disabled","multiple"]),u=(o.preventDropOnDocument,o.disablePreview,o.disableClick,o.maxSize,o.minSize,o.inputProps,o.onDropAccepted,o.onDropRejected,o.onFileDialogCancel,l(o,["preventDropOnDocument","disablePreview","disableClick","maxSize","minSize","inputProps","onDropAccepted","onDropRejected","onFileDialogCancel"]));return s.default.createElement("div",i({},u,{onClick:this.composeHandlers(this.onClick),onDragStart:this.composeHandlers(this.onDragStart),onDragEnter:this.composeHandlers(this.onDragEnter),onDragOver:this.composeHandlers(this.onDragOver),onDragLeave:this.composeHandlers(this.onDragLeave),onDrop:this.composeHandlers(this.onDrop),ref:this.setRef,"aria-disabled":r}),n,s.default.createElement("input",{disabled:r,accept:t,type:"file",style:{display:"none"},multiple:c.supportMultiple&&a,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"}))}}]),t}(o.Component);d.defaultProps={preventDropOnDocument:!0,disabled:!1,disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},t.default=d},46839:(e,t,n)=>{"use strict";var r,i=n(35862),a=(r=i)&&r.__esModule?r:{default:r};t.Z=a.default},46708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataTransferItems=function(e){var t=[];if(e.dataTransfer){var n=e.dataTransfer;if(n.files&&n.files.length)t=n.files;else if(n.items&&n.items.length)return Array.prototype.slice.call(n.items).filter((function(e){return"file"===e.kind}))}else e.target&&e.target.files&&(t=e.target.files);return Array.prototype.slice.call(t)},t.fileAccepted=n,t.fileMatchSize=function(e,t,n){return e.size<=t&&e.size>=n},t.allFilesAccepted=function(e,t){return e.every((function(e){return n(e,t)}))},t.onDocumentDragOver=function(e){e.preventDefault()};t.supportMultiple="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input");function n(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",a=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}},29983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":i(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,o=a&&a().ownerDocument||document;i&&p.add(o.body,i),r&&p.add(o.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,a=e.defaultStyles,o=e.children,s=n?{}:a.content,c=i?{}:a.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:r({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),p=this.props.contentElement(u,o);return this.props.overlayElement(l,p)}}]),t}(o.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(h.SafeHTMLCollection),s.default.instanceOf(h.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},57149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=c,t.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);c(n,t),t=n}return s=t||s},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=l(e)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){i.value.setAttribute("aria-hidden","true")}}catch(o){n=!0,r=o}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=l(e)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){i.value.removeAttribute("aria-hidden")}}catch(o){n=!0,r=o}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,i=n(42473),a=(r=i)&&r.__esModule?r:{default:r},o=n(51112);var s=null;function c(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,a.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},35063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,s],t=0;t0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(o.parentElement&&o.parentElement.removeChild(o),s.parentElement&&s.parentElement.removeChild(s))}))},32409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)i(e,n[t]);var a=document.body;for(var o in r)i(a,r[o]);n={},r={}},t.log=function(){0};var n={},r={};function i(e,t){e.classList.remove(t)}t.add=function(e,t){return i=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),i.add(e)}));var i,a},t.remove=function(e,t){return i=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&i.remove(e)}));var i,a}},99685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){0},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var r,i=n(37845),a=(r=i)&&r.__esModule?r:{default:r};var o=[],s=null,c=!1;function l(){c=!0}function u(){if(c){if(c=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,a.default)(s)[0]||s).focus()}),0)}}},89623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},51112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,i=n(58875);var a=((r=i)&&r.__esModule?r:{default:r}).default,o=a.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=a.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=a.canUseDOM?window.NodeList:{},t.canUseDOM=a.canUseDOM;t.default=o},88338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,i=t.shiftKey,s=n[0],c=n[n.length-1],l=o();if(e===l){if(!i)return;r=c}c!==l||i||(r=s);s===l&&i&&(r=c);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var p=n.indexOf(l);p>-1&&(p+=i?-1:1);if(void 0===(r=n[p]))return t.preventDefault(),void(r=i?c:s).focus();t.preventDefault(),r.focus()};var r,i=n(37845),a=(r=i)&&r.__esModule?r:{default:r};function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?o(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},37845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(a)};var n=/input|select|textarea|button|object|iframe/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,n):"none"===r}catch(i){return console.warn("Failed to inspect element style"),!1}}function i(e,t){var i=e.nodeName.toLowerCase();return(n.test(i)&&!e.disabled||"a"===i&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&i(e,!n)}e.exports=t.default},83253:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(29983),a=(r=i)&&r.__esModule?r:{default:r};t.default=a.default,e.exports=t.default},2399:(e,t,n)=>{"use strict";var r,i=n(34155),a=n(48764),o=a.Buffer,s={};for(r in a)a.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(s[r]=a[r]);var c=s.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(c[r]=o[r]);if(s.Buffer.prototype=o.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,n)}),c.alloc||(c.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!s.kStringMaxLength)try{s.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(l){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s},41074:function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t0&&r.push(i+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+i+" types",n}return a(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map((function(n){return n.getChecker(e,t)}));return function(e,t){for(var i=t.unionResolver(),a=0;a=r._score)&&(r=o)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var a=this._messages[n];a&&t.push(e+" "+a)}return new i(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push({path:e,message:i})}var a=null;for(n=t.length-1;n>=0;n--)a&&(t[n].nested=[a]),a=t[n];return a},e}();t.DetailContext=o;var s=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new o;return this.contexts.push(e),e},e}()},91496:e=>{"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},20384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},89539:(e,t,n)=>{var r=n(34155),i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n=a)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),c=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),u(r,e,r.depth)}function c(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function l(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&w(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=u(e,i,r)),i}var a=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(y(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(a)return a;var o=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(n)),k(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(n);if(0===o.length){if(w(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return p(n)}var l,x="",E=!1,T=["{","}"];(d(n)&&(E=!0,T=["[","]"]),w(n))&&(x=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(x=" "+RegExp.prototype.toString.call(n)),_(n)&&(x=" "+Date.prototype.toUTCString.call(n)),k(n)&&(x=" "+p(n)),0!==o.length||E&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=E?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;o=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,x,T)):T[0]+x+T[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),A(r,i)||(o="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=m(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function d(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function m(e){return null===e}function y(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function b(e){return x(e)&&"[object RegExp]"===E(e)}function x(e){return"object"==typeof e&&null!==e}function _(e){return x(e)&&"[object Date]"===E(e)}function k(e){return x(e)&&("[object Error]"===E(e)||e instanceof Error)}function w(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(v(a)&&(a=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!o[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var n=r.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){};return o[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=f,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=b,t.isObject=x,t.isDate=_,t.isError=k,t.isFunction=w,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(20384);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",S(),t.format.apply(t,arguments))},t.inherits=n(91496),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}},97466:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{NIL:()=>B,parse:()=>y,stringify:()=>u,v1:()=>m,v3:()=>C,v4:()=>S,v5:()=>N,validate:()=>s,version:()=>D});var i=new Uint8Array(16);function a(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(e){return"string"==typeof e&&o.test(e)};for(var c=[],l=0;l<256;++l)c.push((l+256).toString(16).substr(1));const u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var p,h,d=0,f=0;const m=function(e,t,n){var r=t&&n||0,i=t||new Array(16),o=(e=e||{}).node||p,s=void 0!==e.clockseq?e.clockseq:h;if(null==o||null==s){var c=e.random||(e.rng||a)();null==o&&(o=p=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=h=16383&(c[6]<<8|c[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:f+1,y=l-d+(m-f)/1e4;if(y<0&&void 0===e.clockseq&&(s=s+1&16383),(y<0||l>d)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=l,f=m,h=s;var g=(1e4*(268435455&(l+=122192928e5))+m)%4294967296;i[r++]=g>>>24&255,i[r++]=g>>>16&255,i[r++]=g>>>8&255,i[r++]=255&g;var v=l/4294967296*1e4&268435455;i[r++]=v>>>8&255,i[r++]=255&v,i[r++]=v>>>24&15|16,i[r++]=v>>>16&255,i[r++]=s>>>8|128,i[r++]=255&s;for(var b=0;b<6;++b)i[r+b]=o[b];return t||u(i)};const y=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function g(e,t,n){function r(e,r,i,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n>>9<<4)+1}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function x(e,t,n,r,i,a){return b((o=b(b(t,e),b(r,a)))<<(s=i)|o>>>32-s,n);var o,s}function _(e,t,n,r,i,a,o){return x(t&n|~t&r,e,t,i,a,o)}function k(e,t,n,r,i,a,o){return x(t&r|n&~r,e,t,i,a,o)}function w(e,t,n,r,i,a,o){return x(t^n^r,e,t,i,a,o)}function E(e,t,n,r,i,a,o){return x(n^(t|~r),e,t,i,a,o)}const T=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n>5]>>>i%32&255,o=parseInt(r.charAt(a>>>4&15)+r.charAt(15&a),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[r/8])<>>32-t}const I=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i>>0;b=v,v=g,g=O(y,30)>>>0,y=m,m=k}n[0]=n[0]+m>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+v>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const N=g("v5",80,I),B="00000000-0000-0000-0000-000000000000";const D=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},42473:e=>{"use strict";var t=function(){};e.exports=t},41465:(e,t,n)=>{function r(e){if(!e.options.indentation&&!e.options.lineSeparator)return;let t;for(e.content+=e.options.lineSeparator,t=0;t0&&(!n&&t.content.length>0&&r(t),i(t,e.content))}(e,t,n);else if("Element"===e.type)!function(e,t,n){!n&&t.content.length>0&&r(t);if(i(t,"<"+e.name),o(t,e.attributes),null===e.children){const e=t.options.whiteSpaceAtEndOfSelfclosingTag?" />":"/>";i(t,e)}else if(0===e.children.length)i(t,">");else{i(t,">"),t.level++;let o="preserve"===e.attributes["xml:space"];if(!o&&t.options.collapseContent){let t=!1,n=!1,r=!1;e.children.forEach((function(i,a){"Text"===i.type?(i.content.includes("\n")?(n=!0,i.content=i.content.trim()):0!==a&&a!==e.children.length-1||0===i.content.trim().length&&(i.content=""),i.content.length>0&&(t=!0)):"CDATA"===i.type?t=!0:r=!0})),!t||r&&n||(o=!0)}e.children.forEach((function(e){a(e,t,n||o,t.options)})),t.level--,n||o||r(t),i(t,"")}}(e,t,n);else{if("ProcessingInstruction"!==e.type)throw new Error("Unknown node type: "+e.type);s(e,t)}}function o(e,t){Object.keys(t).forEach((function(n){const r=t[n].replace(/"/g,""");i(e," "+n+'="'+r+'"')}))}function s(e,t){t.content.length>0&&r(t),i(t,"")}e.exports=function(e,t={}){t.indentation="indentation"in t?t.indentation:" ",t.collapseContent=!0===t.collapseContent,t.lineSeparator="lineSeparator"in t?t.lineSeparator:"\r\n",t.whiteSpaceAtEndOfSelfclosingTag=!!t.whiteSpaceAtEndOfSelfclosingTag;const r=n(37121)(e,{filter:t.filter}),i={content:"",level:0,options:t};return r.declaration&&s(r.declaration,i),r.children.forEach((function(e){a(e,i,!1)})),i.content.replace(/\r\n/g,"\n").replace(/\n/g,t.lineSeparator)}},37121:e=>{e.exports=function(e,t={}){function n(){return a()||function(){const e=c(/^([^<]+)/);if(e){const n={type:"Text",content:e[1]};return{excluded:!1===t.filter(n),node:n}}}()||o()||function(){if(e.startsWith("");if(n>-1){const r=n+3,i={type:"CDATA",content:e.substring(0,r)};return e=e.slice(r),{excluded:!1===t.filter(i),node:i}}}}()}function r(){return c(/\s*/),a(!0)||o()||function(){const e=c(/^]*>/);if(e){const n={type:"DocumentType",content:e[0]};return{excluded:!1===t.filter(n),node:n}}}()||i(!1)}function i(e){const n=c(e?/^<\?(xml)\s*/:/^<\?([\w-:.]+)\s*/);if(!n)return;const r={name:n[1],type:"ProcessingInstruction",attributes:{}};for(;!l()&&!u("?>");){const e=s();if(!e)return r;r.attributes[e.name]=e.value}return c(/\?>/),{excluded:!e&&!1===t.filter(r),node:r}}function a(e){const r=c(/^<([\w-:.]+)\s*/);if(!r)return;const i={type:"Element",name:r[1],attributes:{},children:[]};for(;!(l()||u(">")||u("?>")||u("/>"));){const e=s();if(!e)return i;i.attributes[e.name]=e.value}const a=!e&&!1===t.filter(i);if(c(/^\s*\/>/))return i.children=null,{excluded:a,node:i};if(c(/\??>/),!a){let e=n();for(;e;)e.excluded||i.children.push(e.node),e=n()}return c(/^<\/[\w-:.]+>/),{excluded:a,node:i}}function o(){const e=c(/^/);if(e){const n={type:"Comment",content:e[0]};return{excluded:!1===t.filter(n),node:n}}}function s(){const e=c(/([\w-:.]+)\s*=\s*("[^"]*"|'[^']*'|\w+)\s*/);var t;if(e)return{name:e[1],value:(t=e[2],t.replace(/^['"]|['"]$/g,""))}}function c(t){const n=e.match(t);if(n)return e=e.slice(n[0].length),n}function l(){return 0===e.length}function u(t){return 0===e.indexOf(t)}return t.filter=t.filter||(()=>!0),e=e.trim(),function(){const e=i(!0),t=[];let n,a=r();for(;a;){if("Element"===a.node.type){if(n)throw new Error("Found multiple root nodes");n=a.node}a.excluded||t.push(a.node),a=r()}if(!n)throw new Error("Failed to parse XML");return{declaration:e?e.node:null,root:n,children:t}}()}},75854:function(e,t,n){e.exports=function(){"use strict";var e=Object.defineProperty,t=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,r=(e,n,r)=>(t(e,"symbol"!=typeof n?n+"":n,r),r),i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{};function a(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}function o(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var s,l,u={exports:{}};l=function(){var e;function t(){return e.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(i(e,t))return;return 1}function c(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){for(var n=[],r=e.length,i=0;i>>0,r=0;rje(e)?(a=e+1,t-je(e)):(a=e,t),{year:a,dayOfYear:n}}function Ye(e,t,n){var r,i,a=Ue(e.year(),t,n);return(a=Math.floor((e.dayOfYear()-a-1)/7)+1)<1?r=a+We(i=e.year()-1,t,n):a>We(e.year(),t,n)?(r=a-We(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function We(e,t,n){var r=Ue(e,t,n);return t=Ue(e+1,t,n),(je(e)-r+t)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),H("week",5),H("isoWeek",5),de("w",ne),de("ww",ne,J),de("W",ne),de("WW",ne,J),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=V(e)})),R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),de("d",ne),de("e",ne),de("E",ne),de("dd",(function(e,t){return t.weekdaysMinRegex(e)})),de("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),de("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){null!=(r=n._locale.weekdaysParse(e,r,n._strict))?t.d=r:f(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=V(e)}));var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ke=he,Je=he,Qe=he;function et(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],a=[],o=[],s=[],c=0;c<7;c++)r=d([2e3,1]).day(c),t=me(this.weekdaysMin(r,"")),n=me(this.weekdaysShort(r,"")),r=me(this.weekdays(r,"")),i.push(t),a.push(n),o.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function tt(){return this.hours()%12||12}function nt(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function rt(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,tt),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+tt.apply(this)+N(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+tt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),nt("a",!0),nt("A",!1),$("hour","h"),H("hour",13),de("a",rt),de("A",rt),de("H",ne),de("h",ne),de("k",ne),de("HH",ne,J),de("hh",ne,J),de("kk",ne,J),de("hmm",re),de("hmmss",ie),de("Hmm",re),de("Hmmss",ie),ve(["H","HH"],Ee),ve(["k","kk"],(function(e,t,n){e=V(e),t[Ee]=24===e?0:e})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[Ee]=V(e),f(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r)),f(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[Ce]=V(e.substr(i)),f(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ee]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[Ce]=V(e.substr(i))})),he=G("Hours",!0);var it,at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Be,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,r,i,a=0;a=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r=t-1)break;t--}a++}return it}function ut(e){var t;if(void 0===ot[e]&&s&&s.exports&&null!=e.match("^[^/\\\\]*$"))try{t=it._abbr,o("./locale/"+e),pt(t)}catch{ot[e]=null}return ot[e]}function pt(e,t){return e&&((t=c(t)?dt(e):ht(e,t))?it=t:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ht(e,t){if(null===t)return delete ot[e],null;var n,r=at;if(t.abbr=e,null!=ot[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])r=ot[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ot[e]=new O(A(r,t)),st[e]&&st[e].forEach((function(e){ht(e.name,e.config)})),pt(e),ot[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!n(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[ke]<0||11Ie(t[_e],t[ke])?we:t[Ee]<0||24We(o,l,u)?f(i)._overflowWeeks=!0:null!=p?f(i)._overflowWeekday=!0:(h=He(o,s,c,l,u),i._a[_e]=h.year,i._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(a=Ct(e._a[_e],r[_e]),(e._dayOfYear>je(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),p=ze(a,0,e._dayOfYear),e._a[ke]=p.getUTCMonth(),e._a[we]=p.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=d[n]=r[n];for(;n<7;n++)e._a[n]=d[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[Ee]&&0===e._a[Te]&&0===e._a[Ce]&&0===e._a[Se]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?ze:qe).apply(null,d),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(f(e).weekdayMismatch=!0)}}function At(e){if(e._f===t.ISO_8601)wt(e);else if(e._f===t.RFC_2822)Tt(e);else{e._a=[],f(e).empty=!0;for(var n,r,a,o,s,c=""+e._i,l=c.length,u=0,p=P(e._f,e._locale).match(B)||[],h=p.length,d=0;de.valueOf():e.valueOf()"}),K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},K.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},K.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},K.isLocal=function(){return!!this.isValid()&&!this._isUTC},K.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},K.isUtc=zt,K.isUTC=zt,K.zoneAbbr=function(){return this._isUTC?"UTC":""},K.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},K.dates=E("dates accessor is deprecated. Use date instead.",oe),K.months=E("months accessor is deprecated. Use month instead",Fe),K.years=E("years accessor is deprecated. Use year instead",$e),K.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()})),K.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=Ot(t))._a?(e=(t._isUTC?d:Nt)(t._a),this._isDSTShifted=this.isValid()&&0{},debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{},fatal:(...e)=>{}},f=function(e="fatal"){let t=h.fatal;"string"==typeof e?(e=e.toLowerCase())in h&&(t=h[e]):"number"==typeof e&&(t=e),d.trace=()=>{},d.debug=()=>{},d.info=()=>{},d.warn=()=>{},d.error=()=>{},d.fatal=()=>{},t<=h.fatal&&(d.fatal=console.error?console.error.bind(console,m("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",m("FATAL"))),t<=h.error&&(d.error=console.error?console.error.bind(console,m("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",m("ERROR"))),t<=h.warn&&(d.warn=console.warn?console.warn.bind(console,m("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",m("WARN"))),t<=h.info&&(d.info=console.info?console.info.bind(console,m("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",m("INFO"))),t<=h.debug&&(d.debug=console.debug?console.debug.bind(console,m("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",m("DEBUG"))),t<=h.trace&&(d.trace=console.debug?console.debug.bind(console,m("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",m("TRACE")))},m=e=>`%c${p().format("ss.SSS")} : ${e} : `;var y={};Object.defineProperty(y,"__esModule",{value:!0});var g=y.sanitizeUrl=void 0,v=/^([^\w]*)(javascript|data|vbscript)/im,b=/&#(\w+)(^\w|;)?/g,x=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,_=/^([^:]+):/gm,k=[".","/"];function w(e){return k.indexOf(e[0])>-1}function E(e){return e.replace(b,(function(e,t){return String.fromCharCode(t)}))}function T(e){var t=E(e||"").replace(x,"").trim();if(!t)return"about:blank";if(w(t))return t;var n=t.match(_);if(!n)return t;var r=n[0];return v.test(r)?"about:blank":t}function C(e,t){return null==e||null==t?NaN:et?1:e>=t?0:NaN}function S(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function A(e){let t,n,r;function i(e,r,i=0,a=e.length){if(i>>1;n(e[t],r)<0?i=t+1:a=t}while(i>>1;n(e[t],r)<=0?i=t+1:a=t}while(in&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return 2!==e.length?(t=C,n=(t,n)=>C(e(t),n),r=(t,n)=>e(t)-n):(t=e===C||e===S?e:O,n=e,r=e),{left:i,center:o,right:a}}function O(){return 0}function I(e){return null===e?NaN:+e}function*N(e,t){if(void 0===t)for(let n of e)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}g=y.sanitizeUrl=T;const B=A(C),D=B.right,L=B.left,M=A(I).center,R=D;function F(e,t){if(!((t=+t)>=0))throw new RangeError("invalid r");let n=e.length;if(!((n=Math.floor(n))>=0))throw new RangeError("invalid length");if(!n||!t)return e;const r=H(t),i=e.slice();return r(e,i,0,n,1),r(i,e,0,n,1),r(e,i,0,n,1),e}const P=$(H),j=$(U);function $(e){return function(t,n,r=n){if(!((n=+n)>=0))throw new RangeError("invalid rx");if(!((r=+r)>=0))throw new RangeError("invalid ry");let{data:i,width:a,height:o}=t;if(!((a=Math.floor(a))>=0))throw new RangeError("invalid width");if(!((o=Math.floor(void 0!==o?o:i.length/a))>=0))throw new RangeError("invalid height");if(!a||!o||!n&&!r)return t;const s=n&&e(n),c=r&&e(r),l=i.slice();return s&&c?(q(s,l,i,a,o),q(s,i,l,a,o),q(s,l,i,a,o),z(c,i,l,a,o),z(c,l,i,a,o),z(c,i,l,a,o)):s?(q(s,i,l,a,o),q(s,l,i,a,o),q(s,i,l,a,o)):c&&(z(c,i,l,a,o),z(c,l,i,a,o),z(c,i,l,a,o)),t}}function q(e,t,n,r,i){for(let a=0,o=r*i;a{t(e,n,0+(r<<=2),0+(i<<=2),a<<=2),t(e,n,r+1,i+1,a),t(e,n,r+2,i+2,a),t(e,n,r+3,i+3,a)}}function H(e){const t=Math.floor(e);if(t===e)return Y(e);const n=e-t,r=2*e+1;return(e,i,a,o,s)=>{if(!((o-=s)>=a))return;let c=t*i[a];const l=s*t,u=l+s;for(let t=a,n=a+l;t{if(!((a-=o)>=i))return;let s=e*r[i];const c=o*e;for(let e=i,t=i+c;e=r&&++n;else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(i=+i)>=i&&++n}return n}function V(e){return 0|e.length}function G(e){return!(e>0)}function X(e){return"object"!=typeof e||"length"in e?e:Array.from(e)}function Z(e){return t=>e(...t)}function K(...e){const t="function"==typeof e[e.length-1]&&Z(e.pop()),n=(e=e.map(X)).map(V),r=e.length-1,i=new Array(r+1).fill(0),a=[];if(r<0||n.some(G))return a;for(;;){a.push(i.map(((t,n)=>e[n][t])));let o=r;for(;++i[o]===n[o];){if(0===o)return t?a.map(t):a;i[o--]=0}}}function J(e,t){var n=0,r=0;return Float64Array.from(e,void 0===t?e=>n+=+e||0:i=>n+=+t(i,r++,e)||0)}function Q(e,t){let n,r=0,i=0,a=0;if(void 0===t)for(let o of e)null!=o&&(o=+o)>=o&&(n=o-i,i+=n/++r,a+=n*(o-i));else{let o=-1;for(let s of e)null!=(s=t(s,++o,e))&&(s=+s)>=s&&(n=s-i,i+=n/++r,a+=n*(s-i))}if(r>1)return a/(r-1)}function ee(e,t){const n=Q(e,t);return n&&Math.sqrt(n)}function te(e,t){let n,r;if(void 0===t)for(const i of e)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r=a&&(n=r=a):(n>a&&(n=a),r0){for(a=e[--i];i>0&&(t=a,n=e[--i],a=t+n,r=n-(a-t),!r););i>0&&(r<0&&e[i-1]<0||r>0&&e[i-1]>0)&&(n=2*r,t=a+n,n==t-a&&(a=t))}return a}}function re(e,t){const n=new ne;if(void 0===t)for(let r of e)(r=+r)&&n.add(r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&n.add(i)}return+n}function ie(e,t){const n=new ne;let r=-1;return Float64Array.from(e,void 0===t?e=>n.add(+e||0):i=>n.add(+t(i,++r,e)||0))}class ae extends Map{constructor(e,t=ue){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[n,r]of e)this.set(n,r)}get(e){return super.get(se(this,e))}has(e){return super.has(se(this,e))}set(e,t){return super.set(ce(this,e),t)}delete(e){return super.delete(le(this,e))}}class oe extends Set{constructor(e,t=ue){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const n of e)this.add(n)}has(e){return super.has(se(this,e))}add(e){return super.add(ce(this,e))}delete(e){return super.delete(le(this,e))}}function se({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function ce({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function le({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function ue(e){return null!==e&&"object"==typeof e?e.valueOf():e}function pe(e){return e}function he(e,...t){return ke(e,pe,pe,t)}function de(e,...t){return ke(e,Array.from,pe,t)}function fe(e,t){for(let n=1,r=t.length;ne.pop().map((([t,n])=>[...e,t,n]))));return e}function me(e,...t){return fe(de(e,...t),t)}function ye(e,t,...n){return fe(ve(e,t,...n),n)}function ge(e,t,...n){return ke(e,pe,t,n)}function ve(e,t,...n){return ke(e,Array.from,t,n)}function be(e,...t){return ke(e,pe,_e,t)}function xe(e,...t){return ke(e,Array.from,_e,t)}function _e(e){if(1!==e.length)throw new Error("duplicate key");return e[0]}function ke(e,t,n,r){return function e(i,a){if(a>=r.length)return n(i);const o=new ae,s=r[a++];let c=-1;for(const t of i){const e=s(t,++c,i),n=o.get(e);n?n.push(t):o.set(e,[t])}for(const[t,n]of o)o.set(t,e(n,a));return t(o)}(e,0)}function we(e,t){return Array.from(t,(t=>e[t]))}function Ee(e,...t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&2!==n.length||t.length>1){const r=Uint32Array.from(e,((e,t)=>t));return t.length>1?(t=t.map((t=>e.map(t))),r.sort(((e,n)=>{for(const r of t){const t=Ce(r[e],r[n]);if(t)return t}}))):(n=e.map(n),r.sort(((e,t)=>Ce(n[e],n[t])))),we(e,r)}return e.sort(Te(n))}function Te(e=C){if(e===C)return Ce;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function Ce(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et?1:0)}function Se(e,t,n){return(2!==t.length?Ee(ge(e,t,n),(([e,t],[n,r])=>C(t,r)||C(e,n))):Ee(he(e,n),(([e,n],[r,i])=>t(n,i)||C(e,r)))).map((([e])=>e))}var Ae=Array.prototype.slice;function Oe(e){return()=>e}var Ie=Math.sqrt(50),Ne=Math.sqrt(10),Be=Math.sqrt(2);function De(e,t,n){var r,i,a,o,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t0){let n=Math.round(e/o),r=Math.round(t/o);for(n*ot&&--r,a=new Array(i=r-n+1);++st&&--r,a=new Array(i=r-n+1);++s=0?(a>=Ie?10:a>=Ne?5:a>=Be?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=Ie?10:a>=Ne?5:a>=Be?2:1)}function Me(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=Ie?i*=10:a>=Ne?i*=5:a>=Be&&(i*=2),t0?(e=Math.floor(e/i)*i,t=Math.ceil(t/i)*i):i<0&&(e=Math.ceil(e*i)/i,t=Math.floor(t*i)/i),r=i}}function Fe(e){return Math.ceil(Math.log(W(e))/Math.LN2)+1}function Pe(){var e=pe,t=te,n=Fe;function r(r){Array.isArray(r)||(r=Array.from(r));var i,a,o,s=r.length,c=new Array(s);for(i=0;i=p)if(e>=p&&t===te){const e=Le(u,p,n);isFinite(e)&&(e>0?p=(Math.floor(p/e)+1)*e:e<0&&(p=(Math.ceil(p*-e)+1)/-e))}else h.pop()}for(var d=h.length;h[0]<=u;)h.shift(),--d;for(;h[d-1]>p;)h.pop(),--d;var f,m=new Array(d+1);for(i=0;i<=d;++i)(f=m[i]=[]).x0=i>0?h[i-1]:u,f.x1=i0)for(i=0;i=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n=i)&&(n=i)}return n}function $e(e,t){let n,r=-1,i=-1;if(void 0===t)for(const a of e)++i,null!=a&&(n=a)&&(n=a,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n=a)&&(n=a,r=i);return r}function qe(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function ze(e,t){let n,r=-1,i=-1;if(void 0===t)for(const a of e)++i,null!=a&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}function Ue(e,t,n=0,r=e.length-1,i){for(i=void 0===i?Ce:Te(i);r>n;){if(r-n>600){const a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1);Ue(e,t,Math.max(n,Math.floor(t-o*c/a+l)),Math.min(r,Math.floor(t+(a-o)*c/a+l)),i)}const a=e[t];let o=n,s=r;for(He(e,n,t),i(e[r],a)>0&&He(e,n,r);o0;)--s}0===i(e[n],a)?He(e,n,s):(++s,He(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function He(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Ye(e,t=C){let n,r=!1;if(1===t.length){let i;for(const a of e){const e=t(a);(r?C(e,i)>0:0===C(e,e))&&(n=a,i=e,r=!0)}}else for(const i of e)(r?t(i,n)>0:0===t(i,i))&&(n=i,r=!0);return n}function We(e,t,n){if(r=(e=Float64Array.from(N(e,n))).length){if((t=+t)<=0||r<2)return qe(e);if(t>=1)return je(e);var r,i=(r-1)*t,a=Math.floor(i),o=je(Ue(e,a).subarray(0,a+1));return o+(qe(e.subarray(a+1))-o)*(i-a)}}function Ve(e,t,n=I){if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function Ge(e,t,n){if(r=(e=Float64Array.from(N(e,n))).length){if((t=+t)<=0||r<2)return ze(e);if(t>=1)return $e(e);var r,i=Math.floor((r-1)*t),a=(t,n)=>Ce(e[t],e[n]);return Ye(Ue(Uint32Array.from(e,((e,t)=>t)),i,0,r-1,a).subarray(0,i+1),(t=>e[t]))}}function Xe(e,t,n){return Math.ceil((n-t)/(2*(We(e,.75)-We(e,.25))*Math.pow(W(e),-1/3)))}function Ze(e,t,n){return Math.ceil((n-t)*Math.cbrt(W(e))/(3.49*ee(e)))}function Ke(e,t){let n=0,r=0;if(void 0===t)for(let i of e)null!=i&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let a of e)null!=(a=t(a,++i,e))&&(a=+a)>=a&&(++n,r+=a)}if(n)return r/n}function Je(e,t){return We(e,.5,t)}function Qe(e,t){return Ge(e,.5,t)}function*et(e){for(const t of e)yield*t}function tt(e){return Array.from(et(e))}function nt(e,t){const n=new ae;if(void 0===t)for(let a of e)null!=a&&a>=a&&n.set(a,(n.get(a)||0)+1);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&i>=i&&n.set(i,(n.get(i)||0)+1)}let r,i=0;for(const[a,o]of n)o>i&&(i=o,r=a);return r}function rt(e,t=it){const n=[];let r,i=!1;for(const a of e)i&&n.push(t(r,a)),r=a,i=!0;return n}function it(e,t){return[e,t]}function at(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(i);++rt(n[e],n[r]);let a,o;return Uint32Array.from(n,((e,t)=>t)).sort(t===C?(e,t)=>Ce(n[e],n[t]):Te(i)).forEach(((e,t)=>{const n=i(e,void 0===a?e:a);n>=0?((void 0===a||n>0)&&(a=e,o=t),r[e]=o):r[e]=NaN})),r}function st(e,t=C){let n,r=!1;if(1===t.length){let i;for(const a of e){const e=t(a);(r?C(e,i)<0:0===C(e,e))&&(n=a,i=e,r=!0)}}else for(const i of e)(r?t(i,n)<0:0===t(i,i))&&(n=i,r=!0);return n}function ct(e,t=C){if(1===t.length)return ze(e,t);let n,r=-1,i=-1;for(const a of e)++i,(r<0?0===t(a,a):t(a,n)<0)&&(n=a,r=i);return r}function lt(e,t=C){if(1===t.length)return $e(e,t);let n,r=-1,i=-1;for(const a of e)++i,(r<0?0===t(a,a):t(a,n)>0)&&(n=a,r=i);return r}function ut(e,t){const n=ct(e,t);return n<0?void 0:n}const pt=ht(Math.random);function ht(e){return function(t,n=0,r=t.length){let i=r-(n=+n);for(;i;){const r=e()*i--|0,a=t[i+n];t[i+n]=t[r+n],t[r+n]=a}return t}}function dt(e,t){let n=0;if(void 0===t)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}function ft(e){if(!(i=e.length))return[];for(var t=-1,n=qe(e,mt),r=new Array(n);++tt(n,r,e)))}function _t(e,t,n){if("function"!=typeof t)throw new TypeError("reducer is not a function");const r=e[Symbol.iterator]();let i,a,o=-1;if(arguments.length<3){if(({done:i,value:n}=r.next()),i)return;++o}for(;({done:i,value:a}=r.next()),!i;)n=t(n,a,++o,e);return n}function kt(e){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(e).reverse()}function wt(e,...t){e=new oe(e);for(const n of t)for(const t of n)e.delete(t);return e}function Et(e,t){const n=t[Symbol.iterator](),r=new oe;for(const i of e){if(r.has(i))return!1;let e,t;for(;({value:e,done:t}=n.next())&&!t;){if(Object.is(i,e))return!1;r.add(e)}}return!0}function Tt(e,...t){e=new oe(e),t=t.map(Ct);e:for(const n of e)for(const r of t)if(!r.has(n)){e.delete(n);continue e}return e}function Ct(e){return e instanceof oe?e:new oe(e)}function St(e,t){const n=e[Symbol.iterator](),r=new Set;for(const i of t){const e=At(i);if(r.has(e))continue;let t,a;for(;({value:t,done:a}=n.next());){if(a)return!1;const n=At(t);if(r.add(n),Object.is(e,n))break}}return!0}function At(e){return null!==e&&"object"==typeof e?e.valueOf():e}function Ot(e,t){return St(t,e)}function It(...e){const t=new oe;for(const n of e)for(const e of n)t.add(e);return t}function Nt(e){return e}var Bt=1,Dt=2,Lt=3,Mt=4,Rt=1e-6;function Ft(e){return"translate("+e+",0)"}function Pt(e){return"translate(0,"+e+")"}function jt(e){return t=>+e(t)}function $t(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function qt(){return!this.__axis}function zt(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<"u"&&window.devicePixelRatio>1?0:.5,l=e===Bt||e===Mt?-1:1,u=e===Mt||e===Dt?"x":"y",p=e===Bt||e===Lt?Ft:Pt;function h(h){var d=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,f=null==i?t.tickFormat?t.tickFormat.apply(t,n):Nt:i,m=Math.max(a,0)+s,y=t.range(),g=+y[0]+c,v=+y[y.length-1]+c,b=(t.bandwidth?$t:jt)(t.copy(),c),x=h.selection?h.selection():h,_=x.selectAll(".domain").data([null]),k=x.selectAll(".tick").data(d,t).order(),w=k.exit(),E=k.enter().append("g").attr("class","tick"),T=k.select("line"),C=k.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(E),T=T.merge(E.append("line").attr("stroke","currentColor").attr(u+"2",l*a)),C=C.merge(E.append("text").attr("fill","currentColor").attr(u,l*m).attr("dy",e===Bt?"0em":e===Lt?"0.71em":"0.32em")),h!==x&&(_=_.transition(h),k=k.transition(h),T=T.transition(h),C=C.transition(h),w=w.transition(h).attr("opacity",Rt).attr("transform",(function(e){return isFinite(e=b(e))?p(e+c):this.getAttribute("transform")})),E.attr("opacity",Rt).attr("transform",(function(e){var t=this.parentNode.__axis;return p((t&&isFinite(t=t(e))?t:b(e))+c)}))),w.remove(),_.attr("d",e===Mt||e===Dt?o?"M"+l*o+","+g+"H"+c+"V"+v+"H"+l*o:"M"+c+","+g+"V"+v:o?"M"+g+","+l*o+"V"+c+"H"+v+"V"+l*o:"M"+g+","+c+"H"+v),k.attr("opacity",1).attr("transform",(function(e){return p(b(e)+c)})),T.attr(u+"2",l*a),C.attr(u,l*m).text(f),x.filter(qt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Dt?"start":e===Mt?"end":"middle"),x.each((function(){this.__axis=b}))}return h.scale=function(e){return arguments.length?(t=e,h):t},h.ticks=function(){return n=Array.from(arguments),h},h.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),h):n.slice()},h.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),h):r&&r.slice()},h.tickFormat=function(e){return arguments.length?(i=e,h):i},h.tickSize=function(e){return arguments.length?(a=o=+e,h):a},h.tickSizeInner=function(e){return arguments.length?(a=+e,h):a},h.tickSizeOuter=function(e){return arguments.length?(o=+e,h):o},h.tickPadding=function(e){return arguments.length?(s=+e,h):s},h.offset=function(e){return arguments.length?(c=+e,h):c},h}function Ut(e){return zt(Bt,e)}function Ht(e){return zt(Dt,e)}function Yt(e){return zt(Lt,e)}function Wt(e){return zt(Mt,e)}var Vt={value:()=>{}};function Gt(){for(var e,t=0,n=arguments.length,r={};t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function Kt(e,t){for(var n,r=0,i=e.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),en.hasOwnProperty(t)?{space:en[t],local:e}:e}function nn(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Qt&&t.documentElement.namespaceURI===Qt?t.createElement(e):t.createElementNS(n,e)}}function rn(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function an(e){var t=tn(e);return(t.local?rn:nn)(t)}function on(){}function sn(e){return null==e?on:function(){return this.querySelector(e)}}function cn(e){"function"!=typeof e&&(e=sn(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=x&&(x=b+1);!(v=y[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this}function Pn(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=jn);for(var n=this._groups,r=n.length,i=new Array(r),a=0;at?1:e>=t?0:NaN}function $n(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function qn(){return Array.from(this)}function zn(){for(var e=this._groups,t=0,n=e.length;t1?this.each((null==t?er:"function"==typeof t?nr:tr)(e,t,null==n?"":n)):ir(this.node(),e)}function ir(e,t){return e.style.getPropertyValue(t)||Qn(e).getComputedStyle(e,null).getPropertyValue(t)}function ar(e){return function(){delete this[e]}}function or(e,t){return function(){this[e]=t}}function sr(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function cr(e,t){return arguments.length>1?this.each((null==t?ar:"function"==typeof t?sr:or)(e,t)):this.node()[e]}function lr(e){return e.trim().split(/^|\s+/)}function ur(e){return e.classList||new pr(e)}function pr(e){this._node=e,this._names=lr(e.getAttribute("class")||"")}function hr(e,t){for(var n=ur(e),r=-1,i=t.length;++r=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}function qr(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var Xr=[null];function Zr(e,t){this._groups=e,this._parents=t}function Kr(){return new Zr([[document.documentElement]],Xr)}function Jr(){return this}function Qr(e){return"string"==typeof e?new Zr([[document.querySelector(e)]],[document.documentElement]):new Zr([[e]],Xr)}function ei(e){return Qr(an(e).call(document.documentElement))}Zr.prototype=Kr.prototype={constructor:Zr,select:cn,selectAll:dn,selectChild:bn,selectChildren:wn,filter:En,data:Bn,enter:Cn,exit:Ln,join:Mn,merge:Rn,selection:Jr,order:Fn,sort:Pn,call:$n,nodes:qn,node:zn,size:Un,empty:Hn,each:Yn,attr:Jn,style:rr,property:cr,classed:gr,text:_r,html:Tr,raise:Sr,lower:Or,append:Ir,insert:Br,remove:Lr,clone:Fr,datum:Pr,on:Ur,dispatch:Vr,[Symbol.iterator]:Gr};var ti=0;function ni(){return new ri}function ri(){this._="@"+(++ti).toString(36)}function ii(e){let t;for(;t=e.sourceEvent;)e=t;return e}function ai(e,t){if(e=ii(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}function oi(e,t){return e.target&&(e=ii(e),void 0===t&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,(e=>ai(e,t)))}function si(e){return"string"==typeof e?new Zr([document.querySelectorAll(e)],[document.documentElement]):new Zr([ln(e)],Xr)}ri.prototype=ni.prototype={constructor:ri,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};const ci={passive:!1},li={capture:!0,passive:!1};function ui(e){e.stopImmediatePropagation()}function pi(e){e.preventDefault(),e.stopImmediatePropagation()}function hi(e){var t=e.document.documentElement,n=Qr(e).on("dragstart.drag",pi,li);"onselectstart"in t?n.on("selectstart.drag",pi,li):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function di(e,t){var n=e.document.documentElement,r=Qr(e).on("dragstart.drag",null);t&&(r.on("click.drag",pi,li),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const fi=e=>()=>e;function mi(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:a,x:o,y:s,dx:c,dy:l,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:o,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:u}})}function yi(e){return!e.ctrlKey&&!e.button}function gi(){return this.parentNode}function vi(e,t){return null==t?{x:e.x,y:e.y}:t}function bi(){return navigator.maxTouchPoints||"ontouchstart"in this}function xi(){var e,t,n,r,i=yi,a=gi,o=vi,s=bi,c={},l=Gt("start","drag","end"),u=0,p=0;function h(e){e.on("mousedown.drag",d).filter(s).on("touchstart.drag",y).on("touchmove.drag",g,ci).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(o,s){if(!r&&i.call(this,o,s)){var c=b(this,a.call(this,o,s),o,s,"mouse");!c||(Qr(o.view).on("mousemove.drag",f,li).on("mouseup.drag",m,li),hi(o.view),ui(o),n=!1,e=o.clientX,t=o.clientY,c("start",o))}}function f(r){if(pi(r),!n){var i=r.clientX-e,a=r.clientY-t;n=i*i+a*a>p}c.mouse("drag",r)}function m(e){Qr(e.view).on("mousemove.drag mouseup.drag",null),di(e.view,n),pi(e),c.mouse("end",e)}function y(e,t){if(i.call(this,e,t)){var n,r,o=e.changedTouches,s=a.call(this,e,t),c=o.length;for(n=0;n>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ui(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ui(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ii.exec(e))?new Wi(t[1],t[2],t[3],1):(t=Ni.exec(e))?new Wi(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Bi.exec(e))?Ui(t[1],t[2],t[3],t[4]):(t=Di.exec(e))?Ui(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Li.exec(e))?Qi(t[1],t[2]/100,t[3]/100,1):(t=Mi.exec(e))?Qi(t[1],t[2]/100,t[3]/100,t[4]):Ri.hasOwnProperty(e)?zi(Ri[e]):"transparent"===e?new Wi(NaN,NaN,NaN,0):null}function zi(e){return new Wi(e>>16&255,e>>8&255,255&e,1)}function Ui(e,t,n,r){return r<=0&&(e=t=n=NaN),new Wi(e,t,n,r)}function Hi(e){return e instanceof wi||(e=qi(e)),e?new Wi((e=e.rgb()).r,e.g,e.b,e.opacity):new Wi}function Yi(e,t,n,r){return 1===arguments.length?Hi(e):new Wi(e,t,n,null==r?1:r)}function Wi(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Vi(){return`#${Ji(this.r)}${Ji(this.g)}${Ji(this.b)}`}function Gi(){return`#${Ji(this.r)}${Ji(this.g)}${Ji(this.b)}${Ji(255*(isNaN(this.opacity)?1:this.opacity))}`}function Xi(){const e=Zi(this.opacity);return`${1===e?"rgb(":"rgba("}${Ki(this.r)}, ${Ki(this.g)}, ${Ki(this.b)}${1===e?")":`, ${e})`}`}function Zi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ki(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ji(e){return((e=Ki(e))<16?"0":"")+e.toString(16)}function Qi(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new na(e,t,n,r)}function ea(e){if(e instanceof na)return new na(e.h,e.s,e.l,e.opacity);if(e instanceof wi||(e=qi(e)),!e)return new na;if(e instanceof na)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+6*(n0&&c<1?0:o,new na(o,s,c,e.opacity)}function ta(e,t,n,r){return 1===arguments.length?ea(e):new na(e,t,n,null==r?1:r)}function na(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ra(e){return(e=(e||0)%360)<0?e+360:e}function ia(e){return Math.max(0,Math.min(1,e||0))}function aa(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}_i(wi,qi,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Fi,formatHex:Fi,formatHex8:Pi,formatHsl:ji,formatRgb:$i,toString:$i}),_i(Wi,Yi,ki(wi,{brighter(e){return e=null==e?Ti:Math.pow(Ti,e),new Wi(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Ei:Math.pow(Ei,e),new Wi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Wi(Ki(this.r),Ki(this.g),Ki(this.b),Zi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Vi,formatHex:Vi,formatHex8:Gi,formatRgb:Xi,toString:Xi})),_i(na,ta,ki(wi,{brighter(e){return e=null==e?Ti:Math.pow(Ti,e),new na(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Ei:Math.pow(Ei,e),new na(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Wi(aa(e>=240?e-240:e+120,i,r),aa(e,i,r),aa(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new na(ra(this.h),ia(this.s),ia(this.l),Zi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Zi(this.opacity);return`${1===e?"hsl(":"hsla("}${ra(this.h)}, ${100*ia(this.s)}%, ${100*ia(this.l)}%${1===e?")":`, ${e})`}`}}));const oa=Math.PI/180,sa=180/Math.PI,ca=18,la=.96422,ua=1,pa=.82521,ha=4/29,da=6/29,fa=3*da*da,ma=da*da*da;function ya(e){if(e instanceof ba)return new ba(e.l,e.a,e.b,e.opacity);if(e instanceof Sa)return Aa(e);e instanceof Wi||(e=Hi(e));var t,n,r=wa(e.r),i=wa(e.g),a=wa(e.b),o=xa((.2225045*r+.7168786*i+.0606169*a)/ua);return r===i&&i===a?t=n=o:(t=xa((.4360747*r+.3850649*i+.1430804*a)/la),n=xa((.0139322*r+.0971045*i+.7141733*a)/pa)),new ba(116*o-16,500*(t-o),200*(o-n),e.opacity)}function ga(e,t){return new ba(e,0,0,null==t?1:t)}function va(e,t,n,r){return 1===arguments.length?ya(e):new ba(e,t,n,null==r?1:r)}function ba(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function xa(e){return e>ma?Math.pow(e,1/3):e/fa+ha}function _a(e){return e>da?e*e*e:fa*(e-ha)}function ka(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function wa(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Ea(e){if(e instanceof Sa)return new Sa(e.h,e.c,e.l,e.opacity);if(e instanceof ba||(e=ya(e)),0===e.a&&0===e.b)return new Sa(NaN,0=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r()=>e;function Ha(e,t){return function(n){return e+n*t}}function Ya(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function Wa(e,t){var n=t-e;return n?Ha(e,n>180||n<-180?n-360*Math.round(n/360):n):Ua(isNaN(e)?t:e)}function Va(e){return 1==(e=+e)?Ga:function(t,n){return n-t?Ya(t,n,e):Ua(isNaN(t)?n:t)}}function Ga(e,t){var n=t-e;return n?Ha(e,n):Ua(isNaN(e)?t:e)}const Xa=function e(t){var n=Va(t);function r(e,t){var r=n((e=Yi(e)).r,(t=Yi(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Ga(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function Za(e){return function(t){var n,r,i=t.length,a=new Array(i),o=new Array(i),s=new Array(i);for(n=0;na&&(i=t.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,c.push({i:o,x:io(n,r)})),a=so.lastIndex;return a180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:io(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}function s(e,t,n,a){e!==t?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:io(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:io(e,n)},{i:s-2,x:io(t,r)})}else(1!==n||1!==r)&&a.push(i(a)+"scale("+n+","+r+")")}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t,n=-1,a=i.length;++n=0&&t._call.call(void 0,e),t=t._next;--Ho}function is(){Xo=(Go=Ko.now())+Zo,Ho=Yo=0;try{rs()}finally{Ho=0,os(),Xo=0}}function as(){var e=Ko.now(),t=e-Go;t>Vo&&(Zo-=t,Go=e)}function os(){for(var e,t,n=zo,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:zo=t);Uo=e,ss(r)}function ss(e){Ho||(Yo&&(Yo=clearTimeout(Yo)),e-Xo>24?(e<1/0&&(Yo=setTimeout(is,e-Ko.now()-Zo)),Wo&&(Wo=clearInterval(Wo))):(Wo||(Go=Ko.now(),Wo=setInterval(as,Vo)),Ho=1,Jo(is)))}function cs(e,t,n){var r=new ts;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}function ls(e,t,n){var r=new ts,i=t;return null==t?(r.restart(e,t,n),r):(r._restart=r.restart,r.restart=function(e,t,n){t=+t,n=null==n?Qo():+n,r._restart((function a(o){o+=i,r._restart(a,i+=t,n),e(o)}),t,n)},r.restart(e,t,n),r)}ts.prototype=ns.prototype={constructor:ts,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Qo():+n)+(null==t?0:+t),!this._next&&Uo!==this&&(Uo?Uo._next=this:zo=this,Uo=this),this._call=e,this._time=n,ss()},stop:function(){this._call&&(this._call=null,this._time=1/0,ss())}};var us=Gt("start","end","cancel","interrupt"),ps=[],hs=0,ds=1,fs=2,ms=3,ys=4,gs=5,vs=6;function bs(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};ws(e,n,{name:t,index:r,group:i,on:us,tween:ps,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:hs})}function xs(e,t){var n=ks(e,t);if(n.state>hs)throw new Error("too late; already scheduled");return n}function _s(e,t){var n=ks(e,t);if(n.state>ms)throw new Error("too late; already running");return n}function ks(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function ws(e,t,n){var r,i=e.__transition;function a(e){n.state=ds,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,p,h;if(n.state!==ds)return c();for(l in i)if((h=i[l]).name===n.name){if(h.state===ms)return cs(o);h.state===ys?(h.state=vs,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[l]):+lfs&&n.state=0&&(e=e.slice(0,t)),!e||"start"===e}))}function nc(e,t,n){var r,i,a=tc(t)?xs:_s;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function rc(e,t){var n=this._id;return arguments.length<2?ks(this.node(),n).on.on(e):this.each(nc(n,e,t))}function ic(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ac(){return this.on("end.remove",ic(this._id))}function oc(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=sn(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o+e;function Dc(e){return e*e}function Lc(e){return e*(2-e)}function Mc(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Rc(e){return e*e*e}function Fc(e){return--e*e*e+1}function Pc(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var jc=3,$c=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(jc),qc=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(jc),zc=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(jc),Uc=Math.PI,Hc=Uc/2;function Yc(e){return 1==+e?1:1-Math.cos(e*Hc)}function Wc(e){return Math.sin(e*Hc)}function Vc(e){return(1-Math.cos(Uc*e))/2}function Gc(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function Xc(e){return Gc(1-+e)}function Zc(e){return 1-Gc(e)}function Kc(e){return((e*=2)<=1?Gc(1-e):2-Gc(e-1))/2}function Jc(e){return 1-Math.sqrt(1-e*e)}function Qc(e){return Math.sqrt(1- --e*e)}function el(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var tl=4/11,nl=6/11,rl=8/11,il=3/4,al=9/11,ol=10/11,sl=15/16,cl=21/22,ll=63/64,ul=1/tl/tl;function pl(e){return 1-hl(1-e)}function hl(e){return(e=+e)ds&&n.name===t)return new Ac([[e]],Sl,t,+r);return null}const Ol=e=>()=>e;function Il(e,{sourceEvent:t,target:n,selection:r,mode:i,dispatch:a}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:a}})}function Nl(e){e.stopImmediatePropagation()}function Bl(e){e.preventDefault(),e.stopImmediatePropagation()}var Dl={name:"drag"},Ll={name:"space"},Ml={name:"handle"},Rl={name:"center"};const{abs:Fl,max:Pl,min:jl}=Math;function $l(e){return[+e[0],+e[1]]}function ql(e){return[$l(e[0]),$l(e[1])]}var zl={name:"x",handles:["w","e"].map(Zl),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},Ul={name:"y",handles:["n","s"].map(Zl),input:function(e,t){return null==e?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},Hl={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Zl),input:function(e){return null==e?null:ql(e)},output:function(e){return e}},Yl={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Wl={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Vl={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Gl={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Xl={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Zl(e){return{type:e}}function Kl(e){return!e.ctrlKey&&!e.button}function Jl(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function Ql(){return navigator.maxTouchPoints||"ontouchstart"in this}function eu(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function tu(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function nu(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function ru(){return ou(zl)}function iu(){return ou(Ul)}function au(){return ou(Hl)}function ou(e){var t,n=Jl,r=Kl,i=Ql,a=!0,o=Gt("start","brush","end"),s=6;function c(t){var n=t.property("__brush",m).selectAll(".overlay").data([Zl("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Yl.overlay).merge(n).each((function(){var e=eu(this).extent;Qr(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([Zl("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Yl.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return Yl[e.type]})),t.each(l).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",f).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function l(){var e=Qr(this),t=eu(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new p(e,t,n):r}function p(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function h(n){if((!t||n.touches)&&r.apply(this,arguments)){var i,o,s,c,p,h,d,f,m,y,g,v=this,b=n.target.__data__.type,x="selection"===(a&&n.metaKey?b="overlay":b)?Dl:a&&n.altKey?Rl:Ml,_=e===Ul?null:Gl[b],k=e===zl?null:Xl[b],w=eu(v),E=w.extent,T=w.selection,C=E[0][0],S=E[0][1],A=E[1][0],O=E[1][1],I=0,N=0,B=_&&k&&a&&n.shiftKey,D=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=ai(e,v)).point0=e.slice(),e.identifier=t,e}));Es(v);var L=u(v,arguments,!0).beforestart();if("overlay"===b){T&&(m=!0);const t=[D[0],D[1]||D[0]];w.selection=T=[[i=e===Ul?C:jl(t[0][0],t[1][0]),s=e===zl?S:jl(t[0][1],t[1][1])],[p=e===Ul?A:Pl(t[0][0],t[1][0]),d=e===zl?O:Pl(t[0][1],t[1][1])]],D.length>1&&j(n)}else i=T[0][0],s=T[0][1],p=T[1][0],d=T[1][1];o=i,c=s,h=p,f=d;var M=Qr(v).attr("pointer-events","none"),R=M.selectAll(".overlay").attr("cursor",Yl[b]);if(n.touches)L.moved=P,L.ended=$;else{var F=Qr(n.view).on("mousemove.brush",P,!0).on("mouseup.brush",$,!0);a&&F.on("keydown.brush",q,!0).on("keyup.brush",z,!0),hi(n.view)}l.call(v),L.start(n,x.name)}function P(e){for(const t of e.changedTouches||[e])for(const e of D)e.identifier===t.identifier&&(e.cur=ai(t,v));if(B&&!y&&!g&&1===D.length){const e=D[0];Fl(e.cur[0]-e[0])>Fl(e.cur[1]-e[1])?g=!0:y=!0}for(const t of D)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);m=!0,Bl(e),j(e)}function j(e){const t=D[0],n=t.point0;var r;switch(I=t[0]-n[0],N=t[1]-n[1],x){case Ll:case Dl:_&&(I=Pl(C-i,jl(A-p,I)),o=i+I,h=p+I),k&&(N=Pl(S-s,jl(O-d,N)),c=s+N,f=d+N);break;case Ml:D[1]?(_&&(o=Pl(C,jl(A,D[0][0])),h=Pl(C,jl(A,D[1][0])),_=1),k&&(c=Pl(S,jl(O,D[0][1])),f=Pl(S,jl(O,D[1][1])),k=1)):(_<0?(I=Pl(C-i,jl(A-i,I)),o=i+I,h=p):_>0&&(I=Pl(C-p,jl(A-p,I)),o=i,h=p+I),k<0?(N=Pl(S-s,jl(O-s,N)),c=s+N,f=d):k>0&&(N=Pl(S-d,jl(O-d,N)),c=s,f=d+N));break;case Rl:_&&(o=Pl(C,jl(A,i-I*_)),h=Pl(C,jl(A,p+I*_))),k&&(c=Pl(S,jl(O,s-N*k)),f=Pl(S,jl(O,d+N*k)))}h0&&(i=o-I),k<0?d=f-N:k>0&&(s=c-N),x=Ll,R.attr("cursor",Yl.selection),j(e));break;default:return}Bl(e)}function z(e){switch(e.keyCode){case 16:B&&(y=g=B=!1,j(e));break;case 18:x===Rl&&(_<0?p=h:_>0&&(i=o),k<0?d=f:k>0&&(s=c),x=Ml,j(e));break;case 32:x===Ll&&(e.altKey?(_&&(p=h-I*_,i=o+I*_),k&&(d=f-N*k,s=c+N*k),x=Rl):(_<0?p=h:_>0&&(i=o),k<0?d=f:k>0&&(s=c),x=Ml),R.attr("cursor",Yl[b]),j(e));break;default:return}Bl(e)}}function d(e){u(this,arguments).moved(e)}function f(e){u(this,arguments).ended(e)}function m(){var t=this.__brush||{selection:null};return t.extent=ql(n.apply(this,arguments)),t.dim=e,t}return c.move=function(t,n,r){t.tween?t.on("start.brush",(function(e){u(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){u(this,arguments).end(e)})).tween("brush",(function(){var t=this,r=t.__brush,i=u(t,arguments),a=r.selection,o=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=po(a,o);function c(e){r.selection=1===e&&null===o?null:s(e),l.call(t),i.brush()}return null!==a&&null!==o?c:c(1)})):t.each((function(){var t=this,i=arguments,a=t.__brush,o=e.input("function"==typeof n?n.apply(t,i):n,a.extent),s=u(t,i).beforestart();Es(t),a.selection=null===o?null:o,l.call(t),s.start(r).brush(r).end(r)}))},c.clear=function(e,t){c.move(e,null,t)},p.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0==--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,r){var i=Qr(this.that).datum();o.call(t,this.that,new Il(t,{sourceEvent:n,target:c,selection:e.output(this.state.selection),mode:r,dispatch:o}),i)}},c.extent=function(e){return arguments.length?(n="function"==typeof e?e:Ol(ql(e)),c):n},c.filter=function(e){return arguments.length?(r="function"==typeof e?e:Ol(!!e),c):r},c.touchable=function(e){return arguments.length?(i="function"==typeof e?e:Ol(!!e),c):i},c.handleSize=function(e){return arguments.length?(s=+e,c):s},c.keyModifiers=function(e){return arguments.length?(a=!!e,c):a},c.on=function(){var e=o.on.apply(o,arguments);return e===o?c:e},c}var su=Math.abs,cu=Math.cos,lu=Math.sin,uu=Math.PI,pu=uu/2,hu=2*uu,du=Math.max,fu=1e-12;function mu(e,t){return Array.from({length:t-e},((t,n)=>e+n))}function yu(e){return function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)}}function gu(){return xu(!1,!1)}function vu(){return xu(!1,!0)}function bu(){return xu(!0,!1)}function xu(e,t){var n=0,r=null,i=null,a=null;function o(o){var s,c=o.length,l=new Array(c),u=mu(0,c),p=new Array(c*c),h=new Array(c),d=0;o=Float64Array.from({length:c*c},t?(e,t)=>o[t%c][t/c|0]:(e,t)=>o[t/c|0][t%c]);for(let t=0;tr(l[e],l[t])));for(const n of u){const r=t;if(e){const e=mu(1+~c,c).filter((e=>e<0?o[~e*c+n]:o[n*c+e]));i&&e.sort(((e,t)=>i(e<0?-o[~e*c+n]:o[n*c+e],t<0?-o[~t*c+n]:o[n*c+t])));for(const r of e)r<0?(p[~r*c+n]||(p[~r*c+n]={source:null,target:null})).target={index:n,startAngle:t,endAngle:t+=o[~r*c+n]*d,value:o[~r*c+n]}:(p[n*c+r]||(p[n*c+r]={source:null,target:null})).source={index:n,startAngle:t,endAngle:t+=o[n*c+r]*d,value:o[n*c+r]};h[n]={index:n,startAngle:r,endAngle:t,value:l[n]}}else{const e=mu(0,c).filter((e=>o[n*c+e]||o[e*c+n]));i&&e.sort(((e,t)=>i(o[n*c+e],o[n*c+t])));for(const r of e){let e;if(nwu)if(Math.abs(u*s-c*l)>wu&&i){var h=n-a,d=r-o,f=s*s+c*c,m=h*h+d*d,y=Math.sqrt(f),g=Math.sqrt(p),v=i*Math.tan((_u-Math.acos((f+p-m)/(2*y*g)))/2),b=v/g,x=v/y;Math.abs(b-1)>wu&&(this._+="L"+(e+b*l)+","+(t+b*u)),this._+="A"+i+","+i+",0,0,"+ +(u*h>l*d)+","+(this._x1=e+x*s)+","+(this._y1=t+x*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,i,a){e=+e,t=+t,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,p=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>wu||Math.abs(this._y1-l)>wu)&&(this._+="L"+c+","+l),n&&(p<0&&(p=p%ku+ku),p>Eu?this._+="A"+n+","+n+",0,1,"+u+","+(e-o)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):p>wu&&(this._+="A"+n+","+n+",0,"+ +(p>=_u)+","+u+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Su=Array.prototype.slice;function Au(e){return function(){return e}}function Ou(e){return e.source}function Iu(e){return e.target}function Nu(e){return e.radius}function Bu(e){return e.startAngle}function Du(e){return e.endAngle}function Lu(){return 0}function Mu(){return 10}function Ru(e){var t=Ou,n=Iu,r=Nu,i=Nu,a=Bu,o=Du,s=Lu,c=null;function l(){var l,u=t.apply(this,arguments),p=n.apply(this,arguments),h=s.apply(this,arguments)/2,d=Su.call(arguments),f=+r.apply(this,(d[0]=u,d)),m=a.apply(this,d)-pu,y=o.apply(this,d)-pu,g=+i.apply(this,(d[0]=p,d)),v=a.apply(this,d)-pu,b=o.apply(this,d)-pu;if(c||(c=l=Cu()),h>fu&&(su(y-m)>2*h+fu?y>m?(m+=h,y-=h):(m-=h,y+=h):m=y=(m+y)/2,su(b-v)>2*h+fu?b>v?(v+=h,b-=h):(v-=h,b+=h):v=b=(v+b)/2),c.moveTo(f*cu(m),f*lu(m)),c.arc(0,0,f,m,y),m!==v||y!==b)if(e){var x=g-+e.apply(this,arguments),_=(v+b)/2;c.quadraticCurveTo(0,0,x*cu(v),x*lu(v)),c.lineTo(g*cu(_),g*lu(_)),c.lineTo(x*cu(b),x*lu(b))}else c.quadraticCurveTo(0,0,g*cu(v),g*lu(v)),c.arc(0,0,g,v,b);if(c.quadraticCurveTo(0,0,f*cu(m),f*lu(m)),c.closePath(),l)return c=null,l+""||null}return e&&(l.headRadius=function(t){return arguments.length?(e="function"==typeof t?t:Au(+t),l):e}),l.radius=function(e){return arguments.length?(r=i="function"==typeof e?e:Au(+e),l):r},l.sourceRadius=function(e){return arguments.length?(r="function"==typeof e?e:Au(+e),l):r},l.targetRadius=function(e){return arguments.length?(i="function"==typeof e?e:Au(+e),l):i},l.startAngle=function(e){return arguments.length?(a="function"==typeof e?e:Au(+e),l):a},l.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Au(+e),l):o},l.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:Au(+e),l):s},l.source=function(e){return arguments.length?(t=e,l):t},l.target=function(e){return arguments.length?(n=e,l):n},l.context=function(e){return arguments.length?(c=null==e?null:e,l):c},l}function Fu(){return Ru()}function Pu(){return Ru(Mu)}var ju=Array.prototype.slice;function $u(e,t){return e-t}function qu(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t()=>e;function Uu(e,t){for(var n,r=-1,i=t.length;++rr!=d>r&&n<(h-l)*(r-u)/(d-u)+l&&(i=-i)}return i}function Yu(e,t,n){var r;return Wu(e,t,n)&&Vu(e[r=+(e[0]===t[0])],n[r],t[r])}function Wu(e,t,n){return(t[0]-e[0])*(n[1]-e[1])==(n[0]-e[0])*(t[1]-e[1])}function Vu(e,t,n){return e<=t&&t<=n||n<=t&&t<=e}function Gu(){}var Xu=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Zu(){var e=1,t=1,n=Fe,r=c;function i(e){var t=n(e);if(Array.isArray(t))t=t.slice().sort($u);else{const n=te(e),r=Me(n[0],n[1],t);t=De(Math.floor(n[0]/r)*r,Math.floor(n[1]/r-1)*r,t)}return t.map((t=>a(e,t)))}function a(e,t){var n=[],i=[];return o(e,t,(function(a){r(a,e,t),qu(a)>0?n.push([a]):i.push(a)})),i.forEach((function(e){for(var t,r=0,i=n.length;r=r,Xu[l<<1].forEach(f);++a=r,Xu[c|l<<1].forEach(f);for(Xu[l<<0].forEach(f);++o=r,u=n[o*e]>=r,Xu[l<<1|u<<2].forEach(f);++a=r,p=u,u=n[o*e+a+1]>=r,Xu[c|l<<1|u<<2|p<<3].forEach(f);Xu[l|u<<3].forEach(f)}for(a=-1,u=n[o*e]>=r,Xu[u<<2].forEach(f);++a=r,Xu[u<<2|p<<3].forEach(f);function f(e){var t,n,r=[e[0][0]+a,e[0][1]+o],c=[e[1][0]+a,e[1][1]+o],l=s(r),u=s(c);(t=d[l])?(n=h[u])?(delete d[t.end],delete h[n.start],t===n?(t.ring.push(c),i(t.ring)):h[t.start]=d[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete d[t.end],t.ring.push(c),d[t.end=u]=t):(t=h[u])?(n=d[l])?(delete h[t.start],delete d[n.end],t===n?(t.ring.push(c),i(t.ring)):h[n.start]=d[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete h[t.start],t.ring.unshift(r),h[t.start=l]=t):h[l]=d[u]={start:l,end:u,ring:[r,c]}}Xu[u<<3].forEach(f)}function s(t){return 2*t[0]+t[1]*(e+1)*4}function c(n,r,i){n.forEach((function(n){var a,o=n[0],s=n[1],c=0|o,l=0|s,u=r[l*e+c];o>0&&o0&&s=0&&a>=0))throw new Error("invalid size");return e=r,t=a,i},i.thresholds=function(e){return arguments.length?(n="function"==typeof e?e:Array.isArray(e)?zu(ju.call(e)):zu(e),i):n},i.smooth=function(e){return arguments.length?(r=e?c:Gu,i):r===c},i}function Ku(e){return e[0]}function Ju(e){return e[1]}function Qu(){return 1}function ep(){var e=Ku,t=Ju,n=Qu,r=960,i=500,a=20,o=2,s=3*a,c=r+2*s>>o,l=i+2*s>>o,u=zu(20);function p(r){var i=new Float32Array(c*l),u=Math.pow(2,-o),p=-1;for(const a of r){var h=(e(a,++p,r)+s)*u,d=(t(a,p,r)+s)*u,f=+n(a,p,r);if(h>=0&&h=0&&de*r)))(t).map(((e,t)=>(e.value=+n[t],d(e))))}function d(e){return e.coordinates.forEach(f),e}function f(e){e.forEach(m)}function m(e){e.forEach(y)}function y(e){e[0]=e[0]*Math.pow(2,o)-s,e[1]=e[1]*Math.pow(2,o)-s}function g(){return c=r+2*(s=3*a)>>o,l=i+2*s>>o,h}return h.contours=function(e){var t=p(e),n=Zu().size([c,l]),r=Math.pow(2,2*o),i=e=>{e=+e;var i=d(n.contour(t,e*r));return i.value=e,i};return Object.defineProperty(i,"max",{get:()=>je(t)/r}),i},h.x=function(t){return arguments.length?(e="function"==typeof t?t:zu(+t),h):e},h.y=function(e){return arguments.length?(t="function"==typeof e?e:zu(+e),h):t},h.weight=function(e){return arguments.length?(n="function"==typeof e?e:zu(+e),h):n},h.size=function(e){if(!arguments.length)return[r,i];var t=+e[0],n=+e[1];if(!(t>=0&&n>=0))throw new Error("invalid size");return r=t,i=n,g()},h.cellSize=function(e){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return o=Math.floor(Math.log(e)/Math.LN2),g()},h.thresholds=function(e){return arguments.length?(u="function"==typeof e?e:Array.isArray(e)?zu(ju.call(e)):zu(e),h):u},h.bandwidth=function(e){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return a=(Math.sqrt(4*e*e+1)-1)/2,g()},h}const tp=11102230246251565e-32,np=134217729,rp=(3+8*tp)*tp;function ip(e,t,n,r,i){let a,o,s,c,l=t[0],u=r[0],p=0,h=0;u>l==u>-l?(a=l,l=t[++p]):(a=u,u=r[++h]);let d=0;if(pl==u>-l?(o=l+a,s=a-(o-l),l=t[++p]):(o=u+a,s=a-(o-u),u=r[++h]),a=o,0!==s&&(i[d++]=s);pl==u>-l?(o=a+l,c=o-a,s=a-(o-c)+(l-c),l=t[++p]):(o=a+u,c=o-a,s=a-(o-c)+(u-c),u=r[++h]),a=o,0!==s&&(i[d++]=s);for(;p=I||-O>=I||(p=e-T,s=e-(T+p)+(p-i),p=n-C,l=n-(C+p)+(p-i),p=t-S,c=t-(S+p)+(p-a),p=r-A,u=r-(A+p)+(p-a),0===s&&0===c&&0===l&&0===u)||(I=lp*o+rp*Math.abs(O),O+=T*u+A*s-(S*l+C*c),O>=I||-O>=I))return O;x=s*A,h=np*s,d=h-(h-s),f=s-d,h=np*A,m=h-(h-A),y=A-m,_=f*y-(x-d*m-f*m-d*y),k=c*C,h=np*c,d=h-(h-c),f=c-d,h=np*C,m=h-(h-C),y=C-m,w=f*y-(k-d*m-f*m-d*y),g=_-w,p=_-g,fp[0]=_-(g+p)+(p-w),v=x+g,p=v-x,b=x-(v-p)+(g-p),g=b-k,p=b-g,fp[1]=b-(g+p)+(p-k),E=v+g,p=E-v,fp[2]=v-(E-p)+(g-p),fp[3]=E;const N=ip(4,up,4,fp,pp);x=T*u,h=np*T,d=h-(h-T),f=T-d,h=np*u,m=h-(h-u),y=u-m,_=f*y-(x-d*m-f*m-d*y),k=S*l,h=np*S,d=h-(h-S),f=S-d,h=np*l,m=h-(h-l),y=l-m,w=f*y-(k-d*m-f*m-d*y),g=_-w,p=_-g,fp[0]=_-(g+p)+(p-w),v=x+g,p=v-x,b=x-(v-p)+(g-p),g=b-k,p=b-g,fp[1]=b-(g+p)+(p-k),E=v+g,p=E-v,fp[2]=v-(E-p)+(g-p),fp[3]=E;const B=ip(N,pp,4,fp,hp);x=s*u,h=np*s,d=h-(h-s),f=s-d,h=np*u,m=h-(h-u),y=u-m,_=f*y-(x-d*m-f*m-d*y),k=c*l,h=np*c,d=h-(h-c),f=c-d,h=np*l,m=h-(h-l),y=l-m,w=f*y-(k-d*m-f*m-d*y),g=_-w,p=_-g,fp[0]=_-(g+p)+(p-w),v=x+g,p=v-x,b=x-(v-p)+(g-p),g=b-k,p=b-g,fp[1]=b-(g+p)+(p-k),E=v+g,p=E-v,fp[2]=v-(E-p)+(g-p),fp[3]=E;const D=ip(B,hp,4,fp,dp);return dp[D-1]}function yp(e,t,n,r,i,a){const o=(t-a)*(n-i),s=(e-i)*(r-a),c=o-s;if(0===o||0===s||o>0!=s>0)return c;const l=Math.abs(o+s);return Math.abs(c)>=sp*l?c:-mp(e,t,n,r,i,a,l)}const gp=Math.pow(2,-52),vp=new Uint32Array(512);class bp{static from(e,t=Sp,n=Ap){const r=e.length,i=new Float64Array(2*r);for(let a=0;a>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,a=e.length>>1;let o=1/0,s=1/0,c=-1/0,l=-1/0;for(let T=0;Tc&&(c=t),n>l&&(l=n),this._ids[T]=T}const u=(o+c)/2,p=(s+l)/2;let h,d,f,m=1/0;for(let T=0;T0&&(d=T,m=t)}let v=e[2*d],b=e[2*d+1],x=1/0;for(let T=0;Tr&&(t[n++]=i,r=this._dists[i])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(yp(y,g,v,b,_,k)<0){const e=d,t=v,n=b;d=f,v=_,b=k,f=e,_=t,k=n}const w=Ep(y,g,v,b,_,k);this._cx=w.x,this._cy=w.y;for(let T=0;T0&&Math.abs(o-T)<=gp&&Math.abs(s-C)<=gp||(T=o,C=s,a===h||a===d||a===f))continue;let c=0;for(let e=0,t=this._hashKey(o,s);e=0;)if(u=l,u===c){u=-1;break}if(-1===u)continue;let p=this._addTriangle(u,a,n[u],-1,-1,r[u]);r[a]=this._legalize(p+2),r[u]=p,E++;let m=n[u];for(;l=n[m],yp(o,s,e[2*m],e[2*m+1],e[2*l],e[2*l+1])<0;)p=this._addTriangle(m,a,l,r[a],-1,r[m]),r[a]=this._legalize(p+2),n[m]=m,E--,m=l;if(u===c)for(;l=t[u],yp(o,s,e[2*l],e[2*l+1],e[2*u],e[2*u+1])<0;)p=this._addTriangle(l,a,u,-1,r[u],r[l]),this._legalize(p+2),r[l]=p,n[u]=u,E--,u=l;this._hullStart=t[a]=u,n[u]=t[m]=a,n[a]=m,i[this._hashKey(o,s)]=a,i[this._hashKey(e[2*u],e[2*u+1])]=u}this.hull=new Uint32Array(E);for(let T=0,C=this._hullStart;T0?3-n:1+n)/4}function _p(e,t,n,r){const i=e-n,a=t-r;return i*i+a*a}function kp(e,t,n,r,i,a,o,s){const c=e-o,l=t-s,u=n-o,p=r-s,h=i-o,d=a-s,f=u*u+p*p,m=h*h+d*d;return c*(p*m-f*d)-l*(u*m-f*h)+(c*c+l*l)*(u*d-p*h)<0}function wp(e,t,n,r,i,a){const o=n-e,s=r-t,c=i-e,l=a-t,u=o*o+s*s,p=c*c+l*l,h=.5/(o*l-s*c),d=(l*u-s*p)*h,f=(o*p-c*u)*h;return d*d+f*f}function Ep(e,t,n,r,i,a){const o=n-e,s=r-t,c=i-e,l=a-t,u=o*o+s*s,p=c*c+l*l,h=.5/(o*l-s*c);return{x:e+(l*u-s*p)*h,y:t+(o*p-c*u)*h}}function Tp(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],a=t[r];let o=i-1;for(;o>=n&&t[e[o]]>a;)e[o+1]=e[o--];e[o+1]=r}else{let i=n+1,a=r;Cp(e,n+r>>1,i),t[e[n]]>t[e[r]]&&Cp(e,n,r),t[e[i]]>t[e[r]]&&Cp(e,i,r),t[e[n]]>t[e[i]]&&Cp(e,n,i);const o=e[i],s=t[o];for(;;){do{i++}while(t[e[i]]s);if(a=a-n?(Tp(e,t,i,r),Tp(e,t,n,a-1)):(Tp(e,t,n,a-1),Tp(e,t,i,r))}}function Cp(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Sp(e){return e[0]}function Ap(e){return e[1]}const Op=1e-6;class Ip{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Op||Math.abs(this._y1-i)>Op)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class Np{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class Bp{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let h,d,f=0,m=0,y=n.length;f1;)i-=2;for(let a=2;a4)for(let a=0;a0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)this.xmax?2:0)|(tthis.ymax?8:0)}}const Dp=2*Math.PI,Lp=Math.pow;function Mp(e){return e[0]}function Rp(e){return e[1]}function Fp(e){const{triangles:t,coords:n}=e;for(let r=0;r1e-10)return!1}return!0}function Pp(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class jp{static from(e,t=Mp,n=Rp,r){return new jp("length"in e?$p(e,t,n,r):Float64Array.from(qp(e,t,n,r)))}constructor(e){this._delaunator=new bp(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&Fp(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]));const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let a=0,o=t.length/2;a0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],a[r[0]]=1,2===r.length&&(a[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new Bp(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:a,collinear:o}=this;if(o){const t=o.indexOf(e);return t>0&&(yield o[t-1]),void(t=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:a,halfedges:o,triangles:s,points:c}=this;if(-1===r[e]||!c.length)return(e+1)%(c.length>>1);let l=e,u=Lp(t-c[2*e],2)+Lp(n-c[2*e+1],2);const p=r[e];let h=p;do{let r=s[h];const p=Lp(t-c[2*r],2)+Lp(n-c[2*r+1],2);if(p9999?"+"+Zp(e,6):Zp(e,4)}function Jp(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":Kp(e.getUTCFullYear())+"-"+Zp(e.getUTCMonth()+1,2)+"-"+Zp(e.getUTCDate(),2)+(i?"T"+Zp(t,2)+":"+Zp(n,2)+":"+Zp(r,2)+"."+Zp(i,3)+"Z":r?"T"+Zp(t,2)+":"+Zp(n,2)+":"+Zp(r,2)+"Z":n||t?"T"+Zp(t,2)+":"+Zp(n,2)+"Z":"")}function Qp(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var n,r,a=i(e,(function(e,i){if(n)return n(e,i-1);r=e,n=t?Gp(e,t):Vp(e)}));return a.columns=r||[],a}function i(e,t){var r,i=[],a=e.length,o=0,s=0,c=a<=0,l=!1;function u(){if(c)return Up;if(l)return l=!1,zp;var t,r,i=o;if(e.charCodeAt(i)===Hp){for(;o++=a?c=!0:(r=e.charCodeAt(o++))===Yp?l=!0:r===Wp&&(l=!0,e.charCodeAt(o)===Yp&&++o),e.slice(i+1,t-1).replace(/""/g,'"')}for(;owh(t,n).then((t=>(new DOMParser).parseFromString(t,e)))}const Bh=Nh("application/xml");var Dh=Nh("text/html"),Lh=Nh("image/svg+xml");function Mh(e,t){var n,r=1;function i(){var i,a,o=n.length,s=0,c=0;for(i=0;i=(a=(m+g)/2))?m=a:g=a,(u=n>=(o=(y+v)/2))?y=o:v=o,i=d,!(d=d[p=u<<1|l]))return i[p]=f,e;if(s=+e._x.call(null,d.data),c=+e._y.call(null,d.data),t===s&&n===c)return f.next=d,i?i[p]=f:e._root=f,e;do{i=i?i[p]=new Array(4):e._root=new Array(4),(l=t>=(a=(m+g)/2))?m=a:g=a,(u=n>=(o=(y+v)/2))?y=o:v=o}while((p=u<<1|l)==(h=(c>=o)<<1|s>=a));return i[h]=d,i[p]=f,e}function Ph(e){var t,n,r,i,a=e.length,o=new Array(a),s=new Array(a),c=1/0,l=1/0,u=-1/0,p=-1/0;for(n=0;nu&&(u=r),ip&&(p=i));if(c>u||l>p)return this;for(this.cover(c,l).cover(u,p),n=0;ne||e>=i||r>t||t>=a;)switch(s=(th||(a=c.y0)>d||(o=c.x1)=g)<<1|e>=y)&&(c=f[f.length-1],f[f.length-1]=f[f.length-1-l],f[f.length-1-l]=c)}else{var v=e-+this._x.call(null,m.data),b=t-+this._y.call(null,m.data),x=v*v+b*b;if(x=(s=(f+y)/2))?f=s:y=s,(u=o>=(c=(m+g)/2))?m=c:g=c,t=d,!(d=d[p=u<<1|l]))return this;if(!d.length)break;(t[p+1&3]||t[p+2&3]||t[p+3&3])&&(n=t,h=p)}for(;d.data!==e;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):t?(i?t[p]=i:delete t[p],(d=t[0]||t[1]||t[2]||t[3])&&d===(t[3]||t[2]||t[1]||t[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)}function Yh(e){for(var t=0,n=e.length;tl+f||au+f||oc.index){var m=l-s.x-s.vx,y=u-s.y-s.vy,g=m*m+y*y;ge.r&&(e.r=e[t].r)}function c(){if(t){var r,i,a=t.length;for(n=new Array(a),r=0;r[s(e,t,r),e])));for(o=0,i=new Array(l);o(e=(hd*e+dd)%fd)/fd}function yd(e){return e.x}function gd(e){return e.y}var vd=10,bd=Math.PI*(3-Math.sqrt(5));function xd(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),a=0,o=.6,s=new Map,c=ns(p),l=Gt("tick","end"),u=md();function p(){h(),l.call("tick",t),n1?(null==n?s.delete(e):s.set(e,f(n)),t):s.get(e)},find:function(t,n,r){var i,a,o,s,c,l=0,u=e.length;for(null==r?r=1/0:r*=r,l=0;l1?(l.on(e,n),t):l.on(e)}}}function _d(){var e,t,n,r,i,a=id(-30),o=1,s=1/0,c=.81;function l(n){var i,a=e.length,o=ed(e,yd,gd).visitAfter(p);for(r=n,i=0;i=s)){(e.data!==t||e.next)&&(0===p&&(f+=(p=ad(n))*p),0===h&&(f+=(h=ad(n))*h),f=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Cd(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Sd(e){return(e=Cd(Math.abs(e)))?e[1]:NaN}function Ad(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Od(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}var Id,Nd=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Bd(e){if(!(t=Nd.exec(e)))throw new Error("invalid format: "+e);var t;return new Dd({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Dd(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Ld(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}function Md(e,t){var n=Cd(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(Id=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Cd(e,Math.max(0,t+a-1))[0]}function Rd(e,t){var n=Cd(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Bd.prototype=Dd.prototype,Dd.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Fd={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Td,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Rd(100*e,t),r:Rd,s:Md,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Pd(e){return e}var jd,$d,qd,zd=Array.prototype.map,Ud=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Hd(e){var t=void 0===e.grouping||void 0===e.thousands?Pd:Ad(zd.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",a=void 0===e.numerals?Pd:Od(zd.call(e.numerals,String)),o=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"\u2212":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function l(e){var l=(e=Bd(e)).fill,u=e.align,p=e.sign,h=e.symbol,d=e.zero,f=e.width,m=e.comma,y=e.precision,g=e.trim,v=e.type;"n"===v?(m=!0,v="g"):Fd[v]||(void 0===y&&(y=12),g=!0,v="g"),(d||"0"===l&&"="===u)&&(d=!0,l="0",u="=");var b="$"===h?n:"#"===h&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===h?r:/[%p]/.test(v)?o:"",_=Fd[v],k=/[defgprs%]/.test(v);function w(e){var n,r,o,h=b,w=x;if("c"===v)w=_(e)+w,e="";else{var E=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:_(Math.abs(e),y),g&&(e=Ld(e)),E&&0==+e&&"+"!==p&&(E=!1),h=(E?"("===p?p:s:"-"===p||"("===p?"":p)+h,w=("s"===v?Ud[8+Id/3]:"")+w+(E&&"("===p?")":""),k)for(n=-1,r=e.length;++n(o=e.charCodeAt(n))||o>57){w=(46===o?i+e.slice(n+1):e.slice(n))+w,e=e.slice(0,n);break}}m&&!d&&(e=t(e,1/0));var T=h.length+e.length+w.length,C=T>1)+h+e+w+C.slice(T);break;default:e=C+h+e+w}return a(e)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),w.toString=function(){return e+""},w}function u(e,t){var n=l(((e=Bd(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Sd(t)/3))),i=Math.pow(10,-r),a=Ud[8+r/3];return function(e){return n(i*e)+a}}return{format:l,formatPrefix:u}}function Yd(e){return jd=Hd(e),$d=jd.format,qd=jd.formatPrefix,jd}function Wd(e){return Math.max(0,-Sd(Math.abs(e)))}function Vd(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Sd(t)/3)))-Sd(Math.abs(e)))}function Gd(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Sd(t)-Sd(e))+1}Yd({thousands:",",grouping:[3],currency:["$",""]});var Xd=1e-6,Zd=1e-12,Kd=Math.PI,Jd=Kd/2,Qd=Kd/4,ef=2*Kd,tf=180/Kd,nf=Kd/180,rf=Math.abs,af=Math.atan,of=Math.atan2,sf=Math.cos,cf=Math.ceil,lf=Math.exp,uf=Math.hypot,pf=Math.log,hf=Math.pow,df=Math.sin,ff=Math.sign||function(e){return e>0?1:e<0?-1:0},mf=Math.sqrt,yf=Math.tan;function gf(e){return e>1?0:e<-1?Kd:Math.acos(e)}function vf(e){return e>1?Jd:e<-1?-Jd:Math.asin(e)}function bf(e){return(e=df(e/2))*e}function xf(){}function _f(e,t){e&&wf.hasOwnProperty(e.type)&&wf[e.type](e,t)}var kf={Feature:function(e,t){_f(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,a=sf(t=(t*=nf)/2+Qd),o=df(t),s=Nf*o,c=If*a+s*sf(i),l=s*r*df(i);Bf.add(of(l,c)),Of=e,If=a,Nf=o}function jf(e){return Df=new ne,Cf(e,Lf),2*Df}function $f(e){return[of(e[1],e[0]),vf(e[2])]}function qf(e){var t=e[0],n=e[1],r=sf(n);return[r*sf(t),r*df(t),df(n)]}function zf(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Uf(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Hf(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Yf(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Wf(e){var t=mf(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Vf,Gf,Xf,Zf,Kf,Jf,Qf,em,tm,nm,rm,im={point:am,lineStart:sm,lineEnd:cm,polygonStart:function(){im.point=lm,im.lineStart=um,im.lineEnd=pm,tm=new ne,Lf.polygonStart()},polygonEnd:function(){Lf.polygonEnd(),im.point=am,im.lineStart=sm,im.lineEnd=cm,Bf<0?(Vf=-(Xf=180),Gf=-(Zf=90)):tm>Xd?Zf=90:tm<-Xd&&(Gf=-90),rm[0]=Vf,rm[1]=Xf},sphere:function(){Vf=-(Xf=180),Gf=-(Zf=90)}};function am(e,t){nm.push(rm=[Vf=e,Xf=e]),tZf&&(Zf=t)}function om(e,t){var n=qf([e*nf,t*nf]);if(em){var r=Uf(em,n),i=Uf([r[1],-r[0],0],r);Wf(i),i=$f(i);var a,o=e-Kf,s=o>0?1:-1,c=i[0]*tf*s,l=rf(o)>180;l^(s*KfZf&&(Zf=a):l^(s*Kf<(c=(c+360)%360-180)&&cZf&&(Zf=t)),l?ehm(Vf,Xf)&&(Xf=e):hm(e,Xf)>hm(Vf,Xf)&&(Vf=e):Xf>=Vf?(eXf&&(Xf=e)):e>Kf?hm(Vf,e)>hm(Vf,Xf)&&(Xf=e):hm(e,Xf)>hm(Vf,Xf)&&(Vf=e)}else nm.push(rm=[Vf=e,Xf=e]);tZf&&(Zf=t),em=n,Kf=e}function sm(){im.point=om}function cm(){rm[0]=Vf,rm[1]=Xf,im.point=am,em=null}function lm(e,t){if(em){var n=e-Kf;tm.add(rf(n)>180?n+(n>0?360:-360):n)}else Jf=e,Qf=t;Lf.point(e,t),om(e,t)}function um(){Lf.lineStart()}function pm(){lm(Jf,Qf),Lf.lineEnd(),rf(tm)>Xd&&(Vf=-(Xf=180)),rm[0]=Vf,rm[1]=Xf,em=null}function hm(e,t){return(t-=e)<0?t+360:t}function dm(e,t){return e[0]-t[0]}function fm(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:thm(r[0],r[1])&&(r[1]=i[1]),hm(i[0],r[1])>hm(r[0],r[1])&&(r[0]=i[0])):a.push(r=i);for(o=-1/0,t=0,r=a[n=a.length-1];t<=n;r=i,++t)i=a[t],(s=hm(r[1],i[0]))>o&&(o=s,Vf=i[0],Xf=r[1])}return nm=rm=null,Vf===1/0||Gf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vf,Gf],[Xf,Zf]]}var ym,gm,vm,bm,xm,_m,km,wm,Em,Tm,Cm,Sm,Am,Om,Im,Nm,Bm={sphere:xf,point:Dm,lineStart:Mm,lineEnd:Pm,polygonStart:function(){Bm.lineStart=jm,Bm.lineEnd=$m},polygonEnd:function(){Bm.lineStart=Mm,Bm.lineEnd=Pm}};function Dm(e,t){e*=nf;var n=sf(t*=nf);Lm(n*sf(e),n*df(e),df(t))}function Lm(e,t,n){++ym,vm+=(e-vm)/ym,bm+=(t-bm)/ym,xm+=(n-xm)/ym}function Mm(){Bm.point=Rm}function Rm(e,t){e*=nf;var n=sf(t*=nf);Om=n*sf(e),Im=n*df(e),Nm=df(t),Bm.point=Fm,Lm(Om,Im,Nm)}function Fm(e,t){e*=nf;var n=sf(t*=nf),r=n*sf(e),i=n*df(e),a=df(t),o=of(mf((o=Im*a-Nm*i)*o+(o=Nm*r-Om*a)*o+(o=Om*i-Im*r)*o),Om*r+Im*i+Nm*a);gm+=o,_m+=o*(Om+(Om=r)),km+=o*(Im+(Im=i)),wm+=o*(Nm+(Nm=a)),Lm(Om,Im,Nm)}function Pm(){Bm.point=Dm}function jm(){Bm.point=qm}function $m(){zm(Sm,Am),Bm.point=Dm}function qm(e,t){Sm=e,Am=t,e*=nf,t*=nf,Bm.point=zm;var n=sf(t);Om=n*sf(e),Im=n*df(e),Nm=df(t),Lm(Om,Im,Nm)}function zm(e,t){e*=nf;var n=sf(t*=nf),r=n*sf(e),i=n*df(e),a=df(t),o=Im*a-Nm*i,s=Nm*r-Om*a,c=Om*i-Im*r,l=uf(o,s,c),u=vf(l),p=l&&-u/l;Em.add(p*o),Tm.add(p*s),Cm.add(p*c),gm+=u,_m+=u*(Om+(Om=r)),km+=u*(Im+(Im=i)),wm+=u*(Nm+(Nm=a)),Lm(Om,Im,Nm)}function Um(e){ym=gm=vm=bm=xm=_m=km=wm=0,Em=new ne,Tm=new ne,Cm=new ne,Cf(e,Bm);var t=+Em,n=+Tm,r=+Cm,i=uf(t,n,r);return iKd?e+Math.round(-e/ef)*ef:e,t]}function Vm(e,t,n){return(e%=ef)?t||n?Ym(Xm(e),Zm(t,n)):Xm(e):t||n?Zm(t,n):Wm}function Gm(e){return function(t,n){return[(t+=e)>Kd?t-ef:t<-Kd?t+ef:t,n]}}function Xm(e){var t=Gm(e);return t.invert=Gm(-e),t}function Zm(e,t){var n=sf(e),r=df(e),i=sf(t),a=df(t);function o(e,t){var o=sf(t),s=sf(e)*o,c=df(e)*o,l=df(t),u=l*n+s*r;return[of(c*i-u*a,s*n-l*r),vf(u*i+c*a)]}return o.invert=function(e,t){var o=sf(t),s=sf(e)*o,c=df(e)*o,l=df(t),u=l*i-c*a;return[of(c*i+l*a,s*n+u*r),vf(u*n-s*r)]},o}function Km(e){function t(t){return(t=e(t[0]*nf,t[1]*nf))[0]*=tf,t[1]*=tf,t}return e=Vm(e[0]*nf,e[1]*nf,e.length>2?e[2]*nf:0),t.invert=function(t){return(t=e.invert(t[0]*nf,t[1]*nf))[0]*=tf,t[1]*=tf,t},t}function Jm(e,t,n,r,i,a){if(n){var o=sf(t),s=df(t),c=r*n;null==i?(i=t+r*ef,a=t-c/2):(i=Qm(o,i),a=Qm(o,a),(r>0?ia)&&(i+=r*ef));for(var l,u=i;r>0?u>a:u1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function ny(e,t){return rf(e[0]-t[0])=0;--a)i.point((u=l[a])[0],u[1]);else r(h.x,h.p.x,-1,i);h=h.p}l=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function ay(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,C=T*E,S=C>Kd,A=y*k;if(c.add(of(A*T*df(C),g*w+A*sf(C))),o+=S?E+T*ef:E,S^f>=n^x>=n){var O=Uf(qf(d),qf(b));Wf(O);var I=Uf(a,O);Wf(I);var N=(S^E>=0?-1:1)*vf(I[2]);(r>N||r===N&&(O[0]||O[1]))&&(s+=S^E>=0?1:-1)}}return(o<-Xd||o0){for(p||(i.polygonStart(),p=!0),i.lineStart(),e=0;e1&&2&c&&h.push(h.pop().concat(h.shift())),o.push(h.filter(ly))}}return h}}function ly(e){return e.length>1}function uy(e,t){return((e=e.x)[0]<0?e[1]-Jd-Xd:Jd-e[1])-((t=t.x)[0]<0?t[1]-Jd-Xd:Jd-t[1])}Wm.invert=Wm;const py=cy((function(){return!0}),hy,fy,[-Kd,-Jd]);function hy(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(a,o){var s=a>0?Kd:-Kd,c=rf(a-n);rf(c-Kd)0?Jd:-Jd),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(a,r),t=0):i!==s&&c>=Kd&&(rf(n-i)Xd?af((df(t)*(a=sf(r))*df(n)-df(r)*(i=sf(t))*df(e))/(i*a*o)):(t+r)/2}function fy(e,t,n,r){var i;if(null==e)i=n*Jd,r.point(-Kd,i),r.point(0,i),r.point(Kd,i),r.point(Kd,0),r.point(Kd,-i),r.point(0,-i),r.point(-Kd,-i),r.point(-Kd,0),r.point(-Kd,i);else if(rf(e[0]-t[0])>Xd){var a=e[0]0,i=rf(t)>Xd;function a(t,r,i,a){Jm(a,e,n,i,t,r)}function o(e,n){return sf(e)*sf(n)>t}function s(e){var t,n,a,s,u;return{lineStart:function(){s=a=!1,u=1},point:function(p,h){var d,f=[p,h],m=o(p,h),y=r?m?0:l(p,h):m?l(p+(p<0?Kd:-Kd),h):0;if(!t&&(s=a=m)&&e.lineStart(),m!==a&&(!(d=c(t,f))||ny(t,d)||ny(f,d))&&(f[2]=1),m!==a)u=0,m?(e.lineStart(),d=c(f,t),e.point(d[0],d[1])):(d=c(t,f),e.point(d[0],d[1],2),e.lineEnd()),t=d;else if(i&&t&&r^m){var g;!(y&n)&&(g=c(f,t,!0))&&(u=0,r?(e.lineStart(),e.point(g[0][0],g[0][1]),e.point(g[1][0],g[1][1]),e.lineEnd()):(e.point(g[1][0],g[1][1]),e.lineEnd(),e.lineStart(),e.point(g[0][0],g[0][1],3)))}m&&(!t||!ny(t,f))&&e.point(f[0],f[1]),t=f,a=m,n=y},lineEnd:function(){a&&e.lineEnd(),t=null},clean:function(){return u|(s&&a)<<1}}}function c(e,n,r){var i=[1,0,0],a=Uf(qf(e),qf(n)),o=zf(a,a),s=a[0],c=o-s*s;if(!c)return!r&&e;var l=t*o/c,u=-t*s/c,p=Uf(i,a),h=Yf(i,l);Hf(h,Yf(a,u));var d=p,f=zf(h,d),m=zf(d,d),y=f*f-m*(zf(h,h)-1);if(!(y<0)){var g=mf(y),v=Yf(d,(-f-g)/m);if(Hf(v,h),v=$f(v),!r)return v;var b,x=e[0],_=n[0],k=e[1],w=n[1];_0^v[1]<(rf(v[0]-x)Kd^(x<=v[0]&&v[0]<=_)){var C=Yf(d,(-f+g)/m);return Hf(C,h),[v,$f(C)]}}}function l(t,n){var i=r?e:Kd-e,a=0;return t<-i?a|=1:t>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return cy(o,s,a,r?[0,-e]:[-Kd,e-Kd])}function yy(e,t,n,r,i,a){var o,s=e[0],c=e[1],l=0,u=1,p=t[0]-s,h=t[1]-c;if(o=n-s,p||!(o>0)){if(o/=p,p<0){if(o0){if(o>u)return;o>l&&(l=o)}if(o=i-s,p||!(o<0)){if(o/=p,p<0){if(o>u)return;o>l&&(l=o)}else if(p>0){if(o0)){if(o/=h,h<0){if(o0){if(o>u)return;o>l&&(l=o)}if(o=a-c,h||!(o<0)){if(o/=h,h<0){if(o>u)return;o>l&&(l=o)}else if(h>0){if(o0&&(e[0]=s+l*p,e[1]=c+l*h),u<1&&(t[0]=s+u*p,t[1]=c+u*h),!0}}}}}var gy=1e9,vy=-gy;function by(e,t,n,r){function i(i,a){return e<=i&&i<=n&&t<=a&&a<=r}function a(i,a,s,l){var u=0,p=0;if(null==i||(u=o(i,s))!==(p=o(a,s))||c(i,a)<0^s>0)do{l.point(0===u||3===u?e:n,u>1?r:t)}while((u=(u+s+4)%4)!==p);else l.point(a[0],a[1])}function o(r,i){return rf(r[0]-e)0?0:3:rf(r[0]-n)0?2:1:rf(r[1]-t)0?1:0:i>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(o){var c,l,u,p,h,d,f,m,y,g,v,b=o,x=ty(),_={point:k,lineStart:C,lineEnd:S,polygonStart:E,polygonEnd:T};function k(e,t){i(e,t)&&b.point(e,t)}function w(){for(var t=0,n=0,i=l.length;nr&&(h-a)*(r-o)>(d-o)*(e-a)&&++t:d<=r&&(h-a)*(r-o)<(d-o)*(e-a)&&--t;return t}function E(){b=x,c=[],l=[],v=!0}function T(){var e=w(),t=v&&e,n=(c=tt(c)).length;(t||n)&&(o.polygonStart(),t&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),n&&iy(c,s,e,a,o),o.polygonEnd()),b=o,c=l=u=null}function C(){_.point=A,l&&l.push(u=[]),g=!0,y=!1,f=m=NaN}function S(){c&&(A(p,h),d&&y&&x.rejoin(),c.push(x.result())),_.point=k,y&&b.lineEnd()}function A(a,o){var s=i(a,o);if(l&&u.push([a,o]),g)p=a,h=o,d=s,g=!1,s&&(b.lineStart(),b.point(a,o));else if(s&&y)b.point(a,o);else{var c=[f=Math.max(vy,Math.min(gy,f)),m=Math.max(vy,Math.min(gy,m))],x=[a=Math.max(vy,Math.min(gy,a)),o=Math.max(vy,Math.min(gy,o))];yy(c,x,e,t,n,r)?(y||(b.lineStart(),b.point(c[0],c[1])),b.point(x[0],x[1]),s||b.lineEnd(),v=!1):s&&(b.lineStart(),b.point(a,o),v=!1)}f=a,m=o,y=s}return _}}function xy(){var e,t,n,r=0,i=0,a=960,o=500;return n={stream:function(n){return e&&t===n?e:e=by(r,i,a,o)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],a=+s[1][0],o=+s[1][1],e=t=null,n):[[r,i],[a,o]]}}}var _y,ky,wy,Ey,Ty={sphere:xf,point:xf,lineStart:Cy,lineEnd:xf,polygonStart:xf,polygonEnd:xf};function Cy(){Ty.point=Ay,Ty.lineEnd=Sy}function Sy(){Ty.point=Ty.lineEnd=xf}function Ay(e,t){ky=e*=nf,wy=df(t*=nf),Ey=sf(t),Ty.point=Oy}function Oy(e,t){e*=nf;var n=df(t*=nf),r=sf(t),i=rf(e-ky),a=sf(i),o=r*df(i),s=Ey*n-wy*r*a,c=wy*n+Ey*r*a;_y.add(of(mf(o*o+s*s),c)),ky=e,wy=n,Ey=r}function Iy(e){return _y=new ne,Cf(e,Ty),+_y}var Ny=[null,null],By={type:"LineString",coordinates:Ny};function Dy(e,t){return Ny[0]=e,Ny[1]=t,Iy(By)}var Ly={Feature:function(e,t){return Ry(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r0&&(i=Dy(e[a],e[a-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))Xd})).map(c)).concat(at(cf(a/d)*d,i,d).filter((function(e){return rf(e%m)>Xd})).map(l))}return g.lines=function(){return v().map((function(e){return{type:"LineString",coordinates:e}}))},g.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(p(o).slice(1),u(n).reverse().slice(1),p(s).reverse().slice(1))]}},g.extent=function(e){return arguments.length?g.extentMajor(e).extentMinor(e):g.extentMinor()},g.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],o=+e[1][1],r>n&&(e=r,r=n,n=e),s>o&&(e=s,s=o,o=e),g.precision(y)):[[r,s],[n,o]]},g.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],a=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),a>i&&(n=a,a=i,i=n),g.precision(y)):[[t,a],[e,i]]},g.step=function(e){return arguments.length?g.stepMajor(e).stepMinor(e):g.stepMinor()},g.stepMajor=function(e){return arguments.length?(f=+e[0],m=+e[1],g):[f,m]},g.stepMinor=function(e){return arguments.length?(h=+e[0],d=+e[1],g):[h,d]},g.precision=function(h){return arguments.length?(y=+h,c=Uy(a,i,90),l=Hy(t,e,y),u=Uy(s,o,90),p=Hy(r,n,y),g):y},g.extentMajor([[-180,-90+Xd],[180,90-Xd]]).extentMinor([[-180,-80-Xd],[180,80+Xd]])}function Wy(){return Yy()()}function Vy(e,t){var n=e[0]*nf,r=e[1]*nf,i=t[0]*nf,a=t[1]*nf,o=sf(r),s=df(r),c=sf(a),l=df(a),u=o*sf(n),p=o*df(n),h=c*sf(i),d=c*df(i),f=2*vf(mf(bf(a-r)+o*c*bf(i-n))),m=df(f),y=f?function(e){var t=df(e*=f)/m,n=df(f-e)/m,r=n*u+t*h,i=n*p+t*d,a=n*s+t*l;return[of(i,r)*tf,of(a,mf(r*r+i*i))*tf]}:function(){return[n*tf,r*tf]};return y.distance=f,y}const Gy=e=>e;var Xy,Zy,Ky,Jy,Qy=new ne,eg=new ne,tg={point:xf,lineStart:xf,lineEnd:xf,polygonStart:function(){tg.lineStart=ng,tg.lineEnd=ag},polygonEnd:function(){tg.lineStart=tg.lineEnd=tg.point=xf,Qy.add(rf(eg)),eg=new ne},result:function(){var e=Qy/2;return Qy=new ne,e}};function ng(){tg.point=rg}function rg(e,t){tg.point=ig,Xy=Ky=e,Zy=Jy=t}function ig(e,t){eg.add(Jy*e-Ky*t),Ky=e,Jy=t}function ag(){ig(Xy,Zy)}const og=tg;var sg=1/0,cg=sg,lg=-sg,ug=lg;function pg(e,t){elg&&(lg=e),tug&&(ug=t)}const hg={point:pg,lineStart:xf,lineEnd:xf,polygonStart:xf,polygonEnd:xf,result:function(){var e=[[sg,cg],[lg,ug]];return lg=ug=-(cg=sg=1/0),e}};var dg,fg,mg,yg,gg=0,vg=0,bg=0,xg=0,_g=0,kg=0,wg=0,Eg=0,Tg=0,Cg={point:Sg,lineStart:Ag,lineEnd:Ng,polygonStart:function(){Cg.lineStart=Bg,Cg.lineEnd=Dg},polygonEnd:function(){Cg.point=Sg,Cg.lineStart=Ag,Cg.lineEnd=Ng},result:function(){var e=Tg?[wg/Tg,Eg/Tg]:kg?[xg/kg,_g/kg]:bg?[gg/bg,vg/bg]:[NaN,NaN];return gg=vg=bg=xg=_g=kg=wg=Eg=Tg=0,e}};function Sg(e,t){gg+=e,vg+=t,++bg}function Ag(){Cg.point=Og}function Og(e,t){Cg.point=Ig,Sg(mg=e,yg=t)}function Ig(e,t){var n=e-mg,r=t-yg,i=mf(n*n+r*r);xg+=i*(mg+e)/2,_g+=i*(yg+t)/2,kg+=i,Sg(mg=e,yg=t)}function Ng(){Cg.point=Sg}function Bg(){Cg.point=Lg}function Dg(){Mg(dg,fg)}function Lg(e,t){Cg.point=Mg,Sg(dg=mg=e,fg=yg=t)}function Mg(e,t){var n=e-mg,r=t-yg,i=mf(n*n+r*r);xg+=i*(mg+e)/2,_g+=i*(yg+t)/2,kg+=i,wg+=(i=yg*e-mg*t)*(mg+e),Eg+=i*(yg+t),Tg+=3*i,Sg(mg=e,yg=t)}const Rg=Cg;function Fg(e){this._context=e}Fg.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,ef)}},result:xf};var Pg,jg,$g,qg,zg,Ug=new ne,Hg={point:xf,lineStart:function(){Hg.point=Yg},lineEnd:function(){Pg&&Wg(jg,$g),Hg.point=xf},polygonStart:function(){Pg=!0},polygonEnd:function(){Pg=null},result:function(){var e=+Ug;return Ug=new ne,e}};function Yg(e,t){Hg.point=Wg,jg=qg=e,$g=zg=t}function Wg(e,t){qg-=e,zg-=t,Ug.add(mf(qg*qg+zg*zg)),qg=e,zg=t}const Vg=Hg;function Gg(){this._string=[]}function Xg(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Zg(e,t){var n,r,i=4.5;function a(e){return e&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Cf(e,n(r))),r.result()}return a.area=function(e){return Cf(e,n(og)),og.result()},a.measure=function(e){return Cf(e,n(Vg)),Vg.result()},a.bounds=function(e){return Cf(e,n(hg)),hg.result()},a.centroid=function(e){return Cf(e,n(Rg)),Rg.result()},a.projection=function(t){return arguments.length?(n=null==t?(e=null,Gy):(e=t).stream,a):e},a.context=function(e){return arguments.length?(r=null==e?(t=null,new Gg):new Fg(t=e),"function"!=typeof i&&r.pointRadius(i),a):t},a.pointRadius=function(e){return arguments.length?(i="function"==typeof e?e:(r.pointRadius(+e),+e),a):i},a.projection(e).context(t)}function Kg(e){return{stream:Jg(e)}}function Jg(e){return function(t){var n=new Qg;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Qg(){}function ev(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),Cf(n,e.stream(hg)),t(hg.result()),null!=r&&e.clipExtent(r),e}function tv(e,t,n){return ev(e,(function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+t[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(i-a*(n[1][1]+n[0][1]))/2;e.scale(150*a).translate([o,s])}),n)}function nv(e,t,n){return tv(e,[[0,0],t],n)}function rv(e,t,n){return ev(e,(function(n){var r=+t,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];e.scale(150*i).translate([a,o])}),n)}function iv(e,t,n){return ev(e,(function(n){var r=+t,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,o])}),n)}Gg.prototype={_radius:4.5,_circle:Xg(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Xg(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}},Qg.prototype={constructor:Qg,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var av=16,ov=sf(30*nf);function sv(e,t){return+t?lv(e,t):cv(e)}function cv(e){return Jg({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function lv(e,t){function n(r,i,a,o,s,c,l,u,p,h,d,f,m,y){var g=l-r,v=u-i,b=g*g+v*v;if(b>4*t&&m--){var x=o+h,_=s+d,k=c+f,w=mf(x*x+_*_+k*k),E=vf(k/=w),T=rf(rf(k)-1)t||rf((g*O+v*I)/b-.5)>.3||o*h+s*d+c*f2?e[2]%360*nf:0,O()):[y*tf,g*tf,v*tf]},S.angle=function(e){return arguments.length?(b=e%360*nf,O()):b*tf},S.reflectX=function(e){return arguments.length?(x=e?-1:1,O()):x<0},S.reflectY=function(e){return arguments.length?(_=e?-1:1,O()):_<0},S.precision=function(e){return arguments.length?(o=sv(s,C=e*e),I()):mf(C)},S.fitExtent=function(e,t){return tv(S,e,t)},S.fitSize=function(e,t){return nv(S,e,t)},S.fitWidth=function(e,t){return rv(S,e,t)},S.fitHeight=function(e,t){return iv(S,e,t)},function(){return t=e.apply(this,arguments),S.invert=t.invert&&A,O()}}function yv(e){var t=0,n=Kd/3,r=mv(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*nf,n=e[1]*nf):[t*tf,n*tf]},i}function gv(e){var t=sf(e);function n(e,n){return[e*t,df(n)/t]}return n.invert=function(e,n){return[e/t,vf(n*t)]},n}function vv(e,t){var n=df(e),r=(n+df(t))/2;if(rf(r)=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:o).invert(e)},u.stream=function(n){return e&&t===n?e:e=_v([o.stream(t=n),s.stream(n),c.stream(n)])},u.precision=function(e){return arguments.length?(o.precision(e),s.precision(e),c.precision(e),p()):o.precision()},u.scale=function(e){return arguments.length?(o.scale(e),s.scale(.35*e),c.scale(e),u.translate(o.translate())):o.scale()},u.translate=function(e){if(!arguments.length)return o.translate();var t=o.scale(),a=+e[0],u=+e[1];return n=o.translate(e).clipExtent([[a-.455*t,u-.238*t],[a+.455*t,u+.238*t]]).stream(l),r=s.translate([a-.307*t,u+.201*t]).clipExtent([[a-.425*t+Xd,u+.12*t+Xd],[a-.214*t-Xd,u+.234*t-Xd]]).stream(l),i=c.translate([a-.205*t,u+.212*t]).clipExtent([[a-.214*t+Xd,u+.166*t+Xd],[a-.115*t-Xd,u+.234*t-Xd]]).stream(l),p()},u.fitExtent=function(e,t){return tv(u,e,t)},u.fitSize=function(e,t){return nv(u,e,t)},u.fitWidth=function(e,t){return rv(u,e,t)},u.fitHeight=function(e,t){return iv(u,e,t)},u.scale(1070)}function wv(e){return function(t,n){var r=sf(t),i=sf(n),a=e(r*i);return a===1/0?[2,0]:[a*i*df(t),a*df(n)]}}function Ev(e){return function(t,n){var r=mf(t*t+n*n),i=e(r),a=df(i),o=sf(i);return[of(t*a,r*o),vf(r&&n*a/r)]}}var Tv=wv((function(e){return mf(2/(1+e))}));function Cv(){return fv(Tv).scale(124.75).clipAngle(179.999)}Tv.invert=Ev((function(e){return 2*vf(e/2)}));var Sv=wv((function(e){return(e=gf(e))&&e/df(e)}));function Av(){return fv(Sv).scale(79.4188).clipAngle(179.999)}function Ov(e,t){return[e,pf(yf((Jd+t)/2))]}function Iv(){return Nv(Ov).scale(961/ef)}function Nv(e){var t,n,r,i=fv(e),a=i.center,o=i.scale,s=i.translate,c=i.clipExtent,l=null;function u(){var a=Kd*o(),s=i(Km(i.rotate()).invert([0,0]));return c(null==l?[[s[0]-a,s[1]-a],[s[0]+a,s[1]+a]]:e===Ov?[[Math.max(s[0]-a,l),t],[Math.min(s[0]+a,n),r]]:[[l,Math.max(s[1]-a,t)],[n,Math.min(s[1]+a,r)]])}return i.scale=function(e){return arguments.length?(o(e),u()):o()},i.translate=function(e){return arguments.length?(s(e),u()):s()},i.center=function(e){return arguments.length?(a(e),u()):a()},i.clipExtent=function(e){return arguments.length?(null==e?l=t=n=r=null:(l=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),u()):null==l?null:[[l,t],[n,r]]},u()}function Bv(e){return yf((Jd+e)/2)}function Dv(e,t){var n=sf(e),r=e===t?df(e):pf(n/sf(t))/pf(Bv(t)/Bv(e)),i=n*hf(Bv(e),r)/r;if(!r)return Ov;function a(e,t){i>0?t<-Jd+Xd&&(t=-Jd+Xd):t>Jd-Xd&&(t=Jd-Xd);var n=i/hf(Bv(t),r);return[n*df(r*e),i-n*sf(r*e)]}return a.invert=function(e,t){var n=i-t,a=ff(r)*mf(e*e+n*n),o=of(e,rf(n))*ff(n);return n*r<0&&(o-=Kd*ff(e)*ff(n)),[o/r,2*af(hf(i/a,1/r))-Jd]},a}function Lv(){return yv(Dv).scale(109.5).parallels([30,30])}function Mv(e,t){return[e,t]}function Rv(){return fv(Mv).scale(152.63)}function Fv(e,t){var n=sf(e),r=e===t?df(e):(n-sf(t))/(t-e),i=n/r+e;if(rf(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}function ib(e,t){return e.parent===t.parent?1:2}function ab(e){return e.reduce(ob,0)/e.length}function ob(e,t){return e+t.x}function sb(e){return 1+e.reduce(cb,0)}function cb(e,t){return Math.max(e,t.y)}function lb(e){for(var t;t=e.children;)e=t[0];return e}function ub(e){for(var t;t=e.children;)e=t[t.length-1];return e}function pb(){var e=ib,t=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter((function(t){var n=t.children;n?(t.x=ab(n),t.y=sb(n)):(t.x=a?o+=e(t,a):0,t.y=0,a=t)}));var s=lb(i),c=ub(i),l=s.x-e(s,c)/2,u=c.x+e(c,s)/2;return i.eachAfter(r?function(e){e.x=(e.x-i.x)*t,e.y=(i.y-e.y)*n}:function(e){e.x=(e.x-l)/(u-l)*t,e.y=(1-(i.y?e.y/i.y:1))*n})}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function hb(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function db(){return this.eachAfter(hb)}function fb(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function mb(e,t){for(var n,r,i=this,a=[i],o=-1;i=a.pop();)if(e.call(t,i,++o,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this}function yb(e,t){for(var n,r,i,a=this,o=[a],s=[],c=-1;a=o.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;r=0;)n+=r[i].value;t.value=n}))}function bb(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}function xb(e){for(var t=this,n=_b(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function _b(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function kb(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function wb(){return Array.from(this)}function Eb(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}function Tb(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t}function*Cb(){var e,t,n,r,i=this,a=[i];do{for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n=0;--a)c.push(r=i[a]=new Db(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Bb)}function Ab(){return Sb(this).eachBefore(Nb)}function Ob(e){return e.children}function Ib(e){return Array.isArray(e)?e[1]:null}function Nb(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Bb(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Db(e){this.data=e,this.depth=this.height=0,this.parent=null}function Lb(e){return null==e?null:Mb(e)}function Mb(e){if("function"!=typeof e)throw new Error;return e}function Rb(){return 0}function Fb(e){return function(){return e}}Yv.invert=function(e,t){for(var n,r=t,i=r*r,a=i*i*i,o=0;oXd&&--i>0);return[e/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},Jv.invert=Ev(vf),eb.invert=Ev((function(e){return 2*af(e)})),nb.invert=function(e,t){return[-t,2*af(lf(e))-Jd]},Db.prototype=Sb.prototype={constructor:Db,count:db,each:fb,eachAfter:yb,eachBefore:mb,find:gb,sum:vb,sort:bb,path:xb,ancestors:kb,descendants:wb,leaves:Eb,links:Tb,copy:Ab,[Symbol.iterator]:Cb};const Pb=1664525,jb=1013904223,$b=4294967296;function qb(){let e=1;return()=>(e=(Pb*e+jb)%$b)/$b}function zb(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Ub(e,t){let n,r,i=e.length;for(;i;)r=t()*i--|0,n=e[i],e[i]=e[r],e[r]=n;return e}function Hb(e){return Yb(e,qb())}function Yb(e,t){for(var n,r,i=0,a=(e=Ub(Array.from(e),t)).length,o=[];i0&&n*n>r*r+i*i}function Xb(e,t){for(var n=0;n1e-6?(S+Math.sqrt(S*S-4*C*A))/(2*C):A/S);return{x:r+k+w*O,y:i+E+T*O,r:O}}function ex(e,t,n){var r,i,a,o,s=e.x-t.x,c=e.y-t.y,l=s*s+c*c;l?(i=t.r+n.r,i*=i,o=e.r+n.r,i>(o*=o)?(r=(l+o-i)/(2*l),a=Math.sqrt(Math.max(0,o/l-r*r)),n.x=e.x-r*s-a*c,n.y=e.y-r*c+a*s):(r=(l+i-o)/(2*l),a=Math.sqrt(Math.max(0,i/l-r*r)),n.x=t.x+r*s-a*c,n.y=t.y+r*c+a*s)):(n.x=t.x+n.r,n.y=t.y)}function tx(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function nx(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,a=(t.y*n.r+n.y*t.r)/r;return i*i+a*a}function rx(e){this._=e,this.next=null,this.previous=null}function ix(e,t){if(!(a=(e=zb(e)).length))return 0;var n,r,i,a,o,s,c,l,u,p,h;if((n=e[0]).x=0,n.y=0,!(a>1))return n.r;if(r=e[1],n.x=-r.r,r.x=n.r,r.y=0,!(a>2))return n.r+r.r;ex(r,n,i=e[2]),n=new rx(n),r=new rx(r),i=new rx(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(c=3;cxx(e(t,n,r)))),n=t.map(_x),i=new Set(t).add("");for(const e of n)i.has(e)||(i.add(e),t.push(e),n.push(_x(e)),h.push(yx));d=(e,n)=>t[n],f=(e,t)=>n[t]}for(o=0,i=h.length;o=0&&(l=h[e]).data===yx;--e)l.data=null}if(s.parent=fx,s.eachBefore((function(e){e.depth=e.parent.depth+1,--i})).eachBefore(Bb),s.parent=null,i>0)throw new Error("cycle");return s}return r.id=function(e){return arguments.length?(t=Lb(e),r):t},r.parentId=function(e){return arguments.length?(n=Lb(e),r):n},r.path=function(t){return arguments.length?(e=Lb(t),r):e},r}function xx(e){let t=(e=`${e}`).length;return kx(e,t-1)&&!kx(e,t-2)&&(e=e.slice(0,-1)),"/"===e[0]?e:`/${e}`}function _x(e){let t=e.length;if(t<2)return"";for(;--t>1&&!kx(e,t););return e.slice(0,t)}function kx(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if(0==(1&n))return!0}return!1}function wx(e,t){return e.parent===t.parent?1:2}function Ex(e){var t=e.children;return t?t[0]:e.t}function Tx(e){var t=e.children;return t?t[t.length-1]:e.t}function Cx(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function Sx(e){for(var t,n=0,r=0,i=e.children,a=i.length;--a>=0;)(t=i[a]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}function Ax(e,t,n){return e.a.parent===t.parent?e.a:n}function Ox(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function Ix(e){for(var t,n,r,i,a,o=new Ox(e,0),s=[o];t=s.pop();)if(r=t._.children)for(t.children=new Array(a=r.length),i=a-1;i>=0;--i)s.push(n=t.children[i]=new Ox(r[i],i)),n.parent=t;return(o.parent=new Ox(null,0)).children=[o],o}function Nx(){var e=wx,t=1,n=1,r=null;function i(i){var s=Ix(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(c);else{var l=i,u=i,p=i;i.eachBefore((function(e){e.xu.x&&(u=e),e.depth>p.depth&&(p=e)}));var h=l===u?1:e(l,u)/2,d=h-l.x,f=t/(u.x+h+d),m=n/(p.depth||1);i.eachBefore((function(e){e.x=(e.x+d)*f,e.y=e.depth*m}))}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){Sx(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=s(t,i,t.parent.A||r[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(t,n,r){if(n){for(var i,a=t,o=t,s=n,c=a.parent.children[0],l=a.m,u=o.m,p=s.m,h=c.m;s=Tx(s),a=Ex(a),s&&a;)c=Ex(c),(o=Tx(o)).a=t,(i=s.z+p-a.z-l+e(s._,a._))>0&&(Cx(Ax(s,t,r),t,i),l+=i,u+=i),p+=s.m,l+=a.m,h+=c.m,u+=o.m;s&&!Tx(o)&&(o.t=s,o.m+=p-u),a&&!Ex(c)&&(c.t=a,c.m+=l-h,r=t)}return r}function c(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function Bx(e,t,n,r,i){for(var a,o=e.children,s=-1,c=o.length,l=e.value&&(i-n)/e.value;++sh&&(h=s),y=u*u*m,(d=Math.max(h/y,y/p))>f){u-=s;break}f=d}g.push(o={value:u,dice:c1?t:1)},n}(Dx);function Rx(){var e=Mx,t=!1,n=1,r=1,i=[0],a=Rb,o=Rb,s=Rb,c=Rb,l=Rb;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(p),i=[0],t&&e.eachBefore(px),e}function p(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,p=t.x1-n,h=t.y1-n;p=t-1){var c=s[e];return c.x0=r,c.y0=i,c.x1=a,void(c.y1=o)}for(var p=l[e],h=n/2+p,d=e+1,f=t-1;d>>1;l[m]o-i){var v=n?(r*g+a*y)/n:a;u(e,d,y,r,i,v,o),u(d,t,g,v,i,a,o)}else{var b=n?(i*g+o*y)/n:o;u(e,d,y,r,i,a,b),u(d,t,g,r,b,a,o)}}u(0,c,e.value,t,n,r,i)}function Px(e,t,n,r,i){(1&e.depth?Bx:hx)(e,t,n,r,i)}const jx=function e(t){function n(e,n,r,i,a){if((o=e._squarify)&&o.ratio===t)for(var o,s,c,l,u,p=-1,h=o.length,d=e.value;++p1?t:1)},n}(Dx);function $x(e){for(var t,n=-1,r=e.length,i=e[r-1],a=0;++n1&&zx(e[n[i-2]],e[n[i-1]],e[r])<=0;)--i;n[i++]=r}return n.slice(0,i)}function Yx(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),i=new Array(n);for(t=0;t=0;--t)l.push(e[r[a[t]][2]]);for(t=+s;ts!=l>s&&o<(c-n)*(s-r)/(l-r)+n&&(u=!u),c=n,l=r;return u}function Vx(e){for(var t,n,r=-1,i=e.length,a=e[i-1],o=a[0],s=a[1],c=0;++r1);return e+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(Gx),Jx=function e(t){var n=Kx.source(t);function r(){var e=n.apply(this,arguments);return function(){return Math.exp(e())}}return r.source=e,r}(Gx),Qx=function e(t){function n(e){return(e=+e)<=0?()=>0:function(){for(var n=0,r=e;r>1;--r)n+=t();return n+r*t()}}return n.source=e,n}(Gx),e_=function e(t){var n=Qx.source(t);function r(e){if(0==(e=+e))return t;var r=n(e);return function(){return r()/e}}return r.source=e,r}(Gx),t_=function e(t){function n(e){return function(){return-Math.log1p(-t())/e}}return n.source=e,n}(Gx),n_=function e(t){function n(e){if((e=+e)<0)throw new RangeError("invalid alpha");return e=1/-e,function(){return Math.pow(1-t(),e)}}return n.source=e,n}(Gx),r_=function e(t){function n(e){if((e=+e)<0||e>1)throw new RangeError("invalid p");return function(){return Math.floor(t()+e)}}return n.source=e,n}(Gx),i_=function e(t){function n(e){if((e=+e)<0||e>1)throw new RangeError("invalid p");return 0===e?()=>1/0:1===e?()=>1:(e=Math.log1p(-e),function(){return 1+Math.floor(Math.log1p(-t())/e)})}return n.source=e,n}(Gx),a_=function e(t){var n=Kx.source(t)();function r(e,r){if((e=+e)<0)throw new RangeError("invalid k");if(0===e)return()=>0;if(r=null==r?1:+r,1===e)return()=>-Math.log1p(-t())*r;var i=(e<1?e+1:e)-1/3,a=1/(3*Math.sqrt(i)),o=e<1?()=>Math.pow(t(),1/e):()=>1;return function(){do{do{var e=n(),s=1+a*e}while(s<=0);s*=s*s;var c=1-t()}while(c>=1-.0331*e*e*e*e&&Math.log(c)>=.5*e*e+i*(1-s+Math.log(s)));return i*s*o()*r}}return r.source=e,r}(Gx),o_=function e(t){var n=a_.source(t);function r(e,t){var r=n(e),i=n(t);return function(){var e=r();return 0===e?0:e/(e+i())}}return r.source=e,r}(Gx),s_=function e(t){var n=i_.source(t),r=o_.source(t);function i(e,t){return e=+e,(t=+t)>=1?()=>e:t<=0?()=>0:function(){for(var i=0,a=e,o=t;a*o>16&&a*(1-o)>16;){var s=Math.floor((a+1)*o),c=r(s,a-s+1)();c<=o?(i+=s,a-=s,o=(o-c)/(1-c)):(a=s-1,o/=c)}for(var l=o<.5,u=n(l?o:1-o),p=u(),h=0;p<=a;++h)p+=u();return i+(l?h:a-h)}}return i.source=e,i}(Gx),c_=function e(t){function n(e,n,r){var i;return 0==(e=+e)?i=e=>-Math.log(e):(e=1/e,i=t=>Math.pow(t,e)),n=null==n?0:+n,r=null==r?1:+r,function(){return n+r*i(-Math.log1p(-t()))}}return n.source=e,n}(Gx),l_=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,function(){return e+n*Math.tan(Math.PI*t())}}return n.source=e,n}(Gx),u_=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,function(){var r=t();return e+n*Math.log(r/(1-r))}}return n.source=e,n}(Gx),p_=function e(t){var n=a_.source(t),r=s_.source(t);function i(e){return function(){for(var i=0,a=e;a>16;){var o=Math.floor(.875*a),s=n(o)();if(s>a)return i+r(o-1,a/s)();i+=o,a-=s}for(var c=-Math.log1p(-t()),l=0;c<=a;++l)c-=Math.log1p(-t());return i+l}}return i.source=e,i}(Gx),h_=1664525,d_=1013904223,f_=1/4294967296;function m_(e=Math.random()){let t=0|(0<=e&&e<1?e/f_:Math.abs(e));return()=>(t=h_*t+d_|0,f_*(t>>>0))}function y_(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function g_(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const v_=Symbol("implicit");function b_(){var e=new ae,t=[],n=[],r=v_;function i(i){let a=e.get(i);if(void 0===a){if(r!==v_)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new ae;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return b_(t,n).unknown(r)},y_.apply(i,arguments),i}function x_(){var e,t,n=b_().unknown(void 0),r=n.domain,i=n.range,a=0,o=1,s=!1,c=0,l=0,u=.5;function p(){var n=r().length,p=ot&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function O_(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i2?I_:O_,i=a=null,p}function p(t){return null==t||isNaN(t=+t)?n:(i||(i=r(o.map(e),s,c)))(e(l(t)))}return p.invert=function(n){return l(t((a||(a=r(s,o.map(e),io)))(n)))},p.domain=function(e){return arguments.length?(o=Array.from(e,E_),u()):o.slice()},p.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},p.rangeRound=function(e){return s=Array.from(e),c=mo,u()},p.clamp=function(e){return arguments.length?(l=!!e||C_,u()):l!==C_},p.interpolate=function(e){return arguments.length?(c=e,u()):c},p.unknown=function(e){return arguments.length?(n=e,p):n},function(n,r){return e=n,t=r,u()}}function D_(){return B_()(C_,C_)}function L_(e,t,n,r){var i,a=Me(e,t,n);switch((r=Bd(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null==r.precision&&!isNaN(i=Vd(a,o))&&(r.precision=i),qd(r,o);case"":case"e":case"g":case"p":case"r":null==r.precision&&!isNaN(i=Gd(a,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=i-("e"===r.type));break;case"f":case"%":null==r.precision&&!isNaN(i=Wd(a))&&(r.precision=i-2*("%"===r.type))}return $d(r)}function M_(e){var t=e.domain;return e.ticks=function(e){var n=t();return De(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return L_(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,a=t(),o=0,s=a.length-1,c=a[o],l=a[s],u=10;for(l0;){if((i=Le(c,l,n))===r)return a[o]=c,a[s]=l,t(a);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function R_(){var e=D_();return e.copy=function(){return N_(e,R_())},y_.apply(e,arguments),M_(e)}function F_(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,E_),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return F_(e).unknown(t)},e=arguments.length?Array.from(e,E_):[0,1],M_(n)}function P_(e,t){var n,r=0,i=(e=e.slice()).length-1,a=e[r],o=e[i];return oMath.pow(e,t)}function Y_(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function W_(e){return(t,n)=>-e(-t,n)}function V_(e){const t=e(j_,$_),n=t.domain;let r,i,a=10;function o(){return r=Y_(a),i=H_(a),n()[0]<0?(r=W_(r),i=W_(i),e(q_,z_)):e(j_,$_),t}return t.base=function(e){return arguments.length?(a=+e,o()):a},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{const t=n();let o=t[0],s=t[t.length-1];const c=s0){for(;p<=h;++p)for(l=1;ls)break;f.push(u)}}else for(;p<=h;++p)for(l=a-1;l>=1;--l)if(u=p>0?l/i(-p):l*i(p),!(us)break;f.push(u)}2*f.length{if(null==e&&(e=10),null==n&&(n=10===a?"s":","),"function"!=typeof n&&(!(a%1)&&null==(n=Bd(n)).precision&&(n.trim=!0),n=$d(n)),e===1/0)return n;const o=Math.max(1,a*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*an(P_(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function G_(){const e=V_(B_()).domain([1,10]);return e.copy=()=>N_(e,G_()).base(e.base()),y_.apply(e,arguments),e}function X_(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Z_(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function K_(e){var t=1,n=e(X_(t),Z_(t));return n.constant=function(n){return arguments.length?e(X_(t=+n),Z_(t)):t},M_(n)}function J_(){var e=K_(B_());return e.copy=function(){return N_(e,J_()).constant(e.constant())},y_.apply(e,arguments)}function Q_(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function ek(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function tk(e){return e<0?-e*e:e*e}function nk(e){var t=e(C_,C_),n=1;function r(){return 1===n?e(C_,C_):.5===n?e(ek,tk):e(Q_(n),Q_(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},M_(t)}function rk(){var e=nk(B_());return e.copy=function(){return N_(e,rk()).exponent(e.exponent())},y_.apply(e,arguments),e}function ik(){return rk.apply(null,arguments).exponent(.5)}function ak(e){return Math.sign(e)*e*e}function ok(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function sk(){var e,t=D_(),n=[0,1],r=!1;function i(n){var i=ok(t(n));return isNaN(i)?e:r?Math.round(i):i}return i.invert=function(e){return t.invert(ak(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((n=Array.from(e,E_)).map(ak)),i):n.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(r=!!e,i):r},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return sk(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},y_.apply(i,arguments),M_(i)}function ck(){var e,t=[],n=[],r=[];function i(){var e=0,i=Math.max(1,n.length);for(r=new Array(i-1);++e0?r[i-1]:t[0],i=r?[i[r-1],n]:[i[o-1],i[o]]},o.unknown=function(t){return arguments.length&&(e=t),o},o.thresholds=function(){return i.slice()},o.copy=function(){return lk().domain([t,n]).range(a).unknown(e)},y_.apply(M_(o),arguments)}function uk(){var e,t=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[R(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return uk().domain(t).range(n).unknown(e)},y_.apply(i,arguments)}var pk=new Date,hk=new Date;function dk(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t0))return s;do{s.push(o=new Date(+n)),t(n,a),e(n)}while(o=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return pk.setTime(+t),hk.setTime(+r),e(pk),e(hk),Math.floor(n(pk,hk))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var fk=dk((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));fk.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?dk((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):fk:null};const mk=fk;var yk=fk.range;const gk=1e3,vk=60*gk,bk=60*vk,xk=24*bk,_k=7*xk,kk=30*xk,wk=365*xk;var Ek=dk((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*gk)}),(function(e,t){return(t-e)/gk}),(function(e){return e.getUTCSeconds()}));const Tk=Ek;var Ck=Ek.range,Sk=dk((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*gk)}),(function(e,t){e.setTime(+e+t*vk)}),(function(e,t){return(t-e)/vk}),(function(e){return e.getMinutes()}));const Ak=Sk;var Ok=Sk.range,Ik=dk((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*gk-e.getMinutes()*vk)}),(function(e,t){e.setTime(+e+t*bk)}),(function(e,t){return(t-e)/bk}),(function(e){return e.getHours()}));const Nk=Ik;var Bk=Ik.range,Dk=dk((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vk)/xk),(e=>e.getDate()-1));const Lk=Dk;var Mk=Dk.range;function Rk(e){return dk((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vk)/_k}))}var Fk=Rk(0),Pk=Rk(1),jk=Rk(2),$k=Rk(3),qk=Rk(4),zk=Rk(5),Uk=Rk(6),Hk=Fk.range,Yk=Pk.range,Wk=jk.range,Vk=$k.range,Gk=qk.range,Xk=zk.range,Zk=Uk.range,Kk=dk((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const Jk=Kk;var Qk=Kk.range,ew=dk((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));ew.every=function(e){return isFinite(e=Math.floor(e))&&e>0?dk((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const tw=ew;var nw=ew.range,rw=dk((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*vk)}),(function(e,t){return(t-e)/vk}),(function(e){return e.getUTCMinutes()}));const iw=rw;var aw=rw.range,ow=dk((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*bk)}),(function(e,t){return(t-e)/bk}),(function(e){return e.getUTCHours()}));const sw=ow;var cw=ow.range,lw=dk((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/xk}),(function(e){return e.getUTCDate()-1}));const uw=lw;var pw=lw.range;function hw(e){return dk((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/_k}))}var dw=hw(0),fw=hw(1),mw=hw(2),yw=hw(3),gw=hw(4),vw=hw(5),bw=hw(6),xw=dw.range,_w=fw.range,kw=mw.range,ww=yw.range,Ew=gw.range,Tw=vw.range,Cw=bw.range,Sw=dk((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));const Aw=Sw;var Ow=Sw.range,Iw=dk((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));Iw.every=function(e){return isFinite(e=Math.floor(e))&&e>0?dk((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const Nw=Iw;var Bw=Iw.range;function Dw(e,t,n,r,i,a){const o=[[Tk,1,gk],[Tk,5,5*gk],[Tk,15,15*gk],[Tk,30,30*gk],[a,1,vk],[a,5,5*vk],[a,15,15*vk],[a,30,30*vk],[i,1,bk],[i,3,3*bk],[i,6,6*bk],[i,12,12*bk],[r,1,xk],[r,2,2*xk],[n,1,_k],[t,1,kk],[t,3,3*kk],[e,1,wk]];function s(e,t,n){const r=te)).right(o,i);if(a===o.length)return e.every(Me(t/wk,n/wk,r));if(0===a)return mk.every(Math.max(Me(t,n,r),1));const[s,c]=o[i/o[a-1][2]53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=jw($w(a.y,0,1))).getUTCDay(),r=i>4||0===i?fw.ceil(r):fw(r),r=uw.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=Pw($w(a.y,0,1))).getDay(),r=i>4||0===i?Pk.ceil(r):Pk(r),r=Lk.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?jw($w(a.y,0,1)).getUTCDay():Pw($w(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,jw(a)):Pw(a)}}function E(e,t,n,r){for(var i,a,o=0,s=t.length,c=n.length;o=c)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=_[i in Vw?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function C(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function S(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1}function I(e,n,r){return E(e,t,n,r)}function N(e,t,r){return E(e,n,t,r)}function B(e,t,n){return E(e,r,t,n)}function D(e){return o[e.getDay()]}function L(e){return a[e.getDay()]}function M(e){return c[e.getMonth()]}function R(e){return s[e.getMonth()]}function F(e){return i[+(e.getHours()>=12)]}function P(e){return 1+~~(e.getMonth()/3)}function j(e){return o[e.getUTCDay()]}function $(e){return a[e.getUTCDay()]}function q(e){return c[e.getUTCMonth()]}function z(e){return s[e.getUTCMonth()]}function U(e){return i[+(e.getUTCHours()>=12)]}function H(e){return 1+~~(e.getUTCMonth()/3)}return b.x=k(n,b),b.X=k(r,b),b.c=k(t,b),x.x=k(n,x),x.X=k(r,x),x.c=k(t,x),{format:function(e){var t=k(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=w(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=w(e+="",!0);return t.toString=function(){return e},t}}}var zw,Uw,Hw,Yw,Ww,Vw={"-":"",_:" ",0:"0"},Gw=/^\s*\d+/,Xw=/^%/,Zw=/[\\^$*+?|[\]().{}]/g;function Kw(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a[e.toLowerCase(),t])))}function tE(e,t,n){var r=Gw.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function nE(e,t,n){var r=Gw.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function rE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function iE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function aE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function oE(e,t,n){var r=Gw.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function sE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function cE(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function lE(e,t,n){var r=Gw.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function uE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function pE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function hE(e,t,n){var r=Gw.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function dE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function fE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function mE(e,t,n){var r=Gw.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function yE(e,t,n){var r=Gw.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function gE(e,t,n){var r=Gw.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function vE(e,t,n){var r=Xw.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function bE(e,t,n){var r=Gw.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function xE(e,t,n){var r=Gw.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function _E(e,t){return Kw(e.getDate(),t,2)}function kE(e,t){return Kw(e.getHours(),t,2)}function wE(e,t){return Kw(e.getHours()%12||12,t,2)}function EE(e,t){return Kw(1+Lk.count(tw(e),e),t,3)}function TE(e,t){return Kw(e.getMilliseconds(),t,3)}function CE(e,t){return TE(e,t)+"000"}function SE(e,t){return Kw(e.getMonth()+1,t,2)}function AE(e,t){return Kw(e.getMinutes(),t,2)}function OE(e,t){return Kw(e.getSeconds(),t,2)}function IE(e){var t=e.getDay();return 0===t?7:t}function NE(e,t){return Kw(Fk.count(tw(e)-1,e),t,2)}function BE(e){var t=e.getDay();return t>=4||0===t?qk(e):qk.ceil(e)}function DE(e,t){return e=BE(e),Kw(qk.count(tw(e),e)+(4===tw(e).getDay()),t,2)}function LE(e){return e.getDay()}function ME(e,t){return Kw(Pk.count(tw(e)-1,e),t,2)}function RE(e,t){return Kw(e.getFullYear()%100,t,2)}function FE(e,t){return Kw((e=BE(e)).getFullYear()%100,t,2)}function PE(e,t){return Kw(e.getFullYear()%1e4,t,4)}function jE(e,t){var n=e.getDay();return Kw((e=n>=4||0===n?qk(e):qk.ceil(e)).getFullYear()%1e4,t,4)}function $E(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Kw(t/60|0,"0",2)+Kw(t%60,"0",2)}function qE(e,t){return Kw(e.getUTCDate(),t,2)}function zE(e,t){return Kw(e.getUTCHours(),t,2)}function UE(e,t){return Kw(e.getUTCHours()%12||12,t,2)}function HE(e,t){return Kw(1+uw.count(Nw(e),e),t,3)}function YE(e,t){return Kw(e.getUTCMilliseconds(),t,3)}function WE(e,t){return YE(e,t)+"000"}function VE(e,t){return Kw(e.getUTCMonth()+1,t,2)}function GE(e,t){return Kw(e.getUTCMinutes(),t,2)}function XE(e,t){return Kw(e.getUTCSeconds(),t,2)}function ZE(e){var t=e.getUTCDay();return 0===t?7:t}function KE(e,t){return Kw(dw.count(Nw(e)-1,e),t,2)}function JE(e){var t=e.getUTCDay();return t>=4||0===t?gw(e):gw.ceil(e)}function QE(e,t){return e=JE(e),Kw(gw.count(Nw(e),e)+(4===Nw(e).getUTCDay()),t,2)}function eT(e){return e.getUTCDay()}function tT(e,t){return Kw(fw.count(Nw(e)-1,e),t,2)}function nT(e,t){return Kw(e.getUTCFullYear()%100,t,2)}function rT(e,t){return Kw((e=JE(e)).getUTCFullYear()%100,t,2)}function iT(e,t){return Kw(e.getUTCFullYear()%1e4,t,4)}function aT(e,t){var n=e.getUTCDay();return Kw((e=n>=4||0===n?gw(e):gw.ceil(e)).getUTCFullYear()%1e4,t,4)}function oT(){return"+0000"}function sT(){return"%"}function cT(e){return+e}function lT(e){return Math.floor(+e/1e3)}function uT(e){return zw=qw(e),Uw=zw.format,Hw=zw.parse,Yw=zw.utcFormat,Ww=zw.utcParse,zw}uT({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var pT="%Y-%m-%dT%H:%M:%S.%LZ";function hT(e){return e.toISOString()}const dT=Date.prototype.toISOString?hT:Yw(pT);function fT(e){var t=new Date(e);return isNaN(t)?null:t}const mT=+new Date("2000-01-01T00:00:00.000Z")?fT:Ww(pT);function yT(e){return new Date(e)}function gT(e){return e instanceof Date?+e:+new Date(+e)}function vT(e,t,n,r,i,a,o,s,c,l){var u=D_(),p=u.invert,h=u.domain,d=l(".%L"),f=l(":%S"),m=l("%I:%M"),y=l("%I %p"),g=l("%a %d"),v=l("%b %d"),b=l("%B"),x=l("%Y");function _(e){return(c(e)t(r/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((n,r)=>We(e,r/t)))},n.copy=function(){return AT(t).domain(e)},g_.apply(n,arguments)}function OT(){var e,t,n,r,i,a,o,s=0,c=.5,l=1,u=1,p=C_,h=!1;function d(e){return isNaN(e=+e)?o:(e=.5+((e=+a(e))-t)*(u*eKa(e[e.length-1]);var VT=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(MT);const GT=WT(VT);var XT=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(MT);const ZT=WT(XT);var KT=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(MT);const JT=WT(KT);var QT=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(MT);const eC=WT(QT);var tC=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(MT);const nC=WT(tC);var rC=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(MT);const iC=WT(rC);var aC=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(MT);const oC=WT(aC);var sC=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(MT);const cC=WT(sC);var lC=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(MT);const uC=WT(lC);var pC=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(MT);const hC=WT(pC);var dC=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(MT);const fC=WT(dC);var mC=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(MT);const yC=WT(mC);var gC=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(MT);const vC=WT(gC);var bC=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(MT);const xC=WT(bC);var _C=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(MT);const kC=WT(_C);var wC=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(MT);const EC=WT(wC);var TC=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(MT);const CC=WT(TC);var SC=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(MT);const AC=WT(SC);var OC=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(MT);const IC=WT(OC);var NC=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(MT);const BC=WT(NC);var DC=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(MT);const LC=WT(DC);var MC=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(MT);const RC=WT(MC);var FC=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(MT);const PC=WT(FC);var jC=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(MT);const $C=WT(jC);var qC=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(MT);const zC=WT(qC);var UC=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(MT);const HC=WT(UC);var YC=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(MT);const WC=WT(YC);function VC(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"}const GC=jo(Pa(300,.5,0),Pa(-240,.5,1));var XC=jo(Pa(-100,.75,.35),Pa(80,1.5,.8)),ZC=jo(Pa(260,.75,.35),Pa(80,1.5,.8)),KC=Pa();function JC(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return KC.h=360*e-100,KC.s=1.5-1.5*t,KC.l=.8-.9*t,KC+""}var QC=Yi(),eS=Math.PI/3,tS=2*Math.PI/3;function nS(e){var t;return e=(.5-e)*Math.PI,QC.r=255*(t=Math.sin(e))*t,QC.g=255*(t=Math.sin(e+eS))*t,QC.b=255*(t=Math.sin(e+tS))*t,QC+""}function rS(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"}function iS(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const aS=iS(MT("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var oS=iS(MT("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),sS=iS(MT("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),cS=iS(MT("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function lS(e){return function(){return e}}const uS=Math.abs,pS=Math.atan2,hS=Math.cos,dS=Math.max,fS=Math.min,mS=Math.sin,yS=Math.sqrt,gS=1e-12,vS=Math.PI,bS=vS/2,xS=2*vS;function _S(e){return e>1?0:e<-1?vS:Math.acos(e)}function kS(e){return e>=1?bS:e<=-1?-bS:Math.asin(e)}function wS(e){return e.innerRadius}function ES(e){return e.outerRadius}function TS(e){return e.startAngle}function CS(e){return e.endAngle}function SS(e){return e&&e.padAngle}function AS(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,p=s-a,h=p*c-u*l;if(!(h*hI*I+N*N&&(E=C,T=S),{cx:E,cy:T,x01:-u,y01:-p,x11:E*(i/_-1),y11:T*(i/_-1)}}function IS(){var e=wS,t=ES,n=lS(0),r=null,i=TS,a=CS,o=SS,s=null;function c(){var c,l,u=+e.apply(this,arguments),p=+t.apply(this,arguments),h=i.apply(this,arguments)-bS,d=a.apply(this,arguments)-bS,f=uS(d-h),m=d>h;if(s||(s=c=Cu()),pgS)if(f>xS-gS)s.moveTo(p*hS(h),p*mS(h)),s.arc(0,0,p,h,d,!m),u>gS&&(s.moveTo(u*hS(d),u*mS(d)),s.arc(0,0,u,d,h,m));else{var y,g,v=h,b=d,x=h,_=d,k=f,w=f,E=o.apply(this,arguments)/2,T=E>gS&&(r?+r.apply(this,arguments):yS(u*u+p*p)),C=fS(uS(p-u)/2,+n.apply(this,arguments)),S=C,A=C;if(T>gS){var O=kS(T/u*mS(E)),I=kS(T/p*mS(E));(k-=2*O)>gS?(x+=O*=m?1:-1,_-=O):(k=0,x=_=(h+d)/2),(w-=2*I)>gS?(v+=I*=m?1:-1,b-=I):(w=0,v=b=(h+d)/2)}var N=p*hS(v),B=p*mS(v),D=u*hS(_),L=u*mS(_);if(C>gS){var M,R=p*hS(b),F=p*mS(b),P=u*hS(x),j=u*mS(x);if(fgS?A>gS?(y=OS(P,j,N,B,p,A,m),g=OS(R,F,D,L,p,A,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),AgS&&k>gS?S>gS?(y=OS(D,L,R,F,u,-S,m),g=OS(N,B,P,j,u,-S,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),S=u;--p)s.point(y[p],g[p]);s.lineEnd(),s.areaEnd()}m&&(y[l]=+e(h,l,c),g[l]=+t(h,l,c),s.point(r?+r(h,l,c):y[l],n?+n(h,l,c):g[l]))}if(d)return s=null,d+""||null}function l(){return FS().defined(i).curve(o).context(a)}return e="function"==typeof e?e:void 0===e?MS:lS(+e),t="function"==typeof t?t:lS(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?RS:lS(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:lS(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:lS(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:lS(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:lS(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:lS(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:lS(+e),c):n},c.lineX0=c.lineY0=function(){return l().x(e).y(t)},c.lineY1=function(){return l().x(e).y(n)},c.lineX1=function(){return l().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:lS(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c}function jS(e,t){return te?1:t>=e?0:NaN}function $S(e){return e}function qS(){var e=$S,t=jS,n=null,r=lS(0),i=lS(xS),a=lS(0);function o(o){var s,c,l,u,p,h=(o=BS(o)).length,d=0,f=new Array(h),m=new Array(h),y=+r.apply(this,arguments),g=Math.min(xS,Math.max(-xS,i.apply(this,arguments)-y)),v=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=v*(g<0?-1:1);for(s=0;s0&&(d+=p);for(null!=t?f.sort((function(e,n){return t(m[e],m[n])})):null!=n&&f.sort((function(e,t){return n(o[e],o[t])})),s=0,l=d?(g-h*b)/d:0;s0?p*l:0)+b,m[c]={data:o[c],index:s,value:p,startAngle:y,endAngle:u,padAngle:v};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:lS(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:lS(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:lS(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:lS(+e),o):a},o}DS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var zS=HS(LS);function US(e){this._curve=e}function HS(e){function t(t){return new US(e(t))}return t._curve=e,t}function YS(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(HS(e)):t()._curve},e}function WS(){return YS(FS().curve(zS))}function VS(){var e=PS().curve(zS),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return YS(n())},delete e.lineX0,e.lineEndAngle=function(){return YS(r())},delete e.lineX1,e.lineInnerRadius=function(){return YS(i())},delete e.lineY0,e.lineOuterRadius=function(){return YS(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(HS(e)):t()._curve},e}function GS(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}US.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};class XS{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}class ZS{constructor(e){this._context=e}lineStart(){this._point=0}lineEnd(){}point(e,t){if(e=+e,t=+t,0==this._point++)this._x0=e,this._y0=t;else{const n=GS(this._x0,this._y0),r=GS(this._x0,this._y0=(this._y0+t)/2),i=GS(e,this._y0),a=GS(e,t);this._context.moveTo(...n),this._context.bezierCurveTo(...r,...i,...a)}}}function KS(e){return new XS(e,!0)}function JS(e){return new XS(e,!1)}function QS(e){return new ZS(e)}function eA(e){return e.source}function tA(e){return e.target}function nA(e){let t=eA,n=tA,r=MS,i=RS,a=null,o=null;function s(){let s;const c=NS.call(arguments),l=t.apply(this,c),u=n.apply(this,c);if(null==a&&(o=e(s=Cu())),o.lineStart(),c[0]=l,o.point(+r.apply(this,c),+i.apply(this,c)),c[0]=u,o.point(+r.apply(this,c),+i.apply(this,c)),o.lineEnd(),s)return o=null,s+""||null}return s.source=function(e){return arguments.length?(t=e,s):t},s.target=function(e){return arguments.length?(n=e,s):n},s.x=function(e){return arguments.length?(r="function"==typeof e?e:lS(+e),s):r},s.y=function(e){return arguments.length?(i="function"==typeof e?e:lS(+e),s):i},s.context=function(t){return arguments.length?(null==t?a=o=null:o=e(a=t),s):a},s}function rA(){return nA(KS)}function iA(){return nA(JS)}function aA(){const e=nA(QS);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}const oA=yS(3),sA={draw(e,t){const n=.59436*yS(t+fS(t/28,.75)),r=n/2,i=r*oA;e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-i,-r),e.lineTo(i,r),e.moveTo(-i,r),e.lineTo(i,-r)}},cA={draw(e,t){const n=yS(t/vS);e.moveTo(n,0),e.arc(0,0,n,0,xS)}},lA={draw(e,t){const n=yS(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},uA=yS(1/3),pA=2*uA,hA={draw(e,t){const n=yS(t/pA),r=n*uA;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},dA={draw(e,t){const n=.62625*yS(t);e.moveTo(0,-n),e.lineTo(n,0),e.lineTo(0,n),e.lineTo(-n,0),e.closePath()}},fA={draw(e,t){const n=.87559*yS(t-fS(t/7,2));e.moveTo(-n,0),e.lineTo(n,0),e.moveTo(0,n),e.lineTo(0,-n)}},mA={draw(e,t){const n=yS(t),r=-n/2;e.rect(r,r,n,n)}},yA={draw(e,t){const n=.4431*yS(t);e.moveTo(n,n),e.lineTo(n,-n),e.lineTo(-n,-n),e.lineTo(-n,n),e.closePath()}},gA=.8908130915292852,vA=mS(vS/10)/mS(7*vS/10),bA=mS(xS/10)*vA,xA=-hS(xS/10)*vA,_A={draw(e,t){const n=yS(t*gA),r=bA*n,i=xA*n;e.moveTo(0,-n),e.lineTo(r,i);for(let a=1;a<5;++a){const t=xS*a/5,o=hS(t),s=mS(t);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},kA=yS(3),wA={draw(e,t){const n=-yS(t/(3*kA));e.moveTo(0,2*n),e.lineTo(-kA*n,-n),e.lineTo(kA*n,-n),e.closePath()}},EA=yS(3),TA={draw(e,t){const n=.6824*yS(t),r=n/2,i=n*EA/2;e.moveTo(0,-n),e.lineTo(i,r),e.lineTo(-i,r),e.closePath()}},CA=-.5,SA=yS(3)/2,AA=1/yS(12),OA=3*(AA/2+1),IA={draw(e,t){const n=yS(t/OA),r=n/2,i=n*AA,a=r,o=n*AA+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(CA*r-SA*i,SA*r+CA*i),e.lineTo(CA*a-SA*o,SA*a+CA*o),e.lineTo(CA*s-SA*c,SA*s+CA*c),e.lineTo(CA*r+SA*i,CA*i-SA*r),e.lineTo(CA*a+SA*o,CA*o-SA*a),e.lineTo(CA*s+SA*c,CA*c-SA*s),e.closePath()}},NA={draw(e,t){const n=.6189*yS(t-fS(t/6,1.7));e.moveTo(-n,-n),e.lineTo(n,n),e.moveTo(-n,n),e.lineTo(n,-n)}},BA=[cA,lA,hA,mA,_A,wA,IA],DA=[cA,fA,NA,TA,sA,yA,dA];function LA(e,t){let n=null;function r(){let r;if(n||(n=r=Cu()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return e="function"==typeof e?e:lS(e||cA),t="function"==typeof t?t:lS(void 0===t?64:+t),r.type=function(t){return arguments.length?(e="function"==typeof t?t:lS(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:lS(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r}function MA(){}function RA(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function FA(e){this._context=e}function PA(e){return new FA(e)}function jA(e){this._context=e}function $A(e){return new jA(e)}function qA(e){this._context=e}function zA(e){return new qA(e)}function UA(e,t){this._basis=new FA(e),this._beta=t}FA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:RA(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:RA(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},jA.prototype={areaStart:MA,areaEnd:MA,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:RA(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},qA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:RA(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},UA.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*o),this._beta*t[c]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const HA=function e(t){function n(e){return 1===t?new FA(e):new UA(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function YA(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function WA(e,t){this._context=e,this._k=(1-t)/6}WA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:YA(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:YA(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const VA=function e(t){function n(e){return new WA(e,t)}return n.tension=function(t){return e(+t)},n}(0);function GA(e,t){this._context=e,this._k=(1-t)/6}GA.prototype={areaStart:MA,areaEnd:MA,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:YA(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const XA=function e(t){function n(e){return new GA(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ZA(e,t){this._context=e,this._k=(1-t)/6}ZA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:YA(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const KA=function e(t){function n(e){return new ZA(e,t)}return n.tension=function(t){return e(+t)},n}(0);function JA(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>gS){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>gS){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function QA(e,t){this._context=e,this._alpha=t}QA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:JA(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const eO=function e(t){function n(e){return t?new QA(e,t):new WA(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function tO(e,t){this._context=e,this._alpha=t}tO.prototype={areaStart:MA,areaEnd:MA,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:JA(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const nO=function e(t){function n(e){return t?new tO(e,t):new GA(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function rO(e,t){this._context=e,this._alpha=t}rO.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:JA(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const iO=function e(t){function n(e){return t?new rO(e,t):new ZA(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function aO(e){this._context=e}function oO(e){return new aO(e)}function sO(e){return e<0?-1:1}function cO(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(sO(a)+sO(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function lO(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function uO(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function pO(e){this._context=e}function hO(e){this._context=new dO(e)}function dO(e){this._context=e}function fO(e){return new pO(e)}function mO(e){return new hO(e)}function yO(e){this._context=e}function gO(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n}function TO(e,t){return e[t]}function CO(e){const t=[];return t.key=e,t}function SO(){var e=lS([]),t=EO,n=wO,r=TO;function i(i){var a,o,s=Array.from(e.apply(this,arguments),CO),c=s.length,l=-1;for(const e of i)for(a=0,++l;a0){for(var n,r,i,a=0,o=e[0].length;a0)for(var n,r,i,a,o,s,c=0,l=e[t[0]].length;c0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):(r[0]=0,r[1]=i)}function IO(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;oa&&(a=t,r=n);return r}function LO(e){var t=e.map(MO);return EO(e).sort((function(e,n){return t[e]-t[n]}))}function MO(e){for(var t,n=0,r=-1,i=e.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};const jO=e=>()=>e;function $O(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function qO(e,t,n){this.k=e,this.x=t,this.y=n}qO.prototype={constructor:qO,scale:function(e){return 1===e?this:new qO(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new qO(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var zO=new qO(1,0,0);function UO(e){for(;!e.__zoom;)if(!(e=e.parentNode))return zO;return e.__zoom}function HO(e){e.stopImmediatePropagation()}function YO(e){e.preventDefault(),e.stopImmediatePropagation()}function WO(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function VO(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function GO(){return this.__zoom||zO}function XO(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function ZO(){return navigator.maxTouchPoints||"ontouchstart"in this}function KO(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function JO(){var e,t,n,r=WO,i=VO,a=KO,o=XO,s=ZO,c=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],u=250,p=Oo,h=Gt("start","zoom","end"),d=500,f=150,m=0,y=10;function g(e){e.property("__zoom",GO).on("wheel.zoom",E,{passive:!1}).on("mousedown.zoom",T).on("dblclick.zoom",C).filter(s).on("touchstart.zoom",S).on("touchmove.zoom",A).on("touchend.zoom touchcancel.zoom",O).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(e,t){return(t=Math.max(c[0],Math.min(c[1],t)))===e.k?e:new qO(t,e.x,e.y)}function b(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new qO(e.k,r,i)}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function _(e,t,n,r){e.on("start.zoom",(function(){k(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){k(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,a=arguments,o=k(e,a).event(r),s=i.apply(e,a),c=null==n?x(s):"function"==typeof n?n.apply(e,a):n,l=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),u=e.__zoom,h="function"==typeof t?t.apply(e,a):t,d=p(u.invert(c).concat(l/u.k),h.invert(c).concat(l/h.k));return function(e){if(1===e)e=h;else{var t=d(e),n=l/t[2];e=new qO(n,c[0]-t[0]*n,c[1]-t[1]*n)}o.zoom(null,e)}}))}function k(e,t,n){return!n&&e.__zooming||new w(e,t)}function w(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=i.apply(e,t),this.taps=0}function E(e,...t){if(r.apply(this,arguments)){var n=k(this,t).event(e),i=this.__zoom,s=Math.max(c[0],Math.min(c[1],i.k*Math.pow(2,o.apply(this,arguments)))),u=ai(e);if(n.wheel)(n.mouse[0][0]!==u[0]||n.mouse[0][1]!==u[1])&&(n.mouse[1]=i.invert(n.mouse[0]=u)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[u,i.invert(u)],Es(this),n.start()}YO(e),n.wheel=setTimeout(p,f),n.zoom("mouse",a(b(v(i,s),n.mouse[0],n.mouse[1]),n.extent,l))}function p(){n.wheel=null,n.end()}}function T(e,...t){if(!n&&r.apply(this,arguments)){var i=e.currentTarget,o=k(this,t,!0).event(e),s=Qr(e.view).on("mousemove.zoom",h,!0).on("mouseup.zoom",d,!0),c=ai(e,i),u=e.clientX,p=e.clientY;hi(e.view),HO(e),o.mouse=[c,this.__zoom.invert(c)],Es(this),o.start()}function h(e){if(YO(e),!o.moved){var t=e.clientX-u,n=e.clientY-p;o.moved=t*t+n*n>m}o.event(e).zoom("mouse",a(b(o.that.__zoom,o.mouse[0]=ai(e,i),o.mouse[1]),o.extent,l))}function d(e){s.on("mousemove.zoom mouseup.zoom",null),di(e.view,o.moved),YO(e),o.event(e).end()}}function C(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,o=ai(e.changedTouches?e.changedTouches[0]:e,this),s=n.invert(o),c=n.k*(e.shiftKey?.5:2),p=a(b(v(n,c),o,s),i.apply(this,t),l);YO(e),u>0?Qr(this).transition().duration(u).call(_,p,o,e):Qr(this).call(g.transform,p,o,e)}}function S(n,...i){if(r.apply(this,arguments)){var a,o,s,c,l=n.touches,u=l.length,p=k(this,i,n.changedTouches.length===u).event(n);for(HO(n),o=0;o"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function rI(e,t,n){return(rI=nI()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&tI(i,n.prototype),i}).apply(null,arguments)}function iI(e){return aI(e)||oI(e)||sI(e)||lI()}function aI(e){if(Array.isArray(e))return cI(e)}function oI(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function sI(e,t){if(e){if("string"==typeof e)return cI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cI(e,t)}}function cI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;i/gm),XI=yI(/^data-[\-\w.\u00B7-\uFFFF]/),ZI=yI(/^aria-[\-\w]+$/),KI=yI(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),JI=yI(/^(?:\w+script|data):/i),QI=yI(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),eN=yI(/^html$/i),tN=function(){return typeof window>"u"?null:window},nN=function(e,t){if("object"!==eI(e)||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function rN(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tN(),t=function(e){return rN(e)};if(t.version="2.4.0",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter,l=e.NamedNodeMap,u=void 0===l?e.NamedNodeMap||e.MozNamedAttrMap:l,p=e.HTMLFormElement,h=e.DOMParser,d=e.trustedTypes,f=s.prototype,m=MI(f,"cloneNode"),y=MI(f,"nextSibling"),g=MI(f,"childNodes"),v=MI(f,"parentNode");if("function"==typeof a){var b=r.createElement("template");b.content&&b.content.ownerDocument&&(r=b.content.ownerDocument)}var x=nN(d,n),_=x?x.createHTML(""):"",k=r,w=k.implementation,E=k.createNodeIterator,T=k.createDocumentFragment,C=k.getElementsByTagName,S=n.importNode,A={};try{A=LI(r).documentMode?r.documentMode:{}}catch{}var O={};t.isSupported="function"==typeof v&&w&&typeof w.createHTMLDocument<"u"&&9!==A;var I,N,B=VI,D=GI,L=XI,M=ZI,R=JI,F=QI,P=KI,j=null,$=DI({},[].concat(iI(RI),iI(FI),iI(PI),iI($I),iI(zI))),q=null,z=DI({},[].concat(iI(UI),iI(HI),iI(YI),iI(WI))),U=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,Y=null,W=!0,V=!0,G=!1,X=!1,Z=!1,K=!1,J=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie="user-content-",ae=!0,oe=!1,se={},ce=null,le=DI({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ue=null,pe=DI({},["audio","video","img","source","image","track"]),he=null,de=DI({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml",ge=ye,ve=!1,be=["application/xhtml+xml","text/html"],xe="text/html",_e=null,ke=r.createElement("form"),we=function(e){return e instanceof RegExp||e instanceof Function},Ee=function(e){_e&&_e===e||((!e||"object"!==eI(e))&&(e={}),e=LI(e),I=I=-1===be.indexOf(e.PARSER_MEDIA_TYPE)?xe:e.PARSER_MEDIA_TYPE,N="application/xhtml+xml"===I?function(e){return e}:EI,j="ALLOWED_TAGS"in e?DI({},e.ALLOWED_TAGS,N):$,q="ALLOWED_ATTR"in e?DI({},e.ALLOWED_ATTR,N):z,he="ADD_URI_SAFE_ATTR"in e?DI(LI(de),e.ADD_URI_SAFE_ATTR,N):de,ue="ADD_DATA_URI_TAGS"in e?DI(LI(pe),e.ADD_DATA_URI_TAGS,N):pe,ce="FORBID_CONTENTS"in e?DI({},e.FORBID_CONTENTS,N):le,H="FORBID_TAGS"in e?DI({},e.FORBID_TAGS,N):{},Y="FORBID_ATTR"in e?DI({},e.FORBID_ATTR,N):{},se="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,Q=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||P,ge=e.NAMESPACE||ye,e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(U.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(V=!1),ee&&(Q=!0),se&&(j=DI({},iI(zI)),q=[],!0===se.html&&(DI(j,RI),DI(q,UI)),!0===se.svg&&(DI(j,FI),DI(q,HI),DI(q,WI)),!0===se.svgFilters&&(DI(j,PI),DI(q,HI),DI(q,WI)),!0===se.mathMl&&(DI(j,$I),DI(q,YI),DI(q,WI))),e.ADD_TAGS&&(j===$&&(j=LI(j)),DI(j,e.ADD_TAGS,N)),e.ADD_ATTR&&(q===z&&(q=LI(q)),DI(q,e.ADD_ATTR,N)),e.ADD_URI_SAFE_ATTR&&DI(he,e.ADD_URI_SAFE_ATTR,N),e.FORBID_CONTENTS&&(ce===le&&(ce=LI(ce)),DI(ce,e.FORBID_CONTENTS,N)),ae&&(j["#text"]=!0),Z&&DI(j,["html","head","body"]),j.table&&(DI(j,["tbody"]),delete H.tbody),mI&&mI(e),_e=e)},Te=DI({},["mi","mo","mn","ms","mtext"]),Ce=DI({},["foreignobject","desc","title","annotation-xml"]),Se=DI({},["title","style","font","a","script"]),Ae=DI({},FI);DI(Ae,PI),DI(Ae,jI);var Oe=DI({},$I);DI(Oe,qI);var Ie=function(e){var t=v(e);(!t||!t.tagName)&&(t={namespaceURI:ye,tagName:"template"});var n=EI(e.tagName),r=EI(t.tagName);return e.namespaceURI===me?t.namespaceURI===ye?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===r||Te[r]):Boolean(Ae[n]):e.namespaceURI===fe?t.namespaceURI===ye?"math"===n:t.namespaceURI===me?"math"===n&&Ce[r]:Boolean(Oe[n]):e.namespaceURI===ye&&!(t.namespaceURI===me&&!Ce[r]||t.namespaceURI===fe&&!Te[r])&&!Oe[n]&&(Se[n]||!Ae[n])},Ne=function(e){wI(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch{try{e.outerHTML=_}catch{e.remove()}}},Be=function(e,n){try{wI(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{wI(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!q[e])if(Q||ee)try{Ne(n)}catch{}else try{n.setAttribute(e,"")}catch{}},De=function(e){var t,n;if(J)e=""+e;else{var i=TI(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===I&&(e=''+e+"");var a=x?x.createHTML(e):e;if(ge===ye)try{t=(new h).parseFromString(a,I)}catch{}if(!t||!t.documentElement){t=w.createDocument(ge,"template",null);try{t.documentElement.innerHTML=ve?"":a}catch{}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ge===ye?C.call(t,Z?"html":"body")[0]:Z?t.documentElement:o},Le=function(e){return E.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Me=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},Re=function(e){return"object"===eI(o)?e instanceof o:e&&"object"===eI(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Fe=function(e,n,r){!O[e]||_I(O[e],(function(e){e.call(t,n,r,_e)}))},Pe=function(e){var n;if(Fe("beforeSanitizeElements",e,null),Me(e)||OI(/[\u0080-\uFFFF]/,e.nodeName))return Ne(e),!0;var r=N(e.nodeName);if(Fe("uponSanitizeElement",e,{tagName:r,allowedTags:j}),e.hasChildNodes()&&!Re(e.firstElementChild)&&(!Re(e.content)||!Re(e.content.firstElementChild))&&OI(/<[/\w]/g,e.innerHTML)&&OI(/<[/\w]/g,e.textContent)||"select"===r&&OI(/